Page tree
Instructions are a multi-page tree with two supported levels:- Root pages
- One level of subpages beneath a root
Rich documents and checksums
Each page body is a TipTap JSON document:Preview and live writes
The current job editor is immediately live: there is no separate publication step. Use the preview operation to validate and render a complete TipTap document without writing. Mutations requireconfirmLive: true (or
--confirm-live in the CLI) to acknowledge that hired AI trainers can see the
result immediately.
Agent tools read the canonical page back after a mutation before reporting
success. Treat only that readback and returned employer URL as confirmation;
a response from any unrelated document system is not worker-visibility
evidence.
Images and DOCX files
The canonical image endpoint accepts JPEG, PNG, WebP, GIF, and AVIF files up to 5 MB and returns a URL for a TipTap image node. Uploading an image does not edit a page by itself. The CLI can import a DOCX file into a new job page. It converts supported headings, paragraphs, formatting, links, lists, tables, and embedded images. Preview mode uses visible placeholders and uploads nothing. A confirmed import uploads each embedded image and places it in the canonical TipTap document. General file, audio, and video attachments are not currently part of the job Instructions API. Do not assume support based on another OpenTrain feature.Required scopes
instructions:readreads a job tree or page.instructions:writepreviews content, uploads images, and mutates pages.