Kosmobids Public API

Enums and status values

Lookup tables for every enum exposed by the Public API.

Workflow status

Used by GET /analyses/:workflowId.

Value Final? Meaning
pending No Scheduled and waiting for a worker.
running No In progress.
waiting No Waiting on a child operation.
retry No Being retried.
completed Yes Finished successfully.
failed Yes Finished with an error.
aborted Yes Stopped.

isFinalStatus is true for completed, failed, and aborted. isStatusSuccess is true only for completed.

Saved-search run status

Used by /saved-searches/:id/runs and /saved-searches/:id/runs/:runId/matches.

Value Final?
new No
in_progress No
done Yes
error Yes

Fit

Used by evaluation.fit on run matches.

Value Meaning
match Direct alignment between the company offering and the tender requirements.
industry_match Same industry, specific service not confirmed.
not_match No meaningful connection.

Document status

Used by GET /documents/:fileId.

Value Meaning
new Registered but not processed.
processed OCR content is available.
error Processing failed.

File origin

Used by document metadata.

Value Meaning
tender-document Downloaded from the tender source.
tender-document-user-uploaded Uploaded by a user for a tender.
company-document A company knowledge document.

Search result fields

Field Type Meaning
id string Tender (lot) ID.
score number? Semantic similarity.
rerankingScore number? Reranked similarity.
recommended boolean? Recommendation policy result.
match boolean? Match judgement.

Search options

Option Values
type mixed, streamlined
reranker jina, cohere
recommendedFilter all, only, exclude
sort deadline, published, value, country
sortDir asc, desc