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

# Get projects

> Fetch a list of all epics (projects) within a workspace (`team_id`).
Use this endpoint to retrieve the high-level projects, their status and if
they are assigned to different individuals or teams.




## OpenAPI

````yaml GET /{team_id}/epics
openapi: 3.0.0
info:
  description: Superthread Public API Specification
  version: '0.1'
  title: Public API
  contact:
    email: engineering@superthread.com
servers:
  - url: https://api.superthread.com/v1
security:
  - BearerAuth: []
tags:
  - name: AI
    description: >-
      [Service: AI]. Handles AI-powered functionalities, such as
      recommendations, predictions, and automation features.
  - name: Activity
    description: >-
      [Service: Activity] Manages all activities; creating notifications and
      digests
  - name: Auth
    description: >-
      [Service: Auth] Responsible for user authentication, authorization, and
      session management.
  - name: Boards
    description: >-
      [Service: Boards] Manages core collaboration features such as "boards",
      "cards", "lists", "sprints", "epics".
  - name: Comments
    description: >-
      [Service: Comments] Handles the creation, editing, and management of
      comments across various entities.
  - name: Customers
    description: >-
      [Service: Customers] Manages customers, customer tiers and statuses,
      customer settings, and customer requests on cards and projects. Requires
      the `customers` team feature; not available to workspace guests.
  - name: Favourites
    description: >-
      [Service: Favourites] Responsible for favouriting resources in the system
      for quick access.
  - name: Files
    description: >-
      [Service: Files] Manages file uploads, storage, and retrieval for user and
      project resources.
  - name: Importer
    description: >-
      [Service: Importer] Handles data import operations from external sources
      into the platform.
  - name: Integrations
    description: >-
      [Service: Integrations] Facilitates connectivity with external tools and
      services, enabling smooth integration with third-party platforms and APIs.
  - name: Pages
    description: >-
      [Service: Pages] Manages the creation and organization of both public and
      private pages, supporting structured content and navigation and
      collaboration.
  - name: Projects
    description: '[Service: Projects] Handles all project related tasks.'
  - name: Reports
    description: >-
      [Service: Reports] Generates and manages analytical reports and insights
      for users and projects.
  - name: Search
    description: >-
      [Service: Search] Provides search functionalities, including indexing and
      retrieval of platform data.
  - name: TimeTracking
    description: >
      [Service: TimeTracking] Manages time entries, active timers, time
      categories, job roles, billing rates, and audit/lock for time-tracking
      workflows.


      A member's billing rate is their own rate when one is set, otherwise their
      job role's rate, otherwise the workspace default rate. Each time entry
      keeps the rate and job role it was created with.
  - name: Resourcing
    description: >-
      [Service: TimeTracking] Plans people's capacity: working patterns, time
      off, closures, public holidays, allocations of hours to projects, and
      retainer budgets. Not available to workspace guests.
  - name: Views
    description: >-
      [Feature] Provides tools to create and customize views, enabling users to
      organize and visualize their data according to their preferences and
      workflows.
  - name: OAuth2
    description: >-
      [Feature] Supports OAuth2 integration for seamless user authentication and
      authorization, ensuring secure access to external APIs and services.
  - name: Sprints
    description: >-
      [Feature] Facilitates sprint management within agile workflows, including
      planning, progress tracking, and reporting.
  - name: Cards
    description: >-
      [Feature] A Card is the core concept used in the system to describe an
      individual task or work item. They are used across Boards, Sprints, and
      Roadmaps. Cards include features like descriptions, checklists, comments,
      priorities, tags and more.
  - name: Checklists
    description: >-
      [Feature] A Checklist is a list of items that need to be completed. It is
      used to track progress on a card.
  - name: Lists
    description: >-
      [Feature] Represents a collection of tasks or items grouped within
      different contexts in the system. Lists (externally referenced as
      "statuses") are utilized across various entities such as boards, sprints,
      and roadmaps.
  - name: Notes
    description: >-
      [Feature] Enables users to create, edit, and organize notes, supporting
      rich text, attachments, transcriptions and AI enhancements.
  - name: Tags
    description: >-
      [Feature] Groups endpoints related to the creation, retrieval, updating,
      deletion, and merging of tags within teams (workspaces).
  - name: Agents
    description: >-
      [Feature] Manages agents and runs. Provides CRUD operations for agents,
      launching cloud agents, monitoring agent status, retrieving conversations,
      and sending follow-ups.
  - name: PublishedAgents
    description: >-
      [Feature] [Service: AI] External API for agents published to websites,
      apps and custom clients. Authenticated with scoped chat sessions
      (PublishedAgentSession) or host app assertions (AgentAppAssertion), never
      with workspace member credentials. Management routes for publications and
      app registrations live under the Agents tag. Base URL: these paths are
      absolute from the API origin. The real URL is
      `https://api.superthread.com/public/agents/v1/...`, and the spec's
      `basePath` `/v1` does not apply, the same as `/public/forms` (Swagger 2.0
      has no per-path base). Generated clients default to `.../v1` and would
      call `/v1/public/agents/v1/...`, so construct them with the API origin as
      the base: in TypeScript `new Api({ baseURL: 'https://api.superthread.com'
      })`, and in Go a transport whose base path is `/`. The www forms portal
      does the same, using an axios client whose `baseURL` is the API origin.
paths:
  /{team_id}/epics:
    parameters:
      - $ref: '#/components/parameters/path_team_id'
    get:
      tags:
        - Boards
      summary: Get epics
      description: >
        Fetch a list of all epics (projects) within a workspace (`team_id`).

        Use this endpoint to retrieve the high-level projects, their status and
        if

        they are assigned to different individuals or teams.
      operationId: getEpics
      responses:
        '200':
          description: array of epics
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetEpicsResponse'
        default:
          description: client error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    $ref: '#/components/schemas/Error'
components:
  parameters:
    path_team_id:
      in: path
      name: team_id
      description: >-
        Team ID is an alphanumerical string that identifies a Team. This is
        externally referred to as a "Workspace".
      required: true
      schema:
        type: string
  schemas:
    GetEpicsResponse:
      type: object
      properties:
        team_id:
          type: string
          example: tDsu0j19
        user_id_updated:
          type: string
          example: u2erXoQq
        user_updated:
          $ref: '#/components/schemas/Actor'
        time_updated:
          $ref: '#/components/schemas/STime'
        lists:
          type: array
          items:
            $ref: '#/components/schemas/List'
        list_order:
          $ref: '#/components/schemas/Order'
    Error:
      type: object
      properties:
        id:
          type: string
          example: err5f744ab
        code:
          type: integer
          format: int32
          example: 403
        sec:
          $ref: '#/components/schemas/SuperthreadErrorCode'
        message:
          type: string
          example: You do not have access to this resource
          description: A user-friendly error message
        date:
          $ref: '#/components/schemas/STime'
    Actor:
      title: Actor
      type: object
      description: describes a user or robot that created or updated a resource
      properties:
        user_id:
          type: string
          example: uDsu0j19
          x-go-custom-tag: dynamodbav:",omitempty"
        type:
          type: string
          x-go-custom-tag: dynamodbav:",omitempty"
          example: user
          default: user
          enum:
            - user
            - robot
            - system
          nullable: false
        source:
          $ref: '#/components/schemas/ActorSource'
    STime:
      type: integer
      format: int64
      example: 1608742037016
      description: unix timestamp in seconds
      x-go-type:
        type: STime
        import:
          package: github.com/superthread-com/common/pkg/types
        hints:
          noValidation: true
          kind: primitive
    List:
      type: object
      properties:
        id:
          type: string
          example: '41'
        team_id:
          type: string
          example: tDsu0j19
        title:
          type: string
          example: My list
        content:
          type: string
        behavior:
          $ref: '#/components/schemas/ListBehavior'
        board_id:
          type: string
          example: '43'
        user_id:
          type: string
          example: u981hdaT
        user:
          $ref: '#/components/schemas/Actor'
        user_updated:
          $ref: '#/components/schemas/Actor'
        project_id:
          type: string
          example: '5'
        icon:
          type: string
          example: shield
        color:
          type: string
        card_order:
          $ref: '#/components/schemas/Order'
        total_cards:
          type: integer
          example: 5
          x-omit-empty: false
        time_created:
          $ref: '#/components/schemas/STime'
        time_updated:
          $ref: '#/components/schemas/STime'
        cards:
          type: array
          x-omitempty: true
          items:
            $ref: '#/components/schemas/Card'
        epics:
          type: array
          x-omitempty: true
          items:
            $ref: '#/components/schemas/Epic'
        archived:
          $ref: '#/components/schemas/Archived'
        is_watching:
          type: boolean
          example: true
          description: whether current user is a watcher of this list
          x-go-custom-tag: dynamodbav:"-"
        webhook_notifications:
          type: array
          x-omitempty: true
          items:
            $ref: '#/components/schemas/ListWebhookNotificationSettings'
    Order:
      type: object
      description: string array representing an order of IDs
      x-go-type:
        type: Order
        import:
          package: github.com/superthread-com/common/pkg/types
        hints:
          noValidation: true
          kind: primitive
      x-omitempty: true
      nullable: true
    SuperthreadErrorCode:
      type: string
      description: |
        Superthread Error Code (`SEC`): A structured error code.
        Format: `SEC:{ServiceID}-{InternalErrorCode}`.


          - `SEC`: Prefix for all structured error codes.
          - `ServiceID`: First 3 characters identify the service, '000' is reserved for generic errors.
          - `InternalErrorCode`: the next (last) 5 characters define the specific error.
      pattern: ^SEC:\d{3}-\d{5}$
      example: SEC:000-00014
    ActorSource:
      title: ActorSource
      type: object
      description: describes the source of an actor
      properties:
        type:
          type: string
          example: oauth
          enum:
            - oauth
            - import
            - email
            - agent
        client_id:
          type: string
          x-go-custom-tag: dynamodbav:",omitempty"
          description: client ID if the resource was created via oauth2 app
          example: oczapier
        import_id:
          type: string
          x-go-custom-tag: dynamodbav:",omitempty"
          description: import ID if the resource was created by an import
          example: bf1b9f76-3f95-42fc-bd7f-050b2f5f4197
        agent_id:
          type: string
          x-go-custom-tag: dynamodbav:",omitempty"
          description: agent ID if the resource was created by an agent
          example: bf1b9f76-3f95-42fc-bd7f-050b2f5f4197
        email_addr:
          type: string
          x-go-custom-tag: dynamodbav:",omitempty"
          description: email address if the resource was created via an email
          example: somebody@example.com
        email_verified:
          type: boolean
          x-go-custom-tag: dynamodbav:",omitempty"
          description: whether the email sender was verified
          example: false
        on_behalf_of:
          type: string
          x-go-custom-tag: dynamodbav:",omitempty"
          description: >-
            User ID of the human responsible for this action. For
            trigger-initiated agent actions, this is the trigger creator. For
            mention/chat-initiated actions, this is the user who invoked the
            agent.
    ListBehavior:
      type: string
      enum:
        - backlog
        - committed
        - started
        - completed
        - cancelled
    Card:
      type: object
      properties:
        id:
          type: string
          example: '2700'
        type:
          type: string
          description: Type of the object being returned
          example: card
        icon:
          $ref: '#/components/schemas/Image'
        team_id:
          type: string
          example: tDsu0j19
        title:
          type: string
          example: My Card
        content:
          type: string
          example: Some card content
          maxLength: 102400
        schema:
          type: integer
          example: 1
          description: Content schema version
        collaboration:
          $ref: '#/components/schemas/Collaboration'
        status:
          $ref: '#/components/schemas/CardStatus'
        priority:
          type: integer
          example: 1
        board_id:
          type: string
          example: '12'
        board_title:
          type: string
          description: cached field
        list_id:
          type: string
          example: '41'
        list_color:
          type: string
          description: cached field
        list_title:
          type: string
          description: cached field
        sprint_id:
          type: string
          example: 4s12
        owner_id:
          type: string
          example: uR2dws11
        user_id:
          type: string
          example: uR2dws11
        user_id_updated:
          type: string
          example: u2erXoQq
        user:
          $ref: '#/components/schemas/Actor'
        user_updated:
          $ref: '#/components/schemas/Actor'
        start_date:
          $ref: '#/components/schemas/STime'
        due_date:
          $ref: '#/components/schemas/STime'
        completed_date:
          $ref: '#/components/schemas/STime'
        time_created:
          $ref: '#/components/schemas/STime'
        time_updated:
          $ref: '#/components/schemas/STime'
        members:
          type: array
          items:
            $ref: '#/components/schemas/Member'
        checklists:
          type: array
          items:
            $ref: '#/components/schemas/Checklist'
        checklist_order:
          $ref: '#/components/schemas/Order'
        checklist_item_order:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/Order'
          x-omitempty: false
        parent_card:
          $ref: '#/components/schemas/ParentCard'
        child_cards:
          type: array
          items:
            $ref: '#/components/schemas/ChildCard'
        child_card_order:
          $ref: '#/components/schemas/Order'
        linked_cards:
          type: array
          items:
            $ref: '#/components/schemas/LinkedCard'
        archived:
          $ref: '#/components/schemas/Archived'
        archived_list:
          type: boolean
          example: false
          description: whether the card is in an archived list
        archived_board:
          type: boolean
          example: false
          description: whether the card is in an archived board
        tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
        total_comments:
          type: integer
          example: 3
          x-omitempty: false
        total_files:
          type: integer
          example: 1
          x-omitempty: false
        is_watching:
          type: boolean
          example: true
          description: whether current user is a watcher of this card
          x-go-custom-tag: dynamodbav:"-"
        is_bookmarked:
          type: boolean
          example: true
          description: whether current user has this card bookmarked
          x-go-custom-tag: dynamodbav:"-"
        project_id:
          type: string
          description: cached field
        external_links:
          type: array
          items:
            $ref: '#/components/schemas/ExternalLink'
        hints:
          type: array
          items:
            $ref: '#/components/schemas/CardHint'
        estimate:
          type: integer
          description: >-
            effort estimation enum for the card. 0 is unset, 1 is least, 5 is
            greatest. will map to different values depending on project
            settings.
          minimum: 0
          maximum: 5
        epic:
          $ref: '#/components/schemas/EpicBrief'
        cover_image:
          $ref: '#/components/schemas/CoverImage'
        copied_from_card_id:
          type: string
          description: ID of the card that this card was copied from
          x-omitempty: true
        form_id:
          type: string
          description: ID of the form that created this card, if any
          x-omitempty: true
        form_values:
          type: object
          description: >-
            Submitted form values keyed by form field ID. Used by the portal to
            derive dynamic submission summaries.
          additionalProperties:
            type: string
          x-omitempty: true
        form_participants:
          type: array
          description: >-
            User IDs the requester added as participants on this form
            submission.
          items:
            type: string
          x-omitempty: true
        external_request:
          $ref: '#/components/schemas/ExternalRequestProvenance'
        suggested_branch_name:
          type: string
          description: Suggested git branch name derived from the card ID and title
          x-go-custom-tag: dynamodbav:"-"
        customers:
          type: array
          description: >-
            Requesting customers, kept by boards from customer events.
            Read-only; not returned to guests.
          x-omitempty: true
          items:
            $ref: '#/components/schemas/CustomerSummary'
        customer_count:
          type: integer
          description: Number of distinct requesting customers. Read-only.
          x-omitempty: false
        customer_important_count:
          type: integer
          description: Number of requesting customers with an important request. Read-only.
          x-omitempty: false
        customer_revenue:
          type: integer
          format: int64
          description: >-
            Sum of the annual revenue of distinct requesting customers.
            Read-only.
          x-omitempty: false
    Epic:
      type: object
      properties:
        id:
          type: string
          example: '2700'
        type:
          type: string
          description: Type of the object being returned
          example: epic
        team_id:
          type: string
          example: tDsu0j19
        icon:
          $ref: '#/components/schemas/Image'
        title:
          type: string
          example: My Card
        schema:
          type: integer
          example: 1
          description: Content schema version
        content:
          type: string
          example: Some card content
          maxLength: 102400
        collaboration:
          $ref: '#/components/schemas/Collaboration'
        list_id:
          type: string
          example: '41'
        list_color:
          type: string
          description: cached field
        list_title:
          type: string
          description: cached field
        status:
          $ref: '#/components/schemas/CardStatus'
        priority:
          type: integer
          example: 1
        owner_id:
          type: string
          example: uR2dws11
        user_id:
          type: string
          example: uR2dws11
        user_id_updated:
          type: string
          example: u2erXoQq
        user:
          $ref: '#/components/schemas/Actor'
        user_updated:
          $ref: '#/components/schemas/Actor'
        start_date:
          $ref: '#/components/schemas/STime'
        due_date:
          $ref: '#/components/schemas/STime'
        completed_date:
          $ref: '#/components/schemas/STime'
        time_created:
          $ref: '#/components/schemas/STime'
        time_updated:
          $ref: '#/components/schemas/STime'
        health_status:
          $ref: '#/components/schemas/EpicHealthStatus'
        health_status_is_stale:
          type: boolean
          example: false
          description: Whether the project's health status is considered stale
          x-omitempty: false
        health_status_stale_period:
          type: integer
          description: >-
            Number of days without an update before the health status is
            considered stale
          default: 7
        time_health_last_updated:
          $ref: '#/components/schemas/STime'
        health_status_updated_by:
          type: string
          example: uR2dws11
          description: User ID who last updated the project's health status
        members:
          type: array
          items:
            $ref: '#/components/schemas/Member'
        checklists:
          type: array
          items:
            $ref: '#/components/schemas/Checklist'
        checklist_order:
          $ref: '#/components/schemas/Order'
        checklist_item_order:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/Order'
          x-omitempty: false
        child_cards:
          type: array
          items:
            $ref: '#/components/schemas/ChildCard'
        child_card_order:
          $ref: '#/components/schemas/Order'
        linked_cards:
          type: array
          items:
            $ref: '#/components/schemas/LinkedCard'
        archived:
          $ref: '#/components/schemas/Archived'
        archived_list:
          type: boolean
          example: false
          description: whether the epic is in an archived list
        tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
        total_comments:
          type: integer
          example: 3
          x-omitempty: false
        total_files:
          type: integer
          example: 1
          x-omitempty: false
        is_watching:
          type: boolean
          example: true
          description: whether current user is a watcher of this epic
        external_links:
          type: array
          items:
            $ref: '#/components/schemas/ExternalLink'
        hints:
          type: array
          items:
            $ref: '#/components/schemas/CardHint'
        cover_image:
          $ref: '#/components/schemas/CoverImage'
        customers:
          type: array
          description: >-
            Requesting customers, kept by boards from customer events.
            Read-only; not returned to guests.
          x-omitempty: true
          items:
            $ref: '#/components/schemas/CustomerSummary'
        customer_count:
          type: integer
          description: Number of distinct requesting customers. Read-only.
          x-omitempty: false
        customer_important_count:
          type: integer
          description: Number of requesting customers with an important request. Read-only.
          x-omitempty: false
        customer_revenue:
          type: integer
          format: int64
          description: >-
            Sum of the annual revenue of distinct requesting customers.
            Read-only.
          x-omitempty: false
    Archived:
      type: object
      properties:
        user_id:
          type: string
          example: uDsu0j19
        time_archived:
          $ref: '#/components/schemas/STime'
    ListWebhookNotificationSettings:
      type: object
      description: Defines a webhook notification setting for the list.
      properties:
        webhook:
          $ref: '#/components/schemas/WebhookNotification'
        options:
          type: object
          properties:
            card_created:
              type: boolean
              description: Whether to send a notification when a card is added to the list.
    Image:
      type: object
      required:
        - type
        - src
      properties:
        type:
          type: string
          enum:
            - image
            - icon
            - emoji
          nullable: false
        id:
          type: string
          description: Unique identifier for the image (optional).
        src:
          type: string
          example: >-
            data:image/png;base64,
            iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==
          description: >-
            Depending on the type this can be a URL, base64 image data, emoji
            unicode or an icon name
          nullable: false
        blurhash:
          type: string
          example: LEHV6nWB2yk8pyoJadR*.7kCMdnj
          x-go-custom-tag: dynamodbav:",omitempty"
        color:
          type: string
          example: black
          x-go-custom-tag: dynamodbav:",omitempty"
        emoji:
          type: string
          example: thumbsup
          description: Emoji string ID
          x-go-custom-tag: dynamodbav:",omitempty"
    Collaboration:
      type: object
      properties:
        token:
          type: string
          description: Security token used to start a collaboration session
    CardStatus:
      type: string
      enum:
        - committed
        - started
        - completed
        - cancelled
      example: started
    Member:
      type: object
      properties:
        user_id:
          type: string
          example: u-dsu0j19
          x-go-custom-tag: diff:"user_id,identifier"
        assigned_date:
          $ref: '#/components/schemas/STime'
        role:
          $ref: '#/components/schemas/MemberRole'
    Checklist:
      type: object
      properties:
        id:
          type: string
          example: '232'
          x-go-custom-tag: diff:"id,identifier"
        title:
          type: string
          example: My Checklist
        content:
          type: string
          example: Some description
        card_id:
          type: string
          example: '32'
        user_id:
          type: string
          example: uG2sdaOn
        time_created:
          $ref: '#/components/schemas/STime'
        time_updated:
          $ref: '#/components/schemas/STime'
        items:
          type: array
          items:
            $ref: '#/components/schemas/ChecklistItem'
    ParentCard:
      type: object
      properties:
        title:
          type: string
          example: Implement service requirements
        card_id:
          type: string
          example: '42'
          x-go-custom-tag: diff:"card_id,identifier"
        list_color:
          type: string
        status:
          $ref: '#/components/schemas/CardStatus'
    ChildCard:
      type: object
      properties:
        title:
          type: string
          example: Create illustration for upcoming holidays
        card_id:
          type: string
          example: '42'
          x-go-custom-tag: diff:"card_id,identifier"
        user_id:
          type: string
          example: us4Fsfed
        project_id:
          type: string
          example: '3'
        board_id:
          type: string
          example: '15'
        board_title:
          type: string
          example: Ideas
        list_id:
          type: string
          example: '55'
        list_title:
          type: string
          example: Done
        list_color:
          type: string
        status:
          $ref: '#/components/schemas/CardStatus'
        archived:
          $ref: '#/components/schemas/Archived'
    LinkedCard:
      type: object
      properties:
        title:
          type: string
          example: Create illustration for upcoming holidays
        card_id:
          type: string
          example: '42'
          x-go-custom-tag: diff:"card_id,identifier"
        user_id:
          type: string
          example: '42'
        project_id:
          type: string
          example: '3'
        board_id:
          type: string
          example: '15'
        board_title:
          type: string
          example: Ideas
        list_id:
          type: string
          example: list 1
        list_title:
          type: string
          example: list 1
        status:
          $ref: '#/components/schemas/CardStatus'
        archived:
          $ref: '#/components/schemas/Archived'
        linked_card_type:
          $ref: '#/components/schemas/LinkedCardType'
        icon:
          $ref: '#/components/schemas/Image'
    Tag:
      type: object
      properties:
        id:
          type: string
          example: u-dsu0j19
          x-go-custom-tag: diff:"id,identifier"
        team_id:
          type: string
          example: u-dsu0j19
        project_id:
          type: string
          example: '5'
        name:
          type: string
          example: todo
        slug:
          type: string
          example: todo
        color:
          $ref: '#/components/schemas/TagColor'
        total_cards:
          type: integer
          description: number of cards that use this tag
          example: 17
    ExternalLink:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/ExternalLinkType'
        github_pull_request:
          $ref: '#/components/schemas/GithubPullRequest'
        generic:
          $ref: '#/components/schemas/GenericExternalLink'
    CardHint:
      type: object
      properties:
        type:
          type: string
          description: defines the type of hint
          enum:
            - tag
            - relation
          example: tag
        tag:
          $ref: '#/components/schemas/CardHintTag'
        relation:
          $ref: '#/components/schemas/CardHintRelation'
    EpicBrief:
      type: object
      description: brief view of epic to be used in a card
      properties:
        id:
          type: string
          description: epic id
          example: e-123
        title:
          type: string
          description: epic title
          example: Epic Title
        icon:
          $ref: '#/components/schemas/Image'
    CoverImage:
      allOf:
        - $ref: '#/components/schemas/Image'
      properties:
        positionY:
          type: number
        object_fit:
          type: string
          enum:
            - contain
            - cover
          nullable: true
    ExternalRequestProvenance:
      type: object
      description: >
        Where an external request, card or reply came from. Stored separately
        from the Superthread

        requester, participant and creator fields, which external requesters
        never populate. Set only

        by the internal published-agent service facades; read-only everywhere
        else.


        It carries no personal data beyond an optional display name: no email,
        host subject or

        account reference. Those exist only in the private facade type
        `ExternalRequester` (stored by

        customers) and in ai's admin conversation view. So card and comment
        events, portal

        responses and webhooks that embed Card or Comment can never carry them.
      required:
        - source
        - external_conversation
      properties:
        source:
          type: string
          enum:
            - published_agent
          nullable: false
        source_label:
          type: string
          description: >-
            Visible source label, always computed by the owning service (e.g.
            "Published agent · anonymous" or "Published agent · <app name>").
            Ignored and overwritten when sent in a request body.
          example: Published agent · anonymous
        external_conversation:
          $ref: '#/components/schemas/ExternalConversationRef'
        display_name:
          type: string
          description: >-
            Requester's display name (signed by the host app, or typed and
            unverified for anonymous visitors). Cleared on erasure.
          maxLength: 200
        redacted:
          type: boolean
          description: True once the requester's personal data was erased.
          x-omitempty: false
    CustomerSummary:
      type: object
      description: >
        A requesting customer on a card or project, kept by boards from customer
        events. Requests

        with an Unknown customer appear as a single entry with an empty `id`.
      properties:
        id:
          type: string
          example: cu_01J9Z8Y7X6W5V4T3S2R1Q0P9N8
        name:
          type: string
          example: Acme
        logo_url:
          type: string
        tier_id:
          type: string
          nullable: true
        status_id:
          type: string
        owner_id:
          type: string
          nullable: true
        revenue:
          type: integer
          format: int64
          x-omitempty: false
        size:
          type: number
          x-omitempty: false
        important:
          type: boolean
          description: >-
            Whether any of this customer's requests on the card or project is
            important.
          x-omitempty: false
    EpicHealthStatus:
      type: string
      description: The health status of an project (epic).
      enum:
        - on_track
        - at_risk
        - off_track
        - not_expected
      example: on_track
      default: on_track
    WebhookNotification:
      type: object
      properties:
        destination_type:
          type: string
          description: >-
            The type of destination for the notification. E.g.:
            slack_channel_webhook|email etc...
          enum:
            - slack_channel_webhook
          example: slack_channel_webhook
        integration_id:
          type: string
          description: >-
            The Integration ID that holds the Webhook configuration for this
            notification type.
          example: '42'
    MemberRole:
      type: string
      enum:
        - admin
        - member
        - viewer
    ChecklistItem:
      type: object
      properties:
        id:
          type: string
          example: '4312'
          x-go-custom-tag: diff:"id,identifier"
        title:
          type: string
          example: Some title
        content:
          type: string
          example: Some description
        checklist_id:
          type: string
          example: '432'
        user_id:
          type: string
          example: u-du9saoj1
        time_created:
          $ref: '#/components/schemas/STime'
        time_updated:
          $ref: '#/components/schemas/STime'
        checked:
          type: boolean
          example: true
          x-omitempty: false
    LinkedCardType:
      type: string
      enum:
        - blocks
        - blocked_by
        - related
        - duplicates
      example: blocks
    TagColor:
      type: string
      enum:
        - fog
        - slate
        - grey
        - charcoal
        - black
        - red
        - orange
        - yellow
        - green
        - ocean
        - blue
        - purple
        - pink
      example: blue
      nullable: true
    ExternalLinkType:
      type: string
      enum:
        - github_pull_request
        - generic
    GithubPullRequest:
      type: object
      properties:
        id:
          type: integer
          nullable: true
        number:
          type: integer
          nullable: true
        state:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        body:
          type: string
          nullable: true
        html_url:
          type: string
          nullable: true
        time_created:
          $ref: '#/components/schemas/STime'
        time_updated:
          $ref: '#/components/schemas/STime'
        time_closed:
          $ref: '#/components/schemas/STime'
        time_merged:
          $ref: '#/components/schemas/STime'
        head:
          $ref: '#/components/schemas/GithubPullRequestBranch'
        base:
          $ref: '#/components/schemas/GithubPullRequestBranch'
        draft:
          type: boolean
          nullable: true
        merged:
          type: boolean
          nullable: true
    GenericExternalLink:
      type: object
      required:
        - url
      properties:
        id:
          type: string
          description: Unique identifier for this external link (UUID)
          example: 550e8400-e29b-41d4-a716-446655440000
        url:
          type: string
        display_text:
          type: string
          nullable: true
        time_added:
          $ref: '#/components/schemas/STime'
    CardHintTag:
      type: object
      properties:
        name:
          type: string
          enum:
            - bug
            - feature
    CardHintRelation:
      type: object
      properties:
        card:
          $ref: '#/components/schemas/HintCard'
        similarity:
          type: number
          format: float64
          description: similarity score between 0 and 1
          example: 0.8
    ExternalConversationRef:
      type: object
      description: >
        Routing reference from a Superthread object (card, customer request or
        comment) back to the

        published-agent conversation that created it or replied on it. Holds no
        personal data, so it

        is safe to carry on events. Every identifier is an opaque value issued
        by the ai service and

        is never a Superthread user, requester or participant ID.
      required:
        - publication_id
        - conversation_id
        - actor_id
        - audience
      properties:
        publication_id:
          type: string
          description: >-
            Opaque public ID of the agent publication the conversation belongs
            to.
          example: pub_01JB7Q4Z8XKQ3N6V2W1Y9T5R0M
          nullable: false
        agent_id:
          type: string
          description: The published agent.
        conversation_id:
          type: string
          description: The external conversation.
          example: xc_01JB7Q5B2C3D4E5F6G7H8J9K0L
          nullable: false
        actor_id:
          type: string
          description: >
            ai external actor. A verified requester has one actor per
            (workspace, app registration,

            external subject); an anonymous visitor has one per anonymous
            session lineage. Never a

            Superthread user ID.
          example: xa_01JB7Q5RZ0Y1X2W3V4U5T6S7R8
          nullable: false
        app_id:
          type: string
          description: >-
            App registration that verified the requester. Empty for anonymous
            requesters.
        audience:
          type: string
          description: >-
            Whether the requester was anonymous or verified by the host app when
            the object was created.
          enum:
            - anonymous
            - verified
          nullable: false
    GithubPullRequestBranch:
      type: object
      properties:
        label:
          type: string
          nullable: true
        ref:
          type: string
          nullable: true
    HintCard:
      type: object
      properties:
        title:
          type: string
          example: Create illustration for upcoming holidays
        card_id:
          type: string
          example: '42'
          x-go-custom-tag: diff:"card_id,identifier"
        user_id:
          type: string
          example: us4Fsfed
        project_id:
          type: string
          example: '3'
        board_id:
          type: string
          example: '15'
        board_title:
          type: string
          example: Ideas
        list_id:
          type: string
          example: '55'
        list_title:
          type: string
          example: Done
        list_color:
          type: string
        status:
          $ref: '#/components/schemas/CardStatus'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

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