cURL
curl --request POST \ --url https://api.intelligence.io.solutions/api/r2r/v3/graphs/{collection_id}/entities \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "category": "<string>", "metadata": "<array>" } '
{ "results": { "name": "name", "description": "description", "category": "category", "metadata": { "key": "value" }, "id": "id", "parent_id": "parent_id", "description_embedding": [ 1.1 ], "chunk_ids": [ "chunk_ids" ] } }
Creates a new entity in the graph.
The access token received from the authorization server in the OAuth 2.0 flow.
Collection ID
The name of the entity to create.
The description of the entity to create.
The category of the entity to create.
The metadata of the entity to create.
200
Show child attributes
"name"
"description"
"category"
"value"
"id"
"parent_id"
Was this page helpful?