App
delete_app(*, api, settings, app_id)
Delete an app permanently (its triggers go with it).
Source code in dynamiq/cli/commands/app.py
172 173 174 175 176 177 178 | |
deploy_app(*, api, settings, name, workflow_id, workflow_version_id, description, access, deployment_type, runtime_id, autoscaling)
Create AND deploy an app from a workflow - this is how a workflow becomes callable.
REQUIRED by the API: name, project_id (auto), workflow_id. The call is
synchronous: the response already carries the app id and its hostname.
dynamiq app deploy --name qna --workflow <workflow_id>
A trigger needs an app id, so deploy before dynamiq trigger create.
Source code in dynamiq/cli/commands/app.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | |
get_app(*, api, settings, app_id)
Fetch one app, including its hostname - the endpoint you call to run it.
Source code in dynamiq/cli/commands/app.py
39 40 41 42 43 44 | |
invoke_app(*, api, settings, app_id, input_data)
Run a deployed app through the management API, using only the PAT.
INPUT_DATA is inline JSON or @file - your Input node's fields, e.g. '{"input": "hi"}'. It is wrapped as {"input": {...}} unless you already pass that shape. This avoids needing an Access Key for the app's own hostname.
Source code in dynamiq/cli/commands/app.py
148 149 150 151 152 153 154 155 156 157 158 159 160 161 | |
list_apps(*, api, settings, workflow_id, include_archived, page, page_size, fetch_all, compact)
List apps in the current project (25 per page; --all for every one).
Source code in dynamiq/cli/commands/app.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | |
list_deployments(*, api, settings, app_id)
Deployment history for an app - check here when a deploy looks stuck.
Source code in dynamiq/cli/commands/app.py
164 165 166 167 168 169 | |
redeploy_app(*, api, settings, app_id, workflow_id, workflow_version_id, runtime_id)
Push a new workflow version onto an EXISTING app (keeps its id and hostname).
Use this instead of deploy when the app already exists - workflow_id is required.
Source code in dynamiq/cli/commands/app.py
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | |