Get Model Datasets
Changed onReturn 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.
Request
- Base URLhttps://api.pioneer.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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). Mutually exclusive with 'base_model' -- exactly one of the two must be provided.
Base catalog model id (e.g. 'meta-llama/Llama-3-8B'). Mutually exclusive with 'project_id' -- exactly one of the two must be provided.
Response
Successful Response
Changes
- info
endpoint added
- info