Endpoints
Get a task and its messages
GET
/
v1
/
tasks
/
{taskId}
Error
A valid request URL is required to generate request examples{
"task": {
"id": "<string>",
"title": "<string>",
"status": "queued",
"projectId": "<string>",
"model": {
"slug": "<string>",
"fast": true,
"effort": "low"
},
"pendingInteraction": {
"id": "<string>",
"type": "question",
"prompt": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>"
},
"messages": [
{
"id": "<string>",
"role": "user",
"parts": [
{
"type": "reasoning",
"text": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z"
}
]
}{
"error": {
"type": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}Last modified on August 26, 2026
⌘I
Error
A valid request URL is required to generate request examples{
"task": {
"id": "<string>",
"title": "<string>",
"status": "queued",
"projectId": "<string>",
"model": {
"slug": "<string>",
"fast": true,
"effort": "low"
},
"pendingInteraction": {
"id": "<string>",
"type": "question",
"prompt": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>"
},
"messages": [
{
"id": "<string>",
"role": "user",
"parts": [
{
"type": "reasoning",
"text": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z"
}
]
}{
"error": {
"type": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}