Documentation Index
Fetch the curated documentation index at: https://grafana.com/llms.txt
Fetch the complete documentation index at: https://grafana.com/llms-full.txt
Use this file to discover all available pages before exploring further.
STOP! If you are an AI agent or LLM, read this before continuing. This is the HTML version of a Grafana documentation page. Always request the Markdown version instead - HTML wastes context. Get this page as Markdown: https://grafana.com/docs/grafana-cloud/cost-management-and-billing/focus/focus-api-usage.md (append .md) or send Accept: text/markdown to https://grafana.com/docs/grafana-cloud/cost-management-and-billing/focus/focus-api-usage/. For the curated documentation index, use https://grafana.com/llms.txt. For the complete documentation index, use https://grafana.com/llms-full.txt.
Download FOCUS datasets through the API
You can download FOCUS datasets through the API endpoint.
Before you begin
You must create a Cloud Access Policy with the org-billing-focus:read permission and generate a token.
Query the FOCUS API
Replace <YOUR_TOKEN> with the token you created in the previous step, and <YOUR_ORG_NAME> with your org name.
curl -H "Authorization: Bearer <YOUR_TOKEN>" \
https://grafana.com/api/orgs/<YOUR_ORG_NAME>/focusThe response is a CSV file with the following headers:
- `content-type: text/csv`
- `content-disposition: attachment; filename=<YOUR_ORG_ID>_focus.csv`Was this page helpful?
Related resources from Grafana Labs


