Reflex Docs
CLI

reflex deployments / deploy

Create deployments from a spec file or inline flags.

A deployment is a named, reusable binding of a model artifact to a robot schema. Sessions can be started against a deployment by ID, which keeps the session-start flags short.

reflex deploy (or reflex deployments create)

Create a deployment.

From a spec file

reflex deploy --file deployment-spec.json
{
  "name": "my-robot-deployment",
  "modelId": "model_abc123",
  "specJson": {}
}

Inline

reflex deploy --name "my-deployment" --artifact model_abc123
FlagDefaultDescription
--file, -fPath to a deployment JSON spec. Wins over inline flags.
--nameif no fileDeployment name.
--artifactif no fileArtifact ID.
--robot-schemaRobot schema ID.
--runtimePin to a specific runtime variant.
--modedry_runDefault session mode for sessions started from this deployment.
--jsonoffJSON output.

After creating, the CLI suggests running:

reflex doctor <deployment-id>

See reflex doctor.

reflex deployments list

List deployments in your organization.

reflex deployments list