> 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-rafay/create-a-service-instance.md).

# Create a service instance

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"AI Rafay","description":"API endpoints for AI Rafay (base: /rafay)"}],"servers":[{"url":"https://ai.cloudeka.id/"}],"paths":{"/rafay/v1/service/instance/create":{"post":{"tags":["AI Rafay","Service"],"summary":"Create a service instance","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_rafay__response.Response"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_rafay__response.Response"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_rafay__response.Response"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_rafay__request.RafayServiceInstanceCreate"}}},"description":"Request body","required":true}}}},"components":{"schemas":{"ai_rafay__response.Response":{"type":"object","properties":{"data":{},"error":{},"message":{"type":"string"},"upstream":{}}},"ai_rafay__request.RafayServiceInstanceCreate":{"type":"object","required":["project_id","service_instance_name","service_profile_name"],"properties":{"agreeSA":{"description":"subscription agreement","type":"boolean"},"agreeSoW":{"description":"scope of work","type":"boolean"},"compute_instance":{"type":"string"},"ip_address":{"type":"string"},"project_id":{"type":"string"},"purpose_of_use":{"type":"string"},"service_instance_name":{"type":"string"},"service_profile_name":{"type":"string"},"service_profile_system_catalog":{"type":"boolean"}}}}}}
```
