POST
/
api
/
r2r
/
v3
/
chunks
/
{id}
Update Chunk
curl --request POST \
  --url https://api.intelligence.io.solutions/api/r2r/v3/chunks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "text": "<string>",
  "metadata": [
    "<any>"
  ]
}'
{
  "results": {
    "id": "id",
    "document_id": "document_id",
    "owner_id": "owner_id",
    "collection_ids": [
      "collection_ids"
    ],
    "text": "text",
    "metadata": {
      "key": "value"
    },
    "vector": [
      1.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

ID of the chunk

Body

application/json
id
string
text
string
metadata
any[]

Response

200

results
object