GET/api/todo/v1/tasks/{reference}

view /api/todo/v1/tasks/{reference}

The approved contract does not provide a longer purpose statement for this operation.

App
To Do
Contract
To Do module API 1.9.0
Lifecycle
preview
Runtime
restricted
Operation ID
mop_9937kGo1cJ2DBU7-nZBLxQZuNbwcOBk3
Canonical origin
https://api.runonvision.com

Purpose and use cases

view /api/todo/v1/tasks/{reference}

The owning App is Vision To Do. To Do owns task data, domain rules, workspace authorization and command execution. Vision Core brokers human operation grants. Publishing this snapshot creates no new client grants or external access.

Business use cases and out-of-scope behavior are not yet declared in the approved OpenAPI description.

Request

GET https://api.runonvision.com/api/todo/v1/tasks/{reference}

Authentication and authorization

Send a Vision-issued bearer token for the exact App audience. The token must include the todo entitlement and satisfy the explicit to do workspace bound to the authenticated identity binding.

  • Required scope: todo:tasks:read

Human roles are not declared in OpenAPI. Record-level and business permission checks remain the owning App's authority.

Headers

  • Authorization: Bearer <access-token> — required.
  • Accept: application/json — recommended where a JSON response is declared.

Undeclared tracing, idempotency, conditional-request, and version headers are not assumed on this page.

Path and query parameters

NameLocationTypeRulesDescription
referencepathstringrequired; maximum length 40; pattern ^[0-9a-fA-F-]{36}$Task UUID.

Request body

This operation declares no request body.

Runnable examples

cURL
curl 'https://api.runonvision.com/api/todo/v1/tasks/${REFERENCE}' \
  --request GET \
  --header 'authorization: Bearer ${ACCESS_TOKEN}' \
  --header 'accept: application/json'
JavaScript (server-side)
const response = await fetch('https://api.runonvision.com/api/todo/v1/tasks/${REFERENCE}', {
  method: 'GET',
  headers: {
    authorization: `Bearer ${ACCESS_TOKEN}`,
    accept: 'application/json',
  },
}

if (!response.ok) throw new Error(`Vision API ${response.status}`)
const result = await response.json()
Python 3 standard library
import json
import urllib.parse
import urllib.request

request = urllib.request.Request(
    'https://api.runonvision.com/api/todo/v1/tasks/${REFERENCE}',
    data=None,
    headers={
    "Accept": "application/json",
    "Authorization": "Bearer <ACCESS_TOKEN>"
},
    method='GET',
)
with urllib.request.urlopen(request, timeout=30) as response:
    result = json.load(response)

The current TypeScript reference client covers Platform token exchange and core reads. No native SDK helper is declared for this operation; use the HTTP contract directly and follow the SDK guidance.

Responses

StatusMeaningSchema
200Successful responseobject
400Invalid request parameters or body (INVALID_REQUEST)object
401Vision credential missing or invalid (AUTHENTICATION_REQUIRED or INVALID_CREDENTIAL)object
403Scope, grant, identity class, or workspace role denied (PERMISSION_DENIED)object
404Requested task, list, subtask, reminder, or other command target was not found (NOT_FOUND)object
503Database, authorization dependency, or other required dependency unavailable (DEPENDENCY_UNAVAILABLE)object

Success response schema

FieldTypeRulesDescription
itemobjectrequiredNot described in the contract.
item.allDaybooleanrequiredNot described in the contract.
item.archivedbooleanrequiredNot described in the contract.
item.archiveOfferarchive | restore | nonerequiredNot described in the contract.
item.assignedToobject | nullrequiredNot described in the contract.
item.canRemovebooleanrequiredNot described in the contract.
item.canWorkbooleanrequiredNot described in the contract.
item.completedAtstring · date-time | nullrequiredNot described in the contract.
item.createdAtstring · date-timerequired; pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$Not described in the contract.
item.deadlineAtstring · date-time | nullrequiredNot described in the contract.
item.descriptionstring | nullrequiredNot described in the contract.
item.dueAtstring · date-time | nullrequiredNot described in the contract.
item.dueBucketRunning late | Today | Upcoming | nullrequiredNot described in the contract.
item.estimatedMinutesinteger | nullrequiredNot described in the contract.
item.idstring · uuidrequired; pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Not described in the contract.
item.isSamplebooleanrequiredNot described in the contract.
item.listColorstring | nullrequiredNot described in the contract.
item.listIdstring · uuidrequired; pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Not described in the contract.
item.listNamestringrequiredNot described in the contract.
item.positionintegerrequired; minimum 0; maximum 9007199254740991Not described in the contract.
item.prioritynone | low | medium | highrequiredNot described in the contract.
item.recurrenceFromdue | completion | nullrequiredNot described in the contract.
item.recurrenceLabelstring | nullrequiredNot described in the contract.
item.recurrenceRulestring | nullrequiredNot described in the contract.
item.reminderAtstring · date-time | nullrequiredNot described in the contract.
item.remindersarrayrequiredNot described in the contract.
item.starredbooleanrequiredNot described in the contract.
item.startAtstring · date-time | nullrequiredNot described in the contract.
item.statuspending | in_progress | completed | cancelledrequiredNot described in the contract.
item.subtaskDoneintegerrequired; minimum 0; maximum 9007199254740991Not described in the contract.
item.subtasksarrayrequiredNot described in the contract.
item.subtaskTotalintegerrequired; minimum 0; maximum 9007199254740991Not described in the contract.
item.timeZonestring | nullrequiredNot described in the contract.
item.titlestringrequiredNot described in the contract.
item.updatedAtstring · date-timerequired; pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$Not described in the contract.
schemaVersion"todo.task-detail.v1"requiredNot described in the contract.
200 illustrative response
{
  "item": {
    "allDay": true,
    "archived": true,
    "archiveOffer": "archive",
    "assignedTo": {
      "displayName": "<displayName>",
      "id": "00000000-0000-4000-8000-000000000001",
      "subject": "<subject>"
    },
    "canRemove": true,
    "canWork": true,
    "completedAt": "2026-08-21T18:00:00Z",
    "createdAt": "2026-08-21T18:00:00Z",
    "deadlineAt": "2026-08-21T18:00:00Z",
    "description": "<description>",
    "dueAt": "2026-08-21T18:00:00Z",
    "dueBucket": "Running late",
    "estimatedMinutes": 1,
    "id": "00000000-0000-4000-8000-000000000001",
    "isSample": true,
    "listColor": "<listColor>",
    "listId": "00000000-0000-4000-8000-000000000001",
    "listName": "<listName>",
    "position": 0,
    "priority": "none",
    "recurrenceFrom": "due",
    "recurrenceLabel": "<recurrenceLabel>",
    "recurrenceRule": "<recurrenceRule>",
    "reminderAt": "2026-08-21T18:00:00Z",
    "reminders": [
      {
        "anchor": "absolute",
        "channel": "in_app",
        "deliveredAt": "2026-08-21T18:00:00Z",
        "id": "00000000-0000-4000-8000-000000000001",
        "note": "<note>",
        "offsetMinutes": 0,
        "remindAt": "2026-08-21T18:00:00Z"
      }
    ],
    "starred": true,
    "startAt": "2026-08-21T18:00:00Z",
    "status": "pending",
    "subtaskDone": 0,
    "subtasks": [
      {
        "done": true,
        "id": "00000000-0000-4000-8000-000000000001",
        "position": 0,
        "title": "<title>"
      }
    ],
    "subtaskTotal": 0,
    "timeZone": "<timeZone>",
    "title": "<title>",
    "updatedAt": "2026-08-21T18:00:00Z"
  },
  "schemaVersion": "todo.task-detail.v1"
}

Errors and troubleshooting

Error bodies and codes are shown only where the approved contract declares them. Use status, the declared error schema, and any correlation identifier returned by the App; do not infer that two Apps share one envelope.

  • 400 — Invalid request parameters or body (INVALID_REQUEST)
  • 401 — Vision credential missing or invalid (AUTHENTICATION_REQUIRED or INVALID_CREDENTIAL)
  • 403 — Scope, grant, identity class, or workspace role denied (PERMISSION_DENIED)
  • 404 — Requested task, list, subtask, reminder, or other command target was not found (NOT_FOUND)
  • 503 — Database, authorization dependency, or other required dependency unavailable (DEPENDENCY_UNAVAILABLE)

Collection behavior

Pagination: not declared. Filtering/search: not declared. Sorting: not declared.

Cursor lifetime, cursor binding, stable ordering, maximum traversal, and unknown-filter behavior are not assumed unless stated by a parameter description or schema constraint above.

Operational behavior

  • Rate limit: No operation-specific limit or 429 response is declared.
  • Retry: Retry only when the documented error model or response headers authorize it. Timeout and backoff values are not declared by this operation.
  • Idempotency: No idempotency header or replay window is declared.
  • Concurrency: No ETag, If-Match, or optimistic-version header is declared.

Security and privacy

  • Keep client credentials and bearer tokens on trusted servers.
  • Send only to the exact approved HTTPS origin and audience.
  • Treat response data according to the owning App's classification and retention policy; the OpenAPI contract does not itself grant data access.
  • Do not log credentials, tokens, complete private payloads, or secrets.

Edge cases and known documentation gaps

  • No detailed operation description.
  • Business roles, timeout, retry budget, rate value, idempotency window, and concurrency behavior are absent unless explicitly stated above.

Contract history and evidence