---
title: "Describe pipeline schema"
method: GET
path: "/pipelines/{pipelineId}/schema"
tags: ["pipelines"]
---

# Describe pipeline schema

`GET /pipelines/{pipelineId}/schema`

Retrieves the pipeline schema of the pipeline identified by the given `pipelineId`, enriched by `attributes`.
            `200 - OK` responses include the pipeline schema.
            `204 - OK` responses indicate a successful request, with no saved schema found for the given pipeline ID.

## Path parameters

- `pipelineId` integer, required

## Query parameters

- `workspaceId` integer
- `sourceWorkspaceId` integer, nullable
- `attributes` PipelineSchemaAttributes[]
- `versionId` string

## Response `200`

OK

- PipelineSchemaResponse
  - `params` string
  - `schema` string, required

## Other responses

- `204` — Request OK - No schema found for given pipeline ID
- `400` — Bad request
- `403` — Operation not allowed

---

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