Documentation Index
Fetch the complete documentation index at: https://mintlify.com/virsanghavi/axis/llms.txt
Use this file to discover all available pages before exploring further.
list_jobs returns a snapshot of every job on the project’s board — pending, in progress, done, and cancelled — along with each job’s status, priority, current owner, dependency list, and timestamps. It is the coordination primitive you reach for before making decisions: call it on session start to see what’s already in motion, before posting new jobs to check for duplicates, and before claiming in a planned multi-agent run to choose the right task.
Parameters
The Axis project to inspect. Defaults to the auto-detected project (derived from the nearest
.git/package.json or a committed .axis/axis.json). Override only when targeting a different project explicitly.Return Value
An array of job objects. Each object includes:| Field | Type | Description |
|---|---|---|
jobId | string | Unique identifier for the job — use in claim_job, complete_job, cancel_job, and dependencies arrays |
title | string | Short human-readable label set when the job was posted |
description | string | Full description of the work, including file paths and expected outcomes |
status | string | One of pending, in_progress, done, or cancelled |
priority | string | One of low, medium, high, or critical |
claimedBy | string | null | Agent ID of the current owner when in_progress; null otherwise |
dependencies | string[] | Array of job IDs that must reach done before this job is claimable |
createdAt | string | ISO 8601 timestamp of when the job was posted |
updatedAt | string | ISO 8601 timestamp of the most recent status change |
When to Call list_jobs
On session start
Before posting or claiming any work, call
list_jobs to synchronize with whatever is already in motion. Another agent may have posted jobs for the same feature, or work you planned may already be in_progress. Starting without this check risks duplicated effort and conflicting implementations.Before posting new jobs
If
list_jobs returns a job that covers the same work you were about to post, claim that existing job instead of creating a duplicate. The board is shared across all agents and all machines on the org — someone else may have already broken the objective down.Before claiming in a multi-agent run
When a Manager has posted the full job list and multiple workers are starting simultaneously, each worker calls
list_jobs to see the board, identifies its intended task, and then calls claim_job(jobId) to claim it specifically. This keeps each agent’s context focused on its own work rather than pulling in whatever claim_next_job serves next.After a long wait or interruption
Before resuming work after any significant pause, call
list_jobs (and list_locks) again. Status may have changed — a dependency may have completed, a job you were watching may have been cancelled, or a file you planned to edit may now be locked by a teammate’s agent.Example Output
dana-claude-code, so both downstream jobs (j_def456 and j_ghi789) are blocked waiting for it. The worker should wait, or pick up an unrelated job from elsewhere on the board rather than duplicating Dana’s work.
list_jobs returns all statuses including done and cancelled. When scanning for available work, filter on status === "pending" and check that the dependencies array contains no job IDs still in pending or in_progress state. claim_next_job does this filtering automatically if you’d rather not inspect the board manually.