The code of a Worker
GET/v1/orgs/{org}/services/{service}/code
API token or dashboard session
The code of a Worker.
Path parameters
orgstringpathrequiredOrganisation slug
servicestringpathrequired
Responses
200WorkerCode404Problem
Fields of WorkerCode
filesmap of stringrequiredFile name to content.
worker.jsis where it starts.updated_atdate-time | nullWhen it was last saved.
curl "https://api.infraflow.app/v1/orgs/acme/services/api/code" \ -H "Authorization: Bearer $INFRAFLOW_TOKEN"
{
"files": {
"EXAMPLE": "string"
},
"updated_at": "2026-01-15T09:30:00Z"
}