diff --git a/docs/index.html b/docs/index.html index 3115ebc..c56478b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -491,7 +491,7 @@ " class="sc-iJKPnr sc-cCcWCX VOHLa hqXESs">

Optional. For App Attest QA/sandbox testing.

Use-Play-Integrity (boolean) or Use-Play-Integrity (null) (Use-Play-Integrity)

Optional. Set to true for Android Play Integrity; Authorization contains MLPA token from /verify/play.

-
Request Body schema: application/json
required
model
required
string (Model)
Stream (boolean) or Stream (null) (Stream)
Default: false
Array of objects (Messages)
Default: []
Temperature (number) or Temperature (null) (Temperature)
Default: 0.1
Max Completion Tokens (integer) or Max Completion Tokens (null) (Max Completion Tokens)
Default: 8192
Top P (number) or Top P (null) (Top P)
Default: 0.01
Mock Response (string) or Mock Response (null) (Mock Response)
Array of Tools (any) or Tools (null) (Tools)
Tool Choice (string) or Tool Choice (object) or Tool Choice (null) (Tool Choice)
N (integer) or N (null) (N)
Stream Options (object) or Stream Options (null) (Stream Options)
Stop (string) or Array of Stop (strings) or Stop (null) (Stop)
Max Tokens (integer) or Max Tokens (null) (Max Tokens)
Presence Penalty (number) or Presence Penalty (null) (Presence Penalty)
Frequency Penalty (number) or Frequency Penalty (null) (Frequency Penalty)
Logit Bias (object) or Logit Bias (null) (Logit Bias)
Response Format (object) or Response Format (null) (Response Format)
Seed (integer) or Seed (null) (Seed)
Parallel Tool Calls (boolean) or Parallel Tool Calls (null) (Parallel Tool Calls)
Logprobs (boolean) or Logprobs (null) (Logprobs)
Top Logprobs (integer) or Top Logprobs (null) (Top Logprobs)
Text (boolean) or Text (null) (Text)

Responses

Request samples

Content type
application/json
{
  • "model": "string",
  • "stream": false,
  • "messages": [ ],
  • "temperature": 0.1,
  • "max_completion_tokens": 8192,
  • "top_p": 0.01,
  • "mock_response": "string",
  • "tools": [
    ],
  • "tool_choice": "string",
  • "n": 0,
  • "stream_options": { },
  • "stop": "string",
  • "max_tokens": 0,
  • "presence_penalty": 0,
  • "frequency_penalty": 0,
  • "logit_bias": { },
  • "response_format": { },
  • "seed": 0,
  • "parallel_tool_calls": true,
  • "logprobs": true,
  • "top_logprobs": 0,
  • "text": true
}

Response samples

Content type
null

Search

502

Bad Gateway - upstream proxy request failed or timed out

+

Request samples

Content type
application/json
{
  • "model": "string",
  • "stream": false,
  • "messages": [ ],
  • "temperature": 0.1,
  • "max_completion_tokens": 8192,
  • "top_p": 0.01,
  • "mock_response": "string",
  • "mock_timeout": true,
  • "tools": [
    ],
  • "tool_choice": "string",
  • "n": 0,
  • "stream_options": { },
  • "stop": "string",
  • "max_tokens": 0,
  • "presence_penalty": 0,
  • "frequency_penalty": 0,
  • "logit_bias": { },
  • "response_format": { },
  • "seed": 0,
  • "parallel_tool_calls": true,
  • "logprobs": true,
  • "top_logprobs": 0,
  • "text": true
}

Response samples

Content type
null

Search

Validation Error

Request samples

Content type
application/json
{
  • "query": "string",
  • "max_results": 1
}

Response samples

Content type
application/json
null

Mock

502

Bad Gateway - upstream proxy request failed or timed out

+

Request samples

Content type
application/json
{
  • "query": "string",
  • "max_results": 1
}

Response samples

Content type
application/json
null

Mock

Mock endpoints for testing purposes.

Chat Completion

Mock LiteLLM endpoint with simulated latency.

-
header Parameters
authorization
required
string (Authorization)
service-type
required
string (ServiceType)
Enum: "ai" "s2s" "s2s-android" "memories" "search" "answer" "telemetry" "ai-dev" "memories-dev" "mochi-dev" "search-dev"
Purpose (string) or Purpose (null) (Purpose)
X-Dev-Authorization (string) or X-Dev-Authorization (null) (X-Dev-Authorization)
Use-App-Attest (boolean) or Use-App-Attest (null) (Use-App-Attest)
Use-Qa-Certificates (boolean) or Use-Qa-Certificates (null) (Use-Qa-Certificates)
Use-Play-Integrity (boolean) or Use-Play-Integrity (null) (Use-Play-Integrity)
Request Body schema: application/json
required
model
required
string (Model)
Stream (boolean) or Stream (null) (Stream)
Default: false
Array of objects (Messages)
Default: []
Temperature (number) or Temperature (null) (Temperature)
Default: 0.1
Max Completion Tokens (integer) or Max Completion Tokens (null) (Max Completion Tokens)
Default: 8192
Top P (number) or Top P (null) (Top P)
Default: 0.01
Mock Response (string) or Mock Response (null) (Mock Response)
Array of Tools (any) or Tools (null) (Tools)
Tool Choice (string) or Tool Choice (object) or Tool Choice (null) (Tool Choice)
N (integer) or N (null) (N)
Stream Options (object) or Stream Options (null) (Stream Options)
Stop (string) or Array of Stop (strings) or Stop (null) (Stop)
Max Tokens (integer) or Max Tokens (null) (Max Tokens)
Presence Penalty (number) or Presence Penalty (null) (Presence Penalty)
Frequency Penalty (number) or Frequency Penalty (null) (Frequency Penalty)
Logit Bias (object) or Logit Bias (null) (Logit Bias)
Response Format (object) or Response Format (null) (Response Format)
Seed (integer) or Seed (null) (Seed)
Parallel Tool Calls (boolean) or Parallel Tool Calls (null) (Parallel Tool Calls)
Logprobs (boolean) or Logprobs (null) (Logprobs)
Top Logprobs (integer) or Top Logprobs (null) (Top Logprobs)
Text (boolean) or Text (null) (Text)

Responses

Request samples

Content type
application/json
{
  • "model": "string",
  • "stream": false,
  • "messages": [ ],
  • "temperature": 0.1,
  • "max_completion_tokens": 8192,
  • "top_p": 0.01,
  • "mock_response": "string",
  • "tools": [
    ],
  • "tool_choice": "string",
  • "n": 0,
  • "stream_options": { },
  • "stop": "string",
  • "max_tokens": 0,
  • "presence_penalty": 0,
  • "frequency_penalty": 0,
  • "logit_bias": { },
  • "response_format": { },
  • "seed": 0,
  • "parallel_tool_calls": true,
  • "logprobs": true,
  • "top_logprobs": 0,
  • "text": true
}

Response samples

Content type
application/json
null

Chat Completion No Auth

Request samples

Content type
application/json
{
  • "model": "string",
  • "stream": false,
  • "messages": [ ],
  • "temperature": 0.1,
  • "max_completion_tokens": 8192,
  • "top_p": 0.01,
  • "mock_response": "string",
  • "mock_timeout": true,
  • "tools": [
    ],
  • "tool_choice": "string",
  • "n": 0,
  • "stream_options": { },
  • "stop": "string",
  • "max_tokens": 0,
  • "presence_penalty": 0,
  • "frequency_penalty": 0,
  • "logit_bias": { },
  • "response_format": { },
  • "seed": 0,
  • "parallel_tool_calls": true,
  • "logprobs": true,
  • "top_logprobs": 0,
  • "text": true
}

Response samples

Content type
application/json
null

Chat Completion No Auth

Mock LiteLLM endpoint with simulated latency and JWT-only token validation (no POST calls).

-
header Parameters
required
Authorization (string) or Authorization (null) (Authorization)
Request Body schema: application/json
required
model
required
string (Model)
Stream (boolean) or Stream (null) (Stream)
Default: false
Array of objects (Messages)
Default: []
Temperature (number) or Temperature (null) (Temperature)
Default: 0.1
Max Completion Tokens (integer) or Max Completion Tokens (null) (Max Completion Tokens)
Default: 8192
Top P (number) or Top P (null) (Top P)
Default: 0.01
Mock Response (string) or Mock Response (null) (Mock Response)
Array of Tools (any) or Tools (null) (Tools)
Tool Choice (string) or Tool Choice (object) or Tool Choice (null) (Tool Choice)
N (integer) or N (null) (N)
Stream Options (object) or Stream Options (null) (Stream Options)
Stop (string) or Array of Stop (strings) or Stop (null) (Stop)
Max Tokens (integer) or Max Tokens (null) (Max Tokens)
Presence Penalty (number) or Presence Penalty (null) (Presence Penalty)
Frequency Penalty (number) or Frequency Penalty (null) (Frequency Penalty)
Logit Bias (object) or Logit Bias (null) (Logit Bias)
Response Format (object) or Response Format (null) (Response Format)
Seed (integer) or Seed (null) (Seed)
Parallel Tool Calls (boolean) or Parallel Tool Calls (null) (Parallel Tool Calls)
Logprobs (boolean) or Logprobs (null) (Logprobs)
Top Logprobs (integer) or Top Logprobs (null) (Top Logprobs)
Text (boolean) or Text (null) (Text)

Responses

Request samples

Content type
application/json
{
  • "model": "string",
  • "stream": false,
  • "messages": [ ],
  • "temperature": 0.1,
  • "max_completion_tokens": 8192,
  • "top_p": 0.01,
  • "mock_response": "string",
  • "tools": [
    ],
  • "tool_choice": "string",
  • "n": 0,
  • "stream_options": { },
  • "stop": "string",
  • "max_tokens": 0,
  • "presence_penalty": 0,
  • "frequency_penalty": 0,
  • "logit_bias": { },
  • "response_format": { },
  • "seed": 0,
  • "parallel_tool_calls": true,
  • "logprobs": true,
  • "top_logprobs": 0,
  • "text": true
}

Response samples

Content type
application/json
null

User Management

Request samples

Content type
application/json
{
  • "model": "string",
  • "stream": false,
  • "messages": [ ],
  • "temperature": 0.1,
  • "max_completion_tokens": 8192,
  • "top_p": 0.01,
  • "mock_response": "string",
  • "mock_timeout": true,
  • "tools": [
    ],
  • "tool_choice": "string",
  • "n": 0,
  • "stream_options": { },
  • "stop": "string",
  • "max_tokens": 0,
  • "presence_penalty": 0,
  • "frequency_penalty": 0,
  • "logit_bias": { },
  • "response_format": { },
  • "seed": 0,
  • "parallel_tool_calls": true,
  • "logprobs": true,
  • "top_logprobs": 0,
  • "text": true
}

Response samples

Content type
application/json
null

User Management

Endpoints for managing user blocking status and budgets.

List Users

List all users with pagination support.

@@ -613,7 +617,7 @@ " class="sc-iJKPnr sc-cCcWCX sc-cidBVM VOHLa fMmaro kCvENa">

Validation Error

Response samples

Content type
application/json
null