{ "opencollection": "1.0.0", "info": { "name": "API Reference subpackage_datasets API", "version": "1.0.0" }, "items": [ { "info": { "name": "subpackage_datasets", "type": "folder" }, "items": [ { "info": { "name": "List datasets", "type": "http" }, "http": { "method": "GET", "url": "https://api.ideogram.ai/datasets", "headers": [ { "name": "Api-Key", "value": "" } ] }, "docs": "Lists all datasets for the authenticated user" }, { "info": { "name": "Create a new dataset", "type": "http" }, "http": { "method": "POST", "url": "https://api.ideogram.ai/datasets", "headers": [ { "name": "Api-Key", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new dataset" }, { "info": { "name": "Get a dataset", "type": "http" }, "http": { "method": "GET", "url": "https://api.ideogram.ai/datasets/:dataset_id", "headers": [ { "name": "Api-Key", "value": "" } ], "params": [ { "name": "dataset_id", "value": "", "type": "path" } ] }, "docs": "Returns a dataset by ID, including the total number of files and a list of each file's name and size in bytes.\n" }, { "info": { "name": "Upload assets to a dataset", "type": "http" }, "http": { "method": "POST", "url": "https://api.ideogram.ai/datasets/:dataset_id/upload_assets", "headers": [ { "name": "Api-Key", "value": "" } ], "params": [ { "name": "dataset_id", "value": "", "type": "path" } ], "body": { "type": "multipart-form", "data": [ { "name": "files", "type": "text", "value": "" } ] } }, "docs": "Upload image assets to a dataset for model training. Accepts individual images (JPEG, PNG, WebP), optional .txt caption sidecar files, and/or ZIP archives containing images and captions. A dataset can contain up to 100 images.\n" } ] } ], "bundled": true }