---
title: "Get Model Insight Tasks"
method: GET
path: "/model-insights/tasks"
tags: ["model_insights"]
---

# Get Model Insight Tasks

`GET /model-insights/tasks`

## Request

- Base URL: `https://api.sea-lion.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sea-lion.ai/model-insights/tasks`
- Auth: API key in header `x-litellm-api-key`

## Query parameters

- `start_date` string, nullable: YYYY-MM-DD, defaults to 365 days ago
- `end_date` string, nullable: YYYY-MM-DD, defaults to today
- `metric` 'requests' | 'spend' | 'tokens': Metric task shares are computed from

## Response `200`

Successful Response

- ModelInsightTasksResponse
  - `end_date` string, required
  - `start_date` string, required
  - `tasks` ModelInsightTaskSummary[], required
    - `category` string, required
    - `label` string, required
    - `leader` string, required
    - `provider` string, required
    - `share` number, required
    - `task_type` string, required
    - `value` number, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-21** `f2fb14eab3f5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sea-lion/apis/litellm-api/changes/model-insights/tasks/get.md)

---

[API](https://skmtc.dev/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.dev/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sea-lion/apis/litellm-api/revisions/1ba9123c189a?raw)
