---
title: "Get task outcome analytics"
method: GET
path: "/api/tasks/outcomes"
tags: ["Tasks"]
---

# Get task outcome analytics

`GET /api/tasks/outcomes`

## Query parameters

- `timeframe` 'day' | 'week' | 'month' | 'all'

## Response `200`

Task outcome summary

- object
  - `timeframe` string
  - `summary` object
    - `total_done` integer
    - `with_outcome` integer
    - `by_outcome` object
    - `avg_retry_count` number
    - `avg_time_to_resolution_seconds` number
    - `success_rate` number
  - `by_agent` object
  - `by_priority` object
  - `common_errors` object[]
    - `error_message` string
    - `count` integer
  - `record_count` integer

## Other responses

- `401` — Authentication required

---

[API](https://skmtc.net/builderz-labs/apis/mission-control-api.md) · [All operations](https://skmtc.net/builderz-labs/apis/mission-control-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/builderz-labs/mission-control-api/revisions/b920835b2793/schema)
