DEVELOPER DOCUMENTATION
Upload Job Instruction Image
Upload one image for a TipTap image node without changing a page.
/api/public/v1/instructions/jobs/{jobId}/assets/imagesUploads a JPEG, PNG, WebP, GIF, or AVIF image up to 5 MB. Requires
instructions:write, employer access, and an Idempotency-Key header.
Send multipart/form-data with one file field. The response returns the job
ID, content type, byte size, and URL to place in a TipTap image node. Uploading
the image does not edit any instruction page.
With CLI 0.5.2 or later, use opentrain instructions image upload to run the
matching no-write plan and verified upload workflow. Pass the previewed digest
back as --expected-sha256 on the confirmed upload so changed local bytes fail
before the request. Use
capability discovery to
inspect the image host patterns accepted by the renderer.