---
title: "Get SAML service provider metadata"
method: GET
path: "/auth/saml/{connectionId}/metadata"
tags: ["Auth"]
---

# Get SAML service provider metadata

`GET /auth/saml/{connectionId}/metadata`

## Request

- Base URL: `https://api.elaichi.ai`
- URL: `https://api.elaichi.ai/auth/saml/{connectionId}/metadata`
- Auth: none required

Service-provider metadata XML to hand to the IdP administrator when configuring a SAML connection created with `POST /sso-connection`. Public — no credential.

## Path parameters

- `connectionId` string, required

## Response `200`

SP metadata XML.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `429`: Rate limited

---

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