メインコンテンツへスキップ
POST
単一ファイルカテゴリフィールドを更新

承認

x-ti-app-id
string
header
必須
x-ti-secret-code
string
header
必須

ボディ

application/json

フィールド更新項目(multi_value/duplicate_value_distinct はこのエンドポイントでは変更できません)

field_id
string
必須

フィールド ID

:

"1234567890"

workspace_id
string
必須

ワークスペース ID

:

"1234567890"

category_id
string
必須

ファイルカテゴリ ID

:

"1234567890"

name
string

フィールド名

description
string

フィールドの説明

prompt
string

意味抽出プロンプト

use_prompt
boolean

意味抽出プロンプトを使用するかどうか

alias
string[]

フィールド別名。省略=変更なし、空配列 []=クリア、空でない配列=上書き

:
identity
string

エクスポート時のフィールド名。省略=変更なし、空文字列 ""=クリア、空でない値=上書き

:

"invoice_number"

multi_value
boolean

複数値抽出を有効にするかどうか。省略=変更なし

duplicate_value_distinct
boolean

値を重複排除するかどうか。multi_value が true の場合のみ有効です。省略=変更なし

transform_settings
object

フィールド出力変換設定。抽出結果を出力前に整形します。

extract_model
enum<string>

フィールド単位の抽出モデル。通常フィールドのみ個別に設定でき、テーブルフィールドは設定できません。 省略すると既存設定を保持します。

  • Auto: 抽出モデルを自動でマッチング
  • Acgpt: 高速で安定した抽出結果
  • Acgpt-VL: VLM。シンプルな抽出に適しています(≤10 ページ)
  • DF-M1: 複雑な文書理解に適しています
利用可能なオプション:
Auto,
Acgpt,
Acgpt-VL,
DF-M1
:

"Acgpt"

table_id
string

テーブル ID

  • 通常フィールドでは不要です
  • テーブルフィールドでは必須です(フィールドが属するテーブル ID を指定してください)
:

"1234567890"

with_detail
boolean

完全な詳細を返すかどうか。true の場合、更新後フィールドの完全な情報を返します。 未設定または false の場合、code/msg のみを返します。

レスポンス

200 - application/json

ファイルカテゴリフィールドの更新に成功

code
integer
必須

ステータスコード

:

200

msg
string
必須

ステータス説明