Skip to content
OpenTrain AIOpenTrain AIOpenTrain AIDocs

Ask OpenTrain

Answers from the documentation, with sources.

What would you like to do with OpenTrain?

AI answers can be mistaken. Check the linked sources. Don’t include private account information.

Open app

DEVELOPER DOCUMENTATION

Plan a Job Instruction Image

Derive the stable final image URL without uploading image bytes.

POST/api/public/v1/instructions/jobs/{jobId}/assets/images/plan

Plans the final URL for an instruction image without uploading or editing a page. Requires instructions:write and employer access.

Send fileName, contentType, sizeBytes, the lowercase SHA-256 digest of the bytes, and an idempotencyKey. The response returns the same metadata, stable final URL, and writesApplied: false. A later upload with the same bytes and idempotency key must resolve to that reviewed URL.