curl --request GET \
--url https://api.promptmetrics.dev/llm-provider/modals \
--header 'Authorization: Bearer <token>'{
"responseData": [
{
"_id": "<string>",
"name": "<string>",
"slug": "<string>",
"models": [
{
"_id": "<string>",
"name": "<string>",
"model_id": "<string>",
"context_length": 123,
"input_cost": 123,
"output_cost": 123
}
]
}
]
}Returns all providers along with their associated models.
curl --request GET \
--url https://api.promptmetrics.dev/llm-provider/modals \
--header 'Authorization: Bearer <token>'{
"responseData": [
{
"_id": "<string>",
"name": "<string>",
"slug": "<string>",
"models": [
{
"_id": "<string>",
"name": "<string>",
"model_id": "<string>",
"context_length": 123,
"input_cost": 123,
"output_cost": 123
}
]
}
]
}