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

# List chats



## OpenAPI

````yaml https://api.usenotra.com/openapi.json get /v1/chats
openapi: 3.1.1
info:
  title: Notra API
  version: 1.0.0
  description: >-
    OpenAPI schema for Notra content endpoints. Use GET /v1/status for public
    reachability. Error responses include recovery guidance.
servers:
  - url: https://api.usenotra.com
    description: Production
security:
  - BearerAuth: []
tags:
  - name: Content
    description: >-
      Read content. Organization is inferred from the API key
      (identity.externalId).
  - name: Schedules
    description: >-
      Manage scheduled content generation. Organization is inferred from the API
      key (identity.externalId).
  - name: Event Triggers
    description: >-
      Manage event-based content generation triggered by GitHub webhooks.
      Organization is inferred from the API key (identity.externalId).
  - name: Chats
    description: >-
      Manage chat sessions. Organization is inferred from the API key
      (identity.externalId).
  - name: Skills
    description: >-
      Manage reusable writing skills. Organization is inferred from the API key
      (identity.externalId).
paths:
  /v1/chats:
    get:
      tags:
        - Chats
      summary: List chats
      operationId: listChats
      responses:
        '200':
          description: Chats fetched successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetChatsResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Authentication service unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    GetChatsResponse:
      type: object
      properties:
        chats:
          type: array
          items:
            $ref: '#/components/schemas/ChatSessionSummary'
      required:
        - chats
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        recovery:
          type: string
      required:
        - error
    ChatSessionSummary:
      type: object
      properties:
        chatId:
          type: string
        title:
          type: string
        createdAt:
          type: string
        updatedAt:
          type: string
        pinnedAt:
          type:
            - string
            - 'null'
        externalChannelId:
          $ref: '#/components/schemas/ExternalChannelId'
      required:
        - chatId
        - title
        - createdAt
        - updatedAt
        - pinnedAt
    ExternalChannelId:
      type:
        - object
        - 'null'
      properties:
        source:
          type: string
          enum:
            - discord
            - slack
            - dashboard
        id:
          type: string
          maxLength: 200
      required:
        - source
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Send your API key in the Authorization header as Bearer API_KEY.

````