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

# ファイル一覧

> チームのすべての完了したファイルを一覧表示します。目的でフィルタリングすることもできます。



## OpenAPI

````yaml ja/openapi/files.json GET /v1/files
openapi: 3.0.3
info:
  title: ファイル API
  version: 1.0.0
servers:
  - url: https://api.olostep.com
security: []
paths:
  /v1/files:
    get:
      summary: ファイル一覧
      description: >-
        あなたのチームのすべての完了したファイルを一覧表示します。オプションで目的別にフィルタリングできます。ステータスが 'completed'
        のファイルのみを返します。
      parameters:
        - name: purpose
          in: query
          required: false
          schema:
            type: string
            enum:
              - context
              - batch
          description: '目的別にファイルをフィルタリングします。サポートされている値: ''context'' または ''batch''。'
      responses:
        '200':
          description: ファイルのリストを含む成功したレスポンス。
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    description: オブジェクトの種類。このエンドポイントでは "list"。
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: ファイルID
                        object:
                          type: string
                          description: オブジェクトの種類。このエンドポイントでは "file"。
                        created:
                          type: integer
                          description: 作成されたエポックタイムスタンプ
                        filename:
                          type: string
                          description: アップロードされたファイルのファイル名
                        bytes:
                          type: integer
                          description: ファイルサイズ（バイト単位）
                        purpose:
                          type: string
                          description: ファイルの目的
                        status:
                          type: string
                          description: ファイルのステータス。リストされたファイルの場合は常に 'completed'。
        '401':
          description: 無効なAPIキー
        '500':
          description: 内部サーバーエラー
      security:
        - Authorization: []
components:
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: Bearer <token>形式のBearer認証ヘッダー。<token>はあなたの認証トークンです。

````