HTTP request
curl \
-X GET 'https://api.meilisearch.com/api/v2/projects/343/usage?from=2026-10-01&to=2026-10-31' \
-H 'Authorization: Bearer MANAGEMENT_API_TOKEN'{
"projectId": 56,
"from": "2026-11-01",
"to": "2026-11-23",
"days": [
{
"date": "2026-11-01",
"runtime": [
{
"resourceId": 7,
"hours": 24
}
],
"storageGb": 32,
"bandwidthBytes": 52428800,
"documents": 120000,
"searches": 4500,
"chatTokens": 0
}
]
}Cost monitoring
Get project usage
Returns the usage of a project per UTC day: runtime, storage, bandwidth, documents, searches, and chat tokens. The window is clamped to the project lifetime, terminated projects included.
GET
/
api
/
v2
/
projects
/
{projectId}
/
usage
HTTP request
curl \
-X GET 'https://api.meilisearch.com/api/v2/projects/343/usage?from=2026-10-01&to=2026-10-31' \
-H 'Authorization: Bearer MANAGEMENT_API_TOKEN'{
"projectId": 56,
"from": "2026-11-01",
"to": "2026-11-23",
"days": [
{
"date": "2026-11-01",
"runtime": [
{
"resourceId": 7,
"hours": 24
}
],
"storageGb": 32,
"bandwidthBytes": 52428800,
"documents": 120000,
"searches": 4500,
"chatTokens": 0
}
]
}Authorizations
personal_access_tokenoauth2
Send Authorization: Bearer <token>, where <token> is a personal access token (PAT) or an OAuth2 access token. A PAT authenticates as the user who owns it. See Authentication.