> ## Documentation Index
> Fetch the complete documentation index at: https://graine.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve a call

> Get details of an existing call via the REST API

## Endpoint

**GET** `https://api.graine.cloud/v1/Accounts/{AccountSid}/Calls/{CallSid}`

Reference: REST Call Control — Get Call

## Path parameters

| Parameter  | Type   | Required | Description |
| ---------- | ------ | -------- | ----------- |
| AccountSid | string | Yes      | Account SID |
| CallSid    | string | Yes      | Call SID    |

## Headers

| Header        | Required | Description  |
| ------------- | -------- | ------------ |
| Authorization | Yes      | Bearer token |

## Response

**200** — Call found

| Property                      | Type          | Description                                                                                |
| ----------------------------- | ------------- | ------------------------------------------------------------------------------------------ |
| account\_sid                  | string (uuid) | Account SID                                                                                |
| application\_sid              | string (uuid) | Application SID                                                                            |
| call\_id                      | string        | Call ID                                                                                    |
| call\_sid                     | string (uuid) | Call SID                                                                                   |
| call\_status                  | string        | One of: trying, ringing, alerting, in-progress, completed, busy, no-answer, failed, queued |
| caller\_name                  | string        | Caller name                                                                                |
| direction                     | string        | inbound or outbound                                                                        |
| duration                      | integer       | Call duration                                                                              |
| from                          | string        | Calling party                                                                              |
| originating\_sip\_trunk\_name | string        | Trunk that received/originated the call                                                    |
| parent\_call\_sid             | string (uuid) | Parent call SID if applicable                                                              |
| service\_url                  | string        | Service URL                                                                                |
| sip\_status                   | integer       | SIP status                                                                                 |
| to                            | string        | Called party                                                                               |

**404** — Call not found\
**500** — System error (response may include `msg` in body)

## Example

```python theme={null}
import requests

url = "https://api.graine.cloud/v1/Accounts/AccountSid/Calls/CallSid"
headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)
print(response.json())
```

```javascript theme={null}
const url = 'https://api.graine.cloud/v1/Accounts/AccountSid/Calls/CallSid';
const options = { method: 'GET', headers: { Authorization: 'Bearer <token>' } };

const response = await fetch(url, options);
const data = await response.json();
console.log(data);
```
