---
title: "Query Workflow Execution"
method: POST
path: "/v1/workflows/executions/{execution_id}/queries"
tags: ["workflows.executions"]
---

# Query Workflow Execution

`POST /v1/workflows/executions/{execution_id}/queries`

Query Workflow Execution

## Path parameters

- `execution_id` string, required

## Request body

- QueryInvocationBody
  - `name` string, required — The name of the query to request
  - `input` union — Input data for the query, matching its schema
    - NetworkEncodedInput
      - `b64payload` string, required — The encoded payload
      - `encoding_options` EncodedPayloadOptions[] — The encoding of the payload
      - `empty` boolean — Whether the payload is empty
    - object

## Response `200`

Successful Response

- QueryWorkflowResponse
  - `query_name` string, required
  - `result` unknown, required

## Other responses

- `422` — Validation Error

---

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