felix
datasets
Import From Github
Download a file from GitHub and create a Pioneer 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/felix/datasets/import-from-github
Request body
Response
Successful Response
{"stackTrail":"paths:/felix/datasets/import-from-github:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}