/
SM
smolmachines
/
smolfleet API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 19h ago · Updated 5d ago
View markdown
smolmachines
smolfleet API
post
/v1/machines/{id}/code
v1
latest
OpenAPI 3.1.0
Apache-2.0
2026-08-04
58
40
75.9 KB
apikeys
3
apps
8
billing
2
health
4
machines
15
get
/v1/machines
post
/v1/machines
get
/v1/machines/{id}
delete
/v1/machines/{id}
post
/v1/machines/{id}/code
get
/v1/machines/{id}/events
post
/v1/machines/{id}/exec
get
/v1/machines/{id}/files
post
/v1/machines/{id}/files
get
/v1/machines/{id}/sessions
post
/v1/machines/{id}/sessions
delete
/v1/machines/{id}/sessions/{session_id}
post
/v1/machines/{id}/sessions/{session_id}/exec
post
/v1/machines/{id}/start
post
/v1/machines/{id}/stop
nodes
5
operations
2
plans
2
pools
3
tenants
6
tokens
3
usage
1
volumes
4
machines
post
/v1/machines/{id}/code
Path parameters
id
string
required
Machine id
Request body
MachineCodeRequest
required
code
string
required
cwd
string
nullable
env
object
language
string
required
timeoutSeconds
integer
nullable
Response
Code result
MachineExecResponse
required
durationMs
integer
required
exitCode
integer
required
machineId
string
required
stderr
string
required
stderrTruncated
boolean
stdout
string
required
stdoutTruncated
boolean