> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.revvue.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.revvue.ai/_mcp/server.

# agentCases

GraphQL QUERY

Reference: https://docs.revvue.ai/api-reference/jonna-ai-agent/queries/agent-cases

## GraphQL Schema

```graphql
query ExampleQuery($fromTime: DateTime, $toTime: DateTime, $medium: String, $channels: [String!], $outcomes: [String!], $cxBucket: String, $tag: String, $facetKey: String, $facetValue: String, $escalationReason: String, $knowledgeTopic: String, $categoryId: String, $limit: Int!, $offset: Int!) {
  agentCases(fromTime: $fromTime, toTime: $toTime, medium: $medium, channels: $channels, outcomes: $outcomes, cxBucket: $cxBucket, tag: $tag, facetKey: $facetKey, facetValue: $facetValue, escalationReason: $escalationReason, knowledgeTopic: $knowledgeTopic, categoryId: $categoryId, limit: $limit, offset: $offset) {
    supportTicketId
    threadId
    medium
    channel
    outcome
    cxScore
    cxBucket
    tags
    firstEventAt
    lastActivityAt
  }
}
```

## Variables

```json
{
  "fromTime": null,
  "toTime": null,
  "medium": null,
  "channels": null,
  "outcomes": null,
  "cxBucket": null,
  "tag": null,
  "facetKey": null,
  "facetValue": null,
  "escalationReason": null,
  "knowledgeTopic": null,
  "categoryId": null,
  "limit": 50,
  "offset": 0
}
```