> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get conversation analytics

> Summarize the conversation activity and model use in the projects of an account, optionally for one project or label; returns totals, a daily series and recent conversations, with private titles limited to participants.

`veryfront__get_conversation_analytics`

Requires account.billing.read.

## Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

**Call type:** Read-only.

## Arguments

| Field | Type | Required | Description and constraints |
| - | - | - | - |
| `preset` | `string` | No | Provide the preset. Default: `"30d"`. Values: `"7d"`, `"30d"`, `"90d"`. |
| `timezone` | `string` | No | Provide the timezone. Default: `"UTC"`. |
| `label` | `string[]` | No | Provide the label. |
| `project_reference` | `string` | No | Project ID or slug that narrows the read to one project of the account. A project of another account is not found. Minimum length: `1`. |

## Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See [MCP client setup](https://veryfront.com/docs/cloud/getting-started/connect-mcp.md).

```json title="request.json" theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__get_conversation_analytics",
    "arguments": {}
  }
}
```

## Result

The published output shape is summarized below. Inspect both the MCP response content and `isError` when handling a call.

| Field | Type | Required | Description and constraints |
| - | - | - | - |
| `summary` | `object` | Yes | Structured summary details associated with this tool result. |
| `timeframe` | `object` | Yes | Structured timeframe details associated with this tool result. |
| `series` | `object[]` | Yes | List of series associated with this tool result. |
| `statuses` | `object[]` | Yes | List of statuses associated with this tool result. |
| `models` | `object[]` | Yes | List of models associated with this tool result. |
| `tools` | `object[]` | Yes | List of tools associated with this tool result. |
| `projects` | `object[]` | Yes | List of projects associated with this tool result. |
| `recent_conversations` | `object[]` | Yes | List of recent conversations associated with this tool result. |

## Full schemas

```json title="input-schema.json" theme={null}
{
  "type": "object",
  "properties": {
    "preset": {
      "type": "string",
      "enum": [
        "7d",
        "30d",
        "90d"
      ],
      "description": "Provide the preset.",
      "default": "30d"
    },
    "timezone": {
      "type": "string",
      "description": "Provide the timezone.",
      "default": "UTC"
    },
    "label": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "One label item supplied to the tool."
      },
      "description": "Provide the label."
    },
    "project_reference": {
      "type": "string",
      "minLength": 1,
      "description": "Project ID or slug that narrows the read to one project of the account. A project of another account is not found."
    }
  },
  "additionalProperties": false,
  "description": "Arguments for the get_conversation_analytics tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

```json title="output-schema.json" theme={null}
{
  "type": "object",
  "properties": {
    "summary": {
      "type": "object",
      "properties": {
        "total_conversations": {
          "type": "number"
        },
        "active_conversations": {
          "type": "number"
        },
        "total_messages": {
          "type": "number"
        },
        "last_conversation_at": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "total_conversations",
        "active_conversations",
        "total_messages",
        "last_conversation_at"
      ],
      "additionalProperties": false,
      "description": "Structured summary details associated with this tool result."
    },
    "timeframe": {
      "type": "object",
      "properties": {
        "from": {
          "type": "string"
        },
        "to": {
          "type": "string"
        },
        "granularity": {
          "type": "string",
          "const": "day"
        },
        "timezone": {
          "type": "string"
        },
        "bucket_count": {
          "type": "number"
        }
      },
      "required": [
        "from",
        "to",
        "granularity",
        "timezone",
        "bucket_count"
      ],
      "additionalProperties": false,
      "description": "Structured timeframe details associated with this tool result."
    },
    "series": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "bucket_start": {
            "type": "string"
          },
          "conversations": {
            "type": "number"
          },
          "messages": {
            "type": "number"
          }
        },
        "required": [
          "bucket_start",
          "conversations",
          "messages"
        ],
        "additionalProperties": false
      },
      "description": "List of series associated with this tool result."
    },
    "statuses": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "Lifecycle status for the returned record."
          },
          "count": {
            "type": "number"
          }
        },
        "required": [
          "status",
          "count"
        ],
        "additionalProperties": false
      },
      "description": "List of statuses associated with this tool result."
    },
    "models": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string"
          },
          "model": {
            "type": "string",
            "description": "AI model id associated with this tool result."
          },
          "count": {
            "type": "number"
          }
        },
        "required": [
          "provider",
          "model",
          "count"
        ],
        "additionalProperties": false
      },
      "description": "List of models associated with this tool result."
    },
    "tools": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Human-readable name for the returned record."
          },
          "count": {
            "type": "number"
          }
        },
        "required": [
          "name",
          "count"
        ],
        "additionalProperties": false
      },
      "description": "List of tools associated with this tool result."
    },
    "projects": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "project_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "Project identifier associated with this result."
              },
              {
                "type": "null",
                "description": "Project identifier associated with this result."
              }
            ],
            "description": "Project identifier associated with this result."
          },
          "project_name": {
            "type": "string"
          },
          "project_slug": {
            "type": [
              "string",
              "null"
            ]
          },
          "count": {
            "type": "number"
          }
        },
        "required": [
          "project_id",
          "project_name",
          "project_slug",
          "count"
        ],
        "additionalProperties": false
      },
      "description": "List of projects associated with this tool result."
    },
    "recent_conversations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "conversation_id": {
            "type": "string",
            "format": "uuid",
            "description": "Conversation identifier associated with this result."
          },
          "title": {
            "type": [
              "string",
              "null"
            ],
            "description": "Short human-readable title returned by the tool."
          },
          "status": {
            "type": "string",
            "description": "Lifecycle status for the returned record."
          },
          "project_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid",
                "description": "Project identifier associated with this result."
              },
              {
                "type": "null",
                "description": "Project identifier associated with this result."
              }
            ],
            "description": "Project identifier associated with this result."
          },
          "project_name": {
            "type": "string"
          },
          "project_slug": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_activity_at": {
            "type": "string"
          }
        },
        "required": [
          "conversation_id",
          "title",
          "status",
          "project_id",
          "project_name",
          "project_slug",
          "last_activity_at"
        ],
        "additionalProperties": false
      },
      "description": "List of recent conversations associated with this tool result."
    }
  },
  "required": [
    "summary",
    "timeframe",
    "series",
    "statuses",
    "models",
    "tools",
    "projects",
    "recent_conversations"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the get_conversation_analytics tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

<details>
  <summary>Try this tool</summary>

  Replace sample arguments with values for your project or connected account. Calls run only when you select Run tool.

  MCP tool call

  Call `veryfront__get_conversation_analytics` against the Veryfront MCP endpoint.

  Bearer token or API key

  Arguments (JSON)

  Run tool

  Output JSON

  <pre />
</details>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.