Skip to main content
GET
/
tasks
/
{id}
Get a task
curl --request GET \
  --url https://slog.ai/tasks/{id} \
  --header 'slog-api-key: <api-key>'
{
  "task": {
    "id": "task_01jqabcd1111",
    "reference": "ENG-42",
    "title": "Implement OAuth login",
    "description": "Support Google and GitHub as providers.",
    "dueDate": "2026-06-15",
    "teamId": "team_01jqteam0001",
    "team": {
      "id": "team_01jqteam0001",
      "name": "Engineering",
      "prefix": "ENG"
    },
    "projectId": "proj_01jqproj0001",
    "parentId": null,
    "assigneeId": "user_01jquser0001",
    "assignee": {
      "id": "user_01jquser0001",
      "name": "Alex Johnson",
      "email": "[email protected]",
      "avatarUrl": null,
      "humanId": null
    },
    "labels": [
      {
        "id": "label_01jqlabel001",
        "name": "bug",
        "color": "#EF4444"
      }
    ],
    "createdAt": "2026-05-01T10:00:00.000Z",
    "updatedAt": "2026-05-10T14:30:00.000Z"
  }
}

Authorizations

slog-api-key
string
header
required

API key obtained from the Slog dashboard or returned by the signup/invite-redeem flows. Pass as the slog-api-key header.

Path Parameters

id
string
required

Resource ID (UPID) or, for tasks and projects, the human-readable reference such as ENG-42.

Query Parameters

fields
string

Comma-separated list of fields to return. Supports brace notation for nested objects: fields=id,title,assignee{name,email}. When omitted, a default set of fields is returned.

Response

The task.

task
object