Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/everruns/everruns/llms.txt

Use this file to discover all available pages before exploring further.

POST /v1/llm-providers

Add a new LLM provider to your organization.

Request Body

name
string
required
Display name for the provider
provider_type
string
required
Provider type: openai, openai_completions, anthropic, gemini
api_key
string
required
API key for the provider (encrypted at rest)
base_url
string
Optional custom base URL for OpenAI-compatible providers

Response

Returns the created provider object (API key is not included in response).

Example Request

curl -X POST http://localhost:9300/v1/llm-providers \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My OpenAI",
    "provider_type": "openai",
    "api_key": "sk-..."
  }'

Example Response

{
  "id": "01933b5a-0000-7000-8000-000000000003",
  "name": "My OpenAI",
  "provider_type": "openai",
  "base_url": null,
  "created_at": "2024-01-15T10:35:00Z"
}
API keys are encrypted using AES-256-GCM envelope encryption. Store the API key securely as it cannot be retrieved after creation.

Build docs developers (and LLMs) love