Skip to main content
GET
/
v2
/
agents
/
{agent_key}
/
tasks
/
{task_id}
/
actions
List all actions
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_key
string
required
task_id
string
required

Response

200 - application/json

List of actions

object
enum<string>
required
Available options:
list
data
object[]
required
has_more
boolean
required