Allow one card to be disclosed to an agent. Signed-in users only — a request authenticated with an API key is refused, because an agent that could grant itself access would make the allowlist meaningless.

post/v1/agent-cards/grants

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/grants
  • Auth
    none declared

Request body

object required
OR

Response

OK

codeinteger
messagestring
requestIdstring

Example response

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

Changes