Grafana 13 marks the deprecation of legacy API endpoints (`/api`) in favor of a new generation of improved APIs (`/apis`), a Kubernetes-style API layer which follows a standardized API structure alongside consistent API versioning.
**Legacy APIs are not being disabled for the moment**. Removal of legacy APIs is planned for a future major release, and any breaking changes will be announced well in advance to avoid disruptions.
Note that while Grafana is working on migrating existing APIs to the new `/apis` model, currently there may not be an exact match to the legacy API you're using.
For more information refer to [Migrate to the new APIs](https://grafana.com/docs/grafana/<GRAFANA_VERSION>/developer-resources/api-reference/http-api/apis-migration) documentation.
Where the final `/<name>` segment is used for operations on individual resources (like Get, Update, Delete) and omitted for collection operations (like List, Create).
| Alpha | `v1alpha1` | Early development stage. Unstable, may contain bugs, and subject to removal | For testing new features | No |
| Beta | `v1beta1` | More stable than alpha, but may still have some changes | For non-critical use | No |
| GA | `v1` | Generally Available. Stable with backward compatibility guarantees | For production use | Yes |
#### Alpha
Alpha versions should not be served unless explicitly enabled by a feature flag, and should be considered completely experimental and subject to major changes.
An alpha version may undergo breaking changes without adding an additional version, and should not be relied upon by production workflows. Alpha versions may be removed completely, even without being promoted to a more stable level (e.g. an experimental API may be introduced as alpha for a new feature and subsequently removed completely, in case that feature gets canceled).
#### Beta
Beta versions should not contain breaking changes in the schema, but still may be subject to changes in handling logic or semantics.
Breaking schema changes require a new published beta version (such as publishing `v1beta2` for breaking changes to the `v1beta1` schema).
While beta versions are no longer considered experimental like alpha versions, they should still be disabled by default.
#### GA
GA versions are enabled by default, and can be treated as completely stable. The only changes that can be made to these APIs are bug fixes,
and any other changes should instead result in a new published version of the API.
The `<name>` is the unique identifier for a specific instance of a resource within its namespace and resource type. `<name>` is distinct from the metadata.uid field. The URL path will always use the metadata.name.
The metadata section contains information about the resource instance.
This section includes [name](#name-name) and [namespace](#namespace-namespace), which are described earlier in this document, along with the following fields:
#### UID
An internal identifier that can be ignored for most use cases. Use the `name` field as the unique identifier instead. This value is _not_ the same as the Grafana UID.
#### ResourceVersion
A value that changes whenever any part of the resource changes, including metadata or status.
Use this field for:
- Change detection
- Optimistic concurrency control
#### Generation
A monotonically increasing number that increments only when the spec changes.
Updates to metadata or status don't affect this value.
#### CreationTimestamp
The time the object was created, formatted as an RFC 3339 UTC timestamp (for example, `2026-01-23T22:06:40Z`).
#### Annotations
A map of key-value pairs.
Common annotations include:
-`grafana.app/createdBy` / `grafana.app/updatedBy`: Identifies who created or last updated the resource.
Format: `<user-type>:<uid>` (for example, user:u000000839)
-`grafana.app/folder`: If the resource supports folders, contains the folder UID the object belongs to.
-`grafana.app/updatedTimestamp`: Timestamp of the last update, formatted as RFC 3339 UTC
(for example, `2026-01-23T05:17:31Z`).
#### Labels
An optional map of key-value pairs for organizing and selecting resources.
### Spec
The spec field describes the desired state of the resource. Its structure is specific to the resource type and API version. Refer to the Swagger / OpenAPI documentation for the exact schema of each resource’s spec.