OpenAPI 3.1.02026-08-113641,4021.9 MB

d1a4847203ce

Agents Platform

Calculate Expected Llm Usage

Returns a list of LLM models and the expected cost for using them based on the provided values.

post/v1/convai/llm-usage/calculate

Request body

prompt_lengthinteger required

Length of the prompt in characters.

number_of_pagesinteger required

Pages of content in PDF documents or URLs in the agent's knowledge base.

rag_enabledboolean required

Whether RAG is enabled.

Response

Successful Response