---
title: "Query execution inputs, sorted by received_time descending (most recent email first). Must provide exactly one of either context_id or email_address."
method: GET
path: "/execution/inputs"
tags: ["ExecutionInput"]
---

# Query execution inputs, sorted by received_time descending (most recent email first). Must provide exactly one of either context_id or email_address.

`GET /execution/inputs`

## Query parameters

- `context_id` string
- `email_address` string
- `limit` integer
- `cursor` string
- `earliest_received_time` integer
- `latest_received_time` integer
- `lookback_millis` integer

## Response `200`

The query result

- ExecutionInputQueryResult
  - `execution_inputs` ExecutionInput[] — All execution inputs that matched the query
    - `id` string — Unique ID for this input
    - `context_id` string — The ID of the execution context, either a test run ID or a training session ID
    - `workspace_id` string, required — The ID of the workspace associated with this event
    - `created_time` integer — Time at which the input was inserted via the API
    - `created_by_id` string — The ID of the client that created this execution input
    - `received_time` integer — Time at which the input was received (email: arrival time at receiving mail server)
    - `sent_time` integer — Time at which the input was created by user (email: sent by sender)
    - `input_type` 'email' — The type of input
    - `input_artifacts` object — Map of input artifact type to artifact URI
    - `input_properties` object — Key-value pairs used to store additional properties relevant to this specific input type
  - `cursor` string — Cursor used for pagination

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unknown error

---

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