4Paradigm Computeunit API

The computeunit API from 4Paradigm — 4 operation(s) for computeunit.

Operations 6

GET /computeunit/{userid} get computeunit list #
POST /computeunit/{userid} add computeunit group to user account #
DELETE /computeunit/{userid} delete computeunit group of user account #
GET /computeunit/{userid}/computeunit_id/{computeunit_id} get single compueunit by userID and computeunitID #
GET /computeunit/group/{group_name} get computeunit list in group #
GET /computeunit/price get computeunit price #

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/4paradigm-computeunit-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

4paradigm-computeunit-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pineapple-billing Computeunit API
  description: Pineapple-billing
  version: 0.0.2
servers:
- url: http://127.0.0.1:4321/api
security:
- ApiKeyAuth: []
tags:
- name: computeunit
paths:
  /computeunit/{userid}:
    parameters:
    - in: path
      name: userid
      schema:
        type: string
    get:
      tags:
      - computeunit
      summary: get computeunit list
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ComputeunitInfo'
        400:
          $ref: '#/components/responses/RequestError'
        500:
          $ref: '#/components/responses/ServerError'
      operationId: getComputeunitByUserid
      x-operation-id-source: derived
    post:
      tags:
      - computeunit
      summary: add computeunit group to user account
      parameters:
      - in: query
        name: group_name
        required: true
        schema:
          type: string
      responses:
        200:
          description: OK
        400:
          $ref: '#/components/responses/RequestError'
        500:
          $ref: '#/components/responses/ServerError'
      operationId: postComputeunitByUserid
      x-operation-id-source: derived
    delete:
      tags:
      - computeunit
      summary: delete computeunit group of user account
      parameters:
      - in: query
        name: group_name
        required: true
        schema:
          type: string
      responses:
        200:
          description: OK
        400:
          $ref: '#/components/responses/RequestError'
        500:
          $ref: '#/components/responses/ServerError'
      operationId: deleteComputeunitByUserid
      x-operation-id-source: derived
  /computeunit/{userid}/computeunit_id/{computeunit_id}:
    parameters:
    - in: path
      name: userid
      schema:
        type: string
    - in: path
      name: computeunit_id
      schema:
        type: string
    get:
      tags:
      - computeunit
      summary: get single compueunit by userID and computeunitID
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComputeunitInfo'
      operationId: getComputeunitByUseridComputeunitIdByComputeunitId
      x-operation-id-source: derived
  /computeunit/group/{group_name}:
    parameters:
    - in: path
      name: group_name
      schema:
        type: string
    get:
      tags:
      - computeunit
      summary: get computeunit list in group
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ComputeunitInfo'
        400:
          $ref: '#/components/responses/RequestError'
        500:
          $ref: '#/components/responses/ServerError'
      operationId: getComputeunitGroupByGroupName
      x-operation-id-source: derived
  /computeunit/price:
    get:
      tags:
      - computeunit
      summary: get computeunit price
      parameters:
      - in: query
        name: computeunit_id
        required: true
        schema:
          type: string
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                type: number
                format: double
        400:
          $ref: '#/components/responses/RequestError'
        500:
          $ref: '#/components/responses/ServerError'
      operationId: getComputeunitPrice
      x-operation-id-source: derived
components:
  responses:
    RequestError:
      description: http request error
      content:
        application/json:
          schema:
            type: object
            properties:
              content:
                type: object
              message:
                type: string
              type:
                type: string
    ServerError:
      description: server error
      content:
        text/plain:
          schema:
            type: string
          example: Something went wrong.
  schemas:
    ComputeunitInfo:
      type: object
      properties:
        id:
          type: string
        price:
          type: number
          format: double
        description:
          type: string
        spec:
          type: object
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization