profound-logoProfound CMS
⌘K
Admin
Theme
DocsTutorialBlogPhilosophy
DocsTutorialBlogPhilosophy

Hybrid

Collection of Pages with ComponentsTypes of ComponentsSetup server sent events (SSE) content refetchInstall Profound CMS as a proxyCEL Scripting in Template BuilderProject ScaffoldingMedia Library

Headless

Quick startSplit Screen JSON Component Builder with LLMComponent Zod Pull

REST API

REST API OverviewgetConnect your websitegetGET /routesgetGET /routegetGET /blocksgetGET /blocks/with-cel-cachegetGET /blocks/generatedgetGET /componentsgetGET /components/{name}getGET /dataset/{schema_name}getGET /content-changes (SSE)patchPATCH /dataset/{schema_name}postPOST /translationpatchPATCH /translationsgetGET /usagepostPOST /csvpatchPATCH /csv
All Systems Operational
Powered Byprofound-logo
Theme

POST /translation

Start bulk background translation of a schema's published documents into target languages.

Kick off bulk background translation of all published documents of a schema into a set of target languages. Results are upserted into the translations table as each inference completes.

Auth: Bearer JWT (WorkOS).

Request body

{
  "websiteId": "<uuid>",
  "schemaName": "post",
  "languages": ["fr", "es", "de"]
}
FieldTypeRequiredNotes
websiteIduuidyesTarget website.
schemaNamestringyesSchema whose published documents to translate.
languagesstring[]yesTarget language codes (2-letter). Must be among the 35 supported codes.

Response

{
  "schema_name": "post",
  "documents_processed": 12,
  "translations_scheduled": 30,
  "translations_skipped": 6
}

Returns 202 Accepted when work was scheduled (translation runs in the background), or 200 OK when everything was already up to date (translations_scheduled: 0).

Each (document, language) pair is skipped when the SHA-256 of the document's published content matches the stored source hash. Only published documents with non-null content are translated. Concurrency is capped and each item retries with backoff on transient failures.

Example

curl -X POST '{CMS_API_URL}/translation' \
  -H 'Authorization: Bearer <workos-jwt>' \
  -H 'Content-Type: application/json' \
  -d '{"websiteId":"<uuid>","schemaName":"post","languages":["fr","es"]}'

Errors

  • 400 β€” languages is empty or contains an unsupported code
  • 401 β€” missing or invalid JWT
Continue Reading
Previousβ€ΉPATCH /dataset/{schema_name}NextPATCH /translationsβ€Ί