A private tender is a tender you create through the API for your own company. It is stored in Kosmobids with private provenance and is scoped to the company of the API key. Private tenders are useful when you work with notices that are not in the public procurement catalogue, or when you want to attach your own documents to a tender record before running analysis on it.
Create a private tender
curl https://api.kosmobids.com/api/v1/pipeline/private-tenders \
-H "x-api-key: $KOSMOBIDS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"buyerName": "Acme Corp",
"title": "Office supplies",
"country": "PL",
"submissionDeadline": "2026-12-31T23:59:59Z",
"description": "Annual office supplies procurement",
"valueEUR": 150000,
"urls": [
{ "url": "https://docs.example.com/spec.pdf", "description": "Specification" }
]
}'
The response contains the created notice ID and the saved tender (lot) IDs:
{
"data": {
"noticeId": "c0a80123-4567-4abc-8def-0123456789ab",
"tenderIds": ["7d444840-9dc0-11d1-b245-5ffdce74fad2"]
},
"error": null
}
The company is taken from the API key. companyId is not accepted in the body, so a key cannot create tenders for another company.
Fields
| Field | Required | Notes |
|---|---|---|
buyerName |
Yes | Contracting authority name. |
title |
Yes | Tender title. |
country |
Yes | ISO 3166-1 alpha-2 contracting country code. |
submissionDeadline |
Yes | ISO-8601 submission deadline. |
description |
No | Tender description. |
valueEUR |
No | Estimated value in EUR. |
publicationDate |
No | ISO-8601 publication date. Defaults to now. |
urls |
No | Up to 50 links, stored as tender documents. |
What happens after creation
- The tender gets private provenance and is stored against your company.
- It is excluded from matching runs, semantic search, and look-alike discovery, because embeddings are not generated for private tenders.
- You can read it with
GET /tenders/:tenderId, attach files through the document download flow, and start a document analysis withPOST /tenders/:tenderId/analyze. - Each call creates a new tender. The endpoint is not idempotent, so do not retry a successful request blindly.