---
title: "Get File Information"
method: GET
path: "/v1/graphs/{graph_id}/files/{file_id}"
tags: ["Files"]
---

# Get File Information

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

## 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/{file_id}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Returns per-layer status (`layers.s3`, `layers.duckdb`, `layers.graph`) for pipeline debugging.

## Path parameters

- `graph_id` string, required
- `file_id` string, required: File ID

## Response `200`

Successful Response

- GetFileInfoResponse
  - `file_id` string, required: Unique file identifier
  - `graph_id` string, required: Graph database identifier
  - `table_id` string, required: Table identifier
  - `table_name` string, nullable: Table name
  - `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
  - `layers` EnhancedFileStatusLayers
    - `s3` FileLayerStatus, required
      - `status` string, required: Layer status
      - `timestamp` string, nullable: Status timestamp
      - `row_count` integer, nullable: Row count (if available)
      - `size_bytes` integer, nullable: Size in bytes (S3 layer only)
    - `duckdb` FileLayerStatus, required
      - `status` string, required: Layer status
      - `timestamp` string, nullable: Status timestamp
      - `row_count` integer, nullable: Row count (if available)
      - `size_bytes` integer, nullable: Size in bytes (S3 layer only)
    - `graph` FileLayerStatus, required
      - `status` string, required: Layer status
      - `timestamp` string, nullable: Status timestamp
      - `row_count` integer, nullable: Row count (if available)
      - `size_bytes` integer, nullable: Size in bytes (S3 layer only)

## 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)
