Skip to main content
GET
/
collections
/
{collectionName}
/
docs
cURL
curl --request GET \
  --url https://{projectHost}/collections/{collectionName}/docs \
  --header 'x-api-key: <api-key>'
{
  "total": 2,
  "docs": [
    {
      "collection": "example-collection-name",
      "doc": {
        "example-field1": "example-value1",
        "example-field2": [
          0.1,
          0.2,
          0.3
        ]
      }
    },
    {
      "collection": "example-collection-name",
      "doc": {
        "example-field1": "example-value2",
        "example-field2": [
          0.4,
          0.5,
          0.6
        ]
      }
    }
  ],
  "nextPageToken": "eyJpZCI6ICJhYmMiLCAiY3JlYXRlZF9hdCI6ICIyMDI0LTExLTA1VDE0OjI3OjU2KzAwOjAwIn0="
}

Authorizations

x-api-key
string
header
required

Project API Key.

Path Parameters

collectionName
string
required

Collection name.

Query Parameters

size
integer

Max number of documents to return at once.

Required range: 1 <= x <= 100
pageToken
string

Next page token.

Response

Documents list.

total
integer
required
docs
object[]
required

A list of documents.

nextPageToken
string