v3

latestOpenAPI 3.1.02026-07-31115157197.4 KB
Ontology

Get Insights List

Fetch insights, with pagination. Optimized for new builder workflow - only entity_id is required for filtering. When event_id is provided, only insights linked to that event are returned. When search + event_id are both provided, ES insight search is used treating event_id as entity_id and event_representation as entity_representation.

get/v2/ontology/insights

Query parameters

entity_idinteger nullable

Entity ID

Entity ID

entity_representationstring nullable

Entity Representation

Entity Representation

entitystring nullable

Entity Filter

Entity Filter

subject_idsinteger[] nullable

Subject IDs

Subject IDs

topic_idsinteger[] nullable

Topic IDs

Topic IDs

insight_typesstring[] nullable

Insight types

Insight types

dataset_idsstring[] nullable

Dataset IDs

Dataset IDs

event_idinteger nullable

Filter insights to those linked to this event (carc_id of an event EntityRepresentation). ANDed with entity_id/entity_representation when both are provided.

Filter insights to those linked to this event (carc_id of an event EntityRepresentation). ANDed with entity_id/entity_representation when both are provided.

event_representationstring nullable

Representation type of the event node (e.g. 'corpeventc'). Used alongside event_id to uniquely scope the event. When search is also provided, passed as entity_representation to ES.

Representation type of the event node (e.g. 'corpeventc'). Used alongside event_id to uniquely scope the event. When search is also provided, passed as entity_representation to ES.

event_category_idinteger nullable

Filter insights to those linked to events of this category (carc_id of an EventCategory node).

Filter insights to those linked to events of this category (carc_id of an EventCategory node).

searchstring nullable

Search term

Search term

include_metadataboolean

Include full metadata (descriptions, timestamps, delay status)

Include full metadata (descriptions, timestamps, delay status)

min_scorenumber nullable

Minimum search score, between 0 and 1

Minimum search score, between 0 and 1

pageinteger

Page number for insights list

Page number for insights list

sizeinteger

Number of insights per page

Number of insights per page

sort_bystring nullable

Field to sort insights by (currently only 'label' is supported)

Field to sort insights by (currently only 'label' is supported)

orderstring nullable

Sort direction (asc/desc)

Sort direction (asc/desc)

rand_seedstring nullable

Random seed for featured items

Random seed for featured items

featured_insight_idsinteger[] nullable

Featured insight IDs

Featured insight IDs

Request body

object nullable required

Response

Successful Response

totalinteger required
pageinteger required
sizeinteger required
pagesinteger required