Search
Search Automation Executions
client.automationExecutions.search(AutomationExecutionSearchParamsbody?, RequestOptionsoptions?): expandedunionlistunionnextPageTokenstringAutomationExecutionSearchResponse
post/api/v1/automation_executions/search
Invokes the c1.api.automations.v1.AutomationExecutionSearchService.SearchAutomationExecutions method.
Parameters
bodyautomationTemplateIdstringexecutionIdstringexecutionStepStatesunionexpandMaskExpandMaskpageSizenumberpageTokenstringquerystringrefsunionAutomationExecutionSearchParams
Returns
AutomationExecutionSearchResponse
The SearchAutomationExecutionsResponse message.
Request example TypeScript
import ConductoroneSDK from 'conductorone-sdk';
const client = new ConductoroneSDK({
apiKey: 'My API Key',
});
const response = await client.automationExecutions.search();
console.log(response.expanded);200 Example
{
"expanded": [
{
"@type": "@type"
}
],
"list": [
{
"automationExecution": {
"id": "id",
"automationTemplateId": "automationTemplateId",
"completedAt": "2019-12-27T18:11:19.117Z",
"context": {
"context": {
"foo": "bar"
}
},
"createdAt": "2019-12-27T18:11:19.117Z",
"currentVersion": 0,
"deletedAt": "2019-12-27T18:11:19.117Z",
"duration": "duration",
"isDraft": true,
"state": "AUTOMATION_EXECUTION_STATE_UNSPECIFIED",
"updatedAt": "2019-12-27T18:11:19.117Z"
},
"automationExecutionTriggerPath": "automationExecutionTriggerPath",
"automationPath": "automationPath"
}
],
"nextPageToken": "nextPageToken"
}