agents

Answer an agent's capability request (allow once, for this agent, always, deny, never).

Changed on
post/agents/{id}/capability-requests/{requestId}/decision

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/agents/{id}/capability-requests/{requestId}/decision
  • Auth: none declared. Required headers: x-organization-id

Path parameters

idstring required
requestIdstring required

Headers

x-organization-idstring required

Active organization id (or slug). Required for org-scoped operations; the generated client enforces it at compile time.

Request body

answer'allow_once' | 'allow_agent' | 'allow_always' | 'deny' | 'never' required
widenboolean

Response

Response

OR

Changes

    • info

      added the new optional request property

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • info

      added subschema #1 subschema #2 to the response body anyOf list for the response status