GET
/
v1
/
organizations
/
{org_id}
/
agent
/
runs
curl --request GET \
  --url https://api.codegen.com/v1/organizations/{org_id}/agent/runs
{
  "items": [
    {
      "id": 123,
      "organization_id": 123,
      "status": "<string>",
      "created_at": "<string>",
      "web_url": "<string>",
      "result": "<string>",
      "source_type": "LOCAL"
    }
  ],
  "total": 123,
  "page": 123,
  "size": 123,
  "pages": 123
}

Headers

authorization
any

Path Parameters

org_id
integer
required

Query Parameters

user_id
integer | null

Filter by user ID who initiated the agent runs

source_type
enum<string> | null

Filter by source type of the agent runs

Available options:
LOCAL,
SLACK,
GITHUB,
GITHUB_CHECK_SUITE,
LINEAR,
API,
CHAT,
JIRA
skip
integer
default:0
Required range: x >= 0
limit
integer
default:100
Required range: 1 <= x <= 100

Response

200
application/json

Successful Response

The response is of type object.