curl --request POST \
--url https://api.example.com/candidates/generation-events/filter \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"constrainToHasCandidateConcats": false,
"candidateConcatGenerationIDs": null,
"entityTypeID": -2,
"entityID": null,
"entitySlug": null,
"prompt": null,
"depth": 1,
"languageID": 1,
"emotionTypeIDs": null,
"contentTypeIDs": [
1
],
"voiceTypeID": 2,
"aiModelTypeIDs": null,
"howManyExtraRecords": 10,
"howManyDaysRecent": 10,
"minimumSeedCount": 20,
"newsKeywordIDs": null,
"newsTopicIDs": null,
"newsCategoryIDs": null,
"newsPeopleIDs": null,
"url": null,
"isNarrowlyScoped": false,
"page": 1,
"pageSize": 10
}
'{
"success": true,
"data": "<unknown>"
}Filters already-created generation events by specific filter criterion.
curl --request POST \
--url https://api.example.com/candidates/generation-events/filter \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"constrainToHasCandidateConcats": false,
"candidateConcatGenerationIDs": null,
"entityTypeID": -2,
"entityID": null,
"entitySlug": null,
"prompt": null,
"depth": 1,
"languageID": 1,
"emotionTypeIDs": null,
"contentTypeIDs": [
1
],
"voiceTypeID": 2,
"aiModelTypeIDs": null,
"howManyExtraRecords": 10,
"howManyDaysRecent": 10,
"minimumSeedCount": 20,
"newsKeywordIDs": null,
"newsTopicIDs": null,
"newsCategoryIDs": null,
"newsPeopleIDs": null,
"url": null,
"isNarrowlyScoped": false,
"page": 1,
"pageSize": 10
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.
1: Isms 2: Comments 3: Chains Default (null) is 1, Isms.
1: Iser's voice 2: Neutral voice
the URL of the generic entity. this really only applies in 2 instances:
if true, then the generation event will be scoped to only the entityID and entityTypeID provided. if false, then the generation event will be scoped to all related entities of the one provided, (while still including the entityID passed in).