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

# List prompts

> Every prompt in the organization, without content.



## OpenAPI

````yaml /openapi.json post /v1/prompts.list
openapi: 3.1.0
info:
  title: Anpord API
  version: 1.0.0
  description: >-
    Prompt management. Every endpoint takes a JSON body over POST and
    authenticates with a bearer API key.
servers:
  - description: Production
    url: https://api.anpord.com
security: []
tags:
  - name: Prompts
    description: >-
      Read and write prompts. Content is versioned, so writes append rather than
      overwrite, and channels decide which version callers receive.
paths:
  /v1/prompts.list:
    post:
      tags:
        - Prompts
      summary: List prompts
      description: Every prompt in the organization, without content.
      operationId: prompts.list
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListPromptsRequest'
        required: true
      responses:
        '200':
          description: Every prompt in the organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PromptList'
        '400':
          description: The request did not match the expected schema
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/HttpApiDecodeError'
                  - $ref: '#/components/schemas/BadRequest'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Unauthorized'
        '404':
          description: NotFound
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFound'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Conflict'
      security:
        - bearer: []
components:
  schemas:
    ListPromptsRequest:
      $id: /schemas/%7B%7D
      anyOf:
        - type: object
        - type: array
      description: No parameters; returns every prompt in the organization.
    PromptList:
      type: object
      required:
        - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/PromptSummary'
      additionalProperties: false
      description: Every prompt in the organization.
    HttpApiDecodeError:
      type: object
      required:
        - issues
        - message
        - _tag
      properties:
        issues:
          type: array
          items:
            $ref: '#/components/schemas/Issue'
        message:
          type: string
        _tag:
          type: string
          enum:
            - HttpApiDecodeError
      additionalProperties: false
      description: The request did not match the expected schema
    BadRequest:
      type: object
      required:
        - message
        - _tag
      properties:
        message:
          type: string
        _tag:
          type: string
          enum:
            - BadRequest
      additionalProperties: false
    Unauthorized:
      type: object
      required:
        - message
        - _tag
      properties:
        message:
          type: string
        _tag:
          type: string
          enum:
            - Unauthorized
      additionalProperties: false
    NotFound:
      type: object
      required:
        - message
        - _tag
      properties:
        message:
          type: string
        _tag:
          type: string
          enum:
            - NotFound
      additionalProperties: false
    Conflict:
      type: object
      required:
        - message
        - _tag
      properties:
        message:
          type: string
        _tag:
          type: string
          enum:
            - Conflict
      additionalProperties: false
    PromptSummary:
      type: object
      required:
        - id
        - latestVersion
        - name
        - productionVersion
        - updatedAt
      properties:
        id:
          type: string
          description: a string matching the pattern ^[a-z0-9][a-z0-9/_-]*$
          title: maxLength(255)
          minLength: 1
          maxLength: 255
          pattern: ^[a-z0-9][a-z0-9/_-]*$
        latestVersion:
          anyOf:
            - $ref: '#/components/schemas/Int'
              description: a positive number
              title: positive
              exclusiveMinimum: 0
            - type: 'null'
        name:
          type: string
          description: a string at most 255 character(s) long
          title: maxLength(255)
          minLength: 1
          maxLength: 255
        productionVersion:
          anyOf:
            - $ref: '#/components/schemas/Int'
              description: a positive number
              title: positive
              exclusiveMinimum: 0
            - type: 'null'
        updatedAt:
          $ref: '#/components/schemas/Instant'
      additionalProperties: false
      description: A prompt without its content.
    Issue:
      type: object
      required:
        - _tag
        - path
        - message
      properties:
        _tag:
          type: string
          enum:
            - Pointer
            - Unexpected
            - Missing
            - Composite
            - Refinement
            - Transformation
            - Type
            - Forbidden
          description: The tag identifying the type of parse issue
        path:
          type: array
          items:
            $ref: '#/components/schemas/PropertyKey'
          description: The path to the property where the issue occurred
        message:
          type: string
          description: A descriptive message explaining the issue
      additionalProperties: false
      description: >-
        Represents an error encountered while parsing a value to match the
        schema
    Int:
      type: integer
      description: an integer
      title: int
    Instant:
      type: string
      description: An ISO-8601 timestamp in UTC.
    PropertyKey:
      anyOf:
        - type: string
        - type: number
        - type: object
          required:
            - _tag
            - key
          properties:
            _tag:
              type: string
              enum:
                - symbol
            key:
              type: string
          additionalProperties: false
          description: an object to be decoded into a globally shared symbol
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````