Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List documents in a workspace with search, filters, and pagination.
documents-read
GET /workspaces/12/documents?query=invoice&status=processed&page=1&per_page=20 HTTP/1.1 Host: api.raydocs.com Authorization: Bearer <token>
query
mime
status
source_type
upload
url
connector
sort
created_at
filename
size
order
asc
desc
page
per_page
200 OK
{ "data": [ { "id": "880e8400-e29b-41d4-a716-446655440000", "workspace_id": 12, "filename": "invoice.pdf", "mime": "application/pdf", "size": 123456, "sha256": "6de7f6f5894c9f3fd1f6f8a4d1b3115d0d9b4b19d7a8a661f9fe90f9c2d80c3b", "status": "processed", "source_type": "upload", "created_at": "2026-02-28T10:30:00Z" } ], "meta": { "current_page": 1, "per_page": 20, "total": 153, "last_page": 8 } }