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

# List prompt categories

> The categories the library's prompts are filed under, as the app's category filter shows them: Statisfy's (of its live prompts), then the workspace's tags that its prompts carry, each by name. GET /v1/prompts filters on one with `category`; a workspace tag's `tag_id` is what `tags` takes when saving a prompt. To file a prompt under a tag no prompt carries yet, take its id from GET /v1/tags (POST /v1/tags creates one).



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/prompts/categories
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/prompts/categories:
    get:
      tags:
        - prompts
      summary: List prompt categories
      description: >-
        The categories the library's prompts are filed under, as the app's
        category filter shows them: Statisfy's (of its live prompts), then the
        workspace's tags that its prompts carry, each by name. GET /v1/prompts
        filters on one with `category`; a workspace tag's `tag_id` is what
        `tags` takes when saving a prompt. To file a prompt under a tag no
        prompt carries yet, take its id from GET /v1/tags (POST /v1/tags creates
        one).
      operationId: prompts_list_categories
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PromptCategoriesResponse'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    PromptCategoriesResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/PromptCategory'
          title: Data
          type: array
      required:
        - data
      title: PromptCategoriesResponse
      type: object
    PromptCategory:
      properties:
        color:
          anyOf:
            - type: string
            - type: 'null'
          description: The tag's color, as a hex code; null for Statisfy's
          title: Color
        name:
          title: Name
          type: string
        source:
          description: >-
            statisfy (a category Statisfy files its prompts under) or workspace
            (one of the workspace's tags, carried by at least one of its
            prompts)
          enum:
            - statisfy
            - workspace
          title: Source
          type: string
        tag_id:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            The tag's id, from GET /v1/tags, which `tags` takes; null for
            Statisfy's
          title: Tag Id
      required:
        - name
        - source
        - tag_id
        - color
      title: PromptCategory
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

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