v1

latestOpenAPI 3.1.02026-07-26125062.1 KB
Tasks

/tasks/:id

The GET /tasks/:id method, with task identifier, retrieves a specific task information.

get/v1/tasks/{id}

Path parameters

idstring required

Response

Task details.

OR
OR
OR

Example response

{
  "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"
      }
    ]
  }
}