---
title: "getEgressCA"
---

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

# getEgressCA

Path: agenthold API › egress

`GET /egress/ca.pem`

URL: `/api/v1/egress/ca.pem`

The installation's egress CA certificate (trusted inside sandboxes).

## Authentication

Requires one of the following:

- `session`, apiKey, in cookie
- `token`, http bearer, header `Authorization`

## Code samples

### cURL

```bash
curl --request GET \
  --url '<base-url>/api/v1/egress/ca.pem' \
  --cookie 'agenthold_session=<agenthold_session>'
```

### TypeScript

```typescript
const url = '<base-url>/api/v1/egress/ca.pem';
const options = {
  method: 'GET',
  headers: {cookie: 'agenthold_session=<agenthold_session>'}
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "<base-url>/api/v1/egress/ca.pem"

headers = {"cookie": "agenthold_session=<agenthold_session>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

PEM certificate.

#### Example

```text
string
```

#### Body (application/x-pem-file)

Type: `string`


Source: https://agenthold.dev/api/get-egress-ca/index.md
