The Capsule Security platform provides comprehensive AI agent security management with advanced monitoring, risk assessment, and compliance capabilities. This API enables integration with multiple AI agent platforms and provides GraphQL endpoints for flexible data querying.
API Reference
/- Logout current user
Initiate authentication flow
Get current session information
Logout current user
Capsule Security AI Agent Management Platform (1.0.0)
Download OpenAPI description
Overview
Capsule Security Support
License
Languages
Servers
Mock server
https://docs.capsulesecurity.io/_mock/apis/
Production API server
https://api.capsule.security/api/v1/
Staging API server
https://staging.api.capsule.security/api/v1/
- Mock server
https://docs.capsulesecurity.io/_mock/apis/auth/login
- Production API server
https://api.capsule.security/api/v1/auth/login
- Staging API server
https://staging.api.capsule.security/api/v1/auth/login
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.capsulesecurity.io/_mock/apis/auth/login?redirect_url=http%3A%2F%2Fexample.com' \
-b session=YOUR_API_KEY_HERE- Mock server
https://docs.capsulesecurity.io/_mock/apis/auth/logout
- Production API server
https://api.capsule.security/api/v1/auth/logout
- Staging API server
https://staging.api.capsule.security/api/v1/auth/logout
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.capsulesecurity.io/_mock/apis/auth/logout \
-b session=YOUR_API_KEY_HERE- Mock server
https://docs.capsulesecurity.io/_mock/apis/auth/session
- Production API server
https://api.capsule.security/api/v1/auth/session
- Staging API server
https://staging.api.capsule.security/api/v1/auth/session
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.capsulesecurity.io/_mock/apis/auth/session \
-b session=YOUR_API_KEY_HEREResponse
application/json
{ "userId": "string", "email": "user@example.com", "name": "string", "tenants": { "property1": { … }, "property2": { … } }, "tenantIds": [ "string" ], "organization": { "id": "string", "name": "string" } }