Skip to main content
GET
/
api
/
r2r
/
v3
/
chunks
List Chunks
curl --request GET \
  --url https://api.intelligence.io.solutions/api/r2r/v3/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
}
Returns a paginated list of chunks that the user has access to. Results can be filtered and sorted based on various parameters. Vector embeddings are only included if specifically requested. Regular users can only list chunks they own or have access to through collections. Superusers can list all chunks in the system.

Authorizations

Authorization
string
header
required

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

Query Parameters

metadata_filter
string

Filter by metadata

include_vectors
boolean
default:false

Include vector data in response

offset
integer
default:0

Specifies the number of objects to skip. Defaults to 0. >=0

limit
integer
default:100

Specifies a limit on the number of objects to return, ranging between 1 and 100. Defaults to 100. >=1 <=1000

Response

200

results
object[]
total_entries
integer
default:0
Example:

1

I