Governance

Disable or re-enable an agent

Changed on

Turns an agent off or back on as a governance action. disabledReason is stored while the agent is off and cleared when it is turned back on, even if the request still sends a reason. A disabled agent cannot be used until it is turned back on. Returns the updated agent.

patch/governance/v1/agents/{agentId}/disable

Request

  • Base URL
    https://api.langdock.com
  • URL
    https://api.langdock.com/governance/v1/agents/{agentId}/disable
  • Auth
    HTTP bearer

Path parameters

agentIdstring uuid required

Agent UUID.

Request body

GovernanceDisableAgentRequest required(unresolved $ref)

Response

The updated agent

GovernanceAgentResponse required(unresolved $ref)

Changes