---
title: "Pipelines whose Spec compares with a filed declaration"
method: GET
path: "/v1/customs-declaration/pipelines"
tags: ["Customs Declaration"]
---

# Pipelines whose Spec compares with a filed declaration

`GET /v1/customs-declaration/pipelines`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/customs-declaration/pipelines`
- Auth: HTTP bearer

Pipelines whose Spec has a validation stage that compares against a reference table (the filed declarations), newest first. A pipeline from this list is what `pipeline_id` on the other customs endpoints names.

## Response `200`

Eligible pipelines.

- object
  - `data` CustomsDeclarationPipeline[]
    - `id` string, uuid
    - `name` string
    - `status` string
    - `created_at` string, date-time
    - `stage_id` string, uuid: The Spec's validation stage that compares with the reference table.
    - `stage_name` string
    - `reference_data_id` string, uuid
    - `reference_name` string, nullable

## Changes

- **2026-10-28** `0a485a46163e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/customs-declaration/pipelines/get.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
