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/api/v1/approvals/{id}
approvals:read
Parámetros de consulta
idstringobligatorio
Respuesta
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
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.
404El recurso no se encontró, o no pertenece a su agencia.
429Demasiadas solicitudes. Reintente tras el número de segundos indicado en el encabezado Retry-After.
get/api/v1/approvals/{id}
Su clave de API
id *
{}

¿Nuevo en la API de Synup?