Calculate expected LLM usage
Calculates expected number of LLM tokens needed for the specified agent.
Parâmetros de caminho
agent_id
Cabeçalhos
xi-api-key
Solicitação
This endpoint expects an object.
prompt_length
Length of the prompt in characters.
number_of_pages
Pages of content in pdf documents OR urls in agent's Knowledge Base.
rag_enabled
Whether RAG is enabled.
Resposta
Successful Response
llm_prices
Erros
422
Llm Usage Calculate Request Unprocessable Entity Error