> 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/chatbot-claudia/create-new-security.md).

# Create New Security

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"Chatbot Claudia","description":"API endpoints for Chatbot Claudia (base: /core/claudia)"}],"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_claudia__engine.ResponseSuccess":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"boolean"}}},"ai_claudia__engine.ResponseStatus":{"type":"object","properties":{"data":{},"errors":{},"message":{"type":"string"},"status":{"type":"boolean"}}},"ai_claudia__requests.CreateSecurity":{"type":"object","properties":{"description":{"type":"string"},"name":{"type":"string"},"port_ids":{"description":"InstanceIDs []string `json:\"instance_ids\"`","type":"array","items":{"type":"string"}},"project_id":{"type":"string"},"rules":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"direction":{"type":"string"},"ethertype":{"type":"string"},"port_range_max":{"type":"string"},"port_range_min":{"type":"string"},"protocol":{"type":"string"},"sources":{"type":"string"},"type":{"type":"string"}}}}}}}},"paths":{"/core/claudia/user/security":{"post":{"tags":["Chatbot Claudia","Security"],"summary":"Create New Security","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_claudia__engine.ResponseSuccess"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_claudia__engine.ResponseStatus"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_claudia__requests.CreateSecurity"}}},"description":"Create New Security request","required":true}}}}}
```
