v1Recursos/Approvals/getGet an approval
Get an approval
Returns one approval by its id, including the exact change that runs when it is approved.
get
approvals:read/api/v1/approvals/{id}Parâmetros de consulta
idstringobrigatório
Resposta
dataobjectopcional
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
Erros
401Chave de API ausente, inválida, expirada ou revogada.
403A chave não tem a permissão exigida, ou não está autorizada para este cliente/local.
404O recurso não foi encontrado, ou não pertence à sua agência.
429Muitas solicitações. Tente novamente após o número de segundos indicado no cabeçalho Retry-After.
get/api/v1/approvals/{id}
Sua chave de API
id *
{}