Create Deployment
POST/api/v1/orgs/{orgId}/ai-models/{modelId}/editions/{edition}:deploy
Deploys a specific model edition to one or more edge devices.
• Each target group can specify ACL rules and pre/post lifecycle commands.
• PreCmd.action meanings: NOOP (skip), CHECK_DISK_USAGE (validate capacity).
• ValidateCmd.action meanings: NOOP (skip), CHECKSUM_VERIFY (hash check).
• ApplyCmd.action meanings: NOOP (skip), ATOMIC_SWAP_AND_RESTART_CONTAINER (replace then restart runtime).
• PostCmd.action meanings: NOOP (skip).
• The model file is delivered via Secured Volume and NATS file delivery.
• Returns 202 with per-device deployment IDs and initial state "SENT".
• Returns 409 if the same fileId is already deployed to any target device.
Request
Responses
- 202
- 400
- 404
- 409
Accepted
Bad Request
Not Found
Conflict