에이전트의 예상 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