Skip to main content
POST
cURL
このリソースは、バージョン2024.0のエンドポイントで使用されています。 詳細については、 Box APIのバージョン管理を参照してください。Box SDKのバージョニング戦略について詳しく学ぶ。」

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

ボディ

application/json

AIへのメタデータ抽出 (自由形式) リクエストオブジェクト。

prompt
string
必須

リクエストで大規模言語モデル (LLM) に提供されるプロンプト。プロンプトには、最大10,000文字を指定できるほか、XMLまたはJSONスキーマを使用することができます。

:

"\\\"fields\\\":[{\\\"type\\\":\\\"string\\\",\\\"key\\\":\\\"name\\\",\\\"displayName\\\":\\\"Name\\\",\\\"description\\\":\\\"The customer name\\\",\\\"prompt\\\":\\\"Name is always the first word in the document\\\"},{\\\"type\\\":\\\"date\\\",\\\"key\\\":\\\"last_contacted_at\\\",\\\"displayName\\\":\\\"Last Contacted At\\\",\\\"description\\\":\\\"When this customer was last contacted at\\\"}]"

items
AI項目 (Base) · object[]
必須

LLMで処理される項目。現在使用できるのはファイルのみです。

Required array length: 1 - 25 elements
ai_agent
AIエージェントの参照 · object

抽出に使用されるAIエージェント。

レスポンス

LLMからの回答を含むレスポンス。

AIの応答。

answer
string
必須

LLMから提供された回答。

:

"Public APIs are important because of key and important reasons."

created_at
string<date-time>
必須

プロンプトに対する回答が作成された時点のISO日付形式のタイムスタンプ。

:

"2012-12-12T10:53:43-08:00"

completion_reason
string

応答が終了した理由。

:

"done"

ai_agent_info
リクエストで使用されるモデルおよびプロセッサに関する情報。 · object

リクエストで使用されるモデルおよびプロセッサに関する情報。

最終更新日 2026年1月23日