Knowledge Graph

KG entity properties

Get all properties for an entity.

GET
https://api.textreveal.com/api/2.0/kg/entities/{entity_id}/properties

Request

Parameters

  • entity_id*string

    Entity ID

  • sourcestring (enum)

    The knowledge graph source.

    Default: "corporate_kg"Values: "general_kg", "corporate_kg"

Response

Response - 200

Entity properties Response

  • []array
Response
[
  {
    "en": "instance of"
  }
]

Error

Error - 400

Bad request

  • fieldstring[]

    The field where the error happened.

    Example: "string"
Response
{
  "field": [
    "string"
  ]
}

Error - 404

Not Found

  • valuestring
    Example: "string"
Response
{
  "value": "string"
}