GET
/
v1
/
alpha
/
organizations
/
{org_id}
/
agent
/
run
/
{agent_run_id}
/
logs
curl --request GET \
  --url https://api.codegen.com/v1/alpha/organizations/{org_id}/agent/run/{agent_run_id}/logs
{
  "id": 123,
  "organization_id": 123,
  "status": "<string>",
  "created_at": "<string>",
  "web_url": "<string>",
  "result": "<string>",
  "logs": [
    {
      "agent_run_id": 123,
      "created_at": "<string>",
      "tool_name": "<string>",
      "message_type": "<string>",
      "thought": "<string>",
      "observation": {},
      "tool_input": {},
      "tool_output": {}
    }
  ],
  "total_logs": 123,
  "page": 123,
  "size": 123,
  "pages": 123
}

Headers

authorization
any

Path Parameters

agent_run_id
integer
required
org_id
integer
required

Query Parameters

skip
integer
default:0
Required range: x >= 0
limit
integer
default:100
Required range: 1 <= x <= 100

Response

200
application/json

Successful Response

Represents an agent run in API responses