ai-agents
agents
contexts

Remover contexto do agente

Remove um contexto do agente e, quando ele é do tipo file, apaga também o arquivo armazenado. Responde sem corpo; os demais contextos mantêm a posição que já tinham.

delete/api/management/ai/agents/{agentId}/contexts/{contextId}

Response

Sucesso

{"stackTrail":"paths:/api/management/ai/agents/{agentId}/contexts/{contextId}:delete:responses:204:content:application/json:schema","oasType":"schema","type":"unknown","description":"Resposta 204 sem corpo: o contexto foi removido.","nullable":true}

Changes

Changed in 2 of the 98 revisions of this API.32

    • ▲

      the response's body became nullable

      response-body-became-nullable

    • ▲

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

      response-body-type-changed

  • 46806361195012See the full diff
    • ▲

      removed the success response with the status

      response-success-status-removed

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the success response with the status

      response-success-status-added