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

Create Job Instruction Page

Create a rich page directly in a job's Instructions tab.

POST/api/public/v1/instructions/jobs/{jobId}/pages

Creates a canonical root page or one-level subpage. Requires instructions:write, employer access, and an Idempotency-Key header.

titlestringbodyrequired

Page title, from 1 to 200 characters.

parentPageIdstring | nullbody

A root page ID. A subpage cannot be used as a parent.

contentobjectbody

A complete TipTap doc node. Omit for an empty page.

beforePageIdstringbody

Place the new page immediately before this sibling. Use at most one placement field.

afterPageIdstringbody

Place the new page immediately after this sibling. Use at most one placement field.

positionintegerbody

Place the page at this zero-based sibling index. Use at most one placement field.

preflightTokenstringbodyrequired

The short-lived token returned by preflighting this exact create operation.

confirmLivetruebodyrequired

Confirms that the new page is immediately visible to hired AI trainers.

The response returns the canonical page, checksum, employer URL, and whether the idempotency key replayed an earlier create.