> 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-flexi/create-new-keypair.md).

# Create new keypair

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"AI Flexi","description":"API endpoints for AI Flexi (base: /core/flexi)"}],"servers":[{"url":"https://ai.cloudeka.id/"}],"paths":{"/core/flexi/user/keypair":{"post":{"tags":["AI Flexi","Keypair"],"summary":"Create new keypair","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_flexi__deka-flexi_app_base_handler.Result"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_flexi__response.ResError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_flexi__requests.CreateKeypairRequest"}}},"description":"Create keypair request","required":true}}}},"components":{"schemas":{"ai_flexi__deka-flexi_app_base_handler.Result":{"type":"object","properties":{"data":{},"message":{"type":"string"},"status":{"type":"boolean"}}},"ai_flexi__response.ResError":{"type":"object","properties":{"errors":{},"message":{"type":"string"},"status":{"type":"boolean"}}},"ai_flexi__requests.CreateKeypairRequest":{"type":"object","required":["content","name","project_id"],"properties":{"content":{"type":"string","maxLength":2000},"name":{"type":"string","maxLength":50},"project_id":{"type":"string"}}}}}}
```
