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

Assign and Update Project To-dos

Reissue the current version to a stated audience, or publish a new immutable version with an optional reissue.

POST/api/public/v1/project-todos/manage

Both actions require project_todos:write, a claimed account, and employer access to the job. Both fan out only to an explicit audience, and broad audiences require a fresh preflightReceipt for the exact request.

Assigns the item’s current version to the stated audience. Recipients who already hold this operation’s assignment are skipped, so a same-key retry converges instead of duplicating obligations. A new assignment supersedes that person’s stale open copy of the same item; submitted work stays reviewable.

actionstringbodyrequired
assign
idempotencyKeystringbodyrequired
jobIdstringbodyrequired
itemIdstringbodyrequired
audiencestringbodyrequired

No default. FUTURE and ACTIVE_AND_FUTURE also turn on future-hire auto-assignment for the item.

selectedContractIdsstring[]body
SELECTED only; validated strictly.
preflightReceiptstringbody

Required for broad audiences; bound to the item’s current version, so a version published between preflight and assign invalidates it.

The response mirrors create_item: audience echo, fanOut, and masked recipients.

Publishes a new immutable version of the definition. With assign, the new version is issued to the stated audience in the same transaction, superseding stale open assignments; without it, nothing is reissued.

actionstringbodyrequired
update_item
idempotencyKeystringbodyrequired
jobIdstringbodyrequired
itemIdstringbodyrequired
versionobjectbodyrequired
The complete new definition.
assignobjectbody

Optional reissue: audience, selectedContractIds, and preflightReceipt for broad audiences — bound to the item and the exact new definition.