---
title: "Get Datasets by Project"
method: GET
path: "/tailored-gen/projects/{project_id}/datasets"
tags: ["Dataset"]
---

# Get Datasets by Project

`GET /tailored-gen/projects/{project_id}/datasets`

Retrieve all datasets for a specific project.

## Path parameters

- `project_id` string, required

## Query parameters

- `include_models` boolean
- `include_models_ids` boolean

## Headers

- `api_token` string, required

## Response `200`

Successfully retrieved datasets

- object[]
  - `id` integer
  - `project_id` integer
  - `name` string
  - `visual_schema` string, nullable
  - `upload_type` 'basic' | 'advanced'
  - `images_count` integer
  - `status` 'draft' | 'completed'
  - `captions_update_status` 'empty' | 'in_progress' | 'completed'
  - `models` object[] — Only included when include_models=true
  - `model_ids` string[] — Only included when include_models_ids=true
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Project not found
- `429` — Request limit exceeded.
- `500` — Internal server error

---

[API](https://skmtc.net/bria-ai/apis/tailored-generation-api-reference.md) · [All operations](https://skmtc.net/bria-ai/apis/tailored-generation-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bria-ai/tailored-generation-api-reference/revisions/806c6d31631b/schema)
