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"
}
]
}Get all documents for the workspace
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"
}
]
}Was this page helpful?