Get agent source

http
GET /projects/{project_reference}/agents/{agent_id}

Get agent source. Requires project.agents.read.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
agent_idpathYesAgent identifier.
source_target_kindquery
target_branch_idquery

Responses

StatusDescription
200Agent document
400Bad request
401Unauthorized
403Forbidden
404Not found
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.