Skip to content

Authentication

All paths below are relative to the base URL https://api.agentdepot.org — for example GET https://api.agentdepot.org/api/auth/me. Authenticate with an Authorization: Bearer <token> header. See the REST API reference for details.

Get Me

Get identity info for the authenticated principal.

Works for both user tokens (JWT / agd_* user token) and agent tokens.

Responses

StatusDescriptionBody
200Successful ResponsePrincipalResponse
422Validation ErrorHTTPValidationError