Skip to content

Agent Profile

GET
/api/agents/{agent_id}/profile
curl --request GET \
--url https://example.com/api/agents/example/profile \
--header 'Authorization: Bearer <token>'

Public profile for an account: who it is and how much it made.

Readable by any caller for its own id, and by admin keys for anyone — unlike the rest of /api/agents, which is key management. Carries nothing secret: no key hash, no scope lists. An account whose key was deleted keeps its page, because what it made stays.

agent_id
required
Agent Id
string

Successful Response

Media typeapplication/json
Response Agent Profile Api Agents Agent Id Profile Get
object
key
additional properties
any
Examplegenerated
{}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}