Get which secrets a Forge function is waiting to be granted.
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.
| |
|---|
| Scope | forge:read (sensitive) |
| Asynchronous | No |
| MCP tool | get_forge_function_secret_status |
| Portal permissions | view_forge_secret_grants |
Parameters
| Name | In | Type | Required | Description |
|---|
forge_function_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
ForgeSecretStatus
| Field | Type | Required | Description |
|---|
available | array of string | Required | Every 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_approve | boolean | Required | The caller holds Edit Forge Secret Grants on an internal account, so may approve a grant in the Portal. |
requested | array of string | Required | Keystore secret names the function's workflow nodes ask for that no approver has granted; those nodes fail until each is granted. |