GET
/
v1
/
organizations
/
{org_id}
/
agent
/
run
/
{agent_run_id}
Get Agent Run
curl --request GET \
  --url https://api.codegen.com/v1/organizations/{org_id}/agent/run/{agent_run_id}
{
  "id": 123,
  "organization_id": 123,
  "status": "<string>",
  "created_at": "<string>",
  "web_url": "<string>",
  "result": "<string>",
  "summary": "<string>",
  "source_type": "LOCAL",
  "github_pull_requests": [
    {
      "id": 123,
      "title": "<string>",
      "url": "<string>",
      "created_at": "<string>",
      "head_branch_name": "<string>"
    }
  ],
  "metadata": {}
}

Headers

authorization
any

Path Parameters

agent_run_id
integer
required
org_id
integer
required

Response

Successful Response

Represents an agent run in API responses

id
integer
required
organization_id
integer
required
status
string | null
created_at
string | null
web_url
string | null
result
string | null
summary
string | null
source_type
enum<string> | null
Available options:
LOCAL,
SLACK,
GITHUB,
GITHUB_CHECK_SUITE,
GITHUB_PR_REVIEW,
LINEAR,
API,
CHAT,
JIRA,
CLICKUP,
MONDAY,
SETUP_COMMANDS
github_pull_requests
GithubPullRequestResponse · object[] | null
metadata
object | null