---
title: "Get Team Metadata Schema"
method: GET
path: "/team/metadata_schema"
tags: ["team management"]
---

# Get Team Metadata Schema

`GET /team/metadata_schema`

Get the team metadata fields declared in ``general_settings.team_metadata_schema``.

The UI uses this to prepopulate the team metadata form with the declared
keys. Returns an empty ``fields`` list when no schema is configured. This
schema is advisory; server-side enforcement stays with
``custom_team_metadata_validate``.

## Response `200`

Successful Response

- TeamMetadataSchemaResponse — Response for GET /team/metadata_schema; ``fields`` is empty when no schema is configured.
  - `fields` TeamMetadataFieldSchema[], required
    - `key` string, required
    - `label` string, nullable

## Changes

- **2026-09-18** `082b5fabd909` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/team/metadata_schema/get.md)

---

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