Calculate expected LLM usage
Calculates expected number of LLM tokens needed for the specified agent.
Paramètres de chemin
agent_id
En-têtes
xi-api-key
Requête
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.
Réponse
Successful Response
llm_prices
Erreurs
422
Llm Usage Calculate Request Unprocessable Entity Error