# Get Datasets by Project Retrieve all datasets for a specific project Endpoint: GET /tailored-gen/projects/{project_id}/datasets ## Path parameters: - `project_id` (string, required) Project ID ## Header parameters: - `api_token` (string, required) ## Query parameters: - `include_models` (boolean) If true, a list of model objects using the dataset should be included in the response under the parameter 'models' - `include_models_ids` (boolean) If true, a list of model ids using the dataset should be included in the response under the parameter 'model_ids' ## Response 200 fields (application/json): - `id` (integer) Unique identifier for the dataset - `project_id` (integer) Associated project ID - `name` (string) Dataset name - `caption_prefix` (string) Text automatically prepended to all image captions in the dataset. Each image caption should naturally continues this prefix. A default prefix is automatically created but can be modified, and this same prefix is later used as the default generation prefix during image generation. - `upload_type` (string) The upload type Enum: "basic", "advanced" - `captions_source` (string) The source of the captions. For 'basic' datasets, this is a null. For 'advanced' datasets, this indicates if captions were generated 'automatic' or provided 'manual'. Enum: "automatic", "manual" - `images_count` (integer) Number of images in the dataset - `status` (string) Status of the dataset Enum: "draft", "completed" - `captions_update_status` (string) Status of captions update process Enum: "empty", "in_progress", "completed" - `models` (array) List of model objects using this dataset. Only included when include_models=true - `model_ids` (array) List of model IDs using this dataset. Only included when include_models_ids=true - `created_at` (string) Timestamp when the dataset was created - `updated_at` (string) Timestamp when the dataset was last updated