AgentConnect
Decisions

List recent routing evaluations

Recent shared-bot routing evaluations, newest first, read from the bot's evaluation host and proxied without being stored or logged: the answer, matched rules or Otherwise, each target with its admission status, and the outcome (Routed, Partially routed, Skipped, Fallback, Unavailable, Canceled, Pending). Covers channelId, or else every routed channel the bot-level host evaluates (up to 100); decisionId optionally filters by the recorded root Decision before paging. Each row is returned only when the caller can read its conversation: the audience of the newest session any bot agent holds there in the namespace the host names, or before any session the organization baseline (closed while an external-access policy is active); refused rows are dropped, so a page may be short while nextCursor continues. Each row's title names what was judged in one line and is null unless the caller could also read that evaluation's bodies. Returns 503 when the host is offline or must be upgraded, including a reply that names no namespace.

GET
/v1/orgs/{orgId}/bots/{id}/decision-routing/evaluations

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
id*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Query Parameters

channelId?string
Length1 <= length <= 512
cursor?integer
Range0 < value <= 9007199254740991
limit?integer
Range1 <= value <= 50
Default20
decisionId?string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/bots/497f6eca-6276-4993-bfeb-53cbbbba6f08/decision-routing/evaluations"
{  "items": [    {      "seq": 0,      "at": "string",      "channel": "string",      "messageId": "string",      "title": "string",      "decisionId": "string",      "outcome": "routed",      "reason": "string",      "evaluated": true,      "answer": {        "type": "boolean",        "value": true,        "probability": 0      },      "matchedKeys": [        "string"      ],      "matchedRuleIds": [        "string"      ],      "usedOtherwise": true,      "fallback": "constrained",      "targets": [        {          "agentId": "string",          "effect": "participant",          "via": "mention",          "participant": true,          "disposition": "pending",          "reason": "string"        }      ],      "latencyMs": 0,      "requestedModel": "string",      "actualModel": "string",      "usage": {        "inputTokens": 0,        "outputTokens": 0      },      "detailsExpired": true    }  ],  "nextCursor": 1}