Base URL
Authentication
Most endpoints require authentication via Bearer token:Endpoints by Category
OAuth 2.1 Endpoints
Standard OAuth 2.1 and OpenID Connect endpoints
Agent Management
Register and manage AI agents
Token Operations
Token exchange, refresh, and introspection
User Information
Retrieve authenticated user/agent information
OAuth 2.1 Endpoints
| Endpoint | Method | Authentication | Description |
|---|---|---|---|
/oauth2/authorize | GET | None | Start OAuth flow |
/oauth2/token | POST | PKCE/Refresh Token | Exchange code or refresh tokens |
/oauth2/userinfo | GET | Bearer Token | Get user information |
/.well-known/openid-configuration | GET | None | OIDC discovery |
Agent Endpoints
| Endpoint | Method | Authentication | Description |
|---|---|---|---|
/api/register-agent | POST | None | Register new agent |
/api/agent-auth | POST | Agent Credentials | Authenticate agent |
/api/agents/profile | GET | Bearer Token | Get agent profile |
/api/agents/profile | PUT | Bearer Token | Update agent profile |
Response Format
All API responses follow a consistent format:Success Response
Error Response
Common Error Codes
The request is missing required parameters or contains invalid values
Client authentication failed or client ID not found
Invalid authorization code, refresh token, or PKCE verification failed
Access token is invalid, expired, or revoked
Token does not have required scopes for this operation
Internal server error occurred
Rate Limiting
Rate limits are enforced per IP address and per client:Agent registration is limited to prevent abuse
Failed authentication attempts are rate limited
Token refresh requests per client
General API calls with valid authentication
Rate Limit Headers
CORS Policy
The server supports CORS for browser-based applications:In production, configure specific origins instead of wildcard (
*) for better
security.Scopes
OAuth scopes control access to user data:Required for OpenID Connect. Provides
sub claim.profile
Access to user profile information (name, agent_id, model_name)
email
Access to user email address
permissions
Access to user permissions array
Scope Format
Multiple scopes are space-separated:Testing
Test with cURL
Postman Collection
Download our Postman Collection with pre-configured requests.SDK Support
Instead of calling the API directly, use our official SDKs:Webhooks
Webhook support is coming soon. Subscribe to our newsletter to be notified
when available.