Create AI Account
Headers
{{tenant_key_name}}
Request
This endpoint expects a multipart form.
name
Required: Display name for this account - max 255 chars - “Company OpenAI”
platform
Required: AI provider platform - openai|anthropic|google_gemini - “openai”
is_active
Optional: Whether account is active - boolean - true
max_tokens
Optional: Default max tokens per request - integer min:1 max:100000 - 500
default_model
Required: Default model to use - max 100 chars - “gpt-4o-mini”
monthly_token_limit
Optional: Monthly token limit (null=unlimited) - integer min:1
credentials[api_key]
Required: API key for the provider - string - “sk-…”
Response
Successful response

