Skip to main content
GET
/
api
/
v1
/
documents
List documents
curl --request GET \
  --url https://api.dualship.run/api/v1/documents \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Workspace-Id: <x-workspace-id>'
{
  "documents": [
    {
      "content_type": "application/pdf",
      "created_at": "2024-01-15T10:00:00Z",
      "file_name": "report.pdf",
      "file_size": 1024000,
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "parse_status": "completed"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Headers

X-Workspace-Id
string
required

Workspace ID

Query Parameters

limit
integer

Limit

offset
integer

Offset

Response

List of documents

List of documents

documents
object[]