Who is in the project
GET /projects/{project} (show) returns the timeline and who is in the project right now:
presence: people in the editor, with theirselection({start, end, clips?}) andplayhead. The editor writes it about once a second, so an agent asked to “cut what I selected” can read the selection and cut exactly that.working_on: what agents said they are about to do.
POST /projects/{project}/presence with selection and playhead; null clears either, and fields you leave out stay as they were. Presence goes away a minute after the last write.
Say what you’re doing
Before a change a person would want to see coming, say so:clips, range or scene you name. It clears on your next edit, or two minutes after your last call; call again to keep it up, or send {"text": null} to clear it. The CLI: vidjutsu working-on launch-film Cutting the long pauses --from 0 --to 45.
Name yourself
History, Activity and change notices name whoever made each revision. Send aVidJutsu-Client header (for example VidJutsu-Client: Claude Code) and that’s the name people see; without it, an agent is named by its API key’s name. The CLI sends VIDJUTSU_CLIENT, and the SDK takes clientName.
Each edit can also carry a summary, the one line history and Activity show for it (“Cut 14 filler words”). Leave it out and one is written from the operations.
Cut by the script
GET /projects/{project}/timeline-words returns the words heard on the edited timeline, in order, with the pauses between them:
cut_pauses range:
pause sets the shortest pause listed (default 0.5 seconds). Media without a transcript is listed in untranscribed: make one with POST /media/{hash}/transcript. The CLI: vidjutsu words launch-film --pause 1.
In the editor, the person does the same by selecting words in the script and pressing Delete.
Undo and history
GET /projects/{project}/history lists every revision, newest first, merged with the shot list’s changes:
limit up to 100); pass next as before for the next page.
Undo makes a new revision, so it can be undone too:
If a later edit touched the same thing, undo answers 409
conflict with reason: "changed_since" and changes nothing. With expected_head, a head that moved answers 409 with reason: "stale_head".
The CLI: vidjutsu history launch-film, vidjutsu undo launch-film r4 --change 2, vidjutsu restore launch-film r2.
Check for changes cheaply
GET /projects/{project}/head returns the head revision, its author, summary and time without the timeline. Both it and show send an ETag: send it back as If-None-Match and an unchanged project answers 304 with no body. Show’s ETag also covers presence and working_on. To hear about changes as they happen, use the live stream.
Comments
People and agents leave comments on a moment or a stretch of the timeline:time instead of start and end for a single moment, and {"text": ..., "reply_to": "<comment_id>"} to reply. Times refer to a revision (default: the current one), so a comment left on an earlier revision is labeled as such. GET /projects/{project}/comments lists them oldest first; POST /projects/{project}/comments/{comment_id} with {"resolved": true} resolves a thread (false reopens it), and DELETE removes a comment and, for a thread’s first comment, its replies.
The CLI: vidjutsu comment launch-film This pause feels long --from 12.5 --to 15, vidjutsu comments launch-film, vidjutsu comments resolve launch-film <comment_id>.