Skip to main content

Get which secrets a Forge function is waiting to be granted.

GET/api/v1/forge-functions/{forge_function_id}/secret-statusforge:read

The secret names the function's workflow nodes reference that are not granted (the reason such a node fails), the keystore names an approver could pick, and whether you may approve. Names only, never a value. Granting is done in the Portal; list_forge_function_secret_grants lists the granted ones. Needs View Forge Secret Grants, is refused to external users; the keystore names and can_approve need Edit Forge Secret Grants.

Scopeforge:read (sensitive)
AsynchronousNo
MCP toolget_forge_function_secret_status
Portal permissionsview_forge_secret_grants

Parameters​

NameInTypeRequiredDescription
forge_function_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json ForgeSecretStatus
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

ForgeSecretStatus​

FieldTypeRequiredDescription
availablearray of stringRequiredEvery keystore entry name an approver could grant. Empty unless the caller holds Edit Forge Secret Grants: a reader of the grants cannot list the tenant's secrets.
can_approvebooleanRequiredThe caller holds Edit Forge Secret Grants on an internal account, so may approve a grant in the Portal.
requestedarray of stringRequiredKeystore secret names the function's workflow nodes ask for that no approver has granted; those nodes fail until each is granted.