archived: true in the body to list only archived competencies, for example to restore one. Free-text match is not available: use structured filters and sort.curl --location 'https://api.aworld.cloud/dashboard/v1/competencies/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",
"competencyId": "FUMzPf00hz_kcj2R2Hlzq",
"origin": "CATALOG",
"defaultLang": "en",
"langs": [
"en"
],
"halfLifeDays": 1,
"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",
"competencyId": "FUMzPf00hz_kcj2R2Hlzq",
"lang": "en",
"label": "string",
"description": "string",
"anchor1": "string",
"anchor3": "string",
"anchor5": "string",
"sourceRegion": "us-east-1",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}
]
}
],
"nextToken": "eyJwayI6IndvcmtzcGFjZUlkI3pPR0JndVctQWoiLCJxdWl6SWQiOiItRktBdDZfbXM4M3RvSUZaLWVjeFQifQ=="
}