> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/llms.txt. # Dynamic API Implementation ## Overview The workflow API creates FastAPI endpoints from the validated workflow registry. Workflow classes define the execution endpoint, input model, and optional browser form contract. ## System Components ### WorkflowMetadataMixin The `WorkflowMetadataMixin` allows workflows to define their API metadata directly in the workflow class: * `workflow_description`: Human-readable description * `workflow_name`: Human-readable workflow name * `workflow_input_class`: Pydantic input model * `workflow_api_enabled`: Set to `True` to expose the workflow through the API * `workflow_api_endpoint`: API endpoint path * `workflow_namespace`: Workflow namespace * `workflow_group`: Launcher group * `workflow_form_enabled` and `workflow_form_id`: Optional browser form and its stable public identifier ### Dynamic API Generator The dynamic API generator: * Creates routes for the workflow registry's workflows that set `workflow_api_enabled = True`; the registry rejects an API-enabled workflow with incomplete metadata at startup * Generates FastAPI endpoint functions dynamically * Handles proper routing, documentation, and parameter validation * Provides consistent error handling and response formatting ### Workflow Examples All workflows use the metadata system, including: * **BackupWorkflow**: `/ngc/backup` - "Backup network device configuration to the Config Store and NVIDIA Config Manager plugin" * **DeployWorkflow**: `/ngc/deploy` - "Deploy intended configuration to network device with approval workflow" * **SpXOverlayCreationWorkflow**: `/ngc/spx_overlay_creation` - "Create a SpX Overlay with route distinguisher assignment and VRF/VXLAN provisioning" * **SpXOverlayDeletionWorkflow**: `/ngc/spx_overlay_deletion` - "Delete a SpX Overlay and its associated VRFs/VXLANs with validation checks" * **ReprovisionWorkflow**: `/ngc/reprovision` - "Reprovision a network device using pre- and post-ZTP backups" * **ConnectedHostMetadataWorkflow**: `/ngc/connected_host_metadata` - "Discover and analyze connected hosts through MAC table and LLDP neighbor data" * **HelloWorld**: `/hello_world` - "Simple hello world workflow for testing and demonstration" * **HelloWorldApproval**: `/hello_world_approval` - "Hello world workflow with approval step for testing staged workflows" ### Integrated Benefits * CLI automatically discovers workflows and generates commands * OpenAPI documentation is automatically generated * Consistent parameter validation across all interfaces * Single source of truth for workflow definitions ## Technical Implementation ### Workflow Definition with Metadata ```python # Workflows define their metadata directly in the class @workflow.defn class BackupWorkflow(WorkflowMetadataMixin, StageMixin, DeviceMixin, ArchiveMixin): """Network device configuration backup workflow.""" # Workflow metadata workflow_name = "Configuration Backup" workflow_group = "Configuration" workflow_description = ( "Backup network device configuration to the Config Store and NVIDIA Config Manager plugin" ) workflow_input_class = BackupInput workflow_api_enabled = True workflow_api_endpoint = "/ngc/backup" workflow_form_enabled = True workflow_form_id = "backup" workflow_namespace = "ngc" @workflow.run async def run(self, input_data: BackupInput) -> str: # Workflow implementation pass ``` ### Automatic Endpoint Generation ```python # In dynamic_endpoints.py - one POST route per API-enabled registry workflow def register_dynamic_endpoints(router: APIRouter, workflows: Sequence[type] | None = None) -> None: """Register all workflow endpoints dynamically based on metadata.""" for workflow_class in WORKFLOW_API_CATALOG if workflows is None else workflows: endpoint_path = workflow_class.get_workflow_api_endpoint() input_class = workflow_class.get_workflow_input_class() endpoint_func = create_workflow_endpoint(workflow_class, input_class, endpoint_path) router.post( endpoint_path, response_model=WorkflowResponse, summary=f"Execute {workflow_class.__name__}", description=workflow_class.get_workflow_description(), )(endpoint_func) ``` ## Key Benefits ### Single Source of Truth * Workflow metadata is defined once in the workflow class * API endpoints, CLI help, and documentation all derive from the same source * Consistent information across all interfaces ### Automatic Discovery * New workflows are automatically discovered and exposed using the API * CLI automatically generates commands for new workflows * No manual endpoint registration required ### Easy Maintenance * Adding a new workflow requires only: 1. Adding `WorkflowMetadataMixin` to the workflow class 2. Setting the metadata attributes, including `workflow_api_enabled = True` 3. Adding to `BUILTIN_WORKFLOWS` or to a workflow plugin descriptor * System automatically handles the rest ### Comprehensive Documentation * Workflow descriptions appear in: * OpenAPI/Swagger documentation * CLI help text * Workflow discovery endpoints * Consistent documentation across all interfaces ### Type Safety * Pydantic input models ensure type safety * FastAPI automatically generates request/response schemas * CLI parameter validation matches API validation ## Architecture ### Workflow Discovery Flow ```mermaid graph TD A[Workflow Class] --> B[WorkflowMetadataMixin] B --> C[Metadata Attributes] C --> R[Validated Workflow Registry] R --> W[API-enabled Workflow Set] W --> D[Dynamic Endpoint Generator] W --> F[CLI Command Generator] D --> E[FastAPI Router] E --> G[OpenAPI Documentation] ``` ### Components #### WorkflowMetadataMixin (`packages/workflows/src/nv_config_manager_workflows/metadata/mixin.py`) The package defines the metadata attributes and their accessors. A registered API workflow must supply a name, description, input model, and endpoint. Browser forms are a separate opt-in contract; an API-enabled workflow does not need a form. The package also supplies the async `canonicalize_input` hook for HTTP-boundary validation. #### Request Identity and Validation `create_workflow_endpoint` validates the request body with the workflow's input model before it starts an execution. Fields marked `ServerOwned`, such as `BackupInput.user`, are replaced with identity from the authenticated request, even when the caller submits another value. Unmarked legacy `user` and `user_domain` fields are filled only when their submitted values are empty. The API resolves an empty, declared `user_domain` in this order: 1. A usable domain from the full authenticated identity. 2. The deployment default in `NV_CONFIG_MANAGER_DOMAIN`. 3. `None` when neither source supplies a domain and the input field is nullable; otherwise, the request is rejected with `422`. The endpoint determines nullability from the declared `user_domain` annotation. Plugin validators must not reject `None` when that annotation permits it; use a non-nullable annotation when a workflow requires a resolved domain. A non-empty caller-owned `user_domain` is preserved, and undeclared extra fields remain caller-owned. Domain resolution happens before workflow submission; it does not run during Temporal workflow replay. The endpoint then awaits `workflow_class.canonicalize_input(body)`. This hook can normalize or reject an HTTP submission without changing the input model used to deserialize existing Temporal histories. An `ApplicationError` from the hook returns HTTP 422 with the `HTTPValidationError` envelope: `detail` is a list of validation errors. It does not start a workflow. The built-in Port LLDP Info workflow requires exactly one complete lookup method, and Spectrum-X overlay creation requires `rd_min < rd_max`. Browser checks do not replace these API checks. Direct Temporal callers bypass this HTTP hook. The [workflow forms contract](https://github.com/dsx-ai-factory/nv-config-manager/blob/main/packages/workflows/README.md#workflow-forms) describes field markers and plugin forms. #### Registration System The API builds one validated workflow registry snapshot when it is imported. If the registry cannot be built, because an installed plugin is invalid or conflicts with another, or because the built-in plugin is not registered (`WorkflowPluginDiscoveryError`), the API fails to start. The API's dynamic routes, `/metadata`, and `/types` read from the snapshot: ```python # In workflow_catalog.py WORKFLOW_REGISTRY = build_workflow_registry() # API-enabled workflows: dynamic POST routes and /metadata. WORKFLOW_API_CATALOG = tuple(WORKFLOW_REGISTRY.api_workflows) # Every registered workflow, including API-disabled child workflows: /types. WORKFLOW_TYPE_CATALOG = tuple(WORKFLOW_REGISTRY.all_workflows) # In dynamic_endpoints.py def register_dynamic_endpoints(router: APIRouter, workflows: Sequence[type] | None = None) -> None: """Register all workflow endpoints dynamically based on metadata.""" for workflow_class in WORKFLOW_API_CATALOG if workflows is None else workflows: endpoint_path = workflow_class.get_workflow_api_endpoint() input_class = workflow_class.get_workflow_input_class() endpoint_func = create_workflow_endpoint(workflow_class, input_class, endpoint_path) router.post( endpoint_path, response_model=WorkflowResponse, summary=f"Execute {workflow_class.__name__}", description=workflow_class.get_workflow_description(), )(endpoint_func) ``` ## Adding New Workflows ### Create Workflow with Metadata ```python from nv_config_manager_workflows.metadata import WorkflowMetadataMixin @workflow.defn class MyNewWorkflow(WorkflowMetadataMixin, StageMixin): """My new workflow for doing amazing things.""" # Workflow metadata workflow_name = "My New Workflow" workflow_description = "Perform amazing network operations with validation" workflow_input_class = MyNewWorkflowInput workflow_api_enabled = True workflow_api_endpoint = "/ngc/my_new_workflow" workflow_namespace = "ngc" @workflow.run async def run(self, input_data: MyNewWorkflowInput) -> str: # Workflow implementation pass ``` ### Create Input Model ```python class MyNewWorkflowInput(BaseModel): """Input model for MyNewWorkflow.""" device_id: str operation_type: str validate_before: bool = True ``` ### Register Workflow Add a built-in workflow to `BUILTIN_WORKFLOWS`: ```python # In packages/workflows/src/nv_config_manager_workflows/workflows/builtin.py BUILTIN_WORKFLOWS = ( # keep-sorted start # ... existing workflows MyNewWorkflow, # keep-sorted end ) ``` A workflow shipped in its own distribution belongs in that plugin's `WorkflowPluginDescriptor` instead; see [Registering a workflow plugin](https://github.com/dsx-ai-factory/nv-config-manager/blob/main/packages/workflows/README.md#registering-a-workflow-plugin). ### Result The workflow is now automatically: * Available using the API at `/v1/workflow/ngc/my_new_workflow` * Documented in OpenAPI/Swagger * Available in CLI as `uv run workflow-cli my-new-workflow` * Included in workflow discovery endpoints ## Workflow Discovery API ### List Workflow Executions ```http GET /v1/workflow/ ``` Returns workflow execution summaries. Query parameters such as `workflow_type`, `status`, `user`, `site`, `device_name`, `device_id`, `device_role`, and `device_platform` filter the execution list. ### Get Registered Workflow Types ```http GET /v1/workflow/types ``` Returns the class name of every registered workflow, including API-disabled child workflows such as `TenantDeployWorkflow`. Use `/v1/workflow/metadata` for the set of workflows the API can start. ### Get Workflow Metadata ```http GET /v1/workflow/metadata ``` Returns metadata for each API-enabled workflow and the RBAC roles needed by the UI: ```json { "workflows": [ { "name": "BackupWorkflow", "display_name": "Configuration Backup", "description": "Backup network device configuration to the Config Store and NVIDIA Config Manager plugin", "endpoint": "/ngc/backup", "namespace": "ngc", "cli_name": "backup", "input_class": "BackupInput", "read_roles": ["all"], "execute_roles": ["all"] } ] } ``` The `read_roles` and `execute_roles` values depend on the deployment's RBAC configuration; the example above shows the default open configuration. Request form-discovery metadata explicitly when building a workflow launcher: ```http GET /v1/workflow/metadata?include=form ``` This representation adds `group`, `form_id`, and `has_form` to each workflow. The request without `include=form` omits those keys so clients generated from earlier versions of the API can continue decoding the response. ## Stage Action Responses The workflow API accepts these stage actions for running workflows: ```http POST /v1/workflow/{workflow_id}/approve/{stage_name} POST /v1/workflow/{workflow_id}/reject/{stage_name} POST /v1/workflow/{workflow_id}/retry/{stage_name} ``` If the workflow closes before the signal arrives, the API returns `409 Conflict` with its status in the `detail` message. Refresh the workflow before offering another action. If the workflow no longer exists, the API returns `404 Not Found`. These signal-delivery errors previously surfaced as `500` responses. The UI hides **Retry** after a failed stage's workflow closes and refreshes its state after a `409`. An expired [failed-stage retry window](/switch-infrastructure/config-manager/services/temporal/deployment#failed-stage-retry-window) closes the workflow; sending another retry signal does not reopen it. ## Testing ### Unit Tests ```python def test_workflow_metadata(): """Test that workflow has complete metadata.""" assert BackupWorkflow.has_complete_metadata() assert BackupWorkflow.get_workflow_description() == ( "Backup network device configuration to the Config Store and NVIDIA Config Manager plugin" ) assert BackupWorkflow.get_workflow_api_endpoint() == "/ngc/backup" assert BackupWorkflow.get_workflow_input_class() == BackupInput def test_dynamic_endpoint_generation(): """Test that endpoints are generated correctly.""" router = APIRouter() register_dynamic_endpoints(router) # Check that backup endpoint was registered backup_route = next((route for route in router.routes if route.path == "/ngc/backup"), None) assert backup_route is not None assert "POST" in backup_route.methods ``` ### Integration Tests Use fixtures that provide an authenticated test client and mock the DCIM and Temporal dependencies. A client-supplied certificate header does not establish an authenticated identity. ```python def test_backup_workflow_endpoint(client, access_token): """Test the backup endpoint with authenticated test fixtures.""" response = client.post( "/v1/workflow/ngc/backup", json={ "device_id": "12345678-1234-1234-1234-123456789abc", "trigger": "API", }, headers={"Authorization": f"Bearer {access_token}"} ) assert response.status_code == 200 assert "id" in response.json() assert "href" in response.json() ``` ## Browser Form Discovery A form-enabled workflow declares a stable `workflow_form_id`. Use that ID with `GET /v1/workflow/{form_id}/form` to retrieve its `schema`, `ui_schema`, `ui_schema_version`, and required UI capabilities. The form projection leaves execution request models and Temporal payloads unchanged. A missing or disabled form returns HTTP 404. A `form_id` that does not match the required lowercase kebab-case format returns HTTP 422 with the `HTTPValidationError` envelope. An invalid third-party form returns HTTP 503 with `workflow_form_unavailable`, while its execution endpoint remains available. Invalid built-in forms stop API startup. Upgrade the API before the UI using the [browser-form upgrade order](/switch-infrastructure/config-manager/getting-started/getting-started-with-config-manager#upgrade-order-for-browser-workflow-forms). ## API Docs - [Healthcheck](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/healthcheck-healthcheck-get.md): Temporal API - [RBAC Config Status](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/rbac-config-status-rbac-config-status-get.md): Temporal API - [Current User Info](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/whoami-whoami-get.md): Temporal API - [Decode payloads](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/codec/decode-v-1-codec-decode-post.md): Temporal API > codec - [Encode payloads](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/codec/encode-v-1-codec-encode-post.md): Temporal API > codec - [Get Devices](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/parameters/get-devices-v-1-parameter-device-get.md): Temporal API > parameters - [Get Device ID by Name](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/parameters/get-device-id-by-name-v-1-parameter-device-id-get.md): Temporal API > parameters - [Get Device Interfaces](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/parameters/get-device-interfaces-v-1-parameter-device-device-id-interfaces-get.md): Temporal API > parameters - [Get Device Password Users](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/parameters/get-device-password-users-v-1-parameter-device-device-id-password-users-get.md): Temporal API > parameters - [Get Secret Types for Device](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/parameters/get-device-users-with-versions-v-1-parameter-device-device-id-secret-types-get.md): Temporal API > parameters - [Get Device Secrets](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/parameters/get-device-secrets-v-1-parameter-device-device-id-secrets-get.md): Temporal API > parameters - [Get Diagnostics Commands](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/parameters/get-diagnostics-commands-v-1-parameter-diagnostics-commands-get.md): Temporal API > parameters - [Get Locations](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/parameters/get-locations-v-1-parameter-location-get.md): Temporal API > parameters - [Get Namespace Tags](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/parameters/get-namespace-tags-v-1-parameter-namespace-tag-get.md): Temporal API > parameters - [Get Overlays](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/parameters/get-overlays-v-1-parameter-overlay-get.md): Temporal API > parameters - [Get Roles](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/parameters/get-roles-v-1-parameter-role-get.md): Temporal API > parameters - [Get Sites](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/parameters/get-sites-v-1-parameter-site-get.md): Temporal API > parameters - [Get Statuses](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/parameters/get-statuses-v-1-parameter-status-get.md): Temporal API > parameters - [Get Tenants](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/parameters/get-tenants-v-1-parameter-tenant-get.md): Temporal API > parameters - [Get Workflows](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/get-workflows-v-1-workflow-get.md): Temporal API > workflow - [Get diagnostic-commands options for DiagnosticsWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/get-workflow-form-options-diagnostics-diagnostic-commands.md): Temporal API > workflow - [Execute HelloWorld](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/helloworld-endpoint-v-1-workflow-hello-world-post.md): Temporal API > workflow - [Execute HelloWorldApproval](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/helloworldapproval-endpoint-v-1-workflow-hello-world-approval-post.md): Temporal API > workflow - [Get Workflow Metadata](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/get-workflow-metadata-v-1-workflow-metadata-get.md): Temporal API > workflow - [Execute BackupWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/backupworkflow-endpoint-v-1-workflow-ngc-backup-post.md): Temporal API > workflow - [Execute ConfigDiffWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/configdiffworkflow-endpoint-v-1-workflow-ngc-config-diff-post.md): Temporal API > workflow - [Execute ConnectedHostMetadataWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/connectedhostmetadataworkflow-endpoint-v-1-workflow-ngc-connected-host-metadata-post.md): Temporal API > workflow - [Execute ValidateHardwareWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/validatehardwareworkflow-endpoint-v-1-workflow-ngc-cumulus-hardware-validation-post.md): Temporal API > workflow - [Execute DeployWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/deployworkflow-endpoint-v-1-workflow-ngc-deploy-post.md): Temporal API > workflow - [Execute DeviceCableValidationWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/devicecablevalidationworkflow-endpoint-v-1-workflow-ngc-device-cable-validation-post.md): Temporal API > workflow - [Execute DevicePasswordRotationWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/devicepasswordrotationworkflow-endpoint-v-1-workflow-ngc-device-password-rotation-post.md): Temporal API > workflow - [Execute DiagnosticsWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/diagnosticsworkflow-endpoint-v-1-workflow-ngc-diagnostics-post.md): Temporal API > workflow - [Execute IBPKeyCreationWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/ibpkeycreationworkflow-endpoint-v-1-workflow-ngc-ib-pkey-creation-post.md): Temporal API > workflow - [Execute IBPKeyMemberAddWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/ibpkeymemberaddworkflow-endpoint-v-1-workflow-ngc-ib-pkey-member-add-post.md): Temporal API > workflow - [Execute IBPKeyMemberDeleteWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/ibpkeymemberdeleteworkflow-endpoint-v-1-workflow-ngc-ib-pkey-member-delete-post.md): Temporal API > workflow - [Execute IBPKeyMemberUpdateWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/ibpkeymemberupdateworkflow-endpoint-v-1-workflow-ngc-ib-pkey-member-update-post.md): Temporal API > workflow - [Execute IBPortGuidDiscoveryWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/ibportguiddiscoveryworkflow-endpoint-v-1-workflow-ngc-ib-port-guid-discovery-post.md): Temporal API > workflow - [Execute InfinibandCableValidationWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/infinibandcablevalidationworkflow-endpoint-v-1-workflow-ngc-infiniband-cable-validation-post.md): Temporal API > workflow - [Execute InfinibandGetUnhealthyPortsWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/infinibandgetunhealthyportsworkflow-endpoint-v-1-workflow-ngc-infiniband-get-unhealthy-ports-post.md): Temporal API > workflow - [Execute InfinibandMlnxOSUpgradeWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/infinibandmlnxosupgradeworkflow-endpoint-v-1-workflow-ngc-infiniband-mlnx-os-upgrade-post.md): Temporal API > workflow - [Execute MultiDeployWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/multideployworkflow-endpoint-v-1-workflow-ngc-multi-deploy-post.md): Temporal API > workflow - [Execute NVLinkSwitchFirmwareUpgradeWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/nvlinkswitchfirmwareupgradeworkflow-endpoint-v-1-workflow-ngc-nvlinkswitch-firmware-upgrade-post.md): Temporal API > workflow - [Execute PortLLDPInfoWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/portlldpinfoworkflow-endpoint-v-1-workflow-ngc-port-lldp-info-post.md): Temporal API > workflow - [Execute RedfishProvisioningWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/redfishprovisioningworkflow-endpoint-v-1-workflow-ngc-redfish-provisioning-post.md): Temporal API > workflow - [Execute ReprovisionWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/reprovisionworkflow-endpoint-v-1-workflow-ngc-reprovision-post.md): Temporal API > workflow - [Execute SiteBackupWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/sitebackupworkflow-endpoint-v-1-workflow-ngc-site-backup-post.md): Temporal API > workflow - [Execute SiteCableValidationWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/sitecablevalidationworkflow-endpoint-v-1-workflow-ngc-site-cable-validation-post.md): Temporal API > workflow - [Execute SitePasswordRotationWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/sitepasswordrotationworkflow-endpoint-v-1-workflow-ngc-site-password-rotation-post.md): Temporal API > workflow - [Execute SpXOverlayAssignmentWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/spxoverlayassignmentworkflow-endpoint-v-1-workflow-ngc-spx-overlay-assignment-post.md): Temporal API > workflow - [Execute SpXOverlayCreationWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/spxoverlaycreationworkflow-endpoint-v-1-workflow-ngc-spx-overlay-creation-post.md): Temporal API > workflow - [Execute SpXOverlayDeletionWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/spxoverlaydeletionworkflow-endpoint-v-1-workflow-ngc-spx-overlay-deletion-post.md): Temporal API > workflow - [Execute SpXOverlayTenantChangeWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/spxoverlaytenantchangeworkflow-endpoint-v-1-workflow-ngc-spx-overlay-tenant-change-post.md): Temporal API > workflow - [Execute SwitchOSUpgradeWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/switchosupgradeworkflow-endpoint-v-1-workflow-ngc-switch-os-upgrade-post.md): Temporal API > workflow - [Get password-users options for SitePasswordRotationWorkflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/get-workflow-form-options-site-password-rotation-password-users.md): Temporal API > workflow - [Get Workflow Types](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/get-workflow-types-v-1-workflow-types-get.md): Temporal API > workflow - [Get Workflow Form](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/get-workflow-form.md): Temporal API > workflow - [Get Workflow](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/get-workflow-v-1-workflow-workflow-id-get.md): Temporal API > workflow - [Approve](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/approve-v-1-workflow-workflow-id-approve-stage-name-post.md): Temporal API > workflow - [Reject](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/reject-v-1-workflow-workflow-id-reject-stage-name-post.md): Temporal API > workflow - [Retry](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/retry-v-1-workflow-workflow-id-retry-stage-name-post.md): Temporal API > workflow - [Download Tech Support](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/download-tech-support-v-1-workflow-workflow-id-tech-support-device-name-get.md): Temporal API > workflow - [Terminate](https://docs.nvidia.com/switch-infrastructure/config-manager/services/temporal/temporal-api/workflow/terminate-v-1-workflow-workflow-id-terminate-post.md): Temporal API > workflow ## OpenAPI Specification - [OpenAPI JSON](https://docs.nvidia.com/switch-infrastructure/config-manager/openapi.json): raw OpenAPI 3.1 specification for this API, JSON format - [OpenAPI YAML](https://docs.nvidia.com/switch-infrastructure/config-manager/openapi.yaml): raw OpenAPI 3.1 specification for this API, YAML format