# Get Asset

## Get Asset

### Endpoint

```
GET /v1/businesses/{businessId}/assets/{assetId}
```

### Path Parameters

| Parameter    | Type   | Required | Description                    |
| ------------ | ------ | -------- | ------------------------------ |
| `businessId` | string | Yes      | Your business ID (UUID format) |
| `assetId`    | string | Yes      | The asset ID to retrieve       |

### Response

| Field    | Type   | Description                           |
| -------- | ------ | ------------------------------------- |
| `cdnUri` | string | CDN URL where the asset is accessible |

### Example

#### Request

```bash
curl -X GET "https://api.connectly.ai/v1/businesses/550e8400-e29b-41d4-a716-446655440000/assets/6ba7b810-9dad-11d1-80b4-00c04fd430c8" \
  -H "X-API-Key: your-api-key"
```

#### Response

```json
{
  "cdnUri": "https://cdn.connectly.ai/assets/6ba7b810-9dad-11d1-80b4-00c04fd430c8"
}
```

### Error Responses

#### Authentication Error (401)

```json
{
  "code": 16,
  "message": "XASSET.UNAUTHENTICATED: missing or invalid API key"
}
```

#### Asset Not Found (404)

```json
{
  "code": 5,
  "message": "XASSET.NOT_FOUND: asset not found"
}
```

#### Invalid Asset ID (400)

```json
{
  "code": 3,
  "message": "XASSET.INVALID_ARGUMENT: invalid asset_id format"
}
```

### Rate Limiting

This endpoint is limited to **100 requests per second**. If the limit is exceeded, the API will return a `429 Too Many Requests` response.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.connectly.ai/assets/assets-api/get-asset.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
