Retrieve documents

get

Use this operation to retrieve metadata about all available documents and Slack channels within the data sources.

Query parameters
pageintegerOptional

Page's index

page_sizeintegerOptional

The maximum number of documents returned in a page

Responses
200
Successful operation
application/json
get
GET /api/v1/documents/ HTTP/1.1
Host: api.rememberizer.ai
Accept: */*
200

Successful operation

{
  "count": 4,
  "next": "text",
  "previous": "text",
  "results": [
    {
      "name": "text",
      "type": "text",
      "path": "text",
      "url": "text",
      "id": "text",
      "integration_type": "text",
      "source": "text",
      "status": "text",
      "indexed_on": "2025-06-26T13:15:00.258Z",
      "size": 89,
      "status_error_message": "text",
      "document_id": "text",
      "created_time": "2025-06-26T13:15:00.258Z",
      "pk": 1
    }
  ]
}

Example Requests

curl -X GET \
  "https://api.rememberizer.ai/api/v1/documents/?page=1&page_size=20&integration_type=google_drive" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

Replace YOUR_JWT_TOKEN with your actual JWT token.

Request Parameters

Parameter
Type
Description

page

integer

Page number for pagination. Default is 1.

page_size

integer

Number of items per page. Default is 10.

integration_type

string

Filter documents by integration type. Options: google_drive, slack, dropbox, gmail, common_knowledge

Response Format

{
  "count": 257,
  "next": "https://api.rememberizer.ai/api/v1/documents/?page=2&page_size=20&integration_type=google_drive",
  "previous": null,
  "results": [
    {
      "document_id": "1aBcD2efGhIjK3lMnOpQrStUvWxYz",
      "name": "Project Proposal.docx",
      "type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
      "path": "/Documents/Projects/Proposal.docx",
      "url": "https://drive.google.com/file/d/1aBcD2efGhIjK3lMnOpQrStUvWxYz/view",
      "id": 12345,
      "integration_type": "google_drive",
      "source": "[email protected]",
      "status": "indexed",
      "indexed_on": "2023-06-15T10:30:00Z",
      "size": 250000
    },
    // ... more documents
  ]
}

Available Integration Types

Integration Type
Description

google_drive

Documents from Google Drive

slack

Messages and files from Slack

dropbox

Files from Dropbox

gmail

Emails from Gmail

common_knowledge

Public knowledge sources

This endpoint retrieves a list of documents from your connected data sources. You can filter by integration type to focus on specific sources.

Last updated