GET /pipeline returns the tenders the company is tracking in the Kosmobids pipeline. The pipeline is a company read model: stage, assignee, tags, and notes come from Kosmobids, while the tender metadata is enriched from the procurement data store.
To change a tender's stage, tags, or archive state, see Updating the pipeline.
Request
GET /api/v1/pipeline?limit=25&cursor=opaque-cursor&archived=exclude
x-api-key: ...
| Parameter | Type | Meaning |
|---|---|---|
cursor |
string |
Opaque cursor from a previous response. Omit it for the first page. |
limit |
number |
Page size from 1 to 100. Defaults to 25. |
archived |
string |
Archived visibility: exclude (default) omits archived tenders, include returns both, only returns just the archived ones. |
Response
{
"data": {
"tenders": [
{
"tenderId": "0f8fad5b-d9cb-469f-a165-70867728950e",
"stage": "reviewing",
"status": "Reviewing",
"assignee": "[email protected]",
"tags": ["cloud", "priority"],
"title": "Cloud migration and managed services",
"description": "A multi-year migration and operations contract.",
"notes": "Waiting for the security questionnaire.",
"kosmobidsAppUrl": "https://app.kosmobids.com/...",
"country": "DE",
"value_eur": 1200000,
"contractingAuthority": {
"name": "Example Authority",
"address": "Example Street 1, Berlin"
},
"submissionDate": "2026-12-01T12:00:00.000Z",
"publishDate": "2026-11-01T09:00:00.000Z",
"archivedAt": null
}
],
"nextCursor": "opaque-cursor",
"hasMore": true
},
"error": null
}
| Field | Meaning |
|---|---|
tenderId |
The tender (lot) ID. Use it with the tender and document endpoints. |
stage |
The pipeline stage key. This is the identifier the stage write endpoint accepts; it does not change when the company renames a stage. |
status |
The pipeline stage label, as configured in Kosmobids. Display only. |
assignee |
The assigned user, when one is set. |
tags |
Pipeline tags. |
title / description |
Display title and description. A regenerated description is used when available. |
notes |
The team's notes for this tender. |
kosmobidsAppUrl |
Deep link to the tender in the Kosmobids application. |
country |
Contracting country code, when known. Null when unknown. |
value_eur |
Estimated value in EUR, when known. |
contractingAuthority |
Name and address. Fields are null when unknown. |
submissionDate |
Submission deadline. Null when unknown. |
publishDate |
Publication date. |
archivedAt |
When the tender was archived. Null for live tenders, and for archived tenders unless you requested them with archived=include or archived=only. |
Pipeline items do not contain match scores or fit labels. Use saved-search run matches or search for relevance data.
Pagination
The pipeline uses cursor pagination, not offset pagination. Pass the nextCursor from one response as the cursor of the next. Stop when hasMore is false or nextCursor is null.
async function listPipeline(baseUrl: string, apiKey: string) {
const tenders = [];
let cursor: string | undefined;
do {
const url = new URL(`${baseUrl}/pipeline`);
url.searchParams.set('limit', '100');
if (cursor) url.searchParams.set('cursor', cursor);
const response = await fetch(url, { headers: { 'x-api-key': apiKey } });
const body = await response.json();
if (!response.ok) throw new Error(body.error?.[0]?.message ?? 'Pipeline request failed');
tenders.push(...body.data.tenders);
cursor = body.data.nextCursor ?? undefined;
} while (cursor);
return tenders;
}
Cursors are opaque. Do not construct, parse, or persist them across a long period; a cursor is only valid for the pagination sequence that produced it.
Consistency and missing rows
The pipeline is read from the Kosmobids application, then enriched with tender data. If a pipeline item references a tender that is missing from the procurement store, the item is omitted from tenders. This is logged server-side and does not fail the request, so a page can contain fewer than limit items while hasMore remains true.