Accessing the API
All API endpoints are available athttps://api.thesys.dev/v1.
Authentication
Authentication is done via API keys. You can create API keys from the keys page. API keys must be sent as aAuthorization header with the value Bearer <api_key>.
If the API key is not valid, you will receive a 403 error.
Rate Limits
Please refer to the Rate Limits page for more information.Errors
Please refer to the Errors page for more information.Examples
Stream this response via the language specific helper functions to the react
client.
Supported API Parameters
| Property | C1 OpenAI models | C1 Anthropic Models |
|---|---|---|
messages | (audio not supported) | (audio not supported) |
model | ||
audio | ||
frequency_penalty | ||
function_call | use tool_choice | use tool_choice |
functions | use tools | use tools |
logit_bias | ||
logprobs | ||
max_completion_tokens | ||
max_tokens | ||
metadata | thesys metadata only | thesys metadata only |
modalities | ||
n | must be 1 | must be 1 |
parallel_tool_calls | true by default | true by default |
prediction | ||
presence_penalty | ||
prompt_cache_key | ||
reasoning_effort | ||
response_format | ||
service_tier | ||
stop | ||
stream | ||
temperature | ||
tool_choice | ||
tools | ||
top_p | ||
verbosity | ||
web_search_options |