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

# List tasks

> Paginated task list, filterable by status, session and time window. Results are scoped to the caller's tenant, resolved from the request context; a caller can only ever see its own tasks.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v2/tasks
openapi: 3.1.0
info:
  title: EverOS Cloud Memory API
  version: 2.0.0
  license:
    name: Apache-2.0
    identifier: Apache-2.0
  contact:
    name: EverMind AI
    email: service@evermind.ai
    url: https://github.com/EverMind-AI/everos-cloud-sdk-python
  description: >-
    Official Python client for the EverOS Cloud Memory API. Add, search,
    retrieve, and manage long-term memory for your AI applications over a typed
    interface (pydantic v2, with full type hints). Install and usage guides:
    https://github.com/EverMind-AI/everos-cloud-sdk-python
servers:
  - url: https://api.evermind.ai
    description: Production
security:
  - BearerAuth: []
paths:
  /api/v2/tasks:
    get:
      tags:
        - Tasks
      summary: List tasks
      description: >-
        Paginated task list, filterable by status, session and time window.
        Results are scoped to the caller's tenant, resolved from the request
        context; a caller can only ever see its own tasks.
      operationId: listTasks
      parameters:
        - in: query
          name: page
          required: false
          schema:
            description: Page number, 1-based
            type: integer
        - in: query
          name: page_size
          required: false
          schema:
            description: Items per page
            type: integer
        - in: query
          name: status
          required: false
          schema:
            enum:
              - queued
              - processing
              - success
              - failed
            type: string
        - in: query
          name: session_id
          required: false
          schema:
            description: Filter by session
            type: string
        - in: query
          name: start
          required: false
          schema:
            description: Window start (RFC3339 or epoch milliseconds)
            type: string
        - in: query
          name: end
          required: false
          schema:
            description: Window end
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskListResponse'
          description: Task list
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskErrorResponse'
          description: Invalid query parameter, or missing tenant scope
        '401':
          description: Missing or invalid bearer token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayError'
        '403':
          description: >-
            Authenticated but not permitted — either rejected by the auth
            service, or the account's memory API version does not match the
            interface version implied by the path (a v1 account calling an
            /api/v2 route).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayError'
        '429':
          description: Rate limit or quota exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayError'
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskErrorResponse'
          description: Listing requires the database-backed store, which is not configured
components:
  schemas:
    TaskListResponse:
      properties:
        data:
          properties:
            items:
              items:
                $ref: '#/components/schemas/TaskItem'
              type: array
            page:
              type: integer
            page_size:
              type: integer
            total:
              type: integer
          required:
            - total
            - page
            - page_size
            - items
          type: object
          description: The page of tasks, with its paging counters.
        request_id:
          type: string
          description: Id of this request — quote it when reporting a problem.
      required:
        - data
      title: TaskListResponse
      type: object
    TaskErrorResponse:
      properties:
        error:
          properties:
            code:
              description: Error code, e.g. invalid_request, not_found, unavailable
              type: string
            message:
              type: string
            type:
              description: >-
                Error class, carrying the HTTP status text (BadRequest,
                NotFound, ...)
              type: string
          required:
            - code
            - message
            - type
          type: object
          description: What went wrong, with a machine-readable code and a message.
      required:
        - error
      title: TaskErrorResponse
      type: object
    GatewayError:
      type: object
      additionalProperties: true
      description: >-
        Gateway error body. NOTE: shape is not yet uniform across auth/quota/
        rate-limit paths — treat fields as best-effort. Commonly includes a
        `code`/`message` (flat) or an `error` object/string with a `message`.
      title: GatewayError
    TaskItem:
      properties:
        created_at:
          format: date-time
          type: string
          description: When the task was accepted.
        error:
          description: Failure reason; present only when status is failed
          type: string
        error_code:
          type: string
          description: Machine-readable failure code, alongside the human-readable `error`.
        finished_at:
          description: Completion time; absent while the task is not in a terminal state
          format: date-time
          type: string
        id:
          description: Task id (the request's X-Request-Id), not a database primary key
          type: string
        object:
          description: >-
            Resource type produced by the task (frozen field, cannot express a
            batch)
          type: string
        object_id:
          type: string
          description: Id of the resource the task produced, once there is one.
        status:
          enum:
            - queued
            - processing
            - pending
            - success
            - failed
          type: string
          description: >-
            Where the task is: "queued", "processing", "pending", "success" or
            "failed". Treat it as an open set — a value you do not recognise is
            terminal only when `finished_at` is set.
        task_type:
          description: >-
            Async interface that produced the task, e.g. memory_add /
            knowledge_document / batch_import
          type: string
      required:
        - id
        - status
      title: TaskItem
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'API key issued by EverOS, sent as `Authorization: Bearer <api_key>`.'

````