4Paradigm Users API

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

Operations 3

GET /user/info Get user info #
GET /user/tasks get user task info #
POST /user/init init user #

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-users-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-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pineapple Users API
  description: Pineapple
  version: 0.0.1
servers:
- url: http://127.0.0.1:1234/api
security:
- OpenID:
  - openid
  - email
  - profile
- ApiKeyAuth: []
tags:
- name: Users
paths:
  /user/info:
    get:
      tags:
      - Users
      summary: Get user info
      operationId: getUser
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserInfo'
        404:
          description: User not found
        500:
          $ref: '#/components/responses/ServerError'
  /user/tasks:
    get:
      tags:
      - Users
      summary: get user task info
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserTasksInfo'
        400:
          $ref: '#/components/responses/RequestError'
        500:
          $ref: '#/components/responses/ServerError'
      operationId: getUserTasks
      x-operation-id-source: derived
  /user/init:
    post:
      tags:
      - Users
      summary: init user
      responses:
        200:
          description: OK
        400:
          $ref: '#/components/responses/RequestError'
        500:
          $ref: '#/components/responses/ServerError'
      operationId: postUserInit
      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:
    ComputeUnitId:
      description: compute unit name
      type: string
      example: 1c-1g
      maxLength: 32
    UserInfo:
      type: object
      properties:
        name:
          type: string
          example: John
        balance:
          type: number
          format: double
    UserTaskInfo:
      type: object
      properties:
        compute_unit:
          $ref: '#/components/schemas/ComputeUnitId'
        number:
          type: integer
          format: int64
        price:
          type: number
          format: double
    UserTasksInfo:
      type: object
      properties:
        env_num:
          type: integer
          format: int64
        app_num:
          type: integer
          format: int64
        task_list:
          type: array
          items:
            $ref: '#/components/schemas/UserTaskInfo'
  securitySchemes:
    OpenID:
      type: openIdConnect
      openIdConnectUrl: /.well-known/openid-configuration
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization