Get your company's activity metrics
Return activity metrics for the authenticated user’s own company: number of workspaces, number of indexed (embedded) documents, and the count of search + ask (RAG) calls across all of the company’s API keys over the last 30 days (served from the cached usage histogram).
Authorization: any authenticated member of the company. Instance admins reading another company should use the instance-level equivalent.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Number of workspaces in the company.
Number of documents in the company that finished indexing (embedded).
Search + ask (RAG) calls across the company's API keys over the last 30 days.
Up to the 5 workspaces with the most indexed documents, largest first.
Indexed documents held by all workspaces beyond the top 5 (the 'Others' bucket).