archived: true, ARCHIVED presets (which no longer exist on the main table) are too. By default archived presets are excluded (matches /content-presets/history listing); set archived: true in the body to list/search ONLY archived presets (stage = ARCHIVED). Note: free-text match is not available here (no content_preset_history FTS index) — use structured filters (name, origin, contentTheme, tag) and sort.curl --location 'https://api.aworld.cloud/dashboard/v1/content-presets/history/search' \
--header 'Content-Type: application/json' \
--data '{
"filter": {
"==": [
{
"var": "fieldName"
},
"value"
]
},
"sort": {
"field": "createdAt",
"order": "asc"
},
"limit": 20,
"nextToken": "string",
"fields": [
"translations"
],
"archived": true
}'{
"items": [
{
"version": 0,
"stage": "DRAFT",
"actorId": "string",
"actorType": "user",
"contentPresetId": "FUMzPf00hz_kcj2R2Hlzq",
"name": "string",
"description": "string",
"defaultGenerationLang": "en",
"tone": {
"formality": 1,
"humor": 1,
"respect": 1,
"enthusiasm": 1
},
"sections": 1,
"contentTypes": {
"slides": true,
"quizzes": true
},
"imageStyle": "string",
"contentThemeId": "string",
"defaultLayoutId": "string",
"layoutStrategy": "unit",
"generateAudio": true,
"defaultLearningPathPromptId": "FUMzPf00hz_kcj2R2Hlzq",
"defaultImagePromptId": "FUMzPf00hz_kcj2R2Hlzq",
"defaultAudioPromptId": "FUMzPf00hz_kcj2R2Hlzq",
"defaultVideoPromptId": "FUMzPf00hz_kcj2R2Hlzq",
"defaultVideoAvatarId": "FUMzPf00hz_kcj2R2Hlzq",
"defaultVoiceId": "string",
"defaultLang": "en",
"langs": [
"en"
],
"origin": "CATALOG",
"catalogWorkspaceId": "stringstri",
"catalogContentPresetId": "FUMzPf00hz_kcj2R2Hlzq",
"accountId": "stringstri",
"workspaceId": "stringstri",
"sourceRegion": "us-east-1",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"latestVersion": 1,
"translations": [
{
"version": 0,
"stage": "DRAFT",
"actorId": "string",
"actorType": "user",
"workspaceId": "stringstri",
"contentPresetId": "FUMzPf00hz_kcj2R2Hlzq",
"lang": "en",
"name": "string",
"description": "string",
"accountId": "stringstri",
"sourceRegion": "us-east-1",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}
]
}
],
"nextToken": "eyJwayI6IndvcmtzcGFjZUlkI3pPR0JndVctQWoiLCJxdWl6SWQiOiItRktBdDZfbXM4M3RvSUZaLWVjeFQifQ=="
}