List Files in Graph
get
/v1/graphs/{graph_id}/filesPart of Files.
Filter by table_name or upload status. Files are graph-scoped resources with S3 → DuckDB → Graph lifecycle tracking.
Authentication
Authenticate in any one of these ways — not all of them:
- API key in the
X-API-Keyheader. - Bearer token in the
Authorizationheader.
Path parameters
| Name | Type | Description |
|---|---|---|
graph_idrequired | string | Graph Id |
Query parameters
| Name | Type | Description |
|---|---|---|
table_nameoptional | string | Filter by table name (optional) |
statusoptional | string | Filter by upload status (optional) |
Example request
curl
curl -X GET "https://api.robosystems.ai/v1/graphs/{graph_id}/files" \
-H "X-API-Key: $ROBOSYSTEMS_API_KEY"Responses
200 Successful Response
| Field | Type | Description | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
graph_idrequired | string | Graph database identifier | |||||||||||||||||||||||||||||||||
table_nameoptional | string | Table name (null if listing all files in graph) | |||||||||||||||||||||||||||||||||
filesrequired | FileInfo[] | List of files in the table FileInfo fields
| |||||||||||||||||||||||||||||||||
total_filesrequired | integer | Total number of files | |||||||||||||||||||||||||||||||||
total_size_bytesrequired | integer | Total size of all files in bytes |
| Status | Meaning |
|---|---|
| 400 | Invalid request |
| 401 | Authentication required |
| 403 | Access denied |
| 404 | Resource not found |
| 422 | Validation Error |
| 429 | Rate limit exceeded |
| 500 | Internal server error |