> ## 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.

# Get Collection

> 指定したコレクションを取得します。
非公開、無効、別ワークスペース、または存在しないコレクションは、存在状態を区別せず404を返します。




## OpenAPI

````yaml /openapi.yaml get /v1/collections/{collectionId}
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/collections/{collectionId}:
    get:
      summary: Get Collection
      description: |
        指定したコレクションを取得します。
        非公開、無効、別ワークスペース、または存在しないコレクションは、存在状態を区別せず404を返します。
      operationId: getCollection
      parameters:
        - $ref: '#/components/parameters/workspaceId'
        - $ref: '#/components/parameters/collectionId'
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/Collection'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  parameters:
    workspaceId:
      name: X-Workspace-Id
      in: header
      required: true
      description: ワークスペースID
      schema:
        type: string
      example: e1f2a3b4-...
    collectionId:
      name: collectionId
      in: path
      required: true
      description: コレクションID
      schema:
        type: string
        format: uuid
      example: d3d5273b-b103-4a5a-b5d0-bd95e5a81f87
  schemas:
    Collection:
      type: object
      description: ワークスペース内で公開中かつ有効なコレクション
      additionalProperties: false
      required:
        - id
        - name
        - description
        - visibility
        - created_at
        - updated_at
      properties:
        id:
          type: string
          format: uuid
          description: コレクションID
          example: d3d5273b-b103-4a5a-b5d0-bd95e5a81f87
        name:
          type: string
          description: コレクション名
          example: ACME renewal
        description:
          type: string
          description: コレクションの説明
          example: ACME更新案件の会議
        visibility:
          type: string
          description: コレクションの公開範囲。初版では `workspace` のみです。
          enum:
            - workspace
        created_at:
          type: string
          format: date-time
          description: 作成日時（UTC）
          example: '2026-07-01T03:00:00.000Z'
        updated_at:
          type: string
          format: date-time
          description: 更新日時（UTC）
          example: '2026-07-10T08:30:00.000Z'
    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:
    BadRequest:
      description: クエリパラメータまたはIDの形式が不正です
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            statusCode: 400
            message: Bad Request
            error: Bad Request
    Unauthorized:
      description: APIキーが無効、失効、期限切れ、または未指定です
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            invalidApiKey:
              summary: 無効な API キー
              value:
                statusCode: 401
                message: Invalid API key
                error: Unauthorized
            missingApiKey:
              summary: API キー未指定
              value:
                statusCode: 401
                message: Missing X-Api-Key header
                error: Unauthorized
    NotFound:
      description: リソースが見つかりません
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            statusCode: 404
            message: Not Found
    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

````

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