Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana-cloud/cost-management-and-billing/focus/focus-api-usage.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana-cloud/cost-management-and-billing/focus/focus-api-usage/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at 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


