---
title: "Get Trigger Execution History"
method: GET
path: "/v1/triggers/{trigger_id}/history"
tags: ["Triggers"]
---

# Get Trigger Execution History

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

## Request

- Base URL: `https://api.mixpeek.com`
- URL: `https://api.mixpeek.com/v1/triggers/{trigger_id}/history`
- Auth: HTTP bearer and API key in header `X-Namespace`

Get execution history for a trigger with pagination.

## Path parameters

- `trigger_id` string, required: Trigger ID

## Query parameters

- `offset` integer: Pagination offset
- `limit` integer: Results per page

## Response `200`

Successful Response

- SharedTriggersModelsTriggerHistoryResponse: Response for trigger execution history.
  - `trigger_id` string, required: Trigger ID
  - `executions` TriggerExecutionHistory[], required: Execution history
    - `task_id` string, required: Task ID
    - `triggered_at` string, date-time, required: When trigger fired
    - `status` string, required: Execution status
    - `execution_time_ms` number, nullable: Execution time in milliseconds
    - `error` string, nullable: Error message if failed
  - `total` integer, required: Total executions
  - `offset` integer, required: Current offset
  - `limit` integer, required: Current limit

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `429`: Too Many Requests
- `500`: Internal Server Error
- `503`: Service Unavailable

## Changes

- **2026-10-09** `61a175e8eb9a`: 1 warning, 5 info
  - removed the optional property `detail` from the response with the `422` status
  - added the non-success response with the status `429`
  - added the non-success response with the status `503`
  - added the optional property `success` to the response with the `422` status
  - …2 more
- **2026-09-10** `72a112a144f3`: 2 breaking
  - response property `executions/items/execution_time_ms` list-of-types was widened by adding types `number` to media type `application/json` of response `200`
  - the `executions/items/execution_time_ms/anyOf[subschema #1]/` response's property type changed from `integer` to `number` for status `200`
- **2026-08-09** `5d4c905106b4`: 1 info
  - the endpoint scheme security `BearerAuth AND NamespaceHeader` was added to the API

[Operation history](https://skmtc.dev/mixpeek/apis/mixpeek-api/changes/v1/triggers/:trigger_id/history/get.md)

---

[API](https://skmtc.dev/mixpeek/apis/mixpeek-api.md) - [All operations](https://skmtc.dev/mixpeek/apis/mixpeek-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mixpeek/apis/mixpeek-api/revisions/790bc16455f6?raw)
