檢索文檔

Retrieve a list of all documents and Slack channels.

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

GEThttps://api.rememberizer.ai/api/v1/documents/
Query parameters
Response

Successful operation

Body
countinteger

The total number of documents.

nextnullable string

The URL for the next page of results.

previousnullable string

The URL for the previous page of results.

resultsarray of object

List of documents, Slack channels, common knowledge, etc.

Request
const response = await fetch('https://api.rememberizer.ai/api/v1/documents/', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "next": "text",
  "previous": "text",
  "results": [
    {
      "document_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "type": "text",
      "path": "text",
      "url": "text",
      "integration_type": "text",
      "source": "text",
      "status": "text",
      "indexed_on": "2024-10-06T14:29:21.327Z"
    }
  ]
}

Last updated