v1Recursos/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/approvalsParámetros de consulta
statusstring (pending | approved | rejected | all)opcional
Which approvals to list: pending (the default), approved, rejected or all.
clientIdstringopcional
Only this client's approvals.
limitintegeropcional
How many to return, 1 to 200. The default is 50.
offsetintegeropcional
How many to skip, for paging.
Respuesta
dataarray of objectopcional
idstringopcional
statusstring (pending | approved | rejected)opcional
kindstringopcional
What kind of item this is, for example content your agent drafted or an action held by your autonomy rules.
originstringopcional
titlestringopcional
summarystringopcional
clientIdstringopcional
modulestringopcional
changeobjectopcional
The exact action that runs on approval: the tool, its arguments and the fields it changes.
toolstringopcional
argsobjectopcional
fieldsarray of objectopcional
contentobjectopcional
The drafted content, when the item is content.
requestedAtstringopcional
scheduledForstringopcional
expiresAtstringopcional
decidedAtstringopcional
decidedBystringopcional
Who made the decision, or null while it is still pending.
decisionReasonstringopcional
publishStatestring (published | failed)opcional
publishErrorstringopcional
publishedAtstringopcional
totalintegeropcional
limitintegeropcional
offsetintegeropcional
hasMorebooleanopcional
Errores
401La clave de API falta, es inválida, expiró o fue revocada.
403A la clave le falta el permiso requerido, o no está autorizada para este cliente/ubicación.
429Demasiadas solicitudes. Reintente tras el número de segundos indicado en el encabezado Retry-After.
get/api/v1/approvals
Su clave de API
status
clientId
limit
offset
{}