Forsta Crosstabs Rim Weighting API

The Crosstabs Rim Weighting API from Forsta — 1 operation(s) for crosstabs rim weighting.

Operations 1

PUT /surveys/{survey}/crosstabs/weighting/rim/{var} Update rim weighting #

Documentation

Specifications

Other Resources

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/forsta-crosstabs-rim-weighting-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

forsta-crosstabs-rim-weighting-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Decipher Rest Crosstabs Rim Weighting API
  version: '1.0'
  description: The Decipher REST API allows comprehensive automation of your private or shared Decipher instance.
servers:
- url: https://{server}/api/v1
  description: Replace server with your instance domain.
  variables:
    server:
      default: selfserve.decipherinc.com
      description: Server domain
security:
- APIKey: []
tags:
- name: Crosstabs Rim Weighting
paths:
  /surveys/{survey}/crosstabs/weighting/rim/{var}:
    put:
      operationId: updateSurveyCrosstabsWeightingRim
      summary: Update rim weighting
      tags:
      - Crosstabs Rim Weighting
      description: Create per-record weights based on a set of RIM variables and breaks. The algorithm as described in the Wincross manual is used.
      parameters:
      - name: survey
        description: survey path to run crosstabs in
        in: path
        required: true
        schema:
          type: string
      - name: var
        description: The target var to save the data in. This will be created as a new or updated column in the `nweight.txt` file.
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                iterations:
                  description: 'How many times should we try to approximate the variables.

                    '
                  default: 50
                  type: integer
                minWeight:
                  description: Minimum acceptable record weight.
                  default: 0.0001
                  type: number
                maxWeight:
                  description: 'Maximum acceptable record weight (by default, no limit).

                    '
                  default: 999999
                  type: number
                converge:
                  description: 'Acceptable convergence to consider the test done before

                    completing all iterations.

                    '
                  default: 5.0e-06
                  type: number
                test:
                  description: 'In test mode, do not save the data but still run the calculations.

                    '
                  default: false
                  type: boolean
                chunks:
                  description: 'An array of objects, containing `precondition` and `variables`.

                    Each variable is an array for each variable (e.g. Gender) to test

                    containing an array of objects that are values. Each value is a

                    crosstabs condition and the desired percentage ratio (must add up

                    to 100%).

                    '
                  type: array
                  items:
                    type: object
                    properties:
                      precondition:
                        type: string
                      variables:
                        type: array
                        items:
                          type: array
                          items:
                            type: object
                            properties:
                              condition:
                                type: string
                              ratio:
                                type: array
                                minItems: 2
                                maxItems: 2
              required:
              - chunks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    success:
                      type: boolean
                      description: 'True if we managed to hit convergence within the required

                        number of iterations.

                        '
                    rms:
                      type: number
                      description: 'Root mean square of the last iteration, which is compared to

                        the desired convergence.

                        '
                    debug:
                      type: string
                      description: 'Textual debug information about what happened in each

                        iteration.

                        '
                    efficiency:
                      type: number
                      description: Efficiency factor of generated weights.
                    wprop:
                      type: object
                      description: achieved weights per break in each variable.
components:
  securitySchemes:
    APIKey:
      type: apiKey
      in: header
      name: x-apikey
      description: 'In order to access the api, you''ll need to generate an API key. Refer to the

        instructions [here](/docs/decipher/api#section/API-Keys) to generate and

        configure an API key with the appropriate permission sets. You can generate

        as many keys as required.


        Configure each request to include your API key in the request header. For example:


        ```

        x-apikey: dp48ss3mgsaucyjtybxw728h7s4cgnwzhejtszdwhf4xpe8yhmtdwpk2ntdhtwbs

        ```

        '
x-tagGroups:
- name: Autoclose
  tags:
  - Autoclose
- name: Data Input and Output
  tags:
  - Data
  - Data Feed
  - Response Summary
  - Modifying Data
  - Datasources
  - Datasources Data
  - Umerge
- name: Survey Metadata
  tags:
  - Simulated Data
  - Survey State
  - Survey Evaluate
  - Survey Quotas
  - Survey Files
  - Survey Warnings
  - Survey Terms
  - Survey Subscribers
  - Survey Users
  - Survey Tasks
- name: Panels
  tags:
  - Panel Data
  - Panel Datapoints
  - Survey Panels
- name: Research Hub
  tags:
  - Users
  - Companies
  - Categories
  - Surveys
  - Panels
  - Crosstabs
  - Archives
  - Archival Reports
  - API Keys
  - Usage
  - Warnings Summary
- name: Crosstabs
  tags:
  - Crosstabs Configuration
  - Crosstabs Execution
  - Crosstabs Nets
  - Saved Crosstabs
  - Crosstabs Table Settings
  - Crosstabs Validation
  - Crosstabs Rim Weighting
- name: Dashboards
  tags:
  - Dashboards
- name: DQ APIs
  tags:
  - DQ-Specific API Calls
  - MaxDiff API Calls
  - Discrete Choice Model API Calls
  - Media Testimonial API Calls
- name: Response Summary
  tags:
  - Share Link
- name: Sample Management
  tags:
  - Bounced Emails
  - Participant Sources
- name: Distribution
  tags:
  - Email Distribution
  - SFTP Distribution
  - Slack Distribution
- name: Campaign Manager
  tags:
  - Campaigns
  - Campaign Email Invites
  - Campaign Exports
  - Campaign Lists
  - Shared Campaign Lists
  - Campaign Sends
  - Campaign Status Lists
  - Supression Lists
- name: Question Library
  tags:
  - Company Element
  - Company Elements
  - Survey Elements
  - Survey Element Report Settings
- name: Language Manager
  tags:
  - LM Application Data
  - LM Application Translations
  - Translation Resources
  - Translations
  - Translation Deltas
  - Translation Reservations
  - Primary Survey Language
  - Other Survey Languages
  - Unused Survey Languages
- name: Project Parameters
  tags:
  - Available Project Parameters
  - Saved Project Parameters
  - Project Parameters Configuration
- name: Multi-User Editing
  tags:
  - Available Sections
  - Check Out Section
  - Check In Section
  - Sync Section
  - Section Editor
  - Abandon Section
  - Validate Section
- name: Video Management
  tags:
  - Videos
  - Watermarked Videos
- name: Miscellaneous
  tags:
  - System Information
  - Logic Nodes
  - Logic Events
  - CATI
  - Global Search
  - Miscellaneous