Get an agent
GET/api/v1/agents/:agent_id
Returns a single agent by ID. A credential scoped to a project the agent is shared with, through an accepted share, reads its id and name only.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
Agent details
Invalid request — a query parameter or body field the operation does not declare, or a value that fails validation
Unauthorized
Forbidden
Not found
QUOTA_EXCEEDED — a requests quota on the calling API key or its project is spent for the window; Retry-After says when it reopens
Response Headers
Retry-After
Seconds until the quota window admits a request again
Unexpected server error — INTERNAL_ERROR, with the raw message never forwarded