archived: true in the body to list only archived profiles, for example to restore one. Free-text match is not available: use structured filters and sort.curl --location 'https://api.aworld.cloud/dashboard/v1/competency-profiles/history/search' \
--header 'Content-Type: application/json' \
--data '{
"filter": {
"==": [
{
"var": "fieldName"
},
"value"
]
},
"sort": {
"field": "createdAt",
"order": "asc"
},
"limit": 20,
"nextToken": "string",
"archived": true
}'{
"items": [
{
"version": 0,
"stage": "DRAFT",
"actorId": "string",
"actorType": "user",
"competencyProfileId": "FUMzPf00hz_kcj2R2Hlzq",
"name": "string",
"description": "string",
"origin": "CATALOG",
"competencies": [
{
"competencyId": "FUMzPf00hz_kcj2R2Hlzq",
"relevance": "PRIMARY"
}
],
"workspaceId": "stringstri",
"sourceRegion": "us-east-1",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"latestVersion": 1
}
],
"nextToken": "eyJwayI6IndvcmtzcGFjZUlkI3pPR0JndVctQWoiLCJxdWl6SWQiOiItRktBdDZfbXM4M3RvSUZaLWVjeFQifQ=="
}