Skip to main content

List tasks

List tasks. Requires a valid Bearer session or a valid internal identity.
1 min read
get/tasks/profiles/{studioId}
Request example
Response
get/tasks/profiles/{studioId}

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Path parameters

studioIdstringrequired#
Identifier or key studioId.

Query parameters

pageinteger#
Filter page.
pageSizeinteger#
Filter pageSize.
statusstring#
Filter status.
prioritystring#
Filter priority.
favoriteTasksboolean#
Filter favoriteTasks.
archivedboolean#
When true, returns only archived tasks. Wins over includeArchived.
includeArchivedboolean#
When true (and archived is not true), returns active and archived tasks. Default excludes archived (list visibility only).
projectIdstring#
Filter projectId.
tagIdstring#
Filter tagId.
tagIdsstring#
Filter tagIds.
fromDueDateKeystring#
Filter fromDueDateKey.
toDueDateKeystring#
Filter toDueDateKey.
dueBeforeExclusiveKeystring#
Filter dueBeforeExclusiveKey.
assignedToMeboolean#
Filter assignedToMe.
createdByMeboolean#
Filter createdByMe.
openOnlyboolean#
Filter openOnly.
searchTermstring#
Filter searchTerm.
orderByenum<string>#
Inbox date order. desc prioritizes upcoming/future dates, then undated, then overdue; asc reverses that order.
Options:descasc
todayLocalDateKeystring#
Local day YYYY-MM-DD used to split present/future dates from overdue.

Responses

application/json
OK.
dataobject[]required#
Show child attributes
idstringrequired#
studioIdstringrequired#
projectIdstringrequired#
parentTaskIdstring#
Parent task when this resource is a first-level subtask.
parentTaskNamestring#
Parent task name for contextual navigation.
namestringrequired#
statusenum<string>required#
Options:todoin_progressdonecanceled
prioritystringrequired#
dueDatestring#
dueDateKeystring#
createdBystringrequired#
assignedTostring[]#
isFavoritebooleanrequired#
completionDatestring#
statusOrderinteger#
priorityOrderinteger#
reminderTimestring#
reminderDatestring#
reminderTimeZonestring#
archivedAtstring#
deletedAtstring#
createdAtstringrequired#
updatedAtstringrequired#
projectNamestring#
subtaskSummaryobjectrequired#
Show child attributes
totalintegerrequired#
completedintegerrequired#
openintegerrequired#
projectobject#
Show child attributes
idstringrequired#
namestringrequired#
colorstring#
tagsobject[]#
Show child attributes
idstringrequired#
namestringrequired#
colorstring#
request_idstring#
metaobject#
Show child attributes
next_cursorstring#
has_moreboolean#
pageinteger#
current page (1-based) when the list uses page pagination.
page_sizeinteger#
Page size when the list uses page pagination.
totalinteger#
Total items matching the filter.
total_pagesinteger#
Total pages for the current page size.