エージェントの予想LLM使用量を計算

指定したエージェントに必要なLLMトークン数の見積もりを計算します。

パスパラメータ

agent_idstring必須

ヘッダー

xi-api-keystringオプション

リクエスト

This endpoint expects an object.
prompt_lengthinteger or nullオプション

プロンプトの文字数。

number_of_pagesinteger or nullオプション

PDFドキュメント内のコンテンツページ、またはエージェントのナレッジベース内のURL。

rag_enabledboolean or nullオプション

RAGが有効かどうか。

レスポンス

成功レスポンス。

llm_priceslist of objects

エラー

422
Unprocessable Entity Error