LogoFreestyle
API ReferenceDev servers

Commit and push changes from the dev server

POST
/ephemeral/v1/dev-servers/git/commit-push

Request Body

application/json

devServer*
message*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.freestyle.sh/ephemeral/v1/dev-servers/git/commit-push" \  -H "Content-Type: application/json" \  -d '{    "devServer": {      "repoId": "c7c90052-c566-40b6-94a5-a1e9a44bfdc7"    },    "message": "string"  }'
{
  "committed": true,
  "pushed": true
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "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.