Organization ID (org_...) whose org-owned tasks should be returned.
Optionalparams: { afterCursor?: string; limit?: number }Query parameters.
OptionalafterCursor?: stringOpaque cursor returned by the preceding page.
Optionallimit?: numberMaximum cycle components to return. Defaults to 50; maximum is 100.
Successful response
Find an owner's tasks by external reference Returns all exact external-reference matches owned by the requested principal. Multiple matches remain explicit; callers must not choose an arbitrary task.
Organization ID (org_...) whose org-owned tasks should be returned.
Optionalparams: {Query parameters.
OptionalexternalScope?: stringExternal host.
OptionalobjectId?: stringExternal object identity.
OptionalobjectType?: stringExternal object type.
Optionalteam?: stringTeam owner.
Optionaluser?: stringUser owner.
Successful response
Find or create a task by source Atomically creates one task per owner, tenant and source. Retries return the current task without updating it. Historical tasks created through ordinary create are not adopted.
Organization ID (org_...) whose org-owned tasks should be returned.
Request body.
Optionalagent?: stringExplicit acting agent for privileged callers.
Optionaldescription?: stringInitial task description.
Optionalepic?: stringInitial epic grouping.
Initial task name.
Optionalowner_user?: stringInitial assigned user; immutable on retries.
Source identity, for example owner/repo#123.
Source scope, for example github.
Source type, for example pull_request.
Optionalstatus?: stringInitial task status.
Optionalteam?: stringTeam owner.
Optionaluser?: stringUser owner, or explicit acting user on a team route.
The task and whether this request created it.
Create a task for an organization
Creates a new org-owned task (org tenant, no narrower user/team/agent
scope) and returns the full task object. User-authenticated calls are
attributed to the authenticated user or agent. App-scoped developer and
server-to-server callers must provide an explicit user or agent actor
for the organization. Every referenced principal is validated against the
app and organization before creation.
Organization ID (org_...) whose org-owned tasks should be returned.
Request body.
Optionalagent?: stringExplicit acting agent (agi_...) for a developer or server-to-server call. Mutually exclusive with an acting user; the agent must belong to the organization.
Attributes for the task to create. name is required; all other fields are optional.
Optionaluser?: stringExplicit acting user (usr_...) for a developer or server-to-server call. Mutually exclusive with an acting agent.
The newly created task.
List an organization's tasks Returns org-owned tasks for the specified organization: rows with the org tenant and no narrower user/team/agent scope. Explicitly personal, team, or agent tasks are excluded here; list those via the user/team collections or fetch them directly when authorized. Every organization member may list. App-scoped developer and server-to-server callers supply the org in the route.
Organization ID (org_...) whose org-owned tasks should be returned.
Optionalparams: {Query parameters.
OptionalafterCursor?: stringOpaque cursor returned by the previous page.
Optionalattention?: booleanWhen true, return paused, failed, or in-progress tasks with no lease or a past lease expiry.
OptionaldueAfter?: stringReturn only tasks with a due date strictly after this ISO 8601 datetime or date. Tasks without a due date are excluded.
OptionaldueBefore?: stringReturn only tasks with a due date strictly before this ISO 8601 datetime (2026-08-01T00:00:00Z) or date (2026-08-01, meaning midnight UTC). Tasks without a due date are excluded.
Optionalepic?: stringReturn only tasks with this exact epic label.
OptionalepicId?: stringReturn only members of this Epic ID.
Optionalinclude?: stringSet to blockers to include visible blocker task IDs.
Optionalinvolving?: stringReturn only tasks owned or created by this user: me or a user public ID (usr_...). The "My work" predicate.
Optionallimit?: numberMaximum number of tasks to return. Capped at 100.
Optionalorder?: stringSort direction, "asc" or "desc". Defaults to "desc" for created and "asc" for updated, due_date and priority.
Optionaloverdue?: booleanWhen true, return only overdue tasks: a due date before the current UTC day and a status other than "done". A task due today is not overdue.
Optionalowner?: stringReturn only tasks owned by this user: me or a user public ID (usr_...).
OptionalownerAgent?: stringFilter tasks assigned to a specific agent. Provide the agent's public ID (agi_...).
OptionalownerUser?: stringFilter tasks assigned to a specific user. Provide the user's public ID (usr_...).
Optionalparent?: stringReturn only subtasks of the given task (tsk_...), or pass none to return only top-level tasks.
Optionalpriority?: numberFilter tasks by priority, from 0 (highest) to 4 (lowest).
Optionalready?: booleanWhen true, return only open tasks with no unfinished blockers and no active session lease. This is a projection snapshot; claim a lease before starting work.
Optionalsearch?: stringRestrict results to tasks whose name or description contains this string.
Optionalsort?: stringSort key. One of "created" (default — most recently created first), "due_date" (soonest due first; tasks without a due date always sort last), "priority" (most urgent first), or "updated" (latest-state sync, ties by ID). Updated rows can coalesce or reappear: upsert by ID and aggregate version. Delayed/backdated or equal-time updates behind a cursor require periodic reconciliation. This is not a lossless mutation log.
OptionalsourceId?: stringReturn only tasks whose source matches this object identity. Must be supplied with the other source filters.
OptionalsourceScope?: stringReturn only tasks whose source matches this container. Must be supplied with source_type and source_id.
OptionalsourceType?: stringReturn only tasks whose source matches this object kind. Must be supplied with the other source filters.
Optionalstatus?: stringFilter tasks by status. One of "open", "in_progress", "in_review", or "done". Omit to return tasks in all statuses.
Optionalsummary?: booleanWhen true, omit description from every task. Use for list views.
Optionaltag?: stringReturn only tasks carrying this tag (matched against the canonical lowercase form).
Successful response
Get task activity metrics for an organization
Returns task activity metrics scoped to org-owned tasks (org tenant, no
narrower user/team/agent scope). open counts currently open or
in-progress org tasks, created counts tasks inserted in the UTC-day
window, and completed counts tasks whose closed_at falls in that window
while still in a closed status. Hard-deleted tasks are absent from the
projection and therefore omitted. The daily series is zero-filled across
the requested window and includes reconstructed end-of-day open stock.
Any organization member may read this count-only summary. Requests from
callers without org access return 404 so organization existence is not
disclosed.
Organization ID (org_...) whose org-owned tasks should be returned.
Optionalparams: { days?: number }Query parameters.
Optionaldays?: numberUTC-day window. One of 7, 30, 90, or 365; defaults to 30.
Successful response
List an organization's ready tasks
Returns open org-owned tasks with no unfinished blockers and no active
session lease. Readiness is calculated by the server from the current task
projection. It is a snapshot, not a reservation; claim a task lease before
starting work.
Results are ordered by priority (0, the most urgent, first), then oldest
first, so the first page is always the most urgent ready work.
Pass explain=true to include every open task with a stable readiness reason.
Organization ID (org_...) whose org-owned tasks should be returned.
Optionalparams: {Query parameters.
OptionalafterCursor?: stringOpaque cursor returned by the previous page.
OptionalassignedToMe?: booleanOnly include tasks assigned to the authenticated user. Equivalent to owner[]=me; sending it together with owner returns 422.
Optionalepic?: stringOnly include tasks with this exact epic label.
OptionalepicId?: stringReturn only members of this Epic ID.
Optionalexplain?: booleanInclude blocked and actively leased open tasks with exclusion reasons.
Optionallimit?: numberMaximum number of readiness entries to return. Capped at 100.
Optionalowner?: string[]Owner kinds to include; the result is the union of the listed kinds. Accepted values: me (assigned to the authenticated user) and unassigned (no user or agent owner). Agent-assigned tasks match neither value. Omit to include every owner.
OptionalsourceId?: stringOnly include tasks whose source matches this object identity.
OptionalsourceScope?: stringOnly include tasks whose source matches this container. Must be supplied with source_type and source_id.
OptionalsourceType?: stringOnly include tasks whose source matches this object kind.
Successful response
Search an organization's tasks
Performs a full-text search over org-owned tasks for the specified
organization and returns matching results. Combine q with the optional
filters to narrow the result set further. When no query is provided, the
endpoint behaves like a filtered list.
The query field in the response echoes the effective search query.
Explicitly personal, team, or agent tasks are excluded here.
Organization ID (org_...) whose org-owned tasks should be returned.
Optionalparams: {Query parameters.
OptionalafterCursor?: stringOpaque cursor returned by the previous page.
Optionalepic?: stringReturn only tasks with this exact epic label.
OptionalepicId?: stringReturn only members of this Epic ID.
Optionallimit?: numberMaximum number of tasks to return. Capped at 100.
OptionalownerAgent?: stringFilter tasks assigned to a specific agent. Provide the agent's public ID (agi_...).
OptionalownerUser?: stringFilter tasks assigned to a specific user. Provide the user's public ID (usr_...).
Optionalparent?: stringReturn only subtasks of the given task (tsk_...), or pass none to return only top-level tasks.
Optionalpriority?: numberFilter tasks by priority, from 0 (highest) to 4 (lowest).
Optionalq?: stringFull-text search query matched against task names and descriptions. Takes precedence over query when both are provided.
Optionalquery?: stringAlias for q. Use q when possible; this parameter exists for compatibility.
OptionalsourceId?: stringReturn only tasks whose source matches this object identity. Must be supplied with the other source filters.
OptionalsourceScope?: stringReturn only tasks whose source matches this container. Must be supplied with source_type and source_id.
OptionalsourceType?: stringReturn only tasks whose source matches this object kind. Must be supplied with the other source filters.
Optionalstatus?: stringFilter results by status. One of "open", "in_progress", "in_review", or "done". Omit to include all statuses.
Optionaltag?: stringReturn only tasks carrying this tag (matched against the canonical lowercase form).
Successful response
Stream organization task changes Organization task hints, not a lossless mutation log. Subscribe before reading ready cursors. Resume tasks with sort=updated&order=asc and deletions with their own cursor, retaining each page's after_cursor. Rows may coalesce or reappear; upsert by ID/version and periodically reconcile late/backdated/equal-time rows behind a cursor. Gaps beyond seven-day tombstone retention require full resync. Projector commit/ack failures can lose hints, so clients must reconcile too. Cross-batch deduplication retains at most 1024 task IDs in FIFO order; hints for evicted IDs can reappear, so clients must discard older/equal versions. Pending batches admit at most 512 distinct IDs, bounding visibility queries and emitted event lists. Overflow closes the stream; reconnect and reconcile. The independently released Rust Factory panel and assignment sweeps consume this contract in https://archdev.ai/tasks/tsk_6ttk2gUwttt6wwkiprwui7. That consumer must not roll out until this provider endpoint and the cursor / deletion contracts are deployed and verified on Platform. Its old-server 404 polling fallback is compatibility protection, not a substitute for this gate.
Organization ID (org_...) whose org-owned tasks should be returned.
Server-Sent Events stream
List task blocker cycles for an organization Runs an on-demand diagnostic over unfinished org-owned tasks for the specified organization and returns a forward cursor-paginated page of complete cyclic blocker components. Detection is bounded to owners with at most 100 unfinished tasks. This endpoint is read-only: cycles do not prevent task updates, lease acquisition, or completion.