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

# List tasks

> Returns the user's tasks with pagination and a status filter.



## OpenAPI

````yaml POST /tasks/get
openapi: 3.1.0
info:
  title: Megaseo API
  version: 1.0.0
servers:
  - url: https://api-v2.megaseo.net/web
    description: Production
security: []
paths:
  /tasks/get:
    post:
      tags:
        - tasks
      summary: Get Tasks
      operationId: get_tasks_tasks_get_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/web__modules__tasks__schemas__GetTasksRequest
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/web__modules__tasks__schemas__GetTasksResponse
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    web__modules__tasks__schemas__GetTasksRequest:
      properties:
        access_token:
          type: string
          title: Access Token
        page:
          type: integer
          maximum: 2147483647
          minimum: 1
          title: Page
          default: 1
        limit:
          type: integer
          maximum: 100
          minimum: 1
          title: Limit
          default: 20
        status:
          type: string
          enum:
            - all
            - active
            - moderation
            - declined
            - stopping
            - stopped
          title: Status
          default: all
      type: object
      required:
        - access_token
      title: GetTasksRequest
    web__modules__tasks__schemas__GetTasksResponse:
      properties:
        tasks:
          items:
            $ref: '#/components/schemas/TaskResponse'
          type: array
          title: Tasks
        page:
          type: integer
          title: Page
        limit:
          type: integer
          title: Limit
        total:
          type: integer
          title: Total
      type: object
      required:
        - tasks
        - page
        - limit
        - total
      title: GetTasksResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TaskResponse:
      properties:
        id:
          type: integer
          title: Id
        user_id:
          type: integer
          title: User Id
        task_type_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Task Type Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        icon:
          anyOf:
            - type: string
            - type: 'null'
          title: Icon
        verification_description:
          anyOf:
            - type: string
            - type: 'null'
          title: Verification Description
        keyword:
          anyOf:
            - type: string
            - type: 'null'
          title: Keyword
        prompt:
          anyOf:
            - type: string
            - type: 'null'
          title: Prompt
        link:
          anyOf:
            - type: string
            - type: 'null'
          title: Link
        control_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Control Type
        need_screenshot:
          anyOf:
            - type: integer
            - type: 'null'
          title: Need Screenshot
        is_copyable:
          anyOf:
            - type: integer
            - type: 'null'
          title: Is Copyable
        price_per_execution:
          anyOf:
            - type: number
            - type: 'null'
          title: Price Per Execution
        executions:
          anyOf:
            - type: integer
            - type: 'null'
          title: Executions
        executions_limit:
          anyOf:
            - type: integer
            - type: 'null'
          title: Executions Limit
        hour_limit:
          anyOf:
            - type: integer
            - type: 'null'
          title: Hour Limit
        day_limit:
          anyOf:
            - type: integer
            - type: 'null'
          title: Day Limit
        reservation_time:
          anyOf:
            - type: integer
            - type: 'null'
          title: Reservation Time
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
      type: object
      required:
        - id
        - user_id
      title: TaskResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.