For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
    • Welcome
  • API Reference
      • GETListar Llamadas
      • POSTLanzar Llamada Saliente
      • GETObtener Llamada
Logo
API ReferenceCalls

Obtener Llamada

GET
https://nebrijaai.com/api/v1/calls/:id
GET
/api/v1/calls/:id
$curl https://nebrijaai.com/api/v1/calls/id \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json"
1{
2 "id": "c3f1a9d2-7b4e-4f9a-9d3e-2a1b5f6c7d8e",
3 "status": "ended",
4 "customer": {
5 "number": "+34123456789"
6 },
7 "assistantId": "a12b34cd-56ef-78ab-90cd-12ef34567890",
8 "phoneNumberId": "b23c45de-67fa-89bc-01de-23fa45678901",
9 "testId": "d34e56fg-78ab-90cd-12ef-34ab56789012",
10 "testVariant": "B",
11 "startTime": "2024-06-10T15:20:00Z",
12 "endTime": "2024-06-10T15:45:30Z",
13 "durationMinutes": 25.5,
14 "cost": 3.75,
15 "endedReason": "Call completed successfully",
16 "transcript": "Hola, quería consultar sobre el estado de mi pedido. Claro, su pedido fue enviado ayer y llegará mañana.",
17 "recordingUrl": "https://nebrijaai.com/recordings/c3f1a9d2-7b4e-4f9a-9d3e-2a1b5f6c7d8e.mp3",
18 "analysis": {
19 "sentiment": "positive",
20 "keywords": [
21 "pedido",
22 "estado",
23 "envío",
24 "llegada"
25 ],
26 "durationSeconds": 1530,
27 "agentSatisfactionScore": 4.7
28 },
29 "transferDestination": {
30 "department": "Atención al Cliente",
31 "extension": "1234"
32 }
33}

Devuelve los detalles completos de una llamada, incluyendo transcripción y análisis.

Was this page helpful?
Previous

Listar Pruebas A/B

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired

Response

Detalles de la llamada.
idstring
statusenum
Allowed values:
customerobject
assistantIdstringformat: "uuid"
phoneNumberIdstringformat: "uuid"
testIdstringformat: "uuid"
testVariantenum
Allowed values:
startTimestring
endTimestring
durationMinutesdouble
costdouble
endedReasonstring
transcriptstring
recordingUrlstring
analysisobject
transferDestinationobject

Errors

404
Not Found Error