v2

latestOpenAPI 3.1.02026-07-266910988.9 KB
spaces

Get per-space usage

Tokens ingested and search queries for a single space over a date range (defaults to the current calendar month). Use this to attribute usage to one end-user when you map one space per end-user.

get/api/v1/spaces/{space_uuid}/usage

Path parameters

space_uuidstring uuid required

Query parameters

start_datestring date
end_datestring date

Response

Space usage for the selected period

space_idstring uuid required
period_startstring date required
period_endstring date required
tokens_ingestedinteger required
search_queriesinteger required