---
title: "It exposes the SP (Grafana's) metadata for the IdP's consumption."
method: GET
path: "/saml/metadata"
tags: ["saml", "enterprise"]
---

# It exposes the SP (Grafana's) metadata for the IdP's consumption.

`GET /saml/metadata`

## Request

- Base URL: `/api` (relative, and the document’s source URL is not known)
- URL: `/api/saml/metadata`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

## Response `200`

(empty)

- integer[]

---

[API](https://skmtc.dev/grafana/apis/grafana-http-api.md) - [All operations](https://skmtc.dev/grafana/apis/grafana-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/grafana/apis/grafana-http-api/revisions/df55ba1718ba?raw)
