---
search:
  tags:
    - Tasks
    - GET
seo:
  description: >-
    Polls a Research Agent task and returns its current state or… Reference for
    the GET /api/agents/{agentId}/tasks/{taskId} endpoint in the Research Agent
    API.
sidebar:
  label: Get a task
  badge: GET
title: Get a task
type: openapi-operation
---
Polls a Research Agent task and returns its current state or result.

`GET /api/agents/{agentId}/tasks/{taskId}`
