Skip to main content
POST
/
api
/
v1
/
flows
/
{id}
/
deploy
Deploy a flow
curl --request POST \
  --url https://api.dualship.run/api/v1/flows/{id}/deploy \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Workspace-Id: <x-workspace-id>'
{
  "deployed_at": "2024-01-15T10:30:00Z",
  "deployment_id": "550e8400-e29b-41d4-a716-446655440003",
  "environment": "production",
  "flow_id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "deployed",
  "version": 1
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Headers

X-Workspace-Id
string
required

Workspace ID

Path Parameters

id
string
required

Flow ID

Response

Flow deployed successfully

deployed_at
string
Example:

"2024-01-15T10:30:00Z"

deployment_id
string
Example:

"550e8400-e29b-41d4-a716-446655440003"

environment
string
Example:

"production"

flow_id
string
Example:

"550e8400-e29b-41d4-a716-446655440000"

status
string
Example:

"deployed"

version
integer
Example:

1