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

# Get component usage

> Returns the workflows in your workspace that currently embed an instance of this component.

Useful before calling `PUT` (to preview which workflows will be affected by propagation) or `DELETE` (to see what will be unlinked).



## OpenAPI

````yaml workflow-api/workflow-api.yaml get /workflow-components/{component_id}/usage
openapi: 3.0.0
info:
  title: Workflow API
  version: 1.0.0
  description: API for managing workflows and their metadata
servers:
  - url: https://api.cloudcruise.com
    description: CloudCruise Platform Production API Server
security:
  - AuthScheme: []
paths:
  /workflow-components/{component_id}/usage:
    get:
      summary: Get component usage
      description: >-
        Returns the workflows in your workspace that currently embed an instance
        of this component.


        Useful before calling `PUT` (to preview which workflows will be affected
        by propagation) or `DELETE` (to see what will be unlinked).
      operationId: getWorkflowComponentUsage
      parameters:
        - name: component_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: The ID of the workflow component
        - name: cc-key
          in: header
          required: false
          schema:
            type: string
          description: CloudCruise API key for authentication
      responses:
        '200':
          description: >-
            Successful operation. Returns an array (possibly empty) of workflow
            summaries.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ComponentUsageInfo'
        '400':
          description: >-
            Bad request - `component_id` is not a valid UUID or missing
            workspace ID
        '401':
          description: Unauthorized - Invalid or missing authentication
        '500':
          description: Internal server error
components:
  schemas:
    ComponentUsageInfo:
      type: object
      description: Summary of a workflow that embeds a particular component.
      properties:
        id:
          type: string
          format: uuid
          description: ID of the workflow
        name:
          type: string
          description: Display name of the workflow
      required:
        - id
        - name
  securitySchemes:
    AuthScheme:
      type: apiKey
      name: cc-key
      in: header
      description: >-
        API key-based authentication. Provide your CloudCruise API key in the
        cc-key header.

````