Skip to main content
GET
/
v1
/
tasks
List tasks
curl --request GET --url "https://api.trycomp.ai/v1/tasks" --header "X-API-Key: $COMP_AI_API_KEY"
[
  {
    "id": "tsk_abc123def456",
    "title": "Implement user authentication",
    "description": "Add OAuth 2.0 authentication to the platform",
    "status": "in_progress",
    "createdAt": "2024-01-15T10:30:00Z",
    "updatedAt": "2024-01-15T10:30:00Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://www.trycomp.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

API key for authentication

Query Parameters

includeRelations
string

Include controls and automations with runs

Response

Tasks retrieved successfully

id
string
required

Unique identifier for the task

Example:

"tsk_abc123def456"

title
string
required

Task title

Example:

"Implement user authentication"

status
enum<string>
required

Task status

Available options:
todo,
in_progress,
done,
blocked
Example:

"in_progress"

createdAt
string<date-time>
required

Task creation timestamp

Example:

"2024-01-15T10:30:00Z"

updatedAt
string<date-time>
required

Task last update timestamp

Example:

"2024-01-15T10:30:00Z"

integrationScheduleFrequency
enum<string>
required

Cadence for running the integration check attached to this task

Available options:
daily,
weekly,
monthly,
quarterly,
yearly
Example:

"daily"

description
string

Task description

Example:

"Add OAuth 2.0 authentication to the platform"

taskTemplateId
object

Task template ID

Example:

"frk_tt_68406e353df3bc002994acef"

integrationLastRunAt
object

Last successful integration check run timestamp