> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cyberdesk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Bulk add tags to multiple workflows

> Add tags to multiple workflows at once.

For each workflow, mutual exclusivity is enforced: if a tag belongs to a group
and the workflow already has a tag from that group, the existing tag is replaced.



## OpenAPI

````yaml /openapi.json post /v1/workflows/bulk/tags
openapi: 3.1.0
info:
  title: Cyberdesk Cloud
  description: >-
    The Cyberdesk API provides programmatic access to all platform features,
    enabling you to automate desktop tasks at scale.
  version: 1.0.0
servers:
  - url: https://api.cyberdesk.io
    description: Production server
  - url: https://cyberdesk-api-dev.fly.dev
    description: Development server
security: []
paths:
  /v1/workflows/bulk/tags:
    post:
      tags:
        - workflows
      summary: Bulk add tags to multiple workflows
      description: >-
        Add tags to multiple workflows at once.


        For each workflow, mutual exclusivity is enforced: if a tag belongs to a
        group

        and the workflow already has a tag from that group, the existing tag is
        replaced.
      operationId: bulk_add_tags_to_workflows_v1_workflows_bulk_tags_post
      parameters:
        - name: Idempotency-Key
          in: header
          required: false
          description: >-
            Unique key for idempotent requests. If provided, the server ensures
            the request is processed at most once. Retries with the same key
            return the original response. SDKs auto-generate this for write
            requests.
          schema:
            type: string
            example: 550e8400-e29b-41d4-a716-446655440000
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkAddTagsRequest'
        required: true
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    BulkAddTagsRequest:
      properties:
        workflow_ids:
          items:
            type: string
            format: uuid
          type: array
          maxItems: 100
          minItems: 1
          title: Workflow Ids
          description: List of workflow IDs to add tags to
        tag_ids:
          items:
            type: string
            format: uuid
          type: array
          maxItems: 50
          minItems: 1
          title: Tag Ids
          description: List of tag IDs to add
      type: object
      required:
        - workflow_ids
        - tag_ids
      title: BulkAddTagsRequest
      description: Schema for bulk adding tags to workflows
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          additionalProperties: true
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.