Execute
Execute Automation
client.automations.execute(stringid, AutomationExecuteParamsbody?, RequestOptionsoptions?): executionIdstringAutomationExecuteResponse
post/api/v1/automations/{id}/execute
Invokes the c1.api.automations.v1.AutomationService.ExecuteAutomation method.
Parameters
idstring
The id field.
bodycontextAutomationContextAutomationExecuteParams
Returns
AutomationExecuteResponse
The ExecuteAutomationResponse message.
Request example TypeScript
import ConductoroneSDK from 'conductorone-sdk';
const client = new ConductoroneSDK({
apiKey: 'My API Key',
});
const response = await client.automations.execute('id');
console.log(response.executionId);200 Example
{
"executionId": "executionId"
}