agent.detail
detail(agentId) → Agent Get the full details of a specific agent, including its current status (PENDING, ACTIVE, FROZEN, REVOKED) and onchainAgentId.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
agentId | string | ✓ | The UUID of the agent. |
Returns
Type:
object The agent object.
Errors
| Code | Name | Description |
|---|---|---|
NOT_FOUND | NotFound | The agent does not exist or does not belong to the user. |
Examples
Check Agent Status
{
"agentId": "123e4567-e89b-12d3-a456-426614174000"
}