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 /api/auth/me
Section titled “GET /api/auth/me”Get Me
Get identity info for the authenticated principal.
Works for both user tokens (JWT / agd_* user token) and agent tokens.
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful Response | PrincipalResponse |
| 422 | Validation Error | HTTPValidationError |