Documentation Index
Fetch the complete documentation index at: https://docs.silicondata.com/llms.txt
Use this file to discover all available pages before exploring further.
POST /api/token-index/index
Get daily LLM token index data for a requested token, index version, and date range. If no date range is provided, data for the server current date is used by default. Missing dates are returned as"-1".
Authorization
This endpoint requires a valid user token or application token. OAuth2: OAuth2PasswordBearerToken URL: token
Request Body
The request body must be inapplication/json format.
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
token | string | YES | LLM token index type. Currently supported: expenditure (case-insensitive). | 1 to 60 characters |
index_version | string | NO | Token index version. Defaults to v1 (case-insensitive). | 1 to 60 characters |
starting_date | string or null | NO | The start date for the query in YYYY-MM-DD format. Defaults to the server current date. | Must be on or after 2025-12-01, unless deployment config overrides it |
ending_date | string or null | NO | The end date for the query in YYYY-MM-DD format. Defaults to the server current date. | Must be on or before the server current date |
starting_date must be less than or equal to ending_date.
Request Example
Responses
- 200: Successful Response
- 422: Validation Error
- 10008: Date range error
- 34004: Product permission is missing