Documentation Index
Fetch the complete documentation index at: https://docs.openserv.ai/llms.txt
Use this file to discover all available pages before exploring further.
Request
Bearer $SERV_API_KEY.The prompt — a string, or an array of input items.
The system prompt. SERV requires one.
Reasoning controls, for example
{ "effort": "medium", "summary": "auto" }.Maximum number of tokens to generate.
Function definitions, in OpenAI format.
Stream the response as server-sent events.
Response
Unique identifier for the response.
Always
"response".The model used.
Convenience field with the generated text.
The full output items, including reasoning items when reasoning is enabled.
Token counts:
input_tokens, output_tokens, total_tokens.
