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 URL
    https://api.b3os.org (the document declares no server; this is the origin it was published from)
  • URL
    https://api.b3os.org/v1/agent-cards/{cardId}/disclosure
  • Auth
    none declared

Path parameters

cardIdstring required

Card ID

Headers

X-Run-IDstring

Workflow run recorded on the disclosure for audit

Response

OK

codeinteger
messagestring
requestIdstring

Example response

{
  "code": 200,
  "message": "success",
  "requestId": "abc-123"
}

Changes