v2
latestOpenAPI 3.1.02026-08-05267431678.1 KBGet Model Datasets
Return training + evaluation datasets for a project or base model.
Exactly one of project_id or base_model must be provided.
Args: project_id: Scope to datasets directly attached to this project, or the sentinel "default" for unallocated datasets. base_model: Scope to datasets used by training jobs and evaluations against this base model id. auth: Authentication result carrying the user id and team scope.
Returns: ModelDatasetsResponse with training and evaluation dataset rows. Evaluation rows include their latest completed evaluation when available.
Query parameters
Project UUID. Returns datasets attached to this project. Pass the literal value 'default' to return datasets whose project_id is null (the unallocated-resources bucket).
Project UUID. Returns datasets attached to this project. Pass the literal value 'default' to return datasets whose project_id is null (the unallocated-resources bucket).
Base catalog model id (e.g. 'meta-llama/Llama-3-8B').
Base catalog model id (e.g. 'meta-llama/Llama-3-8B').
Response
Successful Response