---
title: "search for workflows by a search attribute query"
method: POST
path: "/api/v1/workflow/search"
---

# search for workflows by a search attribute query

`POST /api/v1/workflow/search`

## Request body

- WorkflowSearchRequest
  - `query` string, required
  - `pageSize` integer
  - `nextPageToken` string

## Response `200`

successful operation

- WorkflowSearchResponse
  - `workflowExecutions` WorkflowSearchResponseEntry[]
    - `workflowId` string, required
    - `workflowRunId` string, required
  - `nextPageToken` string

## Other responses

- `400` — Invalid input

---

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