For the complete documentation index, see llms.txt. This page is also available as Markdown.

Contextual Related Entities

Operations related to Contextual Related Entities that map relationships between identified entities in content.

get
/communities/{community_id}/contextual/entities/{entity_id}/related_entities
Path parameters
community_idstringRequired

Entities are linked to a channel that are linked to a datamart. You can look for all the entities of any datamart within the community.

entity_idstringRequired

Entity to look for related entities

Query parameters
first_resultinteger · int32Optional

Offset from which the search must be performed

max_resultsinteger · int32Optional

Number of maximum items that shall be return by this search

Responses
200

Success !

application/json
countintegerRequired
statusstring · enumRequiredPossible values:
first_resultintegerRequired
max_resultsintegerRequired
totalintegerRequired
get/communities/{community_id}/contextual/entities/{entity_id}/related_entities
GET /v1/communities/{community_id}/contextual/entities/{entity_id}/related_entities HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "count": 1,
  "status": "ok",
  "data": [
    {
      "last_30_days_page_views": 0,
      "related_to": "text",
      "wikidata_id": "text",
      "relevance": 0,
      "id": "text",
      "type": "text",
      "url_count": 0,
      "name": "text"
    }
  ],
  "first_result": 1,
  "max_results": 1,
  "total": 1
}

Last updated

Was this helpful?