REST API
Sequrity Control API (https://api.sequrity.ai/control) provides the following RESTful endpoints.
= Supported,
= Experimental,
= Coming Soon
Endpoints
Chat Completions
| URL |
Status |
Description |
POST /chat/v1/chat/completions |
 |
OpenAI-compatible chat completions (default: OpenRouter) |
POST /chat/openai/v1/chat/completions |
 |
Chat completions with OpenAI |
POST /chat/openrouter/v1/chat/completions |
 |
Chat completions with OpenRouter |
POST /chat/sequrity_azure/v1/chat/completions |
 |
Chat completions with Sequrity Azure |
Anthropic Messages
| URL |
Status |
Description |
POST /chat/v1/messages |
 |
Anthropic-compatible Messages API (default provider) |
POST /chat/anthropic/v1/messages |
 |
Messages API with Anthropic |
Code Completions
| URL |
Status |
Description |
POST /code/v1/chat/completions |
 |
Code-oriented chat completions (default: OpenRouter) |
POST /code/openai/v1/chat/completions |
 |
Code-oriented chat completions with OpenAI |
POST /code/openrouter/v1/chat/completions |
 |
Code-oriented chat completions with OpenRouter |
POST /code/sequrity_azure/v1/chat/completions |
 |
Code-oriented chat completions with Sequrity Azure |
POST /code/v1/messages |
 |
Code-oriented Anthropic Messages (default provider) |
POST /code/anthropic/v1/messages |
 |
Code-oriented Messages with Anthropic |
POST /code/v1/responses |
 |
Code-oriented Responses API (default: OpenAI) |
POST /code/openai/v1/responses |
 |
Code-oriented Responses with OpenAI |
POST /code/sequrity_azure/v1/responses |
 |
Code-oriented Responses with Sequrity Azure |
Responses
| URL |
Status |
Description |
POST /chat/v1/responses |
 |
OpenAI-compatible Responses API (default provider) |
POST /chat/openai/v1/responses |
 |
Responses API with OpenAI |
POST /chat/sequrity_azure/v1/responses |
 |
Responses API with Sequrity Azure |
LangGraph
| URL |
Status |
Description |
POST /lang-graph/v1/chat/completions |
 |
Chat completions for LangGraphExecutor (default: OpenRouter) |
POST /lang-graph/openai/v1/chat/completions |
 |
LangGraph chat completions with OpenAI |
POST /lang-graph/openrouter/v1/chat/completions |
 |
LangGraph chat completions with OpenRouter |
POST /lang-graph/sequrity_azure/v1/chat/completions |
 |
LangGraph chat completions with Sequrity Azure |
POST /lang-graph/anthropic/v1/messages |
 |
LangGraph Messages with Anthropic |
Policy Generation
| URL |
Status |
Description |
POST /policy-gen/v1/generate |
 |
Generate security policies (default: OpenRouter) |
POST /policy-gen/openai/v1/generate |
 |
Policy generation with OpenAI |
POST /policy-gen/openrouter/v1/generate |
 |
Policy generation with OpenRouter |
POST /policy-gen/anthropic/v1/generate |
 |
Policy generation with Anthropic |
POST /policy-gen/sequrity_azure/v1/generate |
 |
Policy generation with Sequrity Azure |
Utility
| URL |
Status |
Description |
GET / |
 |
Root endpoint listing all available routes |
GET /health |
 |
Health check for load balancers and monitoring |
URL Pattern
All endpoints follow this URL pattern:
https://api.sequrity.ai/control/{endpoint_type}/{service_provider?}/{version}/{api_suffix}
| Segment |
Description |
Examples |
endpoint_type |
The type of endpoint |
chat, code, agent, lang-graph, policy-gen |
service_provider |
Optional LLM service provider |
openai, openrouter, anthropic, sequrity_azure |
version |
API version |
v1 |
api_suffix |
API-specific suffix |
chat/completions, messages, responses, generate |
When service_provider is omitted, the default provider is used.
Documentation