POST
/
v1
/
organizations
/
{org_id}
/
agent
/
run
/
resume
curl --request POST \
  --url https://api.codegen.com/v1/organizations/{org_id}/agent/run/resume \
  --header 'Content-Type: application/json' \
  --data '{
  "agent_run_id": 123,
  "prompt": "<string>",
  "images": [
    "<string>"
  ]
}'
{
  "id": 123,
  "organization_id": 123,
  "status": "<string>",
  "created_at": "<string>",
  "web_url": "<string>",
  "result": "<string>",
  "source_type": "LOCAL",
  "github_pull_requests": [
    {
      "id": 123,
      "title": "<string>",
      "url": "<string>",
      "created_at": "<string>"
    }
  ],
  "metadata": {}
}

Headers

authorization
any

Path Parameters

org_id
integer
required

Body

application/json

Response

200
application/json

Successful Response

Represents an agent run in API responses