dayshift_get_conversation
A conversation's turns, oldest first, each with its prompt and answer. Every job opens a conversation; its conversation_id is on the job.
-
conversation_id string, required -
max_chars integer — Longest answer to return inline (default 20000); a longer one is cut and says so
dayshift_get_job
One job: status, prompt, and its answer (when done) or its error (when failed). An error says whose fault it was — the job's own limits, or the runner being broken — which decides whether a retry can help.
-
id string, required — A job id, e.g. job-20260921T153012Z-17 -
max_chars integer — Longest answer to return inline (default 20000); a longer one is cut and says so
dayshift_list_jobs
Jobs, newest first, as summaries (id, status, runner, service, a prompt excerpt). Use dayshift_get_job for one job's full answer. A caller token sees only its own jobs; an operator token sees all.
-
status queued | running | done | error | canceled -
service string — Only jobs submitted under this service label -
runner string -
host string — Only jobs that ran on this host; dayshift_status lists them -
limit integer — How many (default 20)
dayshift_status
The broker's state: whether dispatch is open, suspended or held by a resource gate (and why), how many jobs are running and queued, and each runner's health. Check this before submitting if work seems stuck.
dayshift_wait
Wait for a job to finish, up to timeout_seconds, then return it as dayshift_get_job would. If it is still going when the time is up, you get its current state with still_running: true — call again to keep waiting. The job itself is never affected by giving up.
-
id string, required -
timeout_seconds integer — How long to wait (default 120) -
max_chars integer — Longest answer to return inline (default 20000); a longer one is cut and says so