Papers
List Papers
Returns a paginated list of papers in the current workspace.
AuthorizationBearer <token>
In: header
Query Parameters
metadata?
Filter by metadata. Use commas for any-of and gt, gte, lt, lte for numeric ranges, e.g. metadata[category]=invoice,receipt&metadata[amount][gte]=100.
next?string
prev?string
fileName?string
status?string
Value in
- "pending"
- "ready"
- "failed"
- "deleted"
extension?string
Filter by file extension. Accepts a comma separated list, e.g. pdf,txt,md.
sort?string
Field to sort by.
Default
"created"Value in
- "created"
- "updated"
- "fileName"
- "size"
order?string
Sort direction.
Default
"desc"Value in
- "asc"
- "desc"
Response Body
application/json
curl -X GET "https://example.com/papers"{ "total": 0, "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "fileName": "string", "title": "string", "subject": "string", "size": 0, "ratio": 0, "pages": 0, "status": "pending", "metadata": { "property1": null, "property2": null }, "version": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "fileName": "string", "title": "string", "subject": "string", "size": 0, "ratio": 0, "pages": 0, "status": "deleted", "extension": "string" } } ], "cursor": { "next": "string", "prev": "string" }}