---
title: "List Documents"
method: GET
path: "/v1/graphs/{graph_id}/documents"
tags: ["Documents"]
---

# List Documents

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

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

## Path parameters

- `graph_id` string, required

## Query parameters

- `source_type` string, nullable

## Response `200`

Successful Response

- DocumentListResponse: Response from listing indexed documents.
  - `total` integer, required
  - `documents` DocumentListItem[], required
    - `id` string, required
    - `document_title` string, required
    - `section_count` integer, required
    - `source_type` string, required
    - `folder` string, nullable
    - `tags` string[], nullable
    - `file` DocumentFileInfo: The stored file behind a document, when it is one.
      - `file_name` string, required: The file's name as uploaded.
      - `content_type` string, required: The file's media type.
      - `size_bytes` integer, required: The stored file's size.
      - `sha256` string, required: Hex SHA-256 of the stored bytes, taken when the upload completed. A stored file never changes, so this identifies it.
    - `created_at` string, required
    - `updated_at` string, required
  - `graph_id` string, required

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