v1
latestOpenAPI 3.1.02026-07-26125062.1 KBTasks
/tasks
The GET /tasks method, without a task identifier, lists all created tasks for the authenticated organization, with pagination.
get/v1/tasks
Query parameters
typestring[]
statusstring[]
pageinteger
pageSizeinteger
sortBy'createdAt' | 'updatedAt'
sortDirection'asc' | 'desc'
Response
Paginated list of tasks.
Example response
{
"data": [
{
"createdAt": "2026-01-01T00:00:00.000Z",
"id": "01234-abcd-56789",
"status": "completed",
"updatedAt": "2026-01-01T00:00:00.000Z",
"input": {
"excludeDomains": [
"wikipedia.org"
],
"fromDate": "2025-01-01",
"includeDomains": [
"microsoft.com",
"agolution.com"
],
"q": "What is Microsoft's 2024 revenue?",
"toDate": "2025-01-01",
"maxResults": 5
},
"output": {
"answer": "Microsoft's revenue for fiscal year 2024 was $245.1 billion, reflecting a 16% increase from the previous year.",
"sources": [
{
"name": "Microsoft 2024 Annual Report",
"snippet": "Highlights from fiscal year 2024 compared with fiscal year 2023 included: Microsoft Cloud revenue increased 23% to $137.4 billion.",
"url": "https://www.microsoft.com/investor/reports/ar24/index.html"
}
]
}
}
]
}