Skip to main content
Work items are the core unit of work in OpenIndex. The hierarchy is project → task → sub_task. Each item belongs to a domain and has a domain-scoped key (e.g. OPS-42). Sub-task keys inherit from the parent task with a suffix (e.g. OPS-42.1). All work item endpoints require a Bearer token. See API Authentication.

Browse and create

List work items

string
Filter by work item type: project, task, or sub_task.
string
Filter by domain ID.
string
Filter by status value.
Full-text search across title and description.

Create a work item

string
required
Work item type: project, task, or sub_task.
string
required
Work item title.
string
required
ID of the domain to create the item in.
string
Key of the parent work item. Required for sub_task; optional for task (creates under a project).
string
Workflow to assign. If omitted, the domain default workflow is used.
string
Markdown-formatted description.
string
Initial status. Must be a valid status for the assigned workflow.
string
Priority level (e.g. low, medium, high, critical).
string
Target agent or executor ID for agent-dispatched items.

Agent work queue

Returns work items eligible for agent pickup — items in agent-required workflow stages that are not currently claimed.

Get a work item

Returns full details for the work item with the given key (e.g. GET /browse/OPS-42).

Update a work item

Send only the fields you want to update. Updatable fields include title, description, priority, status, and executionTarget.

Delete a work item

Permanently deletes the work item. This action is permission-checked and cannot be undone.

Workflow transitions

List available transitions

Returns the status transitions available for the work item from its current state.

Claim for agent execution

string
required
The status to transition the item to when claiming.
string
required
ID of the agent claiming the item.

Complete a work item

string
required
The completion status to transition to.
string
required
ID of the agent completing the item.

Advance a stage gate

Advances the specified stage gate. Stage gates are defined in the workflow and must be progressed in order before a status transition can occur.

Get agent execution context

Returns the full execution context for the agent operating on this work item, including workflow state, stage gates, custom field values, and conversation history.

Comments

List comments

Add a comment

string
required
Comment text. Supports Markdown.

Update a comment

Delete a comment

Attachments

List attachments

Upload an attachment

Uploading a file is a two-step process:
1

Initiate the upload

Returns an upload URL and attachment ID.
2

Complete the upload

After uploading to the returned URL, confirm the upload:

Download an attachment

Returns a signed download URL.

Delete an attachment

Categories

Categories are domain-scoped labels. You can assign multiple categories to a single work item.

Dependencies

Custom fields

Custom fields are defined on the workflow. Values must conform to the field type defined in the workflow.

Hierarchy

Returns the full parent/child hierarchy for the work item: its parent project or task, and any child tasks or sub-tasks.

Conversation

Work item conversations link inbound and outbound email to the item’s thread. See the Email API for how to configure the mailboxes and routing rules that route inbound email to work items.

Spawn an internal sub-item

Creates a child work item (sub-task) under the given key within the same domain. The created item inherits the domain and workflow of its parent unless overridden.