Work items in the delivery pipeline. Tasks are linked to Service Lines, tagged with projects, and synced bidirectionally with connected project management tools.
The Scrums.com API is planned and not yet publicly available. Endpoints and behaviour are subject to change before release.
Overview
Tasks (TSK-*) are the work items that flow through delivery on the platform. They represent the discrete units of work being tracked, executed, and completed within a Service Line context.Tasks are not a generic to-do list. They are delivery-operational records: linked to the LIN-* that owns the delivery context, tagged with PROJ-* labels for cross-cutting project visibility, synced with connected PM tools (Jira, ClickUp, Linear), and observable through delivery velocity metrics in the Observability API.
Core Concepts
Task scope
Tasks are scoped to a workspace. They carry:
A service_line_id indicating which LIN-* the work belongs to
A project_id (optional) for cross-platform project grouping
An external_id and external_source if synced from a connected PM tool
Sync with external tools
When a Jira or ClickUp integration is active in a workspace, tasks are synced bidirectionally. Status changes made in the Scrums platform propagate to the external tool; updates in the external tool propagate to the platform. The external_id and external_source fields record the binding.
Tasks and delivery metrics
Completed tasks feed the delivery_velocity metric in the Observability API. The rate of task completion per Service Line, relative to historical baselines, is a primary health signal.
Tasks and agents
Agents can create, update, and close tasks as part of their execution. Every agent-driven task change is recorded in the Audit Logs and tagged with the agent’s AGT-* identifier.
Endpoints
GET /v1/tasks
List tasks for a workspace or filtered by Service Line, project, or status.
Request
GET /v1/tasks?workspace_id=WS-26-000021&service_line_id=LIN-26-084729&status=in_progressAuthorization: Bearer <token>
{ "workspace_id": "WS-26-000021", "service_line_id": "LIN-26-084729", "project_id": "PROJ-26-004281", "title": "Add distributed tracing to payment service", "description": "Instrument the payments API with OpenTelemetry spans to support end-to-end trace correlation.", "priority": "medium", "assignee_id": "USR-26-000044", "status": "backlog"}
Response
Returns the created task record.
Notes
If the workspace has an active Jira or ClickUp integration with project mapping configured, a corresponding issue is created in the external system automatically.
service_line_id is required unless the workspace setting require_task_service_line is disabled.
Status changes propagate to the external PM tool if a sync integration is active.
Setting status: "done" or status: "cancelled" triggers a task.status_changed event and increments the delivery velocity counter for the linked LIN-*.
Common Workflows
Reviewing open work for a project
# All open tasks for a project, across all service linesGET /v1/tasks?workspace_id=WS-26-000021&project_id=PROJ-26-004281&status=in_progress,backlog# Drill into a specific service line's tasksGET /v1/tasks?service_line_id=LIN-26-084729&status=in_progress
Agent creating and closing a task
# Agent creates a task based on analysis outputPOST /v1/tasks{ "service_line_id": "LIN-26-091100", "title": "Fix memory leak in worker process - identified by analysis", "priority": "high" }# Agent closes the task after completing the fixPATCH /v1/tasks/TSK-26-018901{ "status": "done" }
Objects
Task
Field
Type
Description
id
string
TSK-* identifier
workspace_id
string
Scoped workspace
service_line_id
string
Owning LIN-* (delivery context)
project_id
string
Optional PROJ-* label
title
string
Task title
description
string
Full task description
status
enum
backlog, in_progress, in_review, done, cancelled
priority
enum
low, medium, high, critical
assignee_id
string
USR-* of the assignee
external_id
string
ID in the connected PM tool
external_source
string
Source tool identifier (e.g. jira)
external_url
string
Deep link to the external issue
history
array
Status change log (returned on GET by ID)
created_at
datetime
Creation timestamp
updated_at
datetime
Last modification timestamp
Best Practices
Always set service_line_id on tasks. Unlinked tasks do not contribute to delivery velocity metrics and are invisible to the observability layer. The workspace setting require_task_service_line can enforce this automatically.
Use project_id for cross-cutting visibility, not for filtering by team. Teams are represented by workspaces. Projects are for initiative-level grouping across teams and product lines.
Let the sync integration own external task creation. When a Jira or ClickUp integration is active, create tasks via the Scrums API and let the sync create the external issue. Do not create issues in both systems manually — you will get duplicates.
Last modified on October 2, 2026
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Scrums.com Docs","description":"Documentation for the Scrums.com Enterprise AI Software Engineering Orchestration Platform (SEOP). Scrums.com is the enterprise AI platform for software engineering: deploy AI agents, models, AI engineers and infrastructure from one catalog, then govern and measure all of it on one platform. Software Engineering. Sorted.","colors":{"primary":"#145aff","light":"#4a7fff","dark":"#0d3eb3"},"logo":{"light":"https://mintcdn.com/scrumscom/n1nBGJuSy2RrQUfP/logo/docs-logo-white.svg?fit=max\u0026auto=format\u0026n=n1nBGJuSy2RrQUfP\u0026q=85\u0026s=b817f112d42f537094394d0e00455074","dark":"https://mintcdn.com/scrumscom/n1nBGJuSy2RrQUfP/logo/docs-logo-white.svg?fit=max\u0026auto=format\u0026n=n1nBGJuSy2RrQUfP\u0026q=85\u0026s=b817f112d42f537094394d0e00455074","href":"https://www.scrums.com"},"favicon":"https://mintcdn.com/scrumscom/6AP6JVTPk022p4QK/favicon.png?fit=max\u0026auto=format\u0026n=6AP6JVTPk022p4QK\u0026q=85\u0026s=ce075766557211d58afb1225e9b1ede7","appearance":{"default":"system"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://status.scrums.com","label":"Status"},{"href":"mailto:support@scrums.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.scrums.com/sign-up"}},"footer":{"socials":{"x":"https://x.com/scrumsdotcom","linkedin":"https://www.linkedin.com/company/scrumsdotcom","youtube":"https://www.youtube.com/@scrumsdotcom"},"links":[{"header":"Enterprise AI Platform","items":[{"label":"Platform (SEOP)","href":"https://www.scrums.com/platform"},{"label":"AI Agent Gateway","href":"https://www.scrums.com/platform/ai-gateway"},{"label":"DORA Metrics","href":"https://www.scrums.com/platform/dora-metrics"},{"label":"Developer Productivity","href":"https://www.scrums.com/platform/developer-productivity"},{"label":"Engineering Capacity Planning","href":"https://www.scrums.com/platform/engineering-capacity-planning"},{"label":"AI Agent Harness","href":"https://www.scrums.com/platform/agent-harness"},{"label":"Pricing","href":"https://www.scrums.com/pricing"}]},{"header":"AI Development","items":[{"label":"AI Development Services","href":"https://www.scrums.com/ai-development"},{"label":"AI Agent Development","href":"https://www.scrums.com/ai-development/ai-agent-development"},{"label":"Generative AI Development","href":"https://www.scrums.com/ai-development/generative-ai-development"},{"label":"Custom Software Development","href":"https://www.scrums.com/ai-development/custom-software-development"},{"label":"Mobile App Development","href":"https://www.scrums.com/ai-development/mobile-app-development"},{"label":"Scopes","href":"https://www.scrums.com/ai-development/scopes"}]},{"header":"Hire Engineers","items":[{"label":"Hire AI Developers","href":"https://www.scrums.com/hire"},{"label":"Engineers","href":"https://www.scrums.com/hire/engineers"},{"label":"Dedicated Development Team","href":"https://www.scrums.com/hire/teams"},{"label":"Staff Augmentation","href":"https://www.scrums.com/hire/staff-augmentation"},{"label":"Forward Deployed Engineers","href":"https://www.scrums.com/hire/forward-deployed-engineers"},{"label":"AI Catalog","href":"https://www.scrums.com/catalog"}]},{"header":"Company","items":[{"label":"About Us","href":"https://www.scrums.com/about-us"},{"label":"Contact Us","href":"https://www.scrums.com/contact-us"},{"label":"Blog","href":"https://www.scrums.com/blog"},{"label":"Careers","href":"https://www.scrums.com/careers"},{"label":"Legal Policies","href":"https://www.scrums.com/legal"},{"label":"Scrums.com Status","href":"https://status.scrums.com"}]}]},"search":{"prompt":"Search the Scrums.com Enterprise AI Platform docs"},"seo":{"metatags":{"og:site_name":"Scrums.com Docs","keywords":"Scrums.com, enterprise AI platform for software engineering, Software Engineering Orchestration Platform, SEOP, AI gateway, DORA metrics, developer productivity platform, engineering capacity planning, AI agent harness, MCP gateway, AI development services, hire AI engineers"},"organization":{"name":"Scrums.com","url":"https://www.scrums.com","sameAs":["https://x.com/scrumsdotcom","https://www.linkedin.com/company/scrumsdotcom","https://www.youtube.com/@scrumsdotcom"]},"indexing":"navigable"},"fonts":{"heading":{"family":"IBM Plex Mono"},"body":{"family":"IBM Plex Sans"}},"integrations":{"gtm":{"tagId":"GTM-TMGKR55"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"interaction":{"drilldown":true},"metadata":{"timestamp":true},"markdown":{"instructions":["Scrums.com is the enterprise AI platform for software engineering. SEOP, the Enterprise AI Software Engineering Orchestration Platform, is the architecture of the platform: one control plane for AI agents, models, engineers and infrastructure.","Write the entity name as Scrums.com. Never write the bare word Scrums.","Platform capabilities are documented under /platform. Delivery Plans (under /ai-development) and Hire Engineers are documented under Platform Services. The AI Catalog is documented under /catalog. Each docs page links to its page on https://www.scrums.com."]},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"scrumscom","hasAudioNarration":false,"actualSubdomain":"scrumscom","customDomains":["www.scrums.com"],"gitSource":{"type":"github","owner":"scrumsdotcom","repo":"scrums","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6af59650483e41d0aa569850","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API \u0026 CLI","count":47},{"language":"default","tag":"Core Platform","count":24},{"language":"default","tag":"Integrations","count":23},{"language":"default","tag":"Enterprise AI Platform","count":17},{"language":"default","tag":"Get Started","count":17},{"language":"default","tag":"Platform Services","count":14},{"language":"default","tag":"AI Catalog","count":10},{"language":"default","tag":"Overview","count":9},{"language":"default","tag":"Hire Engineers","count":8},{"language":"default","tag":"Getting Started","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--navbar-bg: #0d46db;--footer-bg: #041745;--navbar-fg-muted: rgba(255, 255, 255, 0.8);--navbar-border: rgba(255, 255, 255, 0.18);--footer-fg-muted: rgba(255, 255, 255, 0.72);--navbar-underline: #fff;--font-mono: \"IBM Plex Mono\", ui-monospace, SFMono-Regular, Menlo, monospace}#navbar-transition{background-color:var(--navbar-bg)!important;border-bottom-color:var(--navbar-border)!important}#navbar{color:#fff}#navbar [class*=\"text-gray-\"]{color:var(--navbar-fg-muted)!important}#navbar [class*=\"fill-gray-\"]{fill:var(--navbar-fg-muted)!important}#navbar a:hover [class*=\"text-gray-\"],#navbar button:hover [class*=\"text-gray-\"],#navbar [class*=\"text-gray-\"]:hover{color:#fff!important}#navbar .font-semibold[class*=\"text-gray-9\"]{color:#fff!important}#navbar .nav-tabs-item{color:var(--navbar-fg-muted)!important}#navbar .nav-tabs-item:hover,#navbar .nav-tabs-item[data-active=\"true\"]{color:#fff!important}#navbar .nav-tabs-item[data-active=\"true\"]>div,#navbar .nav-tabs-item:hover>div{background-color:var(--navbar-underline)!important}#search-bar-entry{background-color:rgba(255, 255, 255, 0.12)!important;color:var(--navbar-fg-muted)!important;filter:none!important;--tw-ring-color: rgba(255, 255, 255, 0.25) !important}#search-bar-entry:hover{background-color:rgba(255, 255, 255, 0.18)!important;--tw-ring-color: rgba(255, 255, 255, 0.4) !important}#theme-preference-menu-trigger:hover svg{color:#fff!important}#topbar-cta-button a>span:first-child{background-color:#fff!important}#topbar-cta-button a span,#topbar-cta-button a svg{color:var(--navbar-bg)!important}#footer{background-color:var(--footer-bg)!important;border-top-color:rgba(255, 255, 255, 0.12)!important}#footer [class*=\"text-gray-\"]{color:var(--footer-fg-muted)!important}#footer [class~=\"text-gray-950\"]{color:#fff!important}#footer a:hover,#footer a:hover [class*=\"text-gray-\"]{color:#fff!important}#footer [class~=\"bg-gray-100\"]{background-color:rgba(255, 255, 255, 0.12)!important}#footer svg[class*=\"bg-gray-\"]{background-color:var(--footer-fg-muted)!important}#footer a:hover svg[class*=\"bg-gray-\"]{background-color:#fff!important}#footer button[class~=\"bg-gray-200\"]{background-color:rgba(255, 255, 255, 0.14)!important}#footer [class~=\"text-gray-950\"]{font-family:var(--font-mono)}#footer p[class*=\"font-semibold\"]{white-space:normal!important;overflow-wrap:anywhere}#footer .footer-tagline{font-family:var(--font-mono);max-width:30rem}#footer .footer-tagline-title{font-size:1.0625rem;line-height:1.4;font-weight:600;color:#fff;margin:0 0 0.5rem}#footer .footer-tagline-sub{font-size:0.8125rem;line-height:1.6;font-weight:400;color:var(--footer-fg-muted);margin:0}@media (min-width: 768px){#footer .footer-brand-col{justify-content:flex-start!important;row-gap:1.75rem!important}}@media (min-width: 1024px){#footer .footer-tagline{max-width:20rem}}@media (max-width: 1023px){#footer .footer-brand-row{flex-direction:column!important}}@media (max-width: 767px){#footer .footer-brand-col{flex-wrap:wrap;row-gap:1.5rem}#footer .footer-tagline{flex-basis:100%;text-align:center}}"}],"page":{"pagePath":"api-reference/core/tasks","slug":"/api-reference/core/tasks","pageMetadata":{"title":"Tasks \u0026 Work Items","description":"Work items in the delivery pipeline. Tasks are linked to Service Lines, tagged with projects, and synced bidirectionally with connected project management tools.","href":"/api-reference/core/tasks"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Work items in the delivery pipeline. Tasks are linked to Service Lines, tagged with projects, and synced bidirectionally with connected project management tools.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[`The Scrums.com API is `,_jsx(_components.strong,{children:`planned and not yet publicly available`}),`. Endpoints and behaviour are subject to change before release.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`Tasks (`,_jsx(_components.code,{children:`TSK-*`}),`) are the work items that flow through delivery on the platform. They represent the discrete units of work being tracked, executed, and completed within a Service Line context.`]}),`\n`,_jsxs(_components.p,{children:[`Tasks are not a generic to-do list. They are delivery-operational records: linked to the `,_jsx(_components.code,{children:`LIN-*`}),` that owns the delivery context, tagged with `,_jsx(_components.code,{children:`PROJ-*`}),` labels for cross-cutting project visibility, synced with connected PM tools (Jira, ClickUp, Linear), and observable through delivery velocity metrics in the `,_jsx(_components.a,{href:`/api-reference/core/observability`,children:`Observability API`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`core-concepts`,children:`Core Concepts`}),`\n`,_jsx(Heading,{level:`3`,id:`task-scope`,children:`Task scope`}),`\n`,_jsx(_components.p,{children:`Tasks are scoped to a workspace. They carry:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.code,{children:`service_line_id`}),` indicating which `,_jsx(_components.code,{children:`LIN-*`}),` the work belongs to`]}),`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.code,{children:`project_id`}),` (optional) for cross-platform project grouping`]}),`\n`,_jsxs(_components.li,{children:[`An `,_jsx(_components.code,{children:`external_id`}),` and `,_jsx(_components.code,{children:`external_source`}),` if synced from a connected PM tool`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`sync-with-external-tools`,children:`Sync with external tools`}),`\n`,_jsxs(_components.p,{children:[`When a `,_jsx(_components.a,{href:`/api-reference/core/integrations`,children:`Jira or ClickUp integration`}),` is active in a workspace, tasks are synced bidirectionally. Status changes made in the Scrums platform propagate to the external tool; updates in the external tool propagate to the platform. The `,_jsx(_components.code,{children:`external_id`}),` and `,_jsx(_components.code,{children:`external_source`}),` fields record the binding.`]}),`\n`,_jsx(Heading,{level:`3`,id:`tasks-and-delivery-metrics`,children:`Tasks and delivery metrics`}),`\n`,_jsxs(_components.p,{children:[`Completed tasks feed the `,_jsx(_components.code,{children:`delivery_velocity`}),` metric in the `,_jsx(_components.a,{href:`/api-reference/core/observability`,children:`Observability API`}),`. The rate of task completion per Service Line, relative to historical baselines, is a primary health signal.`]}),`\n`,_jsx(Heading,{level:`3`,id:`tasks-and-agents`,children:`Tasks and agents`}),`\n`,_jsxs(_components.p,{children:[`Agents can create, update, and close tasks as part of their execution. Every agent-driven task change is recorded in the `,_jsx(_components.a,{href:`/api-reference/core/audit-logs`,children:`Audit Logs`}),` and tagged with the agent’s `,_jsx(_components.code,{children:`AGT-*`}),` identifier.`]}),`\n`,_jsx(Heading,{level:`2`,id:`endpoints`,children:`Endpoints`}),`\n`,_jsx(Heading,{level:`3`,id:`get-/v1/tasks`,children:`GET /v1/tasks`}),`\n`,_jsx(_components.p,{children:`List tasks for a workspace or filtered by Service Line, project, or status.`}),`\n`,_jsx(Heading,{level:`4`,id:`request`,children:`Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /v1/tasks?workspace_id=WS-26-000021`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`service_line_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`LIN-26-084729`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`in_progress`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`toke`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Query parameters`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`workspace_id`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Required (or `,_jsx(_components.code,{children:`service_line_id`}),`). Workspace scope.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`service_line_id`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Filter to a specific `,_jsx(_components.code,{children:`LIN-*`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`project_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Filter by project label`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`assignee_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Filter by assigned user`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`enum`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`backlog`}),`, `,_jsx(_components.code,{children:`in_progress`}),`, `,_jsx(_components.code,{children:`in_review`}),`, `,_jsx(_components.code,{children:`done`}),`, `,_jsx(_components.code,{children:`cancelled`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`priority`})}),_jsx(_components.td,{children:`enum`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, `,_jsx(_components.code,{children:`high`}),`, `,_jsx(_components.code,{children:`critical`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cursor`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Pagination cursor`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`limit`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Results per page (max 100, default 25)`})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`response`,children:`Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`22`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TSK-26-018841\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workspace_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"WS-26-000021\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"service_line_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LIN-26-084729\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"project_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PROJ-26-004281\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Implement idempotency key validation on payment endpoint\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"in_progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"priority\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"assignee_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USR-26-000044\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"external_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"APEX-1042\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"external_source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jira\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-04-10T10:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-04-14T16:00:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"meta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cursor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"has_more\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`post-/v1/tasks`,children:`POST /v1/tasks`}),`\n`,_jsx(_components.p,{children:`Create a new task.`}),`\n`,_jsx(Heading,{level:`4`,id:`request-2`,children:`Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workspace_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"WS-26-000021\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"service_line_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LIN-26-084729\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"project_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PROJ-26-004281\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Add distributed tracing to payment service\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Instrument the payments API with OpenTelemetry spans to support end-to-end trace correlation.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"priority\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"medium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"assignee_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USR-26-000044\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"backlog\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`response-2`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Returns the created task record.`}),`\n`,_jsx(Heading,{level:`4`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`If the workspace has an active Jira or ClickUp integration with project mapping configured, a corresponding issue is created in the external system automatically.`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`service_line_id`}),` is required unless the workspace setting `,_jsx(_components.code,{children:`require_task_service_line`}),` is disabled.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`get-/v1/tasks/`,children:`GET /v1/tasks/`}),`\n`,_jsx(_components.p,{children:`Retrieve a task with full detail.`}),`\n`,_jsx(Heading,{level:`4`,id:`response-3`,children:`Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TSK-26-018841\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workspace_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"WS-26-000021\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"service_line_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LIN-26-084729\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"project_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PROJ-26-004281\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Implement idempotency key validation on payment endpoint\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Payment endpoint must reject duplicate requests within 24 hours using the idempotency key.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"in_progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"priority\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"assignee_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USR-26-000044\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"external_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"APEX-1042\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"external_source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jira\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"external_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://apexdigital.atlassian.net/browse/APEX-1042\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"history\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-04-10T10:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"change\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"from\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"backlog\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"in_progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"by\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USR-26-000044\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-04-10T10:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-04-14T16:00:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`patch-/v1/tasks/`,children:`PATCH /v1/tasks/`}),`\n`,_jsx(_components.p,{children:`Update a task.`}),`\n`,_jsx(Heading,{level:`4`,id:`request-3`,children:`Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"in_review\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"assignee_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USR-26-000081\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`notes-2`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Status changes propagate to the external PM tool if a sync integration is active.`}),`\n`,_jsxs(_components.li,{children:[`Setting `,_jsx(_components.code,{children:`status: \"done\"`}),` or `,_jsx(_components.code,{children:`status: \"cancelled\"`}),` triggers a `,_jsx(_components.code,{children:`task.status_changed`}),` event and increments the delivery velocity counter for the linked `,_jsx(_components.code,{children:`LIN-*`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`common-workflows`,children:`Common Workflows`}),`\n`,_jsx(Heading,{level:`3`,id:`reviewing-open-work-for-a-project`,children:`Reviewing open work for a project`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# All open tasks for a project, across all service lines`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /v1/tasks?workspace_id=WS-26-000021`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`project_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`PROJ-26-004281`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`in_progress,backlog`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Drill into a specific service line's tasks`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /v1/tasks?service_line_id=LIN-26-084729`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`in_progress`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`agent-creating-and-closing-a-task`,children:`Agent creating and closing a task`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Agent creates a task based on analysis output`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /v1/tasks`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`\"service_line_id\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"LIN-26-091100\",`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"title\":`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Fix memory leak in worker process - identified by analysis\",`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"priority\":`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"high\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Agent closes the task after completing the fix`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`PATCH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /v1/tasks/TSK-26-018901`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"done\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`objects`,children:`Objects`}),`\n`,_jsx(Heading,{level:`3`,id:`task`,children:`Task`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`TSK-*`}),` identifier`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`workspace_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Scoped workspace`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`service_line_id`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Owning `,_jsx(_components.code,{children:`LIN-*`}),` (delivery context)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`project_id`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Optional `,_jsx(_components.code,{children:`PROJ-*`}),` label`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Task title`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Full task description`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`enum`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`backlog`}),`, `,_jsx(_components.code,{children:`in_progress`}),`, `,_jsx(_components.code,{children:`in_review`}),`, `,_jsx(_components.code,{children:`done`}),`, `,_jsx(_components.code,{children:`cancelled`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`priority`})}),_jsx(_components.td,{children:`enum`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, `,_jsx(_components.code,{children:`high`}),`, `,_jsx(_components.code,{children:`critical`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`assignee_id`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`USR-*`}),` of the assignee`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`external_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`ID in the connected PM tool`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`external_source`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Source tool identifier (e.g. `,_jsx(_components.code,{children:`jira`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`external_url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Deep link to the external issue`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`history`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Status change log (returned on GET by ID)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`created_at`})}),_jsx(_components.td,{children:`datetime`}),_jsx(_components.td,{children:`Creation timestamp`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`updated_at`})}),_jsx(_components.td,{children:`datetime`}),_jsx(_components.td,{children:`Last modification timestamp`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Always set `,_jsx(_components.code,{children:`service_line_id`}),` on tasks.`]}),` Unlinked tasks do not contribute to delivery velocity metrics and are invisible to the observability layer. The workspace setting `,_jsx(_components.code,{children:`require_task_service_line`}),` can enforce this automatically.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Use `,_jsx(_components.code,{children:`project_id`}),` for cross-cutting visibility, not for filtering by team.`]}),` Teams are represented by workspaces. Projects are for initiative-level grouping across teams and product lines.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Let the sync integration own external task creation.`}),` When a Jira or ClickUp integration is active, create tasks via the Scrums API and let the sync create the external issue. Do not create issues in both systems manually — you will get duplicates.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Tasks \u0026 Work Items","description":"Work items in the delivery pipeline. Tasks are linked to Service Lines, tagged with projects, and synced bidirectionally with connected project management tools.","href":"/api-reference/core/tasks"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Core Concepts","slug":"core-concepts","depth":2,"children":[{"title":"Task scope","slug":"task-scope","depth":3,"children":[]},{"title":"Sync with external tools","slug":"sync-with-external-tools","depth":3,"children":[]},{"title":"Tasks and delivery metrics","slug":"tasks-and-delivery-metrics","depth":3,"children":[]},{"title":"Tasks and agents","slug":"tasks-and-agents","depth":3,"children":[]}]},{"title":"Endpoints","slug":"endpoints","depth":2,"children":[{"title":"GET /v1/tasks","slug":"get-/v1/tasks","depth":3,"children":[]},{"title":"Request","slug":"request","depth":4,"children":[]},{"title":"Response","slug":"response","depth":4,"children":[]},{"title":"POST /v1/tasks","slug":"post-/v1/tasks","depth":3,"children":[]},{"title":"Request","slug":"request-2","depth":4,"children":[]},{"title":"Response","slug":"response-2","depth":4,"children":[]},{"title":"Notes","slug":"notes","depth":4,"children":[]},{"title":"GET /v1/tasks/","slug":"get-/v1/tasks/","depth":3,"children":[]},{"title":"Response","slug":"response-3","depth":4,"children":[]},{"title":"PATCH /v1/tasks/","slug":"patch-/v1/tasks/","depth":3,"children":[]},{"title":"Request","slug":"request-3","depth":4,"children":[]},{"title":"Notes","slug":"notes-2","depth":4,"children":[]}]},{"title":"Common Workflows","slug":"common-workflows","depth":2,"children":[{"title":"Reviewing open work for a project","slug":"reviewing-open-work-for-a-project","depth":3,"children":[]},{"title":"Agent creating and closing a task","slug":"agent-creating-and-closing-a-task","depth":3,"children":[]}]},{"title":"Objects","slug":"objects","depth":2,"children":[{"title":"Task","slug":"task","depth":3,"children":[]}]},{"title":"Best Practices","slug":"best-practices","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/scrumscom/0cbbf323de558e79/footer-tagline.js"],"subdomain":"scrumscom","siteName":"Scrums.com Docs","title":"Tasks \u0026 Work Items - Scrums.com Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-15T20:08:17.516Z","gitLastModified":"2026-10-02T13:13:09.000Z","originalFileLocation":"api-reference/core/tasks.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Work items in the delivery pipeline. Tasks are linked to Service Lines, tagged with projects, and synced bidirectionally with connected project management tools.\">\u003cmeta data-mint-head name=\"keywords\" content=\"Scrums.com, enterprise AI platform for software engineering, Software Engineering Orchestration Platform, SEOP, AI gateway, DORA metrics, developer productivity platform, engineering capacity planning, AI agent harness, MCP gateway, AI development services, hire AI engineers\">\u003cmeta data-mint-head name=\"application-name\" content=\"Scrums.com Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Tasks \u0026amp; Work Items - Scrums.com Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Work items in the delivery pipeline. Tasks are linked to Service Lines, tagged with projects, and synced bidirectionally with connected project management tools.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Scrums.com Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.scrums.com/docs/api-reference/core/tasks\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://scrumscom.mintlify.site/docs/_mintlify/api/og/v2?division=Core+Platform\u0026amp;title=Tasks+%26+Work+Items\u0026amp;description=Work+items+in+the+delivery+pipeline.+Tasks+are+linked+to+Service+Lines%2C+tagged+with+projects%2C+and+synced+bidirectionally+with+connected+project+management+tools\u0026amp;theme=087ff90cf5503e09b7c27fb2\u0026amp;signature=9c366f31454343bc2f2dbbb112ef11ada9f4b84b5011c1a2b6ba68f396c392be\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Tasks \u0026amp; Work Items - Scrums.com Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Work items in the delivery pipeline. Tasks are linked to Service Lines, tagged with projects, and synced bidirectionally with connected project management tools.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://scrumscom.mintlify.site/docs/_mintlify/api/og/v2?division=Core+Platform\u0026amp;title=Tasks+%26+Work+Items\u0026amp;description=Work+items+in+the+delivery+pipeline.+Tasks+are+linked+to+Service+Lines%2C+tagged+with+projects%2C+and+synced+bidirectionally+with+connected+project+management+tools\u0026amp;theme=087ff90cf5503e09b7c27fb2\u0026amp;signature=9c366f31454343bc2f2dbbb112ef11ada9f4b84b5011c1a2b6ba68f396c392be\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/scrumscom/MLKgil8wiM0iy1Q1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Scrums.com Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#145aff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.scrums.com/docs/api-reference/core/tasks\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/core/tasks.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.scrums.com/#organization\",\"name\":\"Scrums.com\",\"url\":\"https://www.scrums.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/scrumscom/n1nBGJuSy2RrQUfP/logo/docs-logo-white.svg?fit=max\u0026auto=format\u0026n=n1nBGJuSy2RrQUfP\u0026q=85\u0026s=b817f112d42f537094394d0e00455074\"},\"sameAs\":[\"https://x.com/scrumsdotcom\",\"https://www.linkedin.com/company/scrumsdotcom\",\"https://www.youtube.com/@scrumsdotcom\"]},{\"@type\":\"WebSite\",\"@id\":\"https://www.scrums.com/docs#website\",\"name\":\"Scrums.com Docs\",\"url\":\"https://www.scrums.com/docs\",\"publisher\":{\"@id\":\"https://www.scrums.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.scrums.com/docs/api-reference/core/tasks#webpage\",\"url\":\"https://www.scrums.com/docs/api-reference/core/tasks\",\"name\":\"Tasks \u0026 Work Items\",\"description\":\"Work items in the delivery pipeline. Tasks are linked to Service Lines, tagged with projects, and synced bidirectionally with connected project management tools.\",\"dateModified\":\"2026-10-02T13:13:09.000Z\",\"isPartOf\":{\"@id\":\"https://www.scrums.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.scrums.com/docs/api-reference/core/tasks#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.scrums.com/docs/api-reference/core/tasks#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core Platform\",\"item\":\"https://www.scrums.com/docs/api-reference/core/accounts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tasks \u0026 Work Items\",\"item\":\"https://www.scrums.com/docs/api-reference/core/tasks\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.scrums.com/docs/api-reference/core/tasks#article\",\"headline\":\"Tasks \u0026 Work Items\",\"name\":\"Tasks \u0026 Work Items\",\"description\":\"Work items in the delivery pipeline. Tasks are linked to Service Lines, tagged with projects, and synced bidirectionally with connected project management tools.\",\"url\":\"https://www.scrums.com/docs/api-reference/core/tasks\",\"mainEntityOfPage\":{\"@id\":\"https://www.scrums.com/docs/api-reference/core/tasks#webpage\"},\"dateModified\":\"2026-10-02T13:13:09.000Z\",\"publisher\":{\"@id\":\"https://www.scrums.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.scrums.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Scrums.com Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Scrums.com\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/core/tasks.md","siteName":"Scrums.com Docs","nav":{"global":null,"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":""}]},{"tab":"Enterprise AI Platform","pages":[{"title":"Enterprise AI Platform","href":"/platform/overview"}]},{"tab":"AI Catalog","pages":[{"title":"AI Catalog","href":"/catalog/overview"}]},{"tab":"Platform Services","pages":[{"title":"Platform Services","href":"/ai-development"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/integrations"}]},{"tab":"API \u0026 CLI","groups":[{"group":"Overview","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"group":"Organizations","pages":[{"title":"Organizations","href":"/api-reference/core/organizations"},{"title":"List organizations","openapi":"GET /orgs","href":"/api-reference/endpoints/organizations/list-orgs"}]},{"group":"Workspaces","pages":[{"title":"Workspaces","href":"/api-reference/core/workspaces"},{"title":"List workspaces","openapi":"GET /workspaces","href":"/api-reference/endpoints/workspaces/list-workspaces"}]},{"group":"Service Lines","pages":[{"title":"Service Lines","href":"/api-reference/core/service-lines"},{"title":"List Service Lines","openapi":"GET /service-lines","href":"/api-reference/endpoints/service-lines/list-service-lines"},{"title":"Create a Service Line","openapi":"POST /service-lines","href":"/api-reference/endpoints/service-lines/create-service-line"},{"title":"Get a Service Line","openapi":"GET /service-lines/{lin_code}","href":"/api-reference/endpoints/service-lines/get-service-line"},{"title":"Get Service Line usage","openapi":"GET /service-lines/{lin_code}/usage","href":"/api-reference/endpoints/service-lines/get-service-line-usage"}]},{"group":"Core Platform","pages":[{"title":"Accounts","href":"/api-reference/core/accounts"},{"title":"Agents","href":"/api-reference/core/agents"},{"title":"API Keys","href":"/api-reference/core/api-keys"},{"title":"Artifacts","href":"/api-reference/core/artifacts"},{"title":"Audit Logs","href":"/api-reference/core/audit-logs"},{"title":"Billing \u0026 Invoices","href":"/api-reference/core/billing-invoices"},{"title":"Capacity \u0026 Allocation","href":"/api-reference/core/capacity"},{"title":"Environments","href":"/api-reference/core/environments"},{"title":"Events","href":"/api-reference/core/events"},{"title":"Execution API","href":"/api-reference/core/execution"},{"title":"Incidents \u0026 Alerts","href":"/api-reference/core/incidents"},{"title":"Integrations API","sidebarTitle":"Integrations","href":"/api-reference/core/integrations"},{"title":"Invoices","href":"/api-reference/core/invoices"},{"title":"Memberships","href":"/api-reference/core/memberships"},{"title":"Plans","href":"/api-reference/core/plans"},{"title":"Policies","href":"/api-reference/core/policies"},{"title":"Projects","href":"/api-reference/core/projects"},{"title":"Resources API","sidebarTitle":"Resources","href":"/api-reference/core/resources"},{"title":"Subscriptions","description":"An organization's active plan subscription. Subscriptions determine which Service Lines can be activated, gate usage limits, and generate invoices at the end of each billing period.","href":"/api-reference/core/subscriptions"},{"title":"Tasks \u0026 Work Items","href":"/api-reference/core/tasks"},{"title":"Usage \u0026 Metering","description":"Metered usage events and consumption summaries for all active Service Lines. Usage is the source of truth for billing calculations.","href":"/api-reference/core/usage-metering"},{"title":"Usage Records","href":"/api-reference/core/usage-records"},{"title":"Users \u0026 Roles","href":"/api-reference/core/users"},{"title":"Webhooks","href":"/api-reference/core/webhooks"}]},{"group":"Observability \u0026 Metrics","pages":[{"title":"Observability \u0026 Metrics","href":"/api-reference/core/observability"},{"title":"Get workspace health","openapi":"GET /observability/health","href":"/api-reference/endpoints/observability/get-health"}]},{"group":"ODS","pages":[{"title":"ODS API","href":"/api-reference/product/ods"},{"title":"Submit an ODS request","openapi":"POST /capabilities/ods/requests","href":"/api-reference/endpoints/ods/create-ods-request"}]},{"group":"Talent Marketplace","pages":[{"title":"Talent Marketplace API","href":"/api-reference/product/talent"},{"title":"Create a talent request","openapi":"POST /talent/requests","href":"/api-reference/endpoints/talent/create-talent-request"}]},{"group":"AI Agent Gateway","pages":[{"title":"AI Agent Gateway API","href":"/api-reference/product/agent-gateway"},{"title":"Trigger an agent run","openapi":"POST /agents/{agent_id}/runs","href":"/api-reference/endpoints/agents/create-agent-run"}]},{"group":"Product Lines","pages":[{"title":"Managed Services API","href":"/api-reference/product/managed-services"},{"title":"Platforms \u0026 Infrastructure API","href":"/api-reference/product/infrastructure"},{"title":"Developer Intelligence API","href":"/api-reference/product/intelligence"}]},{"group":"Machine-Readable Company Data","pages":[{"title":"Scrums.com Entity Graph","href":"/company/entity-graph"}]},{"group":"CLI","pages":[{"title":"CLI","href":"/cli/introduction"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Tasks \u0026 Work Items - Scrums.com Docs","buildId":"dpl_Aw98ji4XvBsgtZwL1VrkUF9ehFqz","deploymentId":"dpl_Aw98ji4XvBsgtZwL1VrkUF9ehFqz","dynamics":[],"chunks":[]}