gnt.ai Platform Admin API

The platform-admin API from gnt.ai — 3 operation(s) for platform-admin.

GitHub OpenAPI

Operations 3

GET /v1/platform-admin/orgs List Orgs #
GET /v1/platform-admin/orgs/{org_id} Get Org Detail #
POST /v1/platform-admin/orgs/{org_id}/plan-tier Set Plan Tier #

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/gntai-dev:gntai-dev-platform-admin-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

gntai-dev-platform-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AI GNT Platform Admin API
  version: 0.1.0
servers:
- url: https://api.gntai.dev
  description: Production
tags:
- name: platform-admin
paths:
  /v1/platform-admin/orgs:
    get:
      tags:
      - platform-admin
      summary: List Orgs
      description: 'Every org on the platform, with plan/billing state, this month''s

        check_action usage vs. its plan cap, and this month''s LLM spend.'
      operationId: list_orgs_v1_platform_admin_orgs_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /v1/platform-admin/orgs/{org_id}:
    get:
      tags:
      - platform-admin
      summary: Get Org Detail
      operationId: get_org_detail_v1_platform_admin_orgs__org_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: org_id
        in: path
        required: true
        schema:
          type: string
          title: Org Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/platform-admin/orgs/{org_id}/plan-tier:
    post:
      tags:
      - platform-admin
      summary: Set Plan Tier
      description: 'The one write gnt_admin can make -- see migration 0035. Column-

        scoped at the database level (plan_tier, subscription_status only);

        this endpoint only ever sets plan_tier, subscription_status is left

        alone here (that''s a real Stripe-driven field, not a support toggle).'
      operationId: set_plan_tier_v1_platform_admin_orgs__org_id__plan_tier_post
      security:
      - HTTPBearer: []
      parameters:
      - name: org_id
        in: path
        required: true
        schema:
          type: string
          title: Org Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlanTierUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    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
    PlanTierUpdate:
      properties:
        plan_tier:
          type: string
          title: Plan Tier
      type: object
      required:
      - plan_tier
      title: PlanTierUpdate
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer