Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
curl --request GET \
  --url https://api.orq.ai/v2/agents/{agent_key}/tasks/{task_id}/actions \
  --header 'Authorization: Bearer <token>'{
  "object": "list",
  "data": [
    {
      "_id": "<string>",
      "agent_tool_call_id": "<string>",
      "tool": {
        "id": "<string>",
        "display_name": "<string>",
        "requires_approval": false
      },
      "created": "<string>",
      "updated": "<string>",
      "started": "<string>",
      "finished": "<string>",
      "agent_id": "<string>",
      "action_type": "<string>",
      "agent_execution_id": "<string>",
      "workspace_id": "<string>",
      "state": {
        "review": null,
        "review_source": "<string>",
        "reviewed_by_id": "<string>",
        "executed": false,
        "error": "<string>",
        "input": {},
        "output": {}
      }
    }
  ],
  "has_more": true
}curl --request GET \
  --url https://api.orq.ai/v2/agents/{agent_key}/tasks/{task_id}/actions \
  --header 'Authorization: Bearer <token>'{
  "object": "list",
  "data": [
    {
      "_id": "<string>",
      "agent_tool_call_id": "<string>",
      "tool": {
        "id": "<string>",
        "display_name": "<string>",
        "requires_approval": false
      },
      "created": "<string>",
      "updated": "<string>",
      "started": "<string>",
      "finished": "<string>",
      "agent_id": "<string>",
      "action_type": "<string>",
      "agent_execution_id": "<string>",
      "workspace_id": "<string>",
      "state": {
        "review": null,
        "review_source": "<string>",
        "reviewed_by_id": "<string>",
        "executed": false,
        "error": "<string>",
        "input": {},
        "output": {}
      }
    }
  ],
  "has_more": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?