latestOpenAPI 3.1.02026-08-19270462702.4 KB

b92f75fd3b61

analytics

Get 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.

Raises: HTTPException: 400 when the scope parameters are not exactly one of project_id / base_model, or the service rejects the input; 503 when the datasets read fails, with the cause logged server-side rather than returned to the caller.

get/analytics/model-datasets

Query parameters

project_idstring nullable

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_modelstring nullable

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