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

# List Playbooks

> Playbookを一覧で取得します。
デフォルトでは更新時間の降順（新しい順）で返却されます。
activeを指定しない場合は、公開中のPlaybookのみを返します。




## OpenAPI

````yaml /openapi.yaml get /v1/playbooks
openapi: 3.1.0
info:
  title: Frictio Public API
  version: 1.0.0-beta
servers:
  - url: https://public-api.frictio.ai
security:
  - ApiKeyAuth: []
paths:
  /v1/playbooks:
    get:
      summary: List Playbooks
      description: |
        Playbookを一覧で取得します。
        デフォルトでは更新時間の降順（新しい順）で返却されます。
        activeを指定しない場合は、公開中のPlaybookのみを返します。
      operationId: listPlaybooks
      parameters:
        - $ref: '#/components/parameters/workspaceId'
        - name: active
          in: query
          required: false
          description: |
            Playbookの公開状態でフィルタします。
            未指定の場合はactive=trueと同じ挙動で、公開中のPlaybookのみを返します。
            active=falseを指定すると下書きのPlaybookのみ、active=allを指定すると公開中・下書きの両方を返します。
          schema:
            type: string
            enum:
              - 'true'
              - 'false'
              - all
            default: 'true'
          example: 'true'
        - name: limit
          in: query
          required: false
          description: 取得件数の上限（1〜50、デフォルト30）
          schema:
            type: integer
            minimum: 1
            maximum: 50
            default: 30
        - name: cursor
          in: query
          required: false
          description: ページネーションカーソル。レスポンスの next_cursor を指定してください。
          schema:
            type: string
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - pagination
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/PlaybookListItem'
                  pagination:
                    $ref: '#/components/schemas/Pagination'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  parameters:
    workspaceId:
      name: X-Workspace-Id
      in: header
      required: true
      description: ワークスペースID
      schema:
        type: string
      example: e1f2a3b4-...
  schemas:
    PlaybookListItem:
      type: object
      description: |
        List Playbooksで返却されるPlaybookの各アイテム。
        Talk Point等の定義詳細はGet Playbookで取得してください。
      required:
        - id
        - name
        - active
        - updated_at
      properties:
        id:
          type: string
          description: Playbook ID
          example: d4e5f6a7-...
        name:
          type: string
          description: Playbook名
          example: 商談ヒアリング
        active:
          type: boolean
          description: Playbookの公開状態。trueは公開中、falseは下書き。
          example: true
        updated_at:
          type: string
          format: date-time
          description: 更新時間（UTC）
          example: '2026-04-01T12:34:56.000Z'
    Pagination:
      type: object
      required:
        - next_cursor
      properties:
        next_cursor:
          type:
            - string
            - 'null'
          description: |
            次ページ取得用カーソル。
            nullの場合、次ページはありません。
          example: eyJpZCI6MTIzfQ==
    Error:
      type: object
      required:
        - statusCode
        - message
      properties:
        statusCode:
          type: integer
          description: HTTPステータスコード
          example: 404
        message:
          type: string
          description: エラーメッセージ
          example: Meeting not found
        error:
          type: string
          description: |
            エラー種別。メッセージ文字列付きで例外が生成された場合のみ含まれます。
          example: Not Found
  responses:
    Unauthorized:
      description: APIキーが無効、失効、期限切れ、または未指定です
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            statusCode: 401
            message: Invalid API key
            error: Unauthorized
    Forbidden:
      description: 権限エラー
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            statusCode: 403
            message: Forbidden
    TooManyRequests:
      description: レートリミット超過
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            statusCode: 429
            message: Too Many Requests
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key

````