4Paradigm Computeunit API
The computeunit API from 4Paradigm — 4 operation(s) for computeunit.
The computeunit API from 4Paradigm — 4 operation(s) for computeunit.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/4paradigm:4paradigm-computeunit-api"
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.
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: 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:
ServerError:
description: server error
content:
text/plain:
schema:
type: string
example: Something went wrong.
RequestError:
description: http request error
content:
application/json:
schema:
type: object
properties:
content:
type: object
message:
type: string
type:
type: string
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