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

# Get task status of the relay v2 task id



## OpenAPI

````yaml get /tasks/status/{taskId}
openapi: 3.0.4
info:
  title: Relay API
  description: >-
    Gelato Relay API is a service that allows users and developers to get
    transactions mined fast, reliably and securely, without having to deal with
    the low-level complexities of blockchains.
  version: 1.0.12
servers:
  - url: https://api.gelato.digital
security: []
tags:
  - name: oracles
  - name: relays v2
  - name: tasks
paths:
  /tasks/status/{taskId}:
    get:
      tags:
        - tasks
      summary: Get task status of the relay v2 task id
      parameters:
        - name: taskId
          in: path
          description: Id of the task whose status is retrieved
          required: true
          explode: true
          schema:
            type: string
      responses:
        '200':
          description: Successful Retrieval
          content:
            application/json:
              schema:
                type: object
                properties:
                  task:
                    type: object
                    properties:
                      chainId:
                        type: number
                      taskId:
                        type: string
                      taskState:
                        type: string
                      creationDate:
                        type: string
                      lastCheckDate:
                        type: string
                      lastCheckMessage:
                        type: string
                      transactionHash:
                        type: string
                      executionDate:
                        type: string
                      blockNumber:
                        type: number
        '404':
          description: Status Not Found
        '500':
          description: Service Not Available

````