API

risk-assessment

«Compose with AI» of the site's /risk-assessment-generator: hazards, who may be harmed, existing and further controls and ratings, in the layout and wording of the chosen `format`. Claims of legal compliance the model makes are rewritten out — the document is a draft for a competent person to review and sign. Returned as data (the page prints it to PDF in the browser). Priced exactly like the page, per document. ASYNCHRONOUS: returns 202 with a run id — poll GET /v1/runs/{id} or register a webhook.

v1 beta server · 5040 tokens

Price (server): 5040 tokens per document; paid plans: −5%, rounded up. The exact figure for your file: POST /v1/tools/risk-assessment/estimate.

Call it

POST https://tembrica.com/v1/tools/risk-assessment/runs
Authorization: Bearer $TIMBRICA_KEY
Idempotency-Key: <your retry-safe key>
Content-Type: application/json

Input

FieldTypeRequiredNotes
format string yes National format of the document.
one of: au_swms, uk_rams, us_jha, de_gbu, es_evr, mx_arp, latam_ast, fr_ar, br_apr, ru_kor, ua_or, kr_ra, id_ibprp, gulf_rams, intl_iso
doc_lang string yes Language of the document.
one of: ru, en, es, pt, fr, de, id, ar, ko, uk, tr
crew_lang string no Language the crew reads, if different. Omitted — the document language.
one of: ru, en, es, pt, fr, de, id, ar, ko, uk, tr, hi, ur, ne, bn, ml, ta, pa, tl, vi, zh, th, my, uz, tg, ky, pl, ro, sw
job string yes The job, site and conditions in your words.
max length: 2000
works array no Kinds of work from the site's library, to anchor the hazards.
known array no Hazards you already know of.

Errors it can return

validation_failed  insufficient_tokens  concurrency_limited  upstream_unavailable 

History

  • v1 — 2026-11-20 — Initial release (server lane, async, the site's price per document).

This contract cannot change without a new version and a line above: a test compares the published schema, pricing and limits against a committed lockfile and fails the build otherwise. Subscribe to /v1/changelog to be told when something moves.