datasets
Import From Github
Changed onDownload a file from GitHub and create a Fastino dataset.
Args: request: Repo, file path, and optional branch, dataset name, GitHub token, and dataset purpose (type: 'training' (default), 'evaluation', or 'benchmark' -- 'benchmark' is rejected, mirroring pull_dataset_from_hub). http_request: Raw request, read only to identify sandbox run keys. auth: Authenticated user context.
Returns: DatasetResponse of the created dataset.
Raises: HTTPException: 400 on parse errors, 403 on a run-key token or type='benchmark', 502 on download failures.
post/v1/datasets/import-from-github
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.
Request body
Response
Successful Response
unknown required
Changes
- info
endpoint added
- info