Create AI Account

View as Markdown

Headers

{{tenant_key_name}}stringOptional

Request

This endpoint expects a multipart form.
namestringRequired

Required: Display name for this account - max 255 chars - “Company OpenAI”

platformstringRequired

Required: AI provider platform - openai|anthropic|google_gemini - “openai”

is_activestringRequired

Optional: Whether account is active - boolean - true

max_tokensstringRequired

Optional: Default max tokens per request - integer min:1 max:100000 - 500

default_modelstringRequired

Required: Default model to use - max 100 chars - “gpt-4o-mini”

monthly_token_limitstringRequired

Optional: Monthly token limit (null=unlimited) - integer min:1

credentials[api_key]stringRequired

Required: API key for the provider - string - “sk-…”

Response

Successful response