# List all query pipeline versions in a workspace.

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"List all query pipeline versions in a workspace."}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/api/v1/workspaces/{workspace_name}/pipeline/versions"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Lists query pipeline versions across all pipelines in the selected workspace. Supports OData filtering, pagination, and sorting. Allowed filter fields: is_draft and pipeline/name. Alias supported: pipeline_name maps to pipeline/name. Default sorting is version_number DESC. Pagination supports limit, before, after, and page_number. before/after cannot be used together, and before/after cannot be combined with page_number. Examples: GET /workspaces/default/pipeline/versions, GET /workspaces/default/pipeline/versions?filter=is_draft%20eq%20true, GET /workspaces/default/pipeline/versions?filter=pipeline/name%20eq%20'my-pipeline', GET /workspaces/default/pipeline/versions?filter=pipeline_name%20eq%20'my-pipeline', GET /workspaces/default/pipeline/versions?field=version_number&order=DESC&limit=20&page_number=1.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
  {...require("./list-all-query-pipeline-versions-api-v-1-workspaces-workspace-name-pipeline-versions-get.ParamsDetails.json")}
>
  
</ParamsDetails>

<RequestSchema
  {...require("./list-all-query-pipeline-versions-api-v-1-workspaces-workspace-name-pipeline-versions-get.RequestSchema.json")}
>
  
</RequestSchema>

<StatusCodes
  {...require("./list-all-query-pipeline-versions-api-v-1-workspaces-workspace-name-pipeline-versions-get.StatusCodes.json")}
>
  
</StatusCodes>
