Execute a self-service action
POST/v1/actions/:action_identifier/runs
This route allows you to execute a self-service action, thus creating an action run.
To learn more about action runs, check out the documentation.
Request
Path Parameters
Possible values: non-empty
The identifier of the action you want to execute.
Query Parameters
The executing user of the action. If not provided, the action will be run on behalf of the user/machine who initiated the action (identified by the bearer token used to execute this route).
- application/json
Body
required
The action's user inputs, in "key"
:"value"
pairs, where the key is the input's identifier and the value is the input's value.
The identifier of the entity that the action will be executed on, if relevant.
Responses
- 200
- 403
- 404
- 422
- 500
Success
One of the following errors occurred:
Error | Description |
---|---|
missing_permissions | You are not permitted to execute this action. For further details, please contact your admin |
not_resolvable_destination | The Endpoint URL provided is not publicly available. Please choose another URL |
private_destination | Destination is a private IP |
One of the following errors occurred:
Error | Description |
---|---|
not_found | The action with the provided identifier was not found |
not_found | The entity with the provided identifier was not found |
One of the following errors occurred:
Error | Description |
---|---|
invalid_request | The data provided does not match the route schema |
run_non_self_service_error | Cannot create run manually for non self service action |
missing_self_service_action_entity | The desired action requires a specified entity |
entity_does_not_pass_condition | The specified entity does not pass the condition defined in the action |
user_inputs_schema_invalid | The provided user inputs do not match the action's schema |
invalid_evaluated_invocation_method | Failed to validate evaluated invocation method |
evaluate_invocation_method_error | Failed to evaluate invocation method |
One of the following errors occurred:
Error | Description |
---|---|
internal_error | An internal error occurred |