Skip to main content
POST
/
api
/
r2r
/
v3
/
documents
/
{id}
/
deduplicate
Deduplicate entities
curl --request POST \
  --url https://api.intelligence.io.solutions/api/r2r/v3/documents/{id}/deduplicate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "settings": {
    "graph_extraction_prompt": "graph_extraction",
    "graph_entity_description_prompt": "graph_entity_description",
    "entity_types": "<string>",
    "relation_types": "<string>",
    "chunk_merge_count": 2,
    "max_knowledge_relationships": 100,
    "max_description_input_length": 65536,
    "generation_config": {},
    "automatic_deduplication": false
  },
  "run_with_orchestration": true
}
'
{
  "results": {
    "message": "message"
  }
}

Documentation Index

Fetch the complete documentation index at: https://io.net/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Document ID

Body

application/json
settings
object

Settings for the entities and relationships extraction process.

run_with_orchestration
boolean

Whether to run the entities and relationships extraction process with orchestration.

Response

200

results
object