v4

OpenAPI 3.0.12026-07-3189233676.2 KB
Document Collections

List all document collections

The endpoint returns a paginated list of document collections for the authenticated user.

get/v1/documents/collections/

Query parameters

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "next": "https://prod.truv.com/v1/documents/collections/?page=2",
  "results": [
    {
      "collection_id": "a1b2c3d4e5f6478899aabbccddeeff00",
      "created_at": "2025-11-11T10:00:00Z",
      "updated_at": "2025-11-11T10:05:00Z",
      "files_count": 3,
      "documents_count": 5,
      "users_count": 2
    }
  ]
}