LogoFreestyle
API ReferenceCloudstate

Deploy Cloudstate Project

Deploy a cloudstate project

POST
/cloudstate/v1/deploy

Request Body

application/json

classes*string
config?

Response Body

application/json

application/json

curl -X POST "https://api.freestyle.sh/cloudstate/v1/deploy" \  -H "Content-Type: application/json" \  -d '{    "classes": "string"  }'
{
  "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2",
  "cloudstateDatabaseId": "20547d4d-3e6e-448d-8579-800561373fd2"
}
{
  "message": "string"
}

Freestyle AI

Documentation assistant

Experimental: AI responses may not always be accurate—please verify important details with the official documentation.

How can I help?

Ask me about Freestyle while you browse the docs.