v1Ressources/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}Paramètres de requête
idstringobligatoire
Réponse
dataobjectfacultatif
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
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.
404La ressource est introuvable, ou n'appartient pas à votre agence.
429Trop de requêtes. Réessayez après le nombre de secondes indiqué dans l'en-tête Retry-After.
get/api/v1/approvals/{id}
Votre clé API
id *
{}