Pular para o conteúdo principal
GET
/
api
/
v1
/
agents
/
{agent_id}
/
pricing
curl "https://app.talkover.ai/api/v1/agents/550e8400-e29b-41d4-a716-446655440000/pricing" \
  -H "Authorization: Bearer talq_your_environment_token_here"
{
  "success": true,
  "data": {
    "agent_id": "550e8400-e29b-41d4-a716-446655440000",
    "currency": "USD",
    "components": {
      "voice_synthesis": {
        "unit": "per_minute",
        "price": 0.045,
        "tier": "high_fidelity"
      },
      "transcription": {
        "unit": "per_minute",
        "price": 0.012
      },
      "language_model": {
        "unit": "per_1k_tokens",
        "input_price": 0.0015,
        "output_price": 0.006
      }
    },
    "transport": {
      "outbound": {
        "country_code": "US",
        "unit": "per_minute",
        "price": 0.018
      },
      "inbound": {
        "country_code": "US",
        "unit": "per_minute",
        "price": 0.0085
      }
    },
    "estimated_cost_per_minute": 0.0855,
    "calculated_at": "2024-01-15T10:30:00Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.talkover.ai/llms.txt

Use this file to discover all available pages before exploring further.

Obter Preços do Agente

Recuperar um detalhamento de custos para um agente — síntese de voz, transcrição, modelo de linguagem e componentes de transporte — com base na configuração atual do agente e no plano do seu ambiente.

Endpoint

GET /api/v1/agents/{agent_id}/pricing

Parâmetros de Caminho

agent_id
string
obrigatório
UUID do agente.

Cabeçalhos da Requisição

Authorization
string
obrigatório
Token Bearer para autenticação. Formato: Bearer talq_your_environment_token_here

Exemplos

curl "https://app.talkover.ai/api/v1/agents/550e8400-e29b-41d4-a716-446655440000/pricing" \
  -H "Authorization: Bearer talq_your_environment_token_here"

Resposta

{
  "success": true,
  "data": {
    "agent_id": "550e8400-e29b-41d4-a716-446655440000",
    "currency": "USD",
    "components": {
      "voice_synthesis": {
        "unit": "per_minute",
        "price": 0.045,
        "tier": "high_fidelity"
      },
      "transcription": {
        "unit": "per_minute",
        "price": 0.012
      },
      "language_model": {
        "unit": "per_1k_tokens",
        "input_price": 0.0015,
        "output_price": 0.006
      }
    },
    "transport": {
      "outbound": {
        "country_code": "US",
        "unit": "per_minute",
        "price": 0.018
      },
      "inbound": {
        "country_code": "US",
        "unit": "per_minute",
        "price": 0.0085
      }
    },
    "estimated_cost_per_minute": 0.0855,
    "calculated_at": "2024-01-15T10:30:00Z"
  }
}

Observações