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

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