Insight Genius Library API

The Library API from Insight Genius — 6 operation(s) for library.

GitHub OpenAPI

Operations 8

POST /v1/library/upload Upload file to persistent library #
GET /v1/library/files List all files in library #
GET /v1/library/{library_id} Get file metadata #
PATCH /v1/library/{library_id} Update file metadata #
DELETE /v1/library/{library_id} Delete file from library #
GET /v1/library/{library_id}/variables Get file variables #
POST /v1/library/{library_id}/load Load library file into active session #
GET /v1/library/search/files Search across library #

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/insightgenius-io:insightgenius-io-library-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

insightgenius-io-library-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SPSS InsightGenius Library API
  description: '**SPSS InsightGenius API** — REST API for processing SPSS (.sav) files.


    Powered by QuantipyMRX for market research analysis: crosstabs with significance testing, auto-detection of question types, NPS, Top/Bottom Box, nets, and AI-powered Reporting Ticket parsing via Claude Haiku.


    ## Authentication

    All endpoints require `Authorization: Bearer sk_live_...` or `sk_test_...`


    ## Rate Limits

    | Plan | Requests/min | Max file size |

    |------|-------------|---------------|

    | Free (sk_test_) | 10 | 5 MB |

    | Pro | 60 | 50 MB |

    | Business | 200 | 200 MB |'
  version: 1.0.0
tags:
- name: Library
paths:
  /v1/library/upload:
    post:
      tags:
      - Library
      summary: Upload file to persistent library
      description: Upload a file to the persistent library. Returns library_id + file_id (Redis session).
      operationId: library_upload_v1_library_upload_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_library_upload_v1_library_upload_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/library/files:
    get:
      tags:
      - Library
      summary: List all files in library
      description: List all files for the authenticated user. Returns empty list if library is not configured.
      operationId: library_list_v1_library_files_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/library/{library_id}:
    get:
      tags:
      - Library
      summary: Get file metadata
      description: Get metadata for a specific library file. Only accessible by the file owner.
      operationId: library_get_v1_library__library_id__get
      parameters:
      - name: library_id
        in: path
        required: true
        schema:
          type: string
          title: Library Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - Library
      summary: Update file metadata
      operationId: library_update_v1_library__library_id__patch
      parameters:
      - name: library_id
        in: path
        required: true
        schema:
          type: string
          title: Library Id
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_library_update_v1_library__library_id__patch'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Library
      summary: Delete file from library
      operationId: library_delete_v1_library__library_id__delete
      parameters:
      - name: library_id
        in: path
        required: true
        schema:
          type: string
          title: Library Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/library/{library_id}/variables:
    get:
      tags:
      - Library
      summary: Get file variables
      operationId: library_variables_v1_library__library_id__variables_get
      parameters:
      - name: library_id
        in: path
        required: true
        schema:
          type: string
          title: Library Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/library/{library_id}/load:
    post:
      tags:
      - Library
      summary: Load library file into active session
      operationId: library_load_v1_library__library_id__load_post
      parameters:
      - name: library_id
        in: path
        required: true
        schema:
          type: string
          title: Library Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/library/search/files:
    get:
      tags:
      - Library
      summary: Search across library
      description: Search files and variables by keyword. Only searches authenticated user's files.
      operationId: library_search_v1_library_search_files_get
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
          title: Q
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_library_update_v1_library__library_id__patch:
      properties:
        display_name:
          type: string
          title: Display Name
        description:
          type: string
          title: Description
        tags:
          type: string
          title: Tags
      type: object
      title: Body_library_update_v1_library__library_id__patch
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_library_upload_v1_library_upload_post:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
        description:
          type: string
          title: Description
          default: ''
        tags:
          type: string
          title: Tags
          default: ''
      type: object
      required:
      - file
      title: Body_library_upload_v1_library_upload_post