GET
/
api
/
r2r
/
v3
/
documents
/
{id}
/
chunks
List document chunks
curl --request GET \
  --url https://api.intelligence.io.solutions/api/r2r/v3/documents/{id}/chunks \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "id": "id",
      "document_id": "document_id",
      "owner_id": "owner_id",
      "collection_ids": [
        "collection_ids"
      ],
      "text": "text",
      "metadata": {
        "key": "value"
      },
      "vector": [
        1.1
      ]
    }
  ],
  "total_entries": 1
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
integer
required

The ID of the document to retrieve chunks for.

Response

200

results
object[]
total_entries
integer
default:0
Example:

1