Retrieve All Documents
GET all Document instances. Returns a paginated list of Documents.
Query Parameters
Page number. Defaults to 1. See Pagination for more details.
Number of requested paginated records. Defaults to 50. See Pagination for more details.
Optional Mongo-style JSON sort clause, e.g., sort={"created_at": true}
to sort by created_at (descending)
Optional Mongo-style JSON filter clause, e.g., where={"$uri": {"$eq": "/api/v1/samples/0ee172af60e84f61"}}
Response
"/api/v1/documents/a1b2c3d4e5f67890"
Timestamp for when the object was created on the One Codex platform, encoded as a RFC 3339 timestamp.
An (optionally empty) array of references to users that the document has been shared with. These users are able to download (but not modify) the document.
The document filename (e.g., "report.pdf")
The size of the document in bytes.
A reference to the user that uploaded and owns the document, e.g., {"$ref": "/api/v1/users/5891ee65711c4d5e"}
. Only document owners can modify a sample (with some exceptions in the case of organization accounts configured for multiple users - please contact us if you'd like to discuss this use case).