LogoFreestyle
API ReferenceDev servers

Get logs from the dev server (journalctl -u freestyle-run-dev)

POST
/ephemeral/v1/dev-servers/logs

Request Body

application/json

devServer*
lines?integer|null
Formatint32
Range0 <= value

Response Body

application/json

curl -X POST "https://api.freestyle.sh/ephemeral/v1/dev-servers/logs" \  -H "Content-Type: application/json" \  -d '{    "devServer": {      "repoId": "c7c90052-c566-40b6-94a5-a1e9a44bfdc7"    }  }'
{
  "logs": "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.