curl --request GET \
--url https://api.lunary.ai/v1/models
[
{
"id": "<string>",
"name": "<string>",
"pattern": "<string>",
"unit": "TOKENS",
"inputCost": 123,
"outputCost": 123,
"tokenizer": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
Successful response
The response is of type object[]
.
curl --request GET \
--url https://api.lunary.ai/v1/models
[
{
"id": "<string>",
"name": "<string>",
"pattern": "<string>",
"unit": "TOKENS",
"inputCost": 123,
"outputCost": 123,
"tokenizer": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
curl --request GET \
--url https://api.lunary.ai/v1/models
[
{
"id": "<string>",
"name": "<string>",
"pattern": "<string>",
"unit": "TOKENS",
"inputCost": 123,
"outputCost": 123,
"tokenizer": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
Successful response
The response is of type object[]
.
curl --request GET \
--url https://api.lunary.ai/v1/models
[
{
"id": "<string>",
"name": "<string>",
"pattern": "<string>",
"unit": "TOKENS",
"inputCost": 123,
"outputCost": 123,
"tokenizer": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]