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

# ファイルカテゴリのテーブルを更新

> 指定したファイルカテゴリ配下の複数テーブルを更新します。全件成功または全件失敗のセマンティクスを採用しています。



## OpenAPI

````yaml /docflow-global/ja/rest-api/openapi.bundle.yaml post /api/app-api/sip/platform/v2/category/tables/batch_update
openapi: 3.0.0
info:
  title: DocFlow API
  description: DocFlow REST API。ファイルアップロードとファイル処理結果の取得機能を提供します。
  version: 2.8.4
  contact:
    name: TextIn
    url: https://www.textin.ai/contact?type=27&sub_type=1
servers:
  - url: https://docflow.textin.ai
security:
  - ApiId: []
    SecretCode: []
tags:
  - name: ワークスペース管理
    description: ワークスペース関連 API
  - name: ファイルカテゴリ
    description: ファイルカテゴリ関連 API
  - name: ファイルカテゴリサンプル
    description: ファイルカテゴリサンプル関連 API
  - name: スマートレビュー
    description: スマートレビュー関連 API
  - name: 廃止済み
    description: 廃止済み API
paths:
  /api/app-api/sip/platform/v2/category/tables/batch_update:
    post:
      tags:
        - ファイルカテゴリ
      summary: ファイルカテゴリのテーブルを更新
      description: 指定したファイルカテゴリ配下の複数テーブルを更新します。全件成功または全件失敗のセマンティクスを採用しています。
      operationId: batchUpdateCategoryTables
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                workspace_id:
                  type: string
                  description: ワークスペース ID
                  example: '1234567890'
                category_id:
                  type: string
                  description: ファイルカテゴリ ID
                  example: '1234567890'
                tables:
                  type: array
                  description: 更新するテーブルのリスト
                  items:
                    $ref: '#/components/schemas/CategoryTableUpdateItem'
                  minItems: 1
              required:
                - workspace_id
                - category_id
                - tables
      responses:
        '200':
          description: テーブルの更新に成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CodeMessage'
components:
  schemas:
    CategoryTableUpdateItem:
      type: object
      properties:
        table_id:
          type: string
          description: テーブル ID
          example: '1234567890'
        name:
          type: string
          description: テーブル名
          maxLength: 50
        prompt:
          type: string
          description: テーブルの意味抽出プロンプト
          maxLength: 200
        extract_model:
          type: string
          description: テーブルレベルの抽出モデル
          enum:
            - Auto
            - Acgpt
            - Acgpt-VL
            - DF-M1
        collect_from_multi_table:
          type: boolean
          description: 複数テーブルを結合
      required:
        - table_id
    CodeMessage:
      type: object
      properties:
        code:
          type: integer
          description: ステータスコード
          example: 200
        msg:
          type: string
          description: ステータス説明
      required:
        - code
        - msg
  securitySchemes:
    ApiId:
      type: apiKey
      in: header
      name: x-ti-app-id
    SecretCode:
      type: apiKey
      in: header
      name: x-ti-secret-code

````