Published insights for agent_id, newest first.

agent_id is typed here so a missing/empty value fails with 422 before reaching the gateway; it rides through to the upstream via the forwarded query string (see tokenwise_service._build_gateway_request).

get/gateway/insights

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
  • Auth
    none declared

Query parameters

agent_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