---
title: "List Github Files"
method: POST
path: "/felix/datasets/import-from-github/list-files"
tags: ["felix", "datasets"]
---

# List Github Files

`POST /felix/datasets/import-from-github/list-files`

List importable data files in a GitHub repository.

Args:
    request: Contains ``repo`` (owner/repo or URL), optional ``branch``,
        optional ``github_token``.
    auth: Authenticated user context.

Returns:
    List of data files and the resolved default branch.

Raises:
    HTTPException: 400 on invalid repo, 502 on GitHub API errors.

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pioneer/apis/brain-api.md) · [All operations](https://skmtc.net/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pioneer/brain-api/versions/31dfe831e079/schema)
