Mint a one-time disclosure handle for a card a human has already allowed. Returns a short-lived reference, never card details. Permission failures answer 403 rather than 404: the card may well exist, and saying so tells the caller to go and ask a human.
post/v1/agent-cards/{cardId}/disclosure
Request
- Base URLhttps://api.b3os.org (the document declares no server; this is the origin it was published from)
- URLhttps://api.b3os.org/v1/agent-cards/{cardId}/disclosure
- Authnone declared
Path parameters
cardIdstring required
Card ID
Headers
X-Run-IDstring
Workflow run recorded on the disclosure for audit
Response
OK
Example response
{
"code": 200,
"message": "success",
"requestId": "abc-123"
}Changes
- info
endpoint added
- info