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

# Get Execution History

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

Get execution history for a trigger with filtering and pagination.

Returns paginated execution history for the specified trigger, including
success/failure status, execution times, and error messages. Supports
filtering by status and time range.

Args:
    trigger_id: The unique identifier of the trigger
    page: Page number for pagination
    page_size: Number of executions per page
    status: Optional status filter (success, failed, timeout)
    start_time: Optional start time filter
    end_time: Optional end time filter
    user_context: Authentication context
    trigger_service: Injected trigger service

Returns:
    Paginated execution history

Raises:
    HTTPException: If trigger not found or invalid parameters

## Path parameters

- `trigger_id` string, uuid, required

## Query parameters

- `page` integer — Page number
- `page_size` integer — Number of executions per page
- `status` string, nullable — Filter by execution status (success, failed, timeout)
- `start_time` string, date-time, nullable — Filter executions after this time
- `end_time` string, date-time, nullable — Filter executions before this time

## Response `200`

Successful Response

- ExecutionHistoryResponse — Response model for paginated execution history.
  - `executions` TriggerExecutionResponse[], required
    - `error_message` string, nullable
    - `executed_at` string, required
    - `execution_time_ms` integer, required
    - `id` string, uuid, required
    - `run_id` string, nullable
    - `status` string, required
    - `task_id` string, uuid, nullable
    - `trigger_data` object, required
    - `trigger_id` string, uuid, required
    - `workflow_id` string, nullable
  - `has_next` boolean, required
  - `page` integer, required
  - `page_size` integer, required
  - `total` integer, 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)
