Filter workflows

List workflows with server-side filtering. Use the type filter in the request body to scope results to automations, monitors, or evaluators.

Authentication

AuthorizationBearer

Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, OpenAI or Azure OpenAI provider credentials go in Settings -> Providers or the request body credential_override field, not in this auth field.

Query parameters

pageintegerOptional
Page number.
page_sizeintegerOptional
Results per page.
sort_bystringOptional

Sort field. Prefix with - for descending.

Request

This endpoint expects an object.
filtersmap from strings to anyRequired

Filter object keyed by field name. Include a type filter with value: ["automations"], ["monitors"], or ["evaluators"] and operator: "eq" to scope results.

Response

Successful response for Filter workflows
countinteger
nextstring or null
previousstring or null
resultslist of objects
filters_datamap from strings to any
Filter metadata returned by the backend for building the filter UI.

Errors

401
Unauthorized Error