> 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/release-notes/cloudeka-api/ai-deka-registry/create-registry.md).

# Create registry

Creates a registry and assigns it to the specified project.

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"AI Deka Registry","description":"API endpoints for AI Deka Registry (base: /core/dekaregistry)"}],"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_dekaregistry__gin_utils.DataResponse":{"type":"object","properties":{"data":{},"message":{"type":"string"}}},"ai_dekaregistry__gin_utils.MessageResponse":{"type":"object","properties":{"message":{"type":"string"}}},"ai_dekaregistry__registry_controller.CreateRegistry":{"type":"object","properties":{"agreeSA":{"type":"boolean"},"agreeSoW":{"type":"boolean"},"billing_type":{"type":"string"},"description":{"type":"string"},"ip_address":{"type":"string"},"limit_size":{"type":"number"},"name":{"type":"string"},"project_id":{"type":"string"},"public":{"type":"boolean"},"purpose":{"type":"string"},"trial_voucher_id":{"type":"string"},"unit_size":{"type":"string"}}}}},"paths":{"/core/dekaregistry/v2/registry":{"post":{"description":"Creates a registry and assigns it to the specified project.","tags":["AI Deka Registry","Registry"],"summary":"Create registry","responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_dekaregistry__gin_utils.DataResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_dekaregistry__gin_utils.MessageResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_dekaregistry__gin_utils.MessageResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_dekaregistry__gin_utils.MessageResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_dekaregistry__gin_utils.MessageResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_dekaregistry__registry_controller.CreateRegistry"}}},"description":"Registry details","required":true}}}}}
```
