> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentchain.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Get task by ID

> Returns a single task summary by its ID.



## OpenAPI

````yaml GET /api/v1/tasks/{id}
openapi: 3.0.0
info:
  title: AgentChain & PRIOR API
  description: The centralized gateway for the decentralized compute network.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.agentchain.xyz
    description: Production
security: []
tags: []
paths:
  /api/v1/tasks/{id}:
    get:
      tags:
        - tasks
      summary: Get task by ID
      description: Returns a single task summary by its ID.
      operationId: TaskController_getTask
      parameters:
        - name: id
          required: true
          in: path
          description: Task ID (cuid)
          schema:
            type: string
      responses:
        '200':
          description: Task found
        '404':
          description: Task not found

````