Entity management endpoints
Entities are basic building blocks of a graph. They can be automatically extracted from a document and then added to a graph.
To manage entities extracted from a document, you can use the following endpoints:
Method | Endpoint | Description |
---|---|---|
GET | /documents/{id}/entities | List Entities identified within a document. |
Once entities are added to a graph by a POST to “/graphs/{id}/{object_type}” endpoint, you can manage them using the following endpoints:
Method | Endpoint | Description |
---|---|---|
GET | /graphs/{collection_id}/entities | List entities ([r2r-docs.sciphi.ai][1]) |
POST | /graphs/{collection_id}/entities | Create entity |
GET | /graphs/{collection_id}/entities/{entity_id} | Get entity details |