Rapidata Cache API

The Cache API from Rapidata — 2 operation(s) for cache.

Operations 2

GET /campaign/cache/campaigns Returns the current state of the in-memory campaign cache.
GET /campaign/cache/user-scores Returns the current state of the in-memory default user score cache.

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-cache-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-cache-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rapidata Asset Cache API
  description: The API for the Rapidata Asset service
  version: v1
servers:
- url: https://api.rapidata.ai/
tags:
- name: Cache
  x-displayName: Cache
paths:
  /campaign/cache/campaigns:
    get:
      tags:
      - Cache
      summary: Returns the current state of the in-memory campaign cache.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCampaignCacheEndpoint_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
  /campaign/cache/user-scores:
    get:
      tags:
      - Cache
      summary: Returns the current state of the in-memory default user score cache.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetUserScoreCacheEndpoint_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
components:
  schemas:
    CampaignStatusModel:
      enum:
      - Created
      - Preview
      - Active
      - Analysis
      - Paused
      - Completed
      - SpendLimited
    BoostingControlMode:
      enum:
      - Manual
      - Automatic
    GetUserScoreCacheEndpoint_Output:
      required:
      - count
      - scores
      type: object
      properties:
        count:
          type: integer
          description: The total number of cached user scores.
          format: int32
        scores:
          allOf:
          - type: object
            additionalProperties:
              type: number
              format: double
          description: The cached dimension-to-score mappings.
    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
    GetCampaignCacheEndpoint_CampaignEntry:
      required:
      - id
      - name
      - status
      - priority
      - filterCount
      - selectionCount
      - userScoreDimensionCount
      - featureFlagCount
      - rateLimitCount
      - isPreviewEnabled
      - boostingControlMode
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        status:
          $ref: '#/components/schemas/CampaignStatusModel'
        priority:
          type: integer
          format: int32
        filterCount:
          type: integer
          format: int32
        selectionCount:
          type: integer
          format: int32
        userScoreDimensionCount:
          type: integer
          format: int32
        featureFlagCount:
          type: integer
          format: int32
        rateLimitCount:
          type: integer
          format: int32
        isPreviewEnabled:
          type: boolean
        boostingControlMode:
          $ref: '#/components/schemas/BoostingControlMode'
    GetCampaignCacheEndpoint_Output:
      required:
      - count
      - campaigns
      type: object
      properties:
        count:
          type: integer
          description: The total number of cached campaigns.
          format: int32
        campaigns:
          allOf:
          - type: array
            items:
              $ref: '#/components/schemas/GetCampaignCacheEndpoint_CampaignEntry'
          description: The list of cached campaign summaries.
  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