|
68 | 68 | ], |
69 | 69 | "get": { |
70 | 70 | "operationId": "GetWorkflowsList", |
71 | | - "summary": "", |
72 | | - "description": "", |
| 71 | + "summary": "Retrieve a list of available Maestro workflows", |
| 72 | + "description": "This operation retrieves a list of all available Maestro workflows. It returns basic information\nabout each workflow, including its unique identifier (`id`), name, description, and the input\nschema required to trigger the workflow.\n\nThe response provides key details that help users identify which workflows are available\nand understand the input requirements for triggering each one. Each workflow entry also includes\nmetadata, such as when it was created, last modified, and by whom.\n\nThis operation is useful for obtaining an overview of all workflows within the system, helping\nusers and systems know what workflows are defined, what inputs they require, and how they can\nbe triggered.\n\n### Use Cases:\n- Listing all available workflows in a system for manual or automated workflow initiation.\n- Reviewing the input requirements for a workflow before triggering it programmatically.\n- Gathering basic metadata about workflows for auditing, logging, or reporting purposes.\n\n### Key Features:\n- **Comprehensive Workflow Overview**: Provides a full list of workflows, giving visibility\n into all the automated processes available within the Maestro platform.\n- **Input Schema Information**: Each workflow includes its trigger input schema, showing\n what data must be provided when triggering the workflow.\n- **Metadata for Tracking**: Useful metadata like creation time, last modification date,\n and user details are included to support tracking and auditing workflows.\n- **Future-Proof**: The operation is designed to be expandable as more workflows are added\n or the platform grows, ensuring scalability in the workflow management process.\n", |
73 | 73 | "x-ds-methodname": "getWorkflowsList", |
74 | 74 | "tags": [ |
75 | 75 | "Workflows" |
|
95 | 95 | } |
96 | 96 | }, |
97 | 97 | "x-ds-method": "getWorkflowsList", |
98 | | - "x-ds-service": "Maestro", |
99 | | - "x-ds-in-sdk": true |
| 98 | + "x-ds-service": "Maestro" |
100 | 99 | } |
101 | 100 | }, |
102 | 101 | "/v1/accounts/{accountId}/workflows/{workflowId}/trigger-requirements": { |
|
114 | 113 | ], |
115 | 114 | "get": { |
116 | 115 | "operationId": "GetWorkflowTriggerRequirements", |
117 | | - "summary": "", |
118 | | - "description": "", |
| 116 | + "summary": "Retrieve trigger requirements for a specific Maestro workflow", |
| 117 | + "description": "This operation retrieves the configuration and input requirements necessary to trigger a specific\nMaestro workflow. It provides detailed information about the `trigger_event_type`, such as HTTP\nor other supported types, and specifies the required input schema, including field names, data types,\nand any default values.\n\nThis information is essential for understanding the data and parameters required to initiate the\nworkflow. It enables developers to prepare the necessary inputs and configuration before triggering\nthe workflow instance, ensuring seamless execution and compliance with workflow requirements.\n\n### Use Cases:\n- Identifying the required input fields and their data types to successfully trigger the workflow.\n- Reviewing the trigger configuration for validation and compliance with expected input.\n- Preparing and validating data in advance of triggering the workflow, minimizing runtime errors.\n\n### Key Features:\n- **Detailed Trigger Input Requirements**: Provides an exhaustive schema of required fields,\n their data types, and optional default values for easy reference and data validation.\n- **Trigger Event Type Information**: Specifies the type of event required to initiate the workflow\n (e.g., HTTP), helping developers configure their systems to invoke the workflow appropriately.\n- **Configurable for Custom Triggers**: Suitable for custom configurations, enabling flexibility\n in how workflows can be triggered according to system needs.\n", |
119 | 118 | "x-ds-methodname": "getWorkflowTriggerRequirements", |
120 | 119 | "tags": [ |
121 | 120 | "Workflows" |
122 | 121 | ], |
123 | 122 | "parameters": [ |
124 | 123 | { |
125 | | - "$ref": "#/components/parameters/WorkflowId", |
126 | | - "description": "" |
| 124 | + "$ref": "#/components/parameters/WorkflowId" |
127 | 125 | } |
128 | 126 | ], |
129 | 127 | "responses": { |
|
147 | 145 | } |
148 | 146 | }, |
149 | 147 | "x-ds-method": "getWorkflowTriggerRequirements", |
150 | | - "x-ds-service": "Maestro", |
151 | | - "x-ds-in-sdk": true |
| 148 | + "x-ds-service": "Maestro" |
152 | 149 | } |
153 | 150 | }, |
154 | 151 | "/v1/accounts/{accountId}/workflows/{workflowId}/actions/trigger": { |
|
166 | 163 | ], |
167 | 164 | "post": { |
168 | 165 | "operationId": "TriggerWorkflow", |
169 | | - "summary": "", |
170 | | - "description": "", |
| 166 | + "summary": "Trigger a new instance of a Maestro workflow", |
| 167 | + "description": "This operation triggers a new instance of a specified Maestro workflow. When invoked,\nthe workflow is started based on the provided input data, and the workflow instance\nbegins executing according to its defined logic and configuration.\n\nThe request requires an `instance_name` and any input data necessary to start the workflow,\nas described by the workflow's `trigger_input_schema`. The `instance_name` is a user-defined\nlabel for tracking the workflow run, while the input data fields should match the schema defined\nin the workflow.\n\nThe operation is event-driven and typically triggered by an external HTTP event or system call,\nallowing for the automatic execution of complex processes that span multiple systems or components.\n\nUpon successful execution, the response returns the unique identifier (`id`) for the newly\ncreated workflow instance, along with a URL (`workflow_instance_url`) that can be used to\ninteract with or track the running instance.\n\n### Use Cases:\n- Automating user registration workflows where input fields like `name` and `email` are provided.\n- Processing financial transactions where details such as `amount` and `currency` are required.\n- Sending notifications based on user interactions in other systems.\n\n### Key Features:\n- **Automated Execution**: Once triggered, the workflow runs until a step requires manual intervention.\n- **Input-Driven**: Workflow execution is based on the provided input data, which is validated\n against the workflow's input schema.\n- **Real-Time Triggering**: Designed to be invoked as part of an event-driven architecture,\n allowing for workflows to respond to external events.\n- **Tracking and Interaction**: The response includes a URL that allows users to check the status\n of the workflow instance or take further actions while it runs.\n", |
171 | 168 | "x-ds-methodname": "triggerWorkflow", |
172 | 169 | "tags": [ |
173 | 170 | "Workflows" |
174 | 171 | ], |
175 | 172 | "parameters": [ |
176 | 173 | { |
177 | | - "$ref": "#/components/parameters/WorkflowId", |
178 | | - "description": "" |
| 174 | + "$ref": "#/components/parameters/WorkflowId" |
179 | 175 | } |
180 | 176 | ], |
181 | 177 | "requestBody": { |
|
202 | 198 | } |
203 | 199 | }, |
204 | 200 | "x-ds-method": "triggerWorkflow", |
205 | | - "x-ds-service": "Maestro", |
206 | | - "x-ds-in-sdk": true |
| 201 | + "x-ds-service": "Maestro" |
207 | 202 | } |
208 | 203 | }, |
209 | 204 | "/v1/accounts/{accountId}/workflows/{workflowId}/instances": { |
|
219 | 214 | } |
220 | 215 | ], |
221 | 216 | "get": { |
222 | | - "summary": "", |
223 | | - "description": "", |
| 217 | + "summary": "Retrieve All Workflow Instances", |
| 218 | + "description": "This operation retrieves a list of all available Maestro workflow instances. It returns basic information\nabout each workflow instance, including its unique identifier (`id`), name, status, timestamps, and\nadditional metadata.\n\nThe response provides key details that help users understand what workflow instances are in progress\nor completed, and the relevant data for each. Each workflow instance entry also includes metadata, such\nas who started it, when it was last modified, and how many steps have been completed.\n\n### Use Cases:\n- Listing all available workflow instances for manual or automated review\n- Monitoring which workflow instances are currently running or have finished\n- Gathering basic metadata about workflow instances for auditing, logging, or reporting purposes\n\n### Key Features:\n- **Comprehensive Instance Overview**: Provides a full list of workflow instances, giving visibility\n into all ongoing and completed workflows within the Maestro platform\n- **Metadata for Tracking**: Includes helpful metadata like creation time, last modification date,\n and user details to support audit trails\n- **Scalable and Future-Proof**: Designed to handle growing numbers of workflow instances as the\n platform scales\n", |
224 | 219 | "operationId": "getWorkflowInstancesList", |
225 | 220 | "x-ds-methodname": "getWorkflowInstancesList", |
226 | 221 | "tags": [ |
227 | 222 | "WorkflowInstanceManagement" |
228 | 223 | ], |
229 | 224 | "parameters": [ |
230 | 225 | { |
231 | | - "$ref": "#/components/parameters/WorkflowId", |
232 | | - "description": "" |
| 226 | + "$ref": "#/components/parameters/WorkflowId" |
233 | 227 | } |
234 | 228 | ], |
235 | 229 | "responses": { |
|
250 | 244 | } |
251 | 245 | }, |
252 | 246 | "x-ds-method": "getWorkflowInstancesList", |
253 | | - "x-ds-service": "Maestro", |
254 | | - "x-ds-in-sdk": true |
| 247 | + "x-ds-service": "Maestro" |
255 | 248 | } |
256 | 249 | }, |
257 | 250 | "/v1/accounts/{accountId}/workflows/{workflowId}/actions/pause": { |
258 | 251 | "post": { |
259 | | - "summary": "", |
260 | | - "description": "", |
| 252 | + "summary": "Pause an Active Workflow", |
| 253 | + "description": "This operation pauses new workflow instances from being created. Any running workflows instances will be unaffected.\n", |
261 | 254 | "operationId": "pauseNewWorkflowInstances", |
262 | 255 | "x-ds-methodname": "pauseNewWorkflowInstances", |
263 | 256 | "tags": [ |
264 | 257 | "Workflows" |
265 | 258 | ], |
266 | 259 | "parameters": [ |
267 | 260 | { |
268 | | - "$ref": "#/components/parameters/AccountId", |
269 | | - "description": "" |
| 261 | + "$ref": "#/components/parameters/AccountId" |
270 | 262 | }, |
271 | 263 | { |
272 | | - "$ref": "#/components/parameters/WorkflowId", |
273 | | - "description": "" |
| 264 | + "$ref": "#/components/parameters/WorkflowId" |
274 | 265 | } |
275 | 266 | ], |
276 | 267 | "responses": { |
|
297 | 288 | } |
298 | 289 | }, |
299 | 290 | "x-ds-method": "pauseNewWorkflowInstances", |
300 | | - "x-ds-service": "Maestro", |
301 | | - "x-ds-in-sdk": true |
| 291 | + "x-ds-service": "Maestro" |
302 | 292 | } |
303 | 293 | }, |
304 | 294 | "/v1/accounts/{accountId}/workflows/{workflowId}/actions/resume": { |
305 | 295 | "post": { |
306 | | - "summary": "", |
307 | | - "description": "", |
| 296 | + "summary": "Resume a Paused Workflow", |
| 297 | + "description": "This operation enables new workflow instances to be created\n", |
308 | 298 | "operationId": "resumePausedWorkflow", |
309 | 299 | "x-ds-methodname": "resumePausedWorkflow", |
310 | 300 | "tags": [ |
311 | 301 | "Workflows" |
312 | 302 | ], |
313 | 303 | "parameters": [ |
314 | 304 | { |
315 | | - "$ref": "#/components/parameters/AccountId", |
316 | | - "description": "" |
| 305 | + "$ref": "#/components/parameters/AccountId" |
317 | 306 | }, |
318 | 307 | { |
319 | | - "$ref": "#/components/parameters/WorkflowId", |
320 | | - "description": "" |
| 308 | + "$ref": "#/components/parameters/WorkflowId" |
321 | 309 | } |
322 | 310 | ], |
323 | 311 | "responses": { |
|
344 | 332 | } |
345 | 333 | }, |
346 | 334 | "x-ds-method": "resumePausedWorkflow", |
347 | | - "x-ds-service": "Maestro", |
348 | | - "x-ds-in-sdk": true |
| 335 | + "x-ds-service": "Maestro" |
349 | 336 | } |
350 | 337 | }, |
351 | 338 | "/v1/accounts/{accountId}/workflows/{workflowId}/instances/{instanceId}": { |
|
361 | 348 | } |
362 | 349 | ], |
363 | 350 | "get": { |
364 | | - "summary": "Gets the details for a specific instance for a deployed workflow definition.", |
365 | | - "description": "Gets the details for a specific instance for a deployed workflow definition.\n\n<!-- maestro beta notice -->\n\n<ds-inlinemessage>\n The Maestro API is currently only available\n as part of a beta program.\n See <a href=\"/docs/maestro-api/get-access/\">Get access to Maestro API</a>\n for details.\n</ds-inlinemessage>\n\n<!-- end maestro beta notice -->\n\n\n### Related topics\n\n- [How to get the status of a Maestro workflow instance][howto-status]\n\n[howto-status]: /docs/maestro-api/how-to/get-workflow-status/\n", |
| 351 | + "summary": "Retrieve a Workflow Instance", |
| 352 | + "description": "This operation retrieves a single Maestro workflow instance by its unique identifier (`id`).\nIt returns the primary details of the workflow instance, including its name, status,\nstarting information, and other metadata.\n\nThe response provides key details that help users understand the current state of the workflow\ninstance, when it was started, and who initiated it. Additional metadata is included to support\nauditing and reporting within the system.\n\n### Use Cases:\n- Getting the details of a specific workflow instance for further processing or review\n- Monitoring the status of a running workflow instance to determine completion or cancellation\n- Accessing metadata for auditing, logging, or reporting on a single workflow instance\n\n### Key Features:\n- **Single Workflow Instance**: Provides direct access to a specific workflow instance by `id`\n- **Detailed Status Information**: Includes the workflow's start and end times, status, and other lifecycle timestamps\n- **Metadata for Tracking**: Useful metadata like who initiated the workflow (`started_by`) and versioning details\n- **Future-Proof**: Designed to be extensible if additional fields or nested information are required over time\n", |
366 | 353 | "operationId": "getWorkflowInstance", |
367 | 354 | "x-ds-methodname": "getWorkflowInstance", |
368 | 355 | "tags": [ |
369 | 356 | "WorkflowInstanceManagement" |
370 | 357 | ], |
371 | 358 | "parameters": [ |
372 | 359 | { |
373 | | - "$ref": "#/components/parameters/WorkflowId", |
374 | | - "description": "" |
| 360 | + "$ref": "#/components/parameters/WorkflowId" |
375 | 361 | }, |
376 | 362 | { |
377 | | - "$ref": "#/components/parameters/InstanceId", |
378 | | - "description": "" |
| 363 | + "$ref": "#/components/parameters/InstanceId" |
379 | 364 | } |
380 | 365 | ], |
381 | 366 | "responses": { |
|
411 | 396 | } |
412 | 397 | }, |
413 | 398 | "x-ds-method": "getWorkflowInstance", |
414 | | - "x-ds-service": "Maestro", |
415 | | - "x-ds-in-sdk": true |
| 399 | + "x-ds-service": "Maestro" |
416 | 400 | } |
417 | 401 | }, |
418 | 402 | "/v1/accounts/{accountId}/workflows/{workflowId}/instances/{instanceId}/actions/cancel": { |
|
428 | 412 | } |
429 | 413 | ], |
430 | 414 | "post": { |
431 | | - "summary": "Cancels a running workflow instance.", |
432 | | - "description": "Cancels a running \n[workflow][workflows-concept]\ninstance.\n\n<!-- maestro beta notice -->\n\n<ds-inlinemessage>\n The Maestro API is currently only available\n as part of a beta program.\n See <a href=\"/docs/maestro-api/get-access/\">Get access to Maestro API</a>\n for details.\n</ds-inlinemessage>\n\n<!-- end maestro beta notice -->\n\n### Related topics\n\n- [How to cancel a Maestro workflow instance][howto-cancel]\n\n\n[howto-cancel]: /docs/maestro-api/how-to/cancel-workflow/\n[workflows-concept]: /docs/maestro-api/maestro101/workflows/", |
| 415 | + "summary": "Cancel a Running Workflow Instance", |
| 416 | + "description": "This operation cancels a running Maestro workflow instance by its unique identifier (`instanceId`).\nOnce canceled, the workflow instance will no longer continue executing any remaining steps.\n\n### Use Cases:\n- Stopping a workflow execution when it is no longer needed or relevant\n- Manually intervening in a workflow to prevent it from reaching completion if conditions change\n\n### Key Features:\n- **Immediate Termination**: Ensures the workflow instance no longer processes subsequent steps\n- **Clear Feedback**: Returns a confirmation message including both the instance and workflow identifiers\n", |
433 | 417 | "operationId": "cancelWorkflowInstance", |
434 | 418 | "x-ds-methodname": "cancelWorkflowInstance", |
435 | 419 | "tags": [ |
436 | 420 | "WorkflowInstanceManagement" |
437 | 421 | ], |
438 | 422 | "parameters": [ |
439 | 423 | { |
440 | | - "$ref": "#/components/parameters/WorkflowId", |
441 | | - "description": "" |
| 424 | + "$ref": "#/components/parameters/WorkflowId" |
442 | 425 | }, |
443 | 426 | { |
444 | | - "$ref": "#/components/parameters/InstanceId", |
445 | | - "description": "" |
| 427 | + "$ref": "#/components/parameters/InstanceId" |
446 | 428 | } |
447 | 429 | ], |
448 | 430 | "responses": { |
|
469 | 451 | } |
470 | 452 | }, |
471 | 453 | "x-ds-method": "cancelWorkflowInstance", |
472 | | - "x-ds-service": "Maestro", |
473 | | - "x-ds-in-sdk": true |
| 454 | + "x-ds-service": "Maestro" |
474 | 455 | } |
475 | 456 | } |
476 | 457 | }, |
|
1494 | 1475 | "tags": [ |
1495 | 1476 | { |
1496 | 1477 | "name": "WorkflowTrigger", |
1497 | | - "description": "Method to trigger a workflow." |
| 1478 | + "description": "" |
1498 | 1479 | }, |
1499 | 1480 | { |
1500 | 1481 | "name": "WorkflowInstanceManagement", |
1501 | | - "description": "Methods to get information about workflow instances." |
| 1482 | + "description": "" |
1502 | 1483 | }, |
1503 | 1484 | { |
1504 | 1485 | "name": "WorkflowManagement", |
1505 | | - "description": "Returns the history of the workflow instance steps." |
| 1486 | + "description": "" |
1506 | 1487 | }, |
1507 | 1488 | { |
1508 | 1489 | "name": "Workflows", |
|
1512 | 1493 | "x-ds-categories": [ |
1513 | 1494 | { |
1514 | 1495 | "name": "WorkflowTrigger", |
1515 | | - "summary": "Method to trigger a workflow.", |
1516 | | - "description": "Method to trigger a workflow." |
| 1496 | + "summary": "", |
| 1497 | + "description": "" |
1517 | 1498 | }, |
1518 | 1499 | { |
1519 | 1500 | "name": "WorkflowInstanceManagement", |
1520 | | - "summary": "Methods to get information about workflow instances.", |
1521 | | - "description": "Methods to get information about workflow instances." |
| 1501 | + "summary": "", |
| 1502 | + "description": "" |
1522 | 1503 | }, |
1523 | 1504 | { |
1524 | 1505 | "name": "WorkflowManagement", |
1525 | | - "summary": "Methods to create, retrieve, update, and delete workflow definitions.", |
1526 | | - "description": "Methods to create, retrieve, update, and delete workflow definitions." |
| 1506 | + "summary": "", |
| 1507 | + "description": "" |
1527 | 1508 | }, |
1528 | 1509 | { |
1529 | 1510 | "name": "Maestro", |
|
0 commit comments