---
title: "Legacy HTTP API examples | Grafana Cloud documentation"
description: "HTTP API examples that call legacy /api endpoints."
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# Legacy HTTP API examples

> Note
> 
> Starting in Grafana 13, `/api` endpoints are being deprecated in favor of the `/apis` route. Note that while Grafana is working on migrating existing APIs, currently there may not be an exact match to the legacy API you’re using.
> 
> **This change doesn’t disrupt or break your current setup**. Legacy APIs are not being disabled and remain fully accessible and operative, but `/api` routes will no longer be updated.
> 
> To learn more refer to the [new API structure in Grafana](https://grafana.com/docs/grafana/next/developer-resources/api-reference/http-api/apis/).

The following examples call legacy `/api` endpoints. For examples that use the `/apis` endpoints, refer to [HTTP API examples](https://grafana.com/docs/grafana-cloud/learn-and-build/developer-resources/api-reference/http-api/examples/).

- [Legacy cURL examples](https://grafana.com/docs/grafana-cloud/learn-and-build/developer-resources/api-reference/http-api/examples/legacy/curl-examples/)
- [Legacy API Tutorial: Create Service Account tokens and dashboards for an organization](https://grafana.com/docs/grafana-cloud/learn-and-build/developer-resources/api-reference/http-api/examples/legacy/create-api-tokens-for-org/)
