---
title: "Agency Timeseries"
method: GET
path: "/api/v1/agency/analytics/{agency_id}/timeseries"
tags: ["Agency Analytics"]
---

# Agency Timeseries

`GET /api/v1/agency/analytics/{agency_id}/timeseries`

## Request

- Base URL: `https://api.insighto.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.insighto.ai/api/v1/agency/analytics/{agency_id}/timeseries`
- Auth: one of:
  - API key in query parameter `api_key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/insighto/apis/ragify/docs/api/v1/agency/analytics/:agency_id/timeseries/get.ts> (a function with typed inputs; its response is checked against the schema)

Usage timeseries for the agency. Granularity: daily or monthly.
Defaults: daily → last 30 days; monthly → last 12 months.

## Path parameters

- `agency_id` string, uuid, required

## Query parameters

- `granularity` 'daily' | 'monthly'
- `date_from` string, date, nullable
- `date_to` string, date, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-07-13** `40a9bd2fdd6e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/insighto/apis/ragify/changes/api/v1/agency/analytics/:agency_id/timeseries/get.md)

---

[API](https://skmtc.dev/insighto/apis/ragify.md) - [All operations](https://skmtc.dev/insighto/apis/ragify/llms.txt) - [OpenAPI document](https://skmtc.dev/insighto/apis/ragify/revisions/cdca56191be9?raw)
