List Documents
get
/v1/graphs/{graph_id}/documentsPart of Documents.
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 |
|---|---|---|
source_typeoptional | string | Source Type |
Example request
curl
curl -X GET "https://api.robosystems.ai/v1/graphs/{graph_id}/documents" \
-H "X-API-Key: $ROBOSYSTEMS_API_KEY"Responses
200 Successful Response
| Field | Type | Description | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
totalrequired | integer | ||||||||||||||||||||||||||||
documentsrequired | DocumentListItem[] | A document in the document list. DocumentListItem fields
| |||||||||||||||||||||||||||
graph_idrequired | string |
| 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 |