v1Ressources/Approvals/getList approvals
List approvals
Lists approvals, newest first. By default it returns the ones still waiting for a decision. Each shows what it would change, who decided and why, and whether an approved item published.
get
approvals:read/api/v1/approvalsParamètres de requête
statusstring (pending | approved | rejected | all)facultatif
Which approvals to list: pending (the default), approved, rejected or all.
clientIdstringfacultatif
Only this client's approvals.
limitintegerfacultatif
How many to return, 1 to 200. The default is 50.
offsetintegerfacultatif
How many to skip, for paging.
Réponse
dataarray of objectfacultatif
idstringfacultatif
statusstring (pending | approved | rejected)facultatif
kindstringfacultatif
What kind of item this is, for example content your agent drafted or an action held by your autonomy rules.
originstringfacultatif
titlestringfacultatif
summarystringfacultatif
clientIdstringfacultatif
modulestringfacultatif
changeobjectfacultatif
The exact action that runs on approval: the tool, its arguments and the fields it changes.
toolstringfacultatif
argsobjectfacultatif
fieldsarray of objectfacultatif
contentobjectfacultatif
The drafted content, when the item is content.
requestedAtstringfacultatif
scheduledForstringfacultatif
expiresAtstringfacultatif
decidedAtstringfacultatif
decidedBystringfacultatif
Who made the decision, or null while it is still pending.
decisionReasonstringfacultatif
publishStatestring (published | failed)facultatif
publishErrorstringfacultatif
publishedAtstringfacultatif
totalintegerfacultatif
limitintegerfacultatif
offsetintegerfacultatif
hasMorebooleanfacultatif
Erreurs
401Clé API manquante, invalide, expirée ou révoquée.
403La clé n'a pas la permission requise, ou n'est pas autorisée pour ce client/établissement.
429Trop de requêtes. Réessayez après le nombre de secondes indiqué dans l'en-tête Retry-After.
get/api/v1/approvals
Votre clé API
status
clientId
limit
offset
{}