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

# List tasks

> Tasks across the whole workspace, newest first. Supports optional `filter[status]` and `filter[priority]`. For a single company's tasks, use `GET /portfolio/:id/tasks`.



## OpenAPI

````yaml /openapi.json get /tasks
openapi: 3.1.0
info:
  title: Cura API
  version: 1.0.0
  description: >-
    Public, read-only access to a workspace's portfolio. Authenticate every
    request with your `cura_…` API key as a bearer token.
servers:
  - url: https://api.cura.inc
    description: Production
security:
  - ApiKey: []
paths:
  /tasks:
    get:
      tags:
        - Tasks
      summary: List tasks
      description: >-
        Tasks across the whole workspace, newest first. Supports optional
        `filter[status]` and `filter[priority]`. For a single company's tasks,
        use `GET /portfolio/:id/tasks`.
      operationId: listTasks
      parameters:
        - in: query
          name: limit
          schema:
            default: 50
            description: Max tasks to return (1–100).
            example: 50
            type: integer
            minimum: 1
            maximum: 100
          description: Max tasks to return (1–100).
        - in: query
          name: offset
          schema:
            default: 0
            description: Number of tasks to skip.
            example: 0
            type: integer
            minimum: 0
            maximum: 9007199254740991
          description: Number of tasks to skip.
        - in: query
          name: filter
          schema:
            default: {}
            type: object
            properties:
              status:
                description: Only tasks with this status.
                type: string
                enum:
                  - triage
                  - todo
                  - in_progress
                  - completed
                  - cancelled
              priority:
                description: Only tasks with this priority.
                type: string
                enum:
                  - low
                  - medium
                  - high
                  - urgent
          style: deepObject
          explode: true
      responses:
        '200':
          description: A page of tasks.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Task'
                  pagination:
                    $ref: '#/components/schemas/OffsetPagination'
                required:
                  - data
                  - pagination
                additionalProperties: false
        '400':
          description: Invalid query parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Task:
      type: object
      properties:
        id:
          type: string
          description: The task's unique id.
        attributes:
          type: object
          properties:
            title:
              type: string
              description: Task title.
            description:
              anyOf:
                - type: string
                - type: 'null'
              description: Longer task description, if any.
            status:
              type: string
              enum:
                - triage
                - todo
                - in_progress
                - completed
                - cancelled
              description: Workflow status of the task.
            priority:
              anyOf:
                - type: string
                  enum:
                    - low
                    - medium
                    - high
                    - urgent
                - type: 'null'
              description: Task priority, if set.
            source:
              anyOf:
                - type: string
                  enum:
                    - manual
                    - email
                    - note
                - type: 'null'
              description: >-
                How the task was created (manual, or auto-generated from
                email/note).
            company_id:
              anyOf:
                - type: string
                - type: 'null'
              description: Id of the related portfolio company, if any.
            assignee_id:
              anyOf:
                - type: string
                - type: 'null'
              description: User id of the assignee, if any.
            due_date:
              anyOf:
                - type: string
                - type: 'null'
              description: Due date (YYYY-MM-DD calendar date), if set.
            created_at:
              type: string
              description: When the task was created (ISO 8601 timestamp).
            updated_at:
              type: string
              description: When the task was last updated (ISO 8601 timestamp).
          required:
            - title
            - description
            - status
            - priority
            - source
            - company_id
            - assignee_id
            - due_date
            - created_at
            - updated_at
          additionalProperties: false
      required:
        - id
        - attributes
      additionalProperties: false
      description: A portfolio follow-up task.
    OffsetPagination:
      type: object
      properties:
        limit:
          type: number
          description: The limit that was applied.
          example: 50
        offset:
          type: number
          description: The offset that was applied.
          example: 0
        hasMore:
          type: boolean
          description: True if more results exist past this page.
          example: true
      required:
        - limit
        - offset
        - hasMore
      additionalProperties: false
      description: Offset-based pagination metadata.
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message.
      required:
        - error
      additionalProperties: false
      description: An error response.
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      description: >-
        Your workspace API key (`cura_…`), sent as `Authorization: Bearer
        <key>`.

````