Create a new entity in the knowledge graph.
Entities are the fundamental building blocks of the knowledge graph…
POST
Entities are the fundamental building blocks of the knowledge graph. They
represent concepts, instances, classes, properties, events, actions, or
custom types within your domain.
Request Body
Create a new knowledge graph entity.
Required scope:
name: The entity’s display name (required, max 256 chars)entity_type: Type of entity (concept, instance, class, property, event, action, state, or custom)properties: Optional key-value pairs for additional metadata Response Returns the created entity with its assigned unique identifier and automatically generated embedding vector for semantic similarity search. Errors400 Bad Request: Invalid input (empty name, exceeds limits, invalid characters)500 Internal Server Error: Entity creation or embedding generation failed Example (curl)
write
Request body
CreateEntityRequest
string
required
Type of entity (concept, instance, class, relation, predicate)
string
required
Name of the entity
object
Optional properties as key-value pairs
Response
EntityResponse
number (float)
required
Confidence score
string
Creation timestamp (RFC3339)
string
required
Entity type
boolean
required
Whether entity has an embedding vector
string
required
Unique entity ID
string
required
Entity name
object
required
Entity properties
string
Last update timestamp (RFC3339)