Auth
1 operations.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/v1/api-keys/validate | Validate API key |
Validate API key
POST/api/v1/api-keys/validate
Validates the API key and returns auth context data.
Purpose
- Validates API key via Authorization header
- Returns auth context data including Organization, Project, and Agent grants
Authentication
- Requires valid API key via Authorization: Bearer header
- The API key being validated is the one used for authentication
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Response for status 200 | application/json object
|
| 400 | Bad Request | application/json PublicApiError
|
| 401 | Authentication failed. Possible reasons: - Authorization header is not provided - Invalid API key - Session expired | application/json PublicApiError
|
| 422 | Request validation failed. Check the request body, query parameters, or path parameters. | application/json PublicApiError
|
| 500 | The server could not complete the request. | application/json PublicApiError
|