> ## 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 workflow metadata

> Retrieves computed input and vault schemas for a specific workflow



## OpenAPI

````yaml workflow-api/workflow-api.yaml get /workflows/{workflow_id}/metadata
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:
  /workflows/{workflow_id}/metadata:
    get:
      summary: Get workflow metadata
      description: Retrieves computed input and vault schemas for a specific workflow
      operationId: getWorkflowMetadata
      parameters:
        - name: workflow_id
          in: path
          required: true
          schema:
            type: string
          description: The ID of the workflow
        - name: cc-key
          in: header
          required: false
          schema:
            type: string
          description: CloudCruise API key for authentication
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  input_schema:
                    type: object
                    description: >-
                      Full JSON schema used to validate `run_input_variables`,
                      including workflow-level and derived schema constraints.
                    additionalProperties: true
                  workspace_id:
                    type: string
                    format: uuid
                    description: ID of the workspace that owns the workflow
                  vault_schema:
                    type: object
                    description: Schema defining vault credentials and their configuration
                    additionalProperties:
                      type: object
                      properties:
                        type:
                          type: string
                          enum:
                            - credential
                          description: Type of vault entry
                        domain:
                          type: string
                          description: Domain associated with the credential
                          example: https://example.com
                        example:
                          type: string
                          description: Example value for the credential
                          example: 11223344-5566-7788-9900-112233445566
                    example:
                      USER:
                        type: credential
                        domain: https://example.com
                        example: 11223344-5566-7788-9900-112233445566
        '401':
          description: Unauthorized - Invalid or missing authentication
        '404':
          description: Workflow not found
        '500':
          description: Internal server error
components:
  securitySchemes:
    AuthScheme:
      type: apiKey
      name: cc-key
      in: header
      description: >-
        API key-based authentication. Provide your CloudCruise API key in the
        cc-key header.

````