Skip to main content
POST
Deterministically generates deployment configuration files (runtm.yaml, Dockerfile, .runtmignore, .dockerignore) for the session project. Only creates files that are missing - existing files are skipped. Required scope: deployments:write

Path Parameters

string
required
The session ID (UUID).

Headers

string
required
Bearer token. Example: Bearer runtm_xxx
string
Scope to an organization.

Response

boolean
Whether any files were created.
array
List of files that were generated (e.g. ["runtm.yaml", "Dockerfile"]).
array
List of files that already existed and were not overwritten.
string
Detected project type (e.g. node, python, static, docker, unknown).
string | null
Detected framework (e.g. next, flask, express, static).
integer
Port the application is expected to listen on.
Recommended deployment tier.
string | null
Additional information when auto-scaffold is not available.