Retrieves the secret’s details and current authorizations in usedBy. Check them before revoking or deleting the secret to see which resources will stop working.
When it stops working. Only appears if it has an expiration
usedBy
array
The secret's current authorizations. Empty if it is not bound to anything
usedBy[].kind
string
Type of resource: api, mcp, webhook, or app (an application installed from Platica)
usedBy[].id
string
Id of the resource: the integrationId, the mcpId, or the webhookId
usedBy[].slot
string
The slot it is bound to
usedBy[].destination
string
The origin Platica may send the value to
Errors
Status
details.code
When it happens
403
FORBIDDEN
The person behind the token cannot view secrets
404
SECRET_NOT_FOUND
The secret does not exist in this workspace or was already deleted
Notes
usedBy leaves out revoked authorizations and checks at most 50.
Check each slot’s state in the resource’s secrets[]. An authorization can appear in usedBy while the slot is in needs_authorization if the resource changed afterwards.
To change the value without touching what already uses it, rotate the secret.
A secret that was already deleted answers 404, the same as one that never existed.