ai-agents
agents

Atualizar agente de IA

Changed on

Atualiza os dados de um agente de IA. Apenas os campos enviados são alterados, e tools substitui por inteiro a lista de ferramentas habilitadas — enviar uma lista vazia desabilita todas.

put/api/management/ai/agents/{agent}

Request

  • Base URL: https://api.olie.ai
  • URL: https://api.olie.ai/api/management/ai/agents/{agent}
  • Auth: HTTP bearer

Request body

namestring

Novo nome do agente.

descriptionstring

Nova descrição curta do agente.

default_provider'openrouter' | 'google' | 'openai' | 'anthropic'

Novo provedor de IA padrão do agente.

default_modelstring

Novo identificador do modelo padrão, conforme o id devolvido pelo catálogo de modelos disponíveis.

base_promptstring

Novo prompt base do agente.

toolsstring[]

Nova lista de ferramentas habilitadas; substitui a anterior por inteiro.

Response

Sucesso

responseboolean

Indicador de sucesso da requisição; sempre verdadeiro nesta resposta.

Changes

    • breaking

      the request property became not nullable

    • breaking

      the request property became not nullable

    • breaking

      removed the enum value clone-project-tool of the request property /

    • breaking

      removed the enum value create-project-tool of the request property /

    • breaking

      removed the enum value edit-project-tool of the request property /

    • breaking

      removed the enum value get-form-answers-tool of the request property /

    • breaking

      removed the enum value get-form-tool of the request property /

    • breaking

      removed the enum value get-funnel-step-transitions-tool of the request property /

    • breaking

      removed the enum value get-model-dynamic-forms-tool of the request property /

    • breaking

      removed the enum value get-project-details-tool of the request property /

    • breaking

      removed the enum value get-project-funnel-metrics-tool of the request property /

    • breaking

      removed the enum value get-project-media-tool of the request property /

    • breaking

      removed the enum value get-project-step-metrics-tool of the request property /

    • breaking

      removed the enum value get-projects-in-step-tool of the request property /

    • breaking

      removed the enum value get-user-tool of the request property /

    • breaking

      removed the enum value index-project-funnels-tool of the request property /

    • breaking

      removed the enum value index-projects-tool of the request property /

    • breaking

      removed the enum value move-project-to-funnel-step-tool of the request property /

    • breaking

      removed the enum value quick-create-project-tool of the request property /

    • breaking

      removed the enum value save-media-tool of the request property /

    • breaking

      removed the enum value set-form-answers-tool of the request property /

    • breaking

      removed the enum value today-tool of the request property /

    • breaking

      removed the enum value web-search-tool of the request property /

    • info

      removed the clone-project-tool enum value from the // response property for the response status

    • info

      removed the create-project-tool enum value from the // response property for the response status

    • info

      removed the edit-project-tool enum value from the // response property for the response status

    • info

      removed the get-form-answers-tool enum value from the // response property for the response status

    • info

      removed the get-form-tool enum value from the // response property for the response status

    • info

      removed the get-funnel-step-transitions-tool enum value from the // response property for the response status

    • info

      removed the get-model-dynamic-forms-tool enum value from the // response property for the response status

    • info

      removed the get-project-details-tool enum value from the // response property for the response status

    • info

      removed the get-project-funnel-metrics-tool enum value from the // response property for the response status

    • info

      removed the get-project-media-tool enum value from the // response property for the response status

    • info

      removed the get-project-step-metrics-tool enum value from the // response property for the response status

    • info

      removed the get-projects-in-step-tool enum value from the // response property for the response status

    • info

      removed the get-user-tool enum value from the // response property for the response status

    • info

      removed the index-project-funnels-tool enum value from the // response property for the response status

    • info

      removed the index-projects-tool enum value from the // response property for the response status

    • info

      removed the move-project-to-funnel-step-tool enum value from the // response property for the response status

    • info

      removed the quick-create-project-tool enum value from the // response property for the response status

    • info

      removed the save-media-tool enum value from the // response property for the response status

    • info

      removed the set-form-answers-tool enum value from the // response property for the response status

    • info

      removed the today-tool enum value from the // response property for the response status

    • info

      removed the web-search-tool enum value from the // response property for the response status

    • breaking

      request property was restricted to a list of enum values

    • breaking

      request property / was restricted to a list of enum values

    • breaking

      the / request property type changed from no type to string

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • warning

      the request property's maxLength was set to 255

    • warning

      the request property's maxLength was set to 255

    • warning

      removed the optional property / from the response with the status

    • warning

      added the new active enum value to the / response property for the response status

    • warning

      added the new anthropic enum value to the / response property for the response status

    • warning

      added the new clone-project-tool enum value to the // response property for the response status

    • warning

      added the new create-project-tool enum value to the // response property for the response status

    • warning

      added the new edit-project-tool enum value to the // response property for the response status

    • warning

      added the new get-form-answers-tool enum value to the // response property for the response status

    • warning

      added the new get-form-tool enum value to the // response property for the response status

    • warning

      added the new get-funnel-step-transitions-tool enum value to the // response property for the response status

    • warning

      added the new get-model-dynamic-forms-tool enum value to the // response property for the response status

    • warning

      added the new get-project-details-tool enum value to the // response property for the response status

    • warning

      added the new get-project-funnel-metrics-tool enum value to the // response property for the response status

    • warning

      added the new get-project-media-tool enum value to the // response property for the response status

    • warning

      added the new get-project-step-metrics-tool enum value to the // response property for the response status

    • warning

      added the new get-projects-in-step-tool enum value to the // response property for the response status

    • warning

      added the new get-user-tool enum value to the // response property for the response status

    • warning

      added the new google enum value to the / response property for the response status

    • warning

      added the new inactive enum value to the / response property for the response status

    • warning

      added the new index-project-funnels-tool enum value to the // response property for the response status

    • warning

      added the new index-projects-tool enum value to the // response property for the response status

    • warning

      added the new move-project-to-funnel-step-tool enum value to the // response property for the response status

    • warning

      added the new openai enum value to the / response property for the response status

    • warning

      added the new openrouter enum value to the / response property for the response status

    • warning

      added the new quick-create-project-tool enum value to the // response property for the response status

    • warning

      added the new save-media-tool enum value to the // response property for the response status

    • warning

      added the new set-form-answers-tool enum value to the // response property for the response status

    • warning

      added the new today-tool enum value to the // response property for the response status

    • warning

      added the new undefined enum value to the / response property for the response status

    • warning

      added the new web-search-tool enum value to the // response property for the response status

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      added the new anthropic enum value to the request property

    • info

      added the new clone-project-tool enum value to the request property /

    • info

      added the new create-project-tool enum value to the request property /

    • info

      added the new edit-project-tool enum value to the request property /

    • info

      added the new get-form-answers-tool enum value to the request property /

    • info

      added the new get-form-tool enum value to the request property /

    • info

      added the new get-funnel-step-transitions-tool enum value to the request property /

    • info

      added the new get-model-dynamic-forms-tool enum value to the request property /

    • info

      added the new get-project-details-tool enum value to the request property /

    • info

      added the new get-project-funnel-metrics-tool enum value to the request property /

    • info

      added the new get-project-media-tool enum value to the request property /

    • info

      added the new get-project-step-metrics-tool enum value to the request property /

    • info

      added the new get-projects-in-step-tool enum value to the request property /

    • info

      added the new get-user-tool enum value to the request property /

    • info

      added the new google enum value to the request property

    • info

      added the new index-project-funnels-tool enum value to the request property /

    • info

      added the new index-projects-tool enum value to the request property /

    • info

      added the new move-project-to-funnel-step-tool enum value to the request property /

    • info

      added the new openai enum value to the request property

    • info

      added the new openrouter enum value to the request property

    • info

      added the new quick-create-project-tool enum value to the request property /

    • info

      added the new save-media-tool enum value to the request property /

    • info

      added the new set-form-answers-tool enum value to the request property /

    • info

      added the new today-tool enum value to the request property /

    • info

      added the new web-search-tool enum value to the request property /

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status