Apply an insight's config suggestion to its agent (published -> applied).

post/gateway/insights/{insight_id}/apply

Request

  • Base URL
    https://api.ai21.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.ai21.com/gateway/insights/{insight_id}/apply
  • Auth
    none declared

Path parameters

insight_idstring required

Response

Successful Response

idstring uuid required

A unique ID for the request (not the message). Repeated identical requests get different IDs. However, for a streaming response, the ID will be the same for all responses in the stream.

workspace_idstring uuid required
agent_idstring required
statestring required
sourcestring required
kindstring required
authorstring
titlestring required
narrativestring required
projected_savingsstring
optimization_idstring
config_suggestionobject
feedback_verdictstring
feedback_commentstring
created_atstring date-time required
updated_atstring date-time required

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      endpoint added