v7

OpenAPI 3.1.02026-08-02164134155.7 KB

List Insights

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

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
authorstring
titlestring required
narrativestring required
projected_savingsstring
optimization_idstring
config_suggestionobject
created_atstring date-time required
updated_atstring date-time required