Corva AI Workflows API

The Workflows API from Corva AI — 11 operation(s) for workflows.

Operations 20

GET /v2/workflows List Workflows #
POST /v2/workflows Create a Workflow #
GET /v2/workflows/{id} Show workflow #
PATCH /v2/workflows/{id} Update a Workflow #
DELETE /v2/workflows/{id} Delete a Workflow #
GET /v2/{workflow_id}/workflow_content_blocks List Workflow Content Blocks of a workflow #
POST /v2/{workflow_id}/workflow_content_blocks Create a Workflow Content Block #
GET /v2/{workflow_id}/workflow_content_blocks/{id} Show Workflow Content Block #
PATCH /v2/{workflow_id}/workflow_content_blocks/{id} Update a Workflow Content Block #
DELETE /v2/{workflow_id}/workflow_content_blocks/{id} Delete a Workflow Content Block #
GET /v2/{workflow_id}/workflow_apps List Workflow Apps of a Workflow #
PUT /v2/{workflow_id}/workflow_apps Update many Workflow Apps #
GET /v2/{workflow_id}/workflow_apps/{id} Show Workflow App #
PATCH /v2/{workflow_id}/workflow_apps/{id} Update a Workflow App #
GET /v2/users/{user_id}/dashboards/{dashboard_id}/dashboard_workflows List Dashboard Workflows of a Dashboard #
GET /v2/users/{user_id}/dashboards/{dashboard_id}/dashboard_workflows/{id} Show Dashboard Workflow #
DELETE /v2/users/{user_id}/dashboards/{dashboard_id}/dashboard_workflows/{id} Delete Dashboard Workflow #
POST /v2/users/{user_id}/dashboards/{dashboard_id}/dashboard_workflows/{id}/ungroup Ungroup Dashboard Workflow #
POST /v2/users/{user_id}/dashboards/{dashboard_id}/dashboard_workflows/ungroup_all Ungroup All Dashboard Workflows for Dashboard #
PUT /v2/users/{user_id}/dashboards/{dashboard_id}/dashboard_workflows/{id}/change_asset Change Asset of Dashboard Workflows and related Dashboard Apps #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/corva-ai-workflows-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

corva-ai-workflows-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v2.222.1
  title: Corva Workflows API
  description: 'The Corva API is a powerful interface providing great flexibility and extensibility with Corva. Whether your needs are simple UI visualizations, data entry, replication/sync tasks, real-time stream processing, or complex machine learning CPU-intensive apps, the Corva API is the way to make it happen. Our concepts are split into three distinct silos: data apps, visualization apps, and a REST API'
  termsOfService: https://www.corva.ai/terms-and-conditions/
  contact:
    name: Corva API Team
    email: support@corva.ai
security:
- api_key: []
tags:
- name: Workflows
paths:
  /v2/workflows:
    get:
      summary: List Workflows
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          type: object
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowList'
      parameters:
      - in: query
        name: segment
        description: Workflow segment filter
        schema:
          items:
            type: string
      - in: query
        name: company_id
        description: Workflow company filter
        schema:
          items:
            type: integer
      - in: query
        name: allow_empty_company
        description: While filter by company, allow to add Workflows without company in results
        schema:
          type: string
          enum:
          - 'true'
          - 'false'
          default: 'false'
      - in: query
        name: visibility
        description: Filter by visibility
        schema:
          type: string
          enum:
          - public
          - company
          - private
      - in: query
        name: search
        description: Search workflow by name/caption
        schema:
          type: string
      - in: query
        name: page
        description: Number of page
        schema:
          type: integer
      - in: query
        name: per_page
        description: Number of items to list per page
        schema:
          type: integer
      - in: query
        name: sort
        description: 'One or more fields to sort by. Prefix with a - for descending order. Ex: name,-updated_at'
        schema:
          type: array
          enum:
          - name
          - caption
          - segment
          - position
          - created_at
          - updated_at
          default: position -updated_at
      - in: query
        name: order
        description: A sorting direction
        schema:
          type: string
          enum:
          - asc
          - desc
          default: asc
      operationId: getV2Workflows
      x-operation-id-source: derived
    post:
      summary: Create a Workflow
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          description: Created Workflow
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workflow'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowPayload'
        description: Workflow Payload
        required: true
      operationId: postV2Workflows
      x-operation-id-source: derived
  /v2/workflows/{id}:
    get:
      summary: Show workflow
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          type: object
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workflow'
      parameters:
      - in: path
        name: id
        description: Workflow workflow_key or ID
        required: true
        schema:
          type: string
      operationId: getV2WorkflowsById
      x-operation-id-source: derived
    patch:
      summary: Update a Workflow
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          description: Updated Workflow
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workflow'
      parameters:
      - in: path
        name: id
        description: Workflow workflow_key or ID
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowPayload'
        description: Workflow Payload
        required: true
      operationId: patchV2WorkflowsById
      x-operation-id-source: derived
    delete:
      summary: Delete a Workflow
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          description: Workflow deleted
      parameters:
      - in: path
        name: id
        description: Workflow workflow_key or ID
        required: true
        schema:
          type: string
      operationId: deleteV2WorkflowsById
      x-operation-id-source: derived
  /v2/{workflow_id}/workflow_content_blocks:
    get:
      summary: List Workflow Content Blocks of a workflow
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          type: object
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowContentBlockList'
      parameters:
      - in: path
        name: workflow_id
        description: Workflow workflow_key or ID
        required: true
        schema:
          type: string
      operationId: getV2ByWorkflowIdWorkflowContentBlocks
      x-operation-id-source: derived
    post:
      summary: Create a Workflow Content Block
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          description: Created Workflow Content Block
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowContentBlock'
      parameters:
      - in: path
        name: workflow_id
        description: Workflow workflow_key or ID
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowContentBlockPayload'
        description: Workflow Content Block Payload
        required: true
      operationId: postV2ByWorkflowIdWorkflowContentBlocks
      x-operation-id-source: derived
  /v2/{workflow_id}/workflow_content_blocks/{id}:
    get:
      summary: Show Workflow Content Block
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          type: object
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowContentBlock'
      parameters:
      - in: path
        name: workflow_id
        description: Workflow workflow_key or ID
        required: true
        schema:
          type: string
      - in: path
        name: id
        description: Workflow Content Block ID
        required: true
        schema:
          type: integer
          format: int64
      operationId: getV2ByWorkflowIdWorkflowContentBlocksById
      x-operation-id-source: derived
    patch:
      summary: Update a Workflow Content Block
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          description: Updated Workflow Content Block
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowContentBlock'
      parameters:
      - in: path
        name: workflow_id
        description: Workflow workflow_key or ID
        required: true
        schema:
          type: string
      - in: path
        name: id
        description: Workflow Content Block ID
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowContentBlockPayload'
        description: Workflow Content Block Payload
        required: true
      operationId: patchV2ByWorkflowIdWorkflowContentBlocksById
      x-operation-id-source: derived
    delete:
      summary: Delete a Workflow Content Block
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          description: Workflow Content Block deleted
      parameters:
      - in: path
        name: workflow_id
        description: Workflow workflow_key or ID
        required: true
        schema:
          type: string
      - in: path
        name: id
        description: Workflow Content Block ID
        required: true
        schema:
          type: integer
          format: int64
      operationId: deleteV2ByWorkflowIdWorkflowContentBlocksById
      x-operation-id-source: derived
  /v2/{workflow_id}/workflow_apps:
    get:
      summary: List Workflow Apps of a Workflow
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          type: object
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowAppList'
      parameters:
      - in: path
        name: workflow_id
        description: Workflow workflow_key or ID
        required: true
        schema:
          type: string
      operationId: getV2ByWorkflowIdWorkflowApps
      x-operation-id-source: derived
    put:
      summary: Update many Workflow Apps
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          description: Updated Workflow Apps
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowAppList'
      parameters:
      - in: path
        name: workflow_id
        description: Workflow workflow_key or ID
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowAppsPayload'
        description: Workflow Apps Payload
        required: true
      operationId: putV2ByWorkflowIdWorkflowApps
      x-operation-id-source: derived
  /v2/{workflow_id}/workflow_apps/{id}:
    get:
      summary: Show Workflow App
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          type: object
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowApp'
      parameters:
      - in: path
        name: workflow_id
        description: Workflow workflow_key or ID
        required: true
        schema:
          type: string
      - in: path
        name: id
        description: Workflow App ID
        required: true
        schema:
          type: integer
          format: int64
      operationId: getV2ByWorkflowIdWorkflowAppsById
      x-operation-id-source: derived
    patch:
      summary: Update a Workflow App
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          description: Updated Workflow App
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowApp'
      parameters:
      - in: path
        name: workflow_id
        description: Workflow workflow_key or ID
        required: true
        schema:
          type: string
      - in: path
        name: id
        description: Workflow App ID
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowAppPayload'
        description: Workflow App Payload
        required: true
      operationId: patchV2ByWorkflowIdWorkflowAppsById
      x-operation-id-source: derived
  /v2/users/{user_id}/dashboards/{dashboard_id}/dashboard_workflows:
    get:
      summary: List Dashboard Workflows of a Dashboard
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          type: object
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardWorkflowList'
      parameters:
      - in: path
        name: user_id
        description: User ID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: dashboard_id
        description: Dashboard ID
        required: true
        schema:
          type: integer
          format: int64
      operationId: getV2UsersByUserIdDashboardsByDashboardIdDashboardWorkflows
      x-operation-id-source: derived
  /v2/users/{user_id}/dashboards/{dashboard_id}/dashboard_workflows/{id}:
    get:
      summary: Show Dashboard Workflow
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          type: object
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardWorkflowSingle'
      parameters:
      - in: path
        name: user_id
        description: User ID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: dashboard_id
        description: Dashboard ID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: id
        description: Dashboard Workflow ID
        required: true
        schema:
          type: integer
          format: int64
      operationId: getV2UsersByUserIdDashboardsByDashboardIdDashboardWorkflowsById
      x-operation-id-source: derived
    delete:
      summary: Delete Dashboard Workflow
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          description: Dashboard Workflow deleted
      parameters:
      - in: path
        name: user_id
        description: User ID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: dashboard_id
        description: Dashboard ID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: id
        description: Dashboard Workflow ID
        required: true
        schema:
          type: integer
          format: int64
      operationId: deleteV2UsersByUserIdDashboardsByDashboardIdDashboardWorkflowsById
      x-operation-id-source: derived
  /v2/users/{user_id}/dashboards/{dashboard_id}/dashboard_workflows/{id}/ungroup:
    post:
      summary: Ungroup Dashboard Workflow
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          type: object
          description: Successful response
          content:
            application/json:
              schema:
                properties:
                  dashboard_app_ids:
                    type: array
                    items:
                      type: integer
                example:
                  dashboard_app_ids:
                  - 34
                  - 12345
                  - 134
                  - 256
      parameters:
      - in: path
        name: user_id
        description: User ID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: dashboard_id
        description: Dashboard ID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: id
        description: Dashboard Workflow ID
        required: true
        schema:
          type: integer
          format: int64
      operationId: postV2UsersByUserIdDashboardsByDashboardIdDashboardWorkflowsByIdUngroup
      x-operation-id-source: derived
  /v2/users/{user_id}/dashboards/{dashboard_id}/dashboard_workflows/ungroup_all:
    post:
      summary: Ungroup All Dashboard Workflows for Dashboard
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          type: object
          description: Successful response
          content:
            application/json:
              schema:
                properties:
                  dashboard_app_ids:
                    type: array
                    items:
                      type: integer
                example:
                  dashboard_app_ids:
                  - 34
                  - 12345
                  - 134
                  - 256
      parameters:
      - in: path
        name: user_id
        description: User ID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: dashboard_id
        description: Dashboard ID
        required: true
        schema:
          type: integer
          format: int64
      operationId: postV2UsersByUserIdDashboardsByDashboardIdDashboardWorkflowsUngroupAll
      x-operation-id-source: derived
  /v2/users/{user_id}/dashboards/{dashboard_id}/dashboard_workflows/{id}/change_asset:
    put:
      summary: Change Asset of Dashboard Workflows and related Dashboard Apps
      tags:
      - Workflows
      responses:
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
        '404':
          description: Not found error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '200':
          type: object
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardWorkflowSingle'
      parameters:
      - in: path
        name: user_id
        description: User ID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: dashboard_id
        description: Dashboard ID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: id
        description: Dashboard Workflow ID
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              properties:
                new_asset:
                  type: object
                  properties:
                    assetId:
                      type: integer
                    rigId:
                      type: integer
                    fracFleetId:
                      type: integer
                    padId:
                      type: integer
                    wellId:
                      type: integer
                    replacedAssetId:
                      type: integer
        description: New Assets
        required: true
      operationId: putV2UsersByUserIdDashboardsByDashboardIdDashboardWorkflowsByIdChangeAsset
      x-operation-id-source: derived
components:
  schemas:
    DashboardWorkflow:
      properties:
        id:
          type: integer
          format: int64
        type:
          type: string
        attributes:
          type: object
          properties:
            id:
              type: integer
              format: int64
            asset_id:
              type: integer
              format: int64
            created_at:
              type: string
              format: date-time
            updated_at:
              type: string
              format: date-time
        relationships:
          type: object
          properties:
            workflow:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    id:
                      type: integer
                    type:
                      type: string
      example:
        id: 12345
        type: dashboard_workflow
        attributes:
          id: 12345
          asset_id: 12345
          created_at: '2022-11-11T09:11:52.326Z'
          updated_at: '2022-11-11T09:11:52.326Z'
        relationships:
          workflow:
            data:
              id: 12345
              type: workflow
    WorkflowPayload:
      properties:
        workflow:
          type: object
          properties:
            id:
              type: integer
              format: int64
            name:
              type: string
            workflow_key:
              type: string
            caption:
              type: string
            visibility:
              type: string
            segment:
              type: string
            image_url:
              type: string
            video_url:
              type: string
            overview:
              type: string
            introduction:
              type: string
            position:
              type: integer
            app_keys:
              type: array
            attachment_metadata:
              type: array
              items:
                properties:
                  file_name:
                    type: string
                  type:
                    type: string
                  uploaded_at:
                    type: string
                    format: date-time
                  cdn_url:
                    type: string
            workflow_content_blocks_attributes:
              type: array
              items:
                properties:
                  title:
                    type: string
                  description:
                    type: string
                  video_url:
                    type: string
                 

# --- truncated at 32 KB (56 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/corva-ai/refs/heads/main/openapi/corva-ai-workflows-api-openapi.yml