Get agent by ID
Endpoint
Section titled “Endpoint”GET /v1/agents/{id}
Authentication
Section titled “Authentication”Requires Bearer token authentication.
Path Parameters
Section titled “Path Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Agent ID (UUID or numeric ID like AG-001) |
cURL Example
Section titled “cURL Example”curl -X GET "https://api.sapiom.ai/v1/agents/{id}" \ -H "Authorization: Bearer YOUR_API_KEY"Response
Section titled “Response”{ "data": null, "included": [ "string" ]}Error Responses
Section titled “Error Responses”| Status | Code | Description |
|---|---|---|
| 404 | - | Agent not found |
See API Introduction for error handling details.