Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
// Successful request POST /api/v2/assets/0OprWMsC6dzYzlrkk556/dag_actions/2 200 { "dag_action_run": { "id": 1, "status": "running", "created_at": "2023-11-27T09:42:45.532Z", "dag_action": { "id": 2, "name": "Sample DAG action 2", "description": "Sample DAG action for tests", "category": "Tests" }, "dag_action_run_messages": [ { "id": 1, "message": "Set in queue...", "created_at": "2023-11-27T09:42:45.549Z" } ] } }
// If user does not have 'ACTIONS_START' permission POST /api/v2/assets/UwBqbRTvYH0vx0Kirqgz/dag_actions/3 403 { "error": "Permission denied. Must have ACTIONS_START permissions." }
// If :dag_action_id is not found POST /api/v2/assets/_X3j_onTt0BWsw0yPvow/dag_actions/not-found-id 404 { "error": "Couldn't find DagAction with 'id'=not-found-id" }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |