---
title: "Get Execution Timeline"
method: GET
path: "/v1/triggers/{trigger_id}/timeline"
tags: ["v1", "protected", "triggers"]
---

# Get Execution Timeline

`GET /v1/triggers/{trigger_id}/timeline`

Get execution timeline for a trigger.

Returns time-bucketed execution counts and success rates for visualization
and trend analysis.

Args:
    trigger_id: The unique identifier of the trigger
    hours: Time period in hours to analyze (default 24, max 168)
    bucket_size_minutes: Size of time buckets in minutes (default 60)
    user_context: Authentication context
    trigger_service: Injected trigger service

Returns:
    Execution timeline data

Raises:
    HTTPException: If trigger not found

## Path parameters

- `trigger_id` string, uuid, required

## Query parameters

- `hours` integer — Time period in hours (max 7 days)
- `bucket_size_minutes` integer — Time bucket size in minutes

## Response `200`

Successful Response

- ExecutionTimelineResponse — Response model for execution timeline.
  - `period_hours` integer, required
  - `timeline` object[], required
  - `trigger_id` string, uuid, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/agentarea/apis/agentarea-api.md) · [All operations](https://skmtc.net/agentarea/apis/agentarea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agentarea/agentarea-api/versions/e3650e48373b/schema)
