---
title: "List Files in Graph"
method: GET
path: "/v1/graphs/{graph_id}/files"
tags: ["Files"]
---

# List Files in Graph

`GET /v1/graphs/{graph_id}/files`

## Request

- Base URL: `https://api.robosystems.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.robosystems.ai/v1/graphs/{graph_id}/files`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Filter by `table_name` or upload `status`. Files are graph-scoped resources with S3 → DuckDB → Graph lifecycle tracking.

## Path parameters

- `graph_id` string, required

## Query parameters

- `table_name` string, nullable: Filter by table name (optional)
- `status` string, nullable: Filter by upload status (optional)

## Response `200`

Successful Response

- ListTableFilesResponse
  - `graph_id` string, required: Graph database identifier
  - `table_name` string, nullable: Table name (null if listing all files in graph)
  - `files` FileInfo[], required: List of files in the table
    - `file_id` string, required: Unique file identifier
    - `file_name` string, required: Original file name
    - `file_format` string, required: File format (parquet, csv, etc.)
    - `size_bytes` integer, required: File size in bytes
    - `row_count` integer, nullable: Estimated row count
    - `upload_status` string, required: Current upload status
    - `upload_method` string, required: Upload method used
    - `created_at` string, nullable: File creation timestamp
    - `uploaded_at` string, nullable: File upload completion timestamp
    - `s3_key` string, required: S3 object key
  - `total_files` integer, required: Total number of files
  - `total_size_bytes` integer, required: Total size of all files in bytes

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: Access denied
- `404`: Resource not found
- `422`: Validation Error
- `429`: Rate limit exceeded
- `500`: Internal server error

---

[API](https://skmtc.dev/robosystems/apis/robosystems-api.md) · [All operations](https://skmtc.dev/robosystems/apis/robosystems-api/llms.txt) · [OpenAPI document](https://skmtc.dev/robosystems/apis/robosystems-api/revisions/e661e2d5ca6a?raw)
