> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api/deka-cdn/get-cdn-config.md).

# Get CDN config

Retrieve the active VCL configuration for a CDN

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"Deka CDN","description":"API endpoints for Deka CDN (base: /core/cdn)"}],"servers":[{"url":"https://ai.cloudeka.id/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"description":"Type 'Bearer ' followed by your JWT token. Example: \"Bearer eyJhbGciOi...\"","type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"ai_cdn__cdn_use_case.ConfigGetResponse":{"type":"object","properties":{"content":{"type":"string"},"created_at":{"type":"string"},"id":{"type":"string"},"is_active":{"type":"boolean"},"version":{"type":"integer"}}}}},"paths":{"/core/cdn/v1/cdn/{id}/config/detail":{"get":{"description":"Retrieve the active VCL configuration for a CDN","tags":["Deka CDN","CDN"],"summary":"Get CDN config","parameters":[{"schema":{"type":"string"},"description":"CDN ID (UUID format)","name":"id","in":"path","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_cdn__cdn_use_case.ConfigGetResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}}}}}}}
```
