Skip to Content
Docs

PUT /api/monitors/{monitor_id}/secret/exposure

PUT
/api/monitors/{monitor_id}/secret/exposure

Show (or stop showing) one of the caller's webhook monitors' raw signing secret to the assistant: {exposed: true|false}. Shown, monitor_list gives the assistant the value, which then goes to the model provider. Only the owner's session may change it (never an access token, never the assistant). Rate limited and audited. 404 when the monitor has no live signed link with a secret.

Not available to personal access tokens; call it from a signed-in session.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Path Parameters

monitor_id*string

Response Body

Success

Example Request
curl -X PUT 'http://localhost:7091/api/monitors/string/secret/exposure'
Example Response200
Empty