Skip to content

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

Custom Headers