Models
List models
Getting Started
Audit Logs
Datasets
- GETList datasets
- POSTCreate a new dataset
- GETGet dataset by ID or slug
- DELDelete a dataset
- PATCHUpdate a dataset
- POSTCreate a new prompt
- GETGet prompt by ID
- DELDelete a prompt
- PATCHUpdate a prompt
- GETGet prompt variation by ID
- DELDelete a prompt variation
- PATCHUpdate a prompt variation
- POSTCreate a new prompt variation
Runs
Templates
Models
List models
GET
/
v1
/
models
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"
}
]