Rapidata Workflow API

The Workflow API from Rapidata — 5 operation(s) for workflow.

Operations 6

DELETE /workflow/{workflowId} Deletes a workflow by its id.
GET /workflow/{workflowId} Returns the workflow identified by workflowId.
GET /workflow/{workflowId}/compare-ab-summary Returns the number of times each asset index won across the workflow's rapids.
GET /workflow/{workflowId}/progress Gets the progress of a workflow.
GET /workflow/{workflowId}/responses Gets the most recent or oldest responses for a workflow, across any rapid.
GET /workflows Queries workflows based on the provided filter, page, and sort criteria.

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/rapidata-workflow-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

rapidata-workflow-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rapidata Asset Workflow API
  description: The API for the Rapidata Asset service
  version: v1
servers:
- url: https://api.rapidata.ai/
tags:
- name: Workflow
  x-displayName: Workflow
paths:
  /workflow/{workflowId}:
    delete:
      tags:
      - Workflow
      summary: Deletes a workflow by its id.
      parameters:
      - name: workflowId
        in: path
        description: The ID of the workflow to delete.
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - OpenIdConnect:
        - openid
        - profile
        - email
        - offline_access
    get:
      tags:
      - Workflow
      summary: Returns the workflow identified by workflowId.
      parameters:
      - name: workflowId
        in: path
        description: Identifier of the workflow to fetch.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWorkflowByIdEndpoint_Output'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - OpenIdConnect:
        - openid
        - profile
        - email
        - offline_access
  /workflow/{workflowId}/compare-ab-summary:
    get:
      tags:
      - Workflow
      summary: Returns the number of times each asset index won across the workflow's rapids.
      parameters:
      - name: workflowId
        in: path
        description: The ID of the workflow to get the summary for.
        required: true
        schema:
          type: string
      - name: useUserScore
        in: query
        description: Whether to use the user score to determine the winner.
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCompareAbSummaryEndpoint_Output'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - OpenIdConnect:
        - openid
        - profile
        - email
        - offline_access
  /workflow/{workflowId}/progress:
    get:
      tags:
      - Workflow
      summary: Gets the progress of a workflow.
      parameters:
      - name: workflowId
        in: path
        description: The ID of the workflow to get the progress for.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWorkflowProgressEndpoint_Output'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - OpenIdConnect:
        - openid
        - profile
        - email
        - offline_access
  /workflow/{workflowId}/responses:
    get:
      tags:
      - Workflow
      summary: Gets the most recent or oldest responses for a workflow, across any rapid.
      parameters:
      - name: workflowId
        in: path
        description: The ID of the workflow to get the responses for.
        required: true
        schema:
          type: string
      - name: limit
        in: query
        description: The maximum number of responses to return.
        schema:
          type: integer
          format: int32
          default: 100
      - name: sort
        in: query
        description: Whether the oldest or most recent responses should be returned.
        schema:
          $ref: '#/components/schemas/SortDirection'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWorkflowResponsesEndpoint_Output'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - OpenIdConnect:
        - openid
        - profile
        - email
        - offline_access
  /workflows:
    get:
      tags:
      - Workflow
      summary: Queries workflows based on the provided filter, page, and sort criteria.
      parameters:
      - name: page
        in: query
        description: The 1-based page index.
        schema:
          type: integer
        x-parameter-group: page
      - name: page_size
        in: query
        description: The number of items per page.
        schema:
          type: integer
        x-parameter-group: page
      - name: sort
        in: query
        description: Sort fields. Prefix with - for descending order (e.g. -created_at).
        schema:
          type: array
          items:
            enum:
            - name
            - -name
            - state
            - -state
            - created_at
            - -created_at
            type: string
        x-parameter-group: sort
      - name: id
        in: query
        description: Filter by id.
        style: deepObject
        explode: true
        schema:
          type: object
          properties:
            eq:
              type: string
            neq:
              type: string
            gt:
              type: string
            gte:
              type: string
            lt:
              type: string
            lte:
              type: string
            contains:
              type: string
            starts_with:
              type: string
            ends_with:
              type: string
            in:
              type: array
              items:
                type: string
            not_contains:
              type: string
        x-parameter-group: filters
      - name: name
        in: query
        description: Filter by name.
        style: deepObject
        explode: true
        schema:
          type: object
          properties:
            eq:
              type: string
            neq:
              type: string
            gt:
              type: string
            gte:
              type: string
            lt:
              type: string
            lte:
              type: string
            contains:
              type: string
            starts_with:
              type: string
            ends_with:
              type: string
            in:
              type: array
              items:
                type: string
            not_contains:
              type: string
        x-parameter-group: filters
      - name: state
        in: query
        description: Filter by state.
        style: deepObject
        explode: true
        schema:
          type: object
          properties:
            eq:
              type: string
            neq:
              type: string
            gt:
              type: string
            gte:
              type: string
            lt:
              type: string
            lte:
              type: string
            contains:
              type: string
            starts_with:
              type: string
            ends_with:
              type: string
            in:
              type: array
              items:
                type: string
            not_contains:
              type: string
        x-parameter-group: filters
      - name: owner_mail
        in: query
        description: Filter by owner_mail.
        style: deepObject
        explode: true
        schema:
          type: object
          properties:
            eq:
              type: string
            neq:
              type: string
            gt:
              type: string
            gte:
              type: string
            lt:
              type: string
            lte:
              type: string
            contains:
              type: string
            starts_with:
              type: string
            ends_with:
              type: string
            in:
              type: array
              items:
                type: string
            not_contains:
              type: string
        x-parameter-group: filters
      - name: logic
        in: query
        description: 'How to combine the field filters: "and" (default) requires every filter to match, "or" requires any of them to match.'
        schema:
          enum:
          - and
          - or
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryWorkflowsEndpoint_PagedResultOfOutput'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - OpenIdConnect:
        - openid
        - profile
        - email
        - offline_access
components:
  schemas:
    TranscriptionWord:
      required:
      - word
      type: object
      properties:
        word:
          type: string
        wordIndex:
          type: integer
          format: int32
    IRapidResultNamedEntityResult:
      required:
      - classifications
      - rapidId
      - _t
      properties:
        _t:
          enum:
          - NamedEntityResult
          type: string
        classifications:
          type: array
          items:
            $ref: '#/components/schemas/NamedClassification'
        rapidId:
          type: string
    IWorkflowRapidBlueprintModelCompareWorkflowRapidBlueprintModel:
      required:
      - criteria
      - indexIdentifiers
      - _t
      properties:
        _t:
          enum:
          - CompareBlueprint
          type: string
        criteria:
          type: string
        indexIdentifiers:
          type: array
          items:
            type: string
    QueryWorkflowsEndpoint_Output:
      required:
      - workflow
      type: object
      properties:
        workflow:
          allOf:
          - $ref: '#/components/schemas/IWorkflowModel'
          description: The workflow.
    IWorkflowRapidBlueprintModelTranscriptionWorkflowRapidBlueprintModel:
      required:
      - title
      - _t
      properties:
        _t:
          enum:
          - TranscriptionBlueprint
          type: string
        title:
          type: string
    WorkflowStateModel:
      enum:
      - Created
      - Started
      - Labeling
      - Paused
      - Done
      - Failed
    SortDirection:
      enum:
      - Asc
      - Desc
    IRankingConfigModelBradleyTerryRankingConfigModel:
      required:
      - startingScore
      - _t
      properties:
        _t:
          enum:
          - BradleyTerryRankingConfig
          type: string
        startingScore:
          type: integer
          format: int32
    IRankingConfigModelEloConfigModel:
      required:
      - startingScore
      - kFactor
      - scalingFactor
      - _t
      properties:
        _t:
          enum:
          - EloConfig
          type: string
        startingScore:
          type: integer
          format: int32
        kFactor:
          type: integer
          format: int32
        scalingFactor:
          type: integer
          format: int32
    IWorkflowModel:
      required:
      - _t
      type: object
      oneOf:
      - $ref: '#/components/schemas/IWorkflowModelEvaluationWorkflowModel'
      - $ref: '#/components/schemas/IWorkflowModelGroupedRankingWorkflowModel'
      - $ref: '#/components/schemas/IWorkflowModelRankingWorkflowModel'
      - $ref: '#/components/schemas/IWorkflowModelSimpleWorkflowModel'
      discriminator:
        propertyName: _t
        mapping:
          EvaluationWorkflow: '#/components/schemas/IWorkflowModelEvaluationWorkflowModel'
          GroupedRankingWorkflowModel: '#/components/schemas/IWorkflowModelGroupedRankingWorkflowModel'
          RankingWorkflowModel: '#/components/schemas/IWorkflowModelRankingWorkflowModel'
          SimpleWorkflowModel: '#/components/schemas/IWorkflowModelSimpleWorkflowModel'
    IMetadataModelLocationMetadataModel:
      required:
      - x
      - y
      - _t
      properties:
        _t:
          enum:
          - LocationMetadata
          type: string
        x:
          type: number
          format: float
        y:
          type: number
          format: float
    IWorkflowRapidBlueprintModelLocateWorkflowRapidBlueprintModel:
      required:
      - target
      - _t
      properties:
        _t:
          enum:
          - LocateBlueprint
          type: string
        target:
          type: string
    IMetadataModelClassificationMetadataModel:
      required:
      - classification
      - _t
      properties:
        _t:
          enum:
          - ClassificationMetadata
          type: string
        classification:
          type: string
    IWorkflowRapidBlueprintModelBoundingBoxWorkflowRapidBlueprintModel:
      required:
      - target
      - _t
      properties:
        _t:
          enum:
          - BoundingBoxBlueprint
          type: string
        target:
          type: string
    IMetadataModelOriginalFilenameMetadataModel:
      required:
      - originalFilename
      - _t
      properties:
        _t:
          enum:
          - OriginalFilenameMetadata
          type: string
        originalFilename:
          type: string
    IWorkflowModelGroupedRankingWorkflowModel:
      required:
      - id
      - referee
      - state
      - criteria
      - name
      - ownerMail
      - _t
      properties:
        _t:
          enum:
          - GroupedRankingWorkflowModel
          type: string
        id:
          type: string
        referee:
          $ref: '#/components/schemas/IRefereeConfigModel'
        state:
          $ref: '#/components/schemas/WorkflowStateModel'
        criteria:
          type: string
        name:
          type: string
        ownerMail:
          type:
          - string
          - 'null'
        rankingConfig:
          type:
          - object
          - 'null'
          oneOf:
          - $ref: '#/components/schemas/IRankingConfigModel'
    LocateCoordinate:
      type: object
      properties:
        x:
          type: number
          format: double
        y:
          type: number
          format: double
    AttachCategoryWorkflowRapidBlueprintModel_Category:
      required:
      - label
      - value
      type: object
      properties:
        label:
          type: string
        value:
          type: string
    IRapidResultCompareResult:
      required:
      - winners
      - rapidId
      - _t
      properties:
        _t:
          enum:
          - CompareResult
          type: string
        winners:
          type: array
          items:
            type: string
        rapidId:
          type: string
    IWorkflowRapidBlueprintModelLineWorkflowRapidBlueprintModel:
      required:
      - target
      - _t
      properties:
        _t:
          enum:
          - LineBlueprint
          type: string
        target:
          type: string
    IRefereeConfigModelNeverEndingRefereeConfigModel:
      required:
      - _t
      properties:
        _t:
          enum:
          - NeverEndingRefereeConfig
          type: string
    GetWorkflowProgressEndpoint_Output:
      required:
      - completionPercentage
      - total
      - completed
      - state
      type: object
      properties:
        completionPercentage:
          type: number
          description: The percentage of workflow datapoints that have been completed.
          format: double
        total:
          type: integer
          description: The total number of datapoints in the workflow.
          format: int64
        completed:
          type: integer
          description: The number of datapoints that have been completed.
          format: int64
        state:
          allOf:
          - $ref: '#/components/schemas/WorkflowState'
          description: The current state of the workflow.
    IMetadataModelImageDimensionMetadataModel:
      required:
      - _t
      properties:
        _t:
          enum:
          - ImageDimensionMetadata
          type: string
        height:
          type: integer
          format: int32
        width:
          type: integer
          format: int32
    IWorkflowRapidBlueprintModel:
      required:
      - _t
      type: object
      oneOf:
      - $ref: '#/components/schemas/IWorkflowRapidBlueprintModelAttachCategoryWorkflowRapidBlueprintModel'
      - $ref: '#/components/schemas/IWorkflowRapidBlueprintModelBoundingBoxWorkflowRapidBlueprintModel'
      - $ref: '#/components/schemas/IWorkflowRapidBlueprintModelCompareWorkflowRapidBlueprintModel'
      - $ref: '#/components/schemas/IWorkflowRapidBlueprintModelFreeTextWorkflowRapidBlueprintModel'
      - $ref: '#/components/schemas/IWorkflowRapidBlueprintModelLineWorkflowRapidBlueprintModel'
      - $ref: '#/components/schemas/IWorkflowRapidBlueprintModelLocateWorkflowRapidBlueprintModel'
      - $ref: '#/components/schemas/IWorkflowRapidBlueprintModelNamedEntityWorkflowRapidBlueprintModel'
      - $ref: '#/components/schemas/IWorkflowRapidBlueprintModelPolygonWorkflowRapidBlueprintModel'
      - $ref: '#/components/schemas/IWorkflowRapidBlueprintModelScrubWorkflowRapidBlueprintModel'
      - $ref: '#/components/schemas/IWorkflowRapidBlueprintModelTranscriptionWorkflowRapidBlueprintModel'
      discriminator:
        propertyName: _t
        mapping:
          ClassifyBlueprint: '#/components/schemas/IWorkflowRapidBlueprintModelAttachCategoryWorkflowRapidBlueprintModel'
          BoundingBoxBlueprint: '#/components/schemas/IWorkflowRapidBlueprintModelBoundingBoxWorkflowRapidBlueprintModel'
          CompareBlueprint: '#/components/schemas/IWorkflowRapidBlueprintModelCompareWorkflowRapidBlueprintModel'
          FreeTextBlueprint: '#/components/schemas/IWorkflowRapidBlueprintModelFreeTextWorkflowRapidBlueprintModel'
          LineBlueprint: '#/components/schemas/IWorkflowRapidBlueprintModelLineWorkflowRapidBlueprintModel'
          LocateBlueprint: '#/components/schemas/IWorkflowRapidBlueprintModelLocateWorkflowRapidBlueprintModel'
          NamedEntityBlueprint: '#/components/schemas/IWorkflowRapidBlueprintModelNamedEntityWorkflowRapidBlueprintModel'
          PolygonBlueprint: '#/components/schemas/IWorkflowRapidBlueprintModelPolygonWorkflowRapidBlueprintModel'
          ScrubBlueprint: '#/components/schemas/IWorkflowRapidBlueprintModelScrubWorkflowRapidBlueprintModel'
          TranscriptionBlueprint: '#/components/schemas/IWorkflowRapidBlueprintModelTranscriptionWorkflowRapidBlueprintModel'
    IRefereeConfigModelProbabilisticAttachCategoryRefereeConfigModel:
      required:
      - threshold
      - maxVotes
      - _t
      properties:
        _t:
          enum:
          - ProbabilisticAttachCategoryRefereeConfig
          type: string
        threshold:
          type: number
          format: double
        maxVotes:
          type: integer
          format: int32
    IRapidResultSkipResult:
      required:
      - rapidId
      - _t
      properties:
        _t:
          enum:
          - SkipResult
          type: string
        rapidId:
          type: string
    BoxShape:
      type: object
      properties:
        xMin:
          type:
          - number
          - 'null'
          format: double
        yMin:
          type:
          - number
          - 'null'
          format: double
        xMax:
          type:
          - number
          - 'null'
          format: double
        yMax:
          type:
          - number
          - 'null'
          format: double
    IRapidResult:
      required:
      - _t
      type: object
      oneOf:
      - $ref: '#/components/schemas/IRapidResultAttachCategoryResult'
      - $ref: '#/components/schemas/IRapidResultBoundingBoxResult'
      - $ref: '#/components/schemas/IRapidResultCompareResult'
      - $ref: '#/components/schemas/IRapidResultFreeTextResult'
      - $ref: '#/components/schemas/IRapidResultLineResult'
      - $ref: '#/components/schemas/IRapidResultLocateResult'
      - $ref: '#/components/schemas/IRapidResultNamedEntityResult'
      - $ref: '#/components/schemas/IRapidResultPolygonResult'
      - $ref: '#/components/schemas/IRapidResultScrubResult'
      - $ref: '#/components/schemas/IRapidResultSkipResult'
      - $ref: '#/components/schemas/IRapidResultTranscriptionResult'
      discriminator:
        propertyName: _t
        mapping:
          AttachCategoryResult: '#/components/schemas/IRapidResultAttachCategoryResult'
          BoundingBoxResult: '#/components/schemas/IRapidResultBoundingBoxResult'
          CompareResult: '#/components/schemas/IRapidResultCompareResult'
          FreeTextResult: '#/components/schemas/IRapidResultFreeTextResult'
          LineResult: '#/components/schemas/IRapidResultLineResult'
          LocateResult: '#/components/schemas/IRapidResultLocateResult'
          NamedEntityResult: '#/components/schemas/IRapidResultNamedEntityResult'
          PolygonResult: '#/components/schemas/IRapidResultPolygonResult'
          ScrubResult: '#/components/schemas/IRapidResultScrubResult'
          SkipResult: '#/components/schemas/IRapidResultSkipResult'
          TranscriptionResult: '#/components/schemas/IRapidResultTranscriptionResult'
    IMetadataModelCountMetadataModel:
      required:
      - count
      - _t
      properties:
        _t:
          enum:
          - CountMetadata
          type: string
        count:
          type: integer
          format: int32
    IRapidResultPolygonResult:
      required:
      - shapes
      - rapidId
      - _t
      properties:
        _t:
          enum:
          - PolygonResult
          type: string
        shapes:
          type: array
          items:
            $ref: '#/components/schemas/PolygonShape'
        rapidId:
          type: string
    IAssetModelNullAssetModel:
      required:
      - metadata
      - identifier
      - _t
      properties:
        _t:
          enum:
          - NullAsset
          type: string
        metadata:
          $ref: '#/components/schemas/MetadataModelCollection'
        identifier:
          type: string
    IMetadataModelStreamsMetadataModel:
      required:
      - hasVideo
      - hasAudio
      - hasSubtitles
      - _t
      properties:
        _t:
          enum:
          - StreamsMetadata
          type: string
        hasVideo:
          type: boolean
        hasAudio:
          type: boolean
        hasSubtitles:
          type: boolean
    IWorkflowRapidBlueprintModelPolygonWorkflowRapidBlueprintModel:
      required:
      - target
      - _t
      properties:
        _t:
          enum:
          - PolygonBlueprint
          type: string
        target:
          type: string
    NamedClassification:
      required:
      - classification
      type: object
      properties:
        start:
          type: integer
          format: int32
        end:
          type: integer
          format: int32
        classification:
          type: string
    IRapidResultLineResult:
      required:
      - lines
      - rapidId
      - _t
      properties:
        _t:
          enum:
          - LineResult
          type: string
        lines:
          type: array
          items:
            $ref: '#/components/schemas/Line'
        rapidId:
          type: string
    ValidationProblemDetails:
      type: object
      properties:
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
    IRapidResultTranscriptionResult:
      required:
      - selectedWords
      - rapidId
      - _t
      properties:
        _t:
          enum:
          - TranscriptionResult
          type: string
        selectedWords:
          type: array
          items:
            $ref: '#/components/schemas/TranscriptionWord'
        rapidId:
          type: string
    IPairMakerInformationModelFullPermutationPairMakerInformationModel:
      required:
      - _t
      properties:
        _t:
          enum:
          - FullPermutationPairMakerInformation
          type: string
    IMetadataModel:
      required:
      - _t
      type: object
      oneOf:
      - $ref: '#/components/schemas/IMetadataModelClassificationMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelCountMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelFileTypeMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelImageDimensionMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelLocationMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelOriginalFilenameMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelSourceUrlMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelStreamsMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelTextMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelVideoDurationMetadataModel'
      discriminator:
        propertyName: _t
        mapping:
          ClassificationMetadata: '#/components/schemas/IMetadataModelClassificationMetadataModel'
          CountMetadata: '#/components/schemas/IMetadataModelCountMetadataModel'
          FileTypeMetadata: '#/components/schemas/IMetadataModelFileTypeMetadataModel'
          ImageDimensionMetadata: '#/components/schemas/IMetadataModelImageDimensionMetadataModel'
          LocationMetadata: '#/components/schemas/IMetadataModelLocationMetadataModel'
          OriginalFilenameMetadata: '#/components/schemas/IMetadataModelOriginalFilenameMetadataModel'
          SourceUrlMetadataModel: '#/components/schemas/IMetadataModelSourceUrlMetadataModel'
          StreamsMetadata: '#/components/schemas/IMetadataModelStreamsMetadataModel'
          TextMetadata: '#/components/schemas/IMetadataModelTextMetadataModel'
          VideoDurationMetadata: '#/components/schemas/IMetadataModelVideoDurationMetadataModel'
    FileType:
      enum:
      - Unknown
      - Image
      - Video
      - Audio
    IWorkflowModelSimpleWorkflowModel:
      required:
      - id
      - state
      - blueprint
      - referee
      - name
      - ownerMail
      - _t
      properties:
        _t:
          enum:
          - SimpleWorkflowModel
          type: string
        id:
          type: string
        state:
          $ref: '#/components/schemas/WorkflowStateModel'
        blueprint:
          $ref: '#/components/schemas/IWorkflowRapidBlueprintModel'
        referee:
          $ref: '#/components/schemas/IRefereeConfigModel'
        name:
          type: string
        ownerMail:
          type:
          - string
          - 'null'
    IWorkflowRapidBlueprintModelFreeTextWorkflowRapidBlueprintModel:
      required:
      - question
      - shouldValidateResponse
      - _t
      properties:
        _t:
          enum:
          - FreeTextBlueprint
          type: string
        question:
          type: string
        shouldValidateResponse:
          type: boolean
        validationSystemPrompt:
          type:
          - string
          - 'null'
    IRefereeConfigModel:
      required:
      - _t
      type: object
      oneOf:
      - $ref: '#/components/schemas/IRefereeConfigModelBudgetRefereeConfigModel'
      - $ref: '#/components/schemas/IRefereeConfigModelNaiveRefereeConfigModel'
      - $ref: '#/components/schemas/IRefereeConfigModelNeverEndingRefereeConfigModel'
      - $ref: '#/components/schemas/IRefereeConfigModelProbabilisticAttachCategoryRefereeConfigModel'
      - $ref: '#/components/schemas/IRefereeConfigModelQuorumRefereeConfigModel'
      discriminator:
        propertyName: _t
        mapping:
          BudgetRefereeConfig: '#/components/schemas/IRefereeConfigModelBudgetRefereeConfigModel'
          NaiveRefereeConfig: '#/components/schemas/IRefereeConfigModelNaiveRefereeConfigModel'
          NeverEndingRefereeConfig: '#/components/schemas/IRefereeConfigModelNeverEndingRefereeConfigModel'
          ProbabilisticAttachCategoryRefereeConfig: '#/components/schemas/IRefereeConfigModelProbabilisticAttachCategoryRefereeConfigModel'
          QuorumRefereeConfig: '#/components/schemas/IRefereeConfigModelQuorumRefereeConfigModel'
    GetCompareAbSummaryEndpoint_Output:
      required:
      - winCounter
      - allTargetGroupsCompleted
      type: object
      properties:
        winCounter:
          allOf:
          - type: object
            additionalProperties:
              type: number
              format: double
          description: The number of times each asset index was the winner.
        allTargetGroupsCompleted:
          type: boolean
          description: Whether all target groups for this workflow are completed.
    IAssetModelMultiAssetModel:
      required:
      - assets
      - metadata
      - identifier
      - _t
      properties:
        _t:
          enum:
          - MultiAsset
          type: string
        assets:
          type: array
          items:
            $ref: '#/components/schemas/IAssetModel'
        metadata:
          $ref: '#/components/schemas/MetadataModelCollection'
        identifier:
          type: string
    IRapidResultAttachCategoryResult:
      required:
      - category
      - rapidId
      - _t
      properties:
        _t:
          enum:
          - AttachCategoryResult
          type: string
        category:
          type: string
        rapidId:
          type: string
    GetWorkflowResponsesEndpoint_Response:
      required:
      - id
      - userId
      - country
      - language
      - result
      - userScore
      - userScores
      - demographicInformation
      type: object
      properties:
        id:
          type: string
        userId:
          type: string
        country:
          type: string
        language:
          type: string
        result:
          $ref: '#/components/schemas/IRapidResult'
        userScore:
          type: number
          format: double
        userScores:
          type: object
          additionalProperties:
            type: number
            format: double
        demographicInformation:
          type: object
          additionalProperties:
            type: string
    MetadataModelCollection:
      type: object
      additionalProperties:
        $ref: '#/components/schemas/IMetadataModel'
    IWorkflowRapidBlueprintModelAttachCategoryWorkflowRapidBlueprintModel:
      required:
      - categories
      - title
      - _t
      properties:
        _t:
          enum:
          - ClassifyBlueprint
          type: string
        categories:
          type: array
          items:
            $ref: '#/components/schemas/AttachCategoryWorkflowRapidBlueprintModel_Category'
        title:
          type: string
    IWorkflowModelEvaluationWorkflowModel:
      required:
      - id
      - validationSetId
      - state
      - referee
      - name
      - ownerMail
      - _t
      properties:
        _t:
          enum:
          - EvaluationWorkflow
          type: string
        id:
          type: string
      

# --- truncated at 32 KB (43 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/rapidata/refs/heads/main/openapi/rapidata-workflow-api-openapi.yml