Download OpenAPI specification:
Public HTTP contract derived from the current route signatures and Pydantic request models. Internal /api/private routes are excluded. Dynamic controller results remain an open JSON schema.
Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.
| model_id_list required | string (Model Id List) |
nullCurrent route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.
JSON request accepted by the implemented handler signature. Dictionary fields are validated by the controller.
| conf_id_list required | Array of any (Conf Id List) |
{- "conf_id_list": [
- null
]
}nullCurrent route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.
JSON request accepted by the implemented handler signature. Dictionary fields are validated by the controller.
| model_id required | string (Model Id) = 19 characters Bound model ID |
| billing_type required | integer (Billing Type) [ 0 .. 1 ] |
| input_tokens required | number (Input Tokens) [ 1 .. 9999.9999 ] Total input token quota |
| output_tokens | number (Output Tokens) [ 0 .. 9999.9999 ] Default: 0 Total output token quota |
| currency_type required | integer (Currency Type) [ 0 .. 1 ] |
| referprice_in required | number (Referprice In) [ 0 .. 1000 ] Input token unit price |
| referprice_out | number (Referprice Out) [ 0 .. 1000 ] Default: 0 Output token unit price |
| num_type required | Array of integers (Num Type) = 2 items [ items [ 0 .. 5 ] ] |
| price_type required | Array of strings (Price Type) = 2 items [ items^(thousand|million)$ ] |
{- "model_id": "stringstringstrings",
- "billing_type": 0,
- "input_tokens": 1,
- "output_tokens": 0,
- "currency_type": 0,
- "referprice_in": 0,
- "referprice_out": 0,
- "num_type": [
- 0,
- 0
], - "price_type": [
- "string",
- "string"
]
}nullCurrent route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.
| conf_id required | string (Conf Id) |
nullCurrent route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.
| conf_id required | any (Conf Id) |
JSON request accepted by the implemented handler signature. Dictionary fields are validated by the controller.
| input_tokens required | number (Input Tokens) [ 1 .. 9999.9999 ] Total input token quota |
| output_tokens | number (Output Tokens) [ 0 .. 9999.9999 ] Default: 0 Total output token quota |
| currency_type required | integer (Currency Type) [ 0 .. 1 ] |
| referprice_in required | number (Referprice In) [ 0 .. 1000 ] Input token unit price |
| referprice_out | number (Referprice Out) [ 0 .. 1000 ] Default: 0 Output token unit price |
| billing_type required | integer (Billing Type) [ 0 .. 1 ] |
| num_type required | Array of integers (Num Type) = 2 items [ items [ 0 .. 5 ] ] |
| price_type required | Array of strings (Price Type) = 2 items [ items^(thousand|million)$ ] |
{- "input_tokens": 1,
- "output_tokens": 0,
- "currency_type": 0,
- "referprice_in": 0,
- "referprice_out": 0,
- "billing_type": 0,
- "num_type": [
- 0,
- 0
], - "price_type": [
- "string",
- "string"
]
}nullCurrent route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.
| page required | integer (Page) >= 0 |
| size | integer (Size) >= 0 Default: 20 |
| rule required | string (Rule) ^(create_time|update_time|model_name|total_pr... |
| order required | string (Order) ^(desc|asc)$ |
| name | string (Name) Default: "" |
| api_model | string (Api Model) Default: "" |
nullCurrent route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.
JSON request accepted by the implemented handler signature. Dictionary fields are validated by the controller.
required | Array of objects (List) |
{- "list": [
- {
- "model_quota_id": "stringstringstrings",
- "input_tokens": 1,
- "output_tokens": 0,
- "user_id": "string",
- "num_type": [
- 0,
- 0
]
}
]
}nullCurrent route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.
| conf_id required | string (Conf Id) = 19 characters ^[0-9]*$ |
| page required | integer (Page) >= 0 |
| size | integer (Size) >= 0 Default: 20 |
| rule required | string (Rule) ^(create_time|update_time)$ |
| order required | string (Order) ^(desc|asc)$ |
null