cURL
curl --request POST \ --url https://catchall.newscatcherapi.com/catchAll/datasets/{dataset_id}/entities \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "entity_ids": [ "854198fa-f702-49db-a381-0427fa87f173" ] } '
{ "dataset_id": "ccabb755-afc2-4047-b84c-78d1f23d49b2", "affected_count": 1 }
Adds one or more existing entities to a dataset. Returns the number of entities added.
API key for authentication.
Unique dataset identifier.
List of entity IDs to add or remove.
1
["854198fa-f702-49db-a381-0427fa87f173"]
Entities added or removed successfully.
ID of the dataset that was modified.
"ccabb755-afc2-4047-b84c-78d1f23d49b2"
Number of entities that were added or removed.
Was this page helpful?