GET /v1/ai/knowledge-cost
GET
/v1/ai/knowledge-cost
const url = 'https://seu-endereco-da-api/v1/ai/knowledge-cost';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://seu-endereco-da-api/v1/ai/knowledge-cost \ --header 'Authorization: Bearer <token>'Permissão que a Chave de acesso precisa: Ler agentes de IA (agents:read).
Authorizations
Seção intitulada “Authorizations”Responses
Seção intitulada “Responses”Media typeapplication/json
object
centsPer100Pages
required
What reading 100 pages into the knowledge base costs the tenant, in BRL cents; null when the reading model has no price
number
maxUploadBytes
required
Largest knowledge file accepted on upload and read in full, in bytes
number
Example generated
{ "centsPer100Pages": 1, "maxUploadBytes": 1}