v1Ressourcen/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/approvalsQuery-Parameter
statusstring (pending | approved | rejected | all)optional
Which approvals to list: pending (the default), approved, rejected or all.
clientIdstringoptional
Only this client's approvals.
limitintegeroptional
How many to return, 1 to 200. The default is 50.
offsetintegeroptional
How many to skip, for paging.
Antwort
dataarray of objectoptional
idstringoptional
statusstring (pending | approved | rejected)optional
kindstringoptional
What kind of item this is, for example content your agent drafted or an action held by your autonomy rules.
originstringoptional
titlestringoptional
summarystringoptional
clientIdstringoptional
modulestringoptional
changeobjectoptional
The exact action that runs on approval: the tool, its arguments and the fields it changes.
toolstringoptional
argsobjectoptional
fieldsarray of objectoptional
contentobjectoptional
The drafted content, when the item is content.
requestedAtstringoptional
scheduledForstringoptional
expiresAtstringoptional
decidedAtstringoptional
decidedBystringoptional
Who made the decision, or null while it is still pending.
decisionReasonstringoptional
publishStatestring (published | failed)optional
publishErrorstringoptional
publishedAtstringoptional
totalintegeroptional
limitintegeroptional
offsetintegeroptional
hasMorebooleanoptional
Fehler
401API-Schlüssel fehlt, ist ungültig, abgelaufen oder widerrufen.
403Dem Schlüssel fehlt die erforderliche Berechtigung, oder er ist für diesen Kunden/Standort nicht autorisiert.
429Zu viele Anfragen. Versuchen Sie es nach der im Retry-After-Header angegebenen Anzahl Sekunden erneut.
get/api/v1/approvals
Ihr API-Schlüssel
status
clientId
limit
offset
{}