The Secureagentics REST API gives you full programmatic control over your AI agent security and governance workflows. You can register and manage agents, stream activity events for real-time monitoring, enforce security policies, configure alert channels, and query immutable audit logs — all over HTTPS using standard JSON requests.Documentation Index
Fetch the complete documentation index at: https://docs.adrian.secureagentics.ai/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
All API requests are made to the following base URL:Authentication
Every request must include your API key in theAuthorization header:
Content type
All request bodies must be JSON. Include the following header on everyPOST or PATCH request:
Endpoints
The table below lists all available endpoints.| Method | Path | Description |
|---|---|---|
POST | /v1/agents | Register a new agent |
GET | /v1/agents | List all agents |
GET | /v1/agents/{id} | Get a single agent |
DELETE | /v1/agents/{id} | Delete an agent |
POST | /v1/agents/{id}/events | Send an event for an agent |
GET | /v1/agents/{id}/events | List events for an agent |
POST | /v1/agents/{id}/events/batch | Send multiple events at once |
POST | /v1/policies | Create a security policy |
GET | /v1/policies | List all policies |
DELETE | /v1/policies/{id} | Delete a policy |
POST | /v1/alerts | Create an alert |
GET | /v1/alerts | List all alerts |
DELETE | /v1/alerts/{id} | Delete an alert |
GET | /v1/audit-logs | List audit log entries |
Rate limits
The API allows up to 1,000 requests per minute per API key. If you exceed this limit, the API returns a429 Too Many Requests response. Wait until the next minute window before retrying.
Error responses
All errors follow a consistent JSON structure:| Status | Code | Description |
|---|---|---|
400 | bad_request | The request body or parameters are malformed or missing required fields. |
401 | unauthorized | The API key is missing or invalid. |
403 | forbidden | The API key does not have sufficient scope for this operation. |
404 | not_found | The requested resource does not exist. |
429 | rate_limit_exceeded | You have exceeded the 1,000 requests/minute rate limit. |
500 | internal_error | An unexpected server error occurred. Contact support if this persists. |