---
title: "List all available schemas"
method: GET
path: "/datasets/schemas/"
tags: ["datasets"]
---

# List all available schemas

`GET /datasets/schemas/`

## Request

- Base URL: `https://dados.gov.pt/api/1`
- URL: `https://dados.gov.pt/api/1/datasets/schemas/`
- Auth: none declared

## Headers

- `X-Fields` string, mask

## Response `200`

Success

- CatalogSchema[]
  - `consolidation_dataset_id` string
  - `contact` string
  - `datapackage_description` string: Only present if the schema is inside a datapackage
  - `datapackage_name` string: Only present if the schema is inside a datapackage
  - `datapackage_title` string: Only present if the schema is inside a datapackage
  - `description` string
  - `examples` CatalogSchemaExample[]
    - `path` string
    - `title` string
  - `external_doc` string
  - `external_tool` string: Link to tools to create a file with this schema
  - `homepage` string
  - `labels` string[]
  - `name` string
  - `schema_type` 'tableschema' | 'datapackage' | 'jsonschema' | 'other'
  - `schema_url` string: Often the link to the latest version
  - `title` string
  - `versions` CatalogSchemaVersion[]
    - `schema_url` string
    - `version_name` string

---

[API](https://skmtc.dev/dados/apis/udata-api.md) - [All operations](https://skmtc.dev/dados/apis/udata-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dados/apis/udata-api/revisions/77edaf8a00ea?raw)
