{
"modelName": "string",
"matchPattern": "string",
"startDate": "1970-01-01T00:00:00.000Z",
"unit": "CHARACTERS",
"inputPrice": 0,
"outputPrice": 0,
"totalPrice": 0,
"tokenizerId": "string",
"tokenizerConfig": null
}
{
"id": "<string>",
"modelName": "<string>",
"matchPattern": "<string>",
"startDate": "<string>",
"unit": "<string>",
"inputPrice": 123,
"outputPrice": 123,
"totalPrice": 123,
"tokenizerId": "<string>",
"tokenizerConfig": {},
"isLangfuseManaged": true
}Models
Create a model
Endpoint to Create a model on toolzz analytics
POST
/
api
/
public
/
models
{
"modelName": "string",
"matchPattern": "string",
"startDate": "1970-01-01T00:00:00.000Z",
"unit": "CHARACTERS",
"inputPrice": 0,
"outputPrice": 0,
"totalPrice": 0,
"tokenizerId": "string",
"tokenizerConfig": null
}
{
"id": "<string>",
"modelName": "<string>",
"matchPattern": "<string>",
"startDate": "<string>",
"unit": "<string>",
"inputPrice": 123,
"outputPrice": 123,
"totalPrice": 123,
"tokenizerId": "<string>",
"tokenizerConfig": {},
"isLangfuseManaged": true
}{
"modelName": "string",
"matchPattern": "string",
"startDate": "1970-01-01T00:00:00.000Z",
"unit": "CHARACTERS",
"inputPrice": 0,
"outputPrice": 0,
"totalPrice": 0,
"tokenizerId": "string",
"tokenizerConfig": null
}
Response Description
Below you will see the description of the Create a model responsestring
required
Unique identifier of the item.
string
required
Name of the model associated with the item.
string
required
Match pattern used for the item.
date
required
Start date for the item’s configuration.
string
required
Unit type, e.g., CHARACTERS.
integer
required
Price for input usage.
integer
required
Price for output usage.
integer
required
Total price for the item.
string
required
Identifier of the tokenizer.
object | null
Configuration of the tokenizer (nullable).
boolean
required
Indicates whether the item is managed by Langfuse.
Code Response
Exemples of Response CodeRequest Successful Response
Request Failure

