Properties
| Name | Type | Description |
|---|---|---|
| request_id | string | |
| api_key | string | |
| model | object | |
| api_base | object | |
| call_type | string | |
| spend | object | |
| total_tokens | object | |
| prompt_tokens | object | |
| completion_tokens | object | |
| startTime | object | |
| endTime | object | |
| user | object | |
| metadata | object | |
| cache_hit | object | |
| cache_key | object | |
| request_tags | object | |
| requester_ip_address | object | |
| messages | object | |
| response | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/bookmyhost/json-schema/bookmyhost-lite-llm-spend-logs-schema.json",
"title": "LiteLLM_SpendLogs",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/bookmyhost-budget-spend-tracking-api-openapi.yml#/components/schemas/LiteLLM_SpendLogs",
"properties": {
"request_id": {
"type": "string",
"title": "Request Id"
},
"api_key": {
"type": "string",
"title": "Api Key"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Model",
"default": ""
},
"api_base": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Api Base",
"default": ""
},
"call_type": {
"type": "string",
"title": "Call Type"
},
"spend": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Spend",
"default": 0.0
},
"total_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Total Tokens",
"default": 0
},
"prompt_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Prompt Tokens",
"default": 0
},
"completion_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Completion Tokens",
"default": 0
},
"startTime": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Starttime"
},
"endTime": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Endtime"
},
"user": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "User",
"default": ""
},
"metadata": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Metadata",
"default": {}
},
"cache_hit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cache Hit",
"default": "False"
},
"cache_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cache Key"
},
"request_tags": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Request Tags"
},
"requester_ip_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Requester Ip Address"
},
"messages": {
"anyOf": [
{
"type": "string"
},
{
"items": {},
"type": "array"
},
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Messages"
},
"response": {
"anyOf": [
{
"type": "string"
},
{
"items": {},
"type": "array"
},
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Response"
}
},
"type": "object",
"required": [
"request_id",
"api_key",
"call_type",
"startTime",
"endTime",
"messages",
"response"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/bookmyhost-lite-llm-spend-logs"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.