---
title: "Get models metadata"
method: GET
path: "/api/v1/metadata"
tags: ["Metadata"]
---

# Get models metadata

`GET /api/v1/metadata`

## Request

- Base URL: `https://modeldb.axiom.co` (the document declares no server; this is the origin it was published from)
- URL: `https://modeldb.axiom.co/api/v1/metadata`
- Auth: none declared
- TypeScript: <https://skmtc.dev/axiom/apis/modeldb-api/docs/api/v1/metadata/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `format` 'json' | 'csv' | 'jsonl': Response format (json or csv)
- `headers` string: Include headers in CSV output (defaults to false, use headers=true to include)
- `pretty` string: Pretty print JSON output with indentation (presence of parameter enables it)

## Response `200`

Models metadata information

- object
  - `source` string, required: Source URL of the model data
  - `generated_at` string, required: ISO timestamp of when the data was generated
  - `model_count` number, required: Total number of models in the database
  - `schema_version` string, required: Version of the schema used
  - `stats` object, required
    - `providers` object, required: Model count by provider
    - `types` object, required: Model count by type
    - `capabilities` object, required: Model count by capability
    - `deprecation` object, required
      - `active` number, required: Number of active models
      - `deprecated` number, required: Number of deprecated models

---

[API](https://skmtc.dev/axiom/apis/modeldb-api.md) - [All operations](https://skmtc.dev/axiom/apis/modeldb-api/llms.txt) - [OpenAPI document](https://skmtc.dev/axiom/apis/modeldb-api/revisions/86de3f9773eb?raw)
