Skip to main content
QUERY
task(taskId: ID!): Task

Arguments

taskId
ID!
required

Returns

id
ID!
ref
String!

Short human-readable identifier for this task (e.g. T-123), as shown in the Plain app.

title
String!
description
String

Optional longer description providing context or instructions for the task.

status
priority
Int!

Numeric priority value; lower numbers indicate higher priority.

company

The company this task is linked to, if any. Mutually exclusive with tenant.

tenant

The tenant this task is linked to, if any. Mutually exclusive with company.

assignedTo

The user or machine user currently assigned to this task, or null if unassigned.

assignedAt

When the task was most recently assigned.

Paginated list of threads linked to this task.

Arguments
createdAt
createdBy
updatedAt
updatedBy
isDeleted
Boolean!

True if this task has been soft-deleted. Deleted tasks are excluded from the tasks list query but remain fetchable by ID.

deletedAt

When the task was deleted, or null if it has not been deleted.

deletedBy

Who deleted the task, or null if it has not been deleted.

Query
Variables
Response