---
title: "List datasets for a model"
method: GET
path: "/api/v0/experiments/models/{model_id}/datasets"
tags: ["Experiment Tracker"]
---

# List datasets for a model

`GET /api/v0/experiments/models/{model_id}/datasets`

List all datasets attached to a model.

## Path parameters

- `model_id` string, uuid, required

## Response `200`

Successful Response

- DatasetResponse[]
  - `id` string, uuid, required
  - `model_id` string, uuid, required
  - `name` string, required
  - `description` string, nullable
  - `source_filename` string, required
  - `row_count` integer, nullable
  - `column_count` integer, nullable
  - `column_headers` string[], nullable
  - `column_mappings` object, nullable
  - `status` string, required
  - `error` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/outerport/apis/outerport-api.md) · [All operations](https://skmtc.dev/outerport/apis/outerport-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/outerport/outerport-api/revisions/f565b46daaea/schema)
