Rapidata RankingFlow API

The RankingFlow API from Rapidata — 2 operation(s) for rankingflow.

Operations 2

POST /flow/ranking Creates a new ranking flow.
PATCH /flow/ranking/{flowId}/config Updates the configuration of a ranking flow.

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-rankingflow-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-rankingflow-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rapidata Asset Ranking Flow API
  description: The API for the Rapidata Asset service
  version: v1
servers:
- url: https://api.rapidata.ai/
tags:
- name: RankingFlow
  x-displayName: RankingFlow
paths:
  /flow/ranking:
    post:
      tags:
      - RankingFlow
      summary: Creates a new ranking flow.
      requestBody:
        description: The ranking flow creation parameters.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateFlowEndpoint_Input'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateFlowEndpoint_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
  /flow/ranking/{flowId}/config:
    patch:
      tags:
      - RankingFlow
      summary: Updates the configuration of a ranking flow.
      parameters:
      - name: flowId
        in: path
        description: The ID of the ranking flow to update.
        required: true
        schema:
          type: string
      requestBody:
        description: The configuration fields to update.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConfigEndpoint_Input'
        required: true
      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
components:
  schemas:
    FeatureFlag:
      required:
      - key
      - value
      type: object
      properties:
        key:
          type: string
        value:
          type: string
    CreateFlowEndpoint_Input:
      required:
      - name
      - criteria
      type: object
      properties:
        name:
          type: string
          description: The name of the ranking flow.
        criteria:
          type: string
          description: The ranking criteria used to compare items.
        audienceId:
          type:
          - string
          - 'null'
          description: Optional audience ID. When provided, the flow will only be served to users in this audience.
        validationSetId:
          type:
          - string
          - 'null'
          description: Optional ID of the validation set to use.
        startingElo:
          type:
          - integer
          - 'null'
          description: Initial Elo rating for new items. Defaults to 1200.
          format: int32
        maxResponses:
          type:
          - integer
          - 'null'
          description: Maximum number of responses per comparison.
          format: int32
        serveResponses:
          type:
          - integer
          - 'null'
          description: Number of accepted responses per rapid at which to stop serving. When set, must be less than or equal to MaxResponses. Null defaults to MaxResponses.
          format: int32
        serveToResponseRatio:
          type:
          - number
          - 'null'
          description: Ratio of concurrent serves to max responses. When set, limits serving to avoid over-collection.
          format: double
        serveTimeoutSeconds:
          type:
          - integer
          - 'null'
          description: Time in seconds a user has to submit an answer after loading the task. When set, overrides the global default.
          format: int32
        minResponses:
          type:
          - integer
          - 'null'
          description: Minimum number of responses per comparison. Defaults to 20.
          format: int32
        featureFlags:
          allOf:
          - type:
            - array
            - 'null'
            items:
              $ref: '#/components/schemas/FeatureFlag'
          description: Optional feature flags to enable for this flow.
        targetResponseCount:
          type:
          - integer
          - 'null'
          description: Target average response count per completed item. Enables PID control when set.
          format: int32
        pidProportionalGain:
          type:
          - number
          - 'null'
          description: PID proportional gain. Defaults to 0.
          format: double
        pidIntegralGain:
          type:
          - number
          - 'null'
          description: PID integral gain. Defaults to 0.003.
          format: double
        pidDerivativeGain:
          type:
          - number
          - 'null'
          description: PID derivative gain. Defaults to 0.
          format: double
        pidOutputOffset:
          type:
          - number
          - 'null'
          description: Constant offset added to the PID output before clamping, shifting the controller's operating point. Defaults to 25.
          format: double
        pidMinSessionsPerMinute:
          type:
          - integer
          - 'null'
          description: Minimum sessions per minute the PID can set. Defaults to 20.
          format: int32
        pidMaxSessionsPerMinute:
          type:
          - integer
          - 'null'
          description: Maximum sessions per minute the PID can set. Defaults to 50.
          format: int32
        pidBatchMode:
          allOf:
          - $ref: '#/components/schemas/PidBatchMode'
          description: 'How PID output maps to campaign rate. Total: direct rate. PerBatch: multiplied by active batch count. PerBatchTimeWeighted: multiplied by time-weighted batch count. Defaults to Total.'
        drainDurationSeconds:
          type:
          - integer
          - 'null'
          description: Duration in seconds for draining flow items. Defaults to 40.
          format: int32
    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
    PidBatchMode:
      enum:
      - Total
      - PerBatch
      - PerBatchTimeWeighted
    CreateFlowEndpoint_Output:
      required:
      - flowId
      type: object
      properties:
        flowId:
          type: string
          description: The ID of the created ranking flow.
    UpdateConfigEndpoint_Input:
      type: object
      properties:
        audienceId:
          type:
          - string
          - 'null'
          description: Optional audience ID. When provided, the flow will only serve items to users in this audience. Set to null to remove the audience restriction.
        criteria:
          type: string
          description: The ranking criteria used to compare items.
        startingElo:
          type: integer
          description: Initial Elo rating for new items.
          format: int32
        minResponses:
          type: integer
          description: Minimum number of responses per comparison.
          format: int32
        maxResponses:
          type: integer
          description: Maximum number of responses per comparison.
          format: int32
        serveResponses:
          type:
          - integer
          - 'null'
          description: Number of accepted responses per rapid at which to stop serving. Set to null to remove. Must be less than or equal to MaxResponses when both are set.
          format: int32
        serveToResponseRatio:
          type:
          - number
          - 'null'
          description: Ratio of concurrent serves to max responses. Set to null to remove the limit.
          format: double
        serveTimeoutSeconds:
          type:
          - integer
          - 'null'
          description: Time in seconds a user has to submit an answer after loading the task. Set to null to use the global default.
          format: int32
        featureFlags:
          allOf:
          - type: array
            items:
              $ref: '#/components/schemas/FeatureFlag'
          description: Feature flags to enable for this flow.
        targetResponseCount:
          type:
          - integer
          - 'null'
          description: Target average response count per completed item. Set to null to disable PID control.
          format: int32
        pidProportionalGain:
          type: number
          description: PID proportional gain.
          format: double
        pidIntegralGain:
          type: number
          description: PID integral gain.
          format: double
        pidDerivativeGain:
          type: number
          description: PID derivative gain.
          format: double
        pidOutputOffset:
          type: number
          description: Constant offset added to the PID output before clamping, shifting the controller's operating point.
          format: double
        pidMinSessionsPerMinute:
          type: integer
          description: Minimum sessions per minute the PID can set.
          format: int32
        pidMaxSessionsPerMinute:
          type: integer
          description: Maximum sessions per minute the PID can set.
          format: int32
        pidBatchMode:
          allOf:
          - $ref: '#/components/schemas/PidBatchMode'
          description: 'How PID output maps to campaign rate. Total: direct rate. PerBatch: multiplied by active batch count. PerBatchTimeWeighted: multiplied by time-weighted batch count.'
  securitySchemes:
    OpenIdConnect:
      type: openIdConnect
      description: OpenID Connect connection flow
      openIdConnectUrl: https://auth.rapidata.ai/.well-known/openid-configuration
x-tagGroups:
- name: Rapidata Asset API
  tags:
  - Asset
  - BatchUpload
- name: Rapidata Audience API
  tags:
  - Audience
  - Examples
- name: Rapidata Campaign API
  tags:
  - Cache
  - Campaign
  - ExternalAudience
- name: Rapidata Dataset API
  tags:
  - ContextShortening
  - Datapoints
  - Dataset
  - DatasetGroup
- name: Rapidata Flow API
  tags:
  - Flow
  - FlowItem
  - RankingFlow
  - RankingFlowItem
- name: Rapidata Identity API
  tags:
  - Rapidata.Identity.API
  - Client
  - Customer
  - Identity
  - Newsletter
  - Organization
  - Survey
- name: Rapidata Leaderboard API
  tags:
  - Benchmark
  - SampleGeneration
  - Faucet
  - Replicate
  - Leaderboard
  - Participant
  - Prompt
  - Sample
- name: Rapidata Order API
  tags:
  - Feedback
  - Job
  - Order
- name: Rapidata Payment API
  tags:
  - Billing
  - ExternalServicePrices
  - Reconciliation
  - Settings
  - VolumeDiscount
  - BillingAccount
  - Invoice
  - Payment
- name: Rapidata Pipeline API
  tags:
  - Pipeline
- name: Rapidata Rapid API
  tags:
  - CustomerRapid
  - GlobalText
  - Rapid
  - UserRapid
  - ValidationFeedback
- name: Rapidata Signal API
  tags:
  - Signal
- name: Rapidata Translation API
  tags:
  - Translation
- name: Rapidata Validation API
  tags:
  - ValidationSet
- name: Rapidata Workflow API
  tags:
  - Evaluation
  - GroupedRanking
  - Ranking
  - SimpleWorkflow
  - Workflow