Hive Civilization Portal V2 API

The portal-v2 API from Hive Civilization — 5 operation(s) for portal-v2.

Operations 5

POST /v1/portal/v2/signup Portal V2 Signup #
GET /v1/portal/v2/{tenant_id}/profile Portal V2 Profile #
POST /v1/portal/v2/{tenant_id}/tile-prefs Portal V2 Tile Prefs #
GET /v1/portal/v2/{tenant_id}/wisdom Portal V2 Wisdom #
POST /v1/portal/v2/{tenant_id}/features/activate Portal V2 Activate Feature #

Documentation

Specifications

Other Resources

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/thehiveryiq-com-portal-v2-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

thehiveryiq-com-portal-v2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HiveMorph v0.1 Portal V2 API
  description: 'Polymorphic agent runtime — single shape (Merchant), single supermodel (W2 MERCHANT). Three gates: NEED + YIELD + CLEAN-MONEY.'
  version: 0.1.0
tags:
- name: portal-v2
paths:
  /v1/portal/v2/signup:
    post:
      tags:
      - portal-v2
      summary: Portal V2 Signup
      description: 'Create a new tenant record. Infers vertical from domain using the lookup table,

        then Grok if no match, then falls back to universal.

        Returns tenant identity and brand hints.'
      operationId: portal_v2_signup_v1_portal_v2_signup_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignupRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignupResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/portal/v2/{tenant_id}/profile:
    get:
      tags:
      - portal-v2
      summary: Portal V2 Profile
      description: 'Return tenant profile.

        If tenant doesn''t exist, returns a deterministic synthetic profile based on tenant_id hash

        so demo tenants always work.'
      operationId: portal_v2_profile_v1_portal_v2__tenant_id__profile_get
      parameters:
      - name: tenant_id
        in: path
        required: true
        schema:
          type: string
          title: Tenant Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/portal/v2/{tenant_id}/tile-prefs:
    post:
      tags:
      - portal-v2
      summary: Portal V2 Tile Prefs
      description: Update a single tile preference. Returns the full updated tile_prefs object.
      operationId: portal_v2_tile_prefs_v1_portal_v2__tenant_id__tile_prefs_post
      parameters:
      - name: tenant_id
        in: path
        required: true
        schema:
          type: string
          title: Tenant Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TilePrefRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Portal V2 Tile Prefs V1 Portal V2  Tenant Id  Tile Prefs Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/portal/v2/{tenant_id}/wisdom:
    get:
      tags:
      - portal-v2
      summary: Portal V2 Wisdom
      description: 'Return AI wisdom recommendations for a tenant.

        Calls Grok via xAI API if XAI_API_KEY is set; caches 24hr.

        Falls back to curated vertical-specific recommendations.'
      operationId: portal_v2_wisdom_v1_portal_v2__tenant_id__wisdom_get
      parameters:
      - name: tenant_id
        in: path
        required: true
        schema:
          type: string
          title: Tenant Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Portal V2 Wisdom V1 Portal V2  Tenant Id  Wisdom Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/portal/v2/{tenant_id}/features/activate:
    post:
      tags:
      - portal-v2
      summary: Portal V2 Activate Feature
      description: 'Activate a feature for a tenant. Appends to features_enabled and queues for

        billing on next renewal. Returns activation confirmation with pricing.'
      operationId: portal_v2_activate_feature_v1_portal_v2__tenant_id__features_activate_post
      parameters:
      - name: tenant_id
        in: path
        required: true
        schema:
          type: string
          title: Tenant Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ActivateFeatureRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActivateFeatureResponse'
        '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
    ActivateFeatureResponse:
      properties:
        activated:
          type: boolean
          title: Activated
        feature_id:
          type: string
          title: Feature Id
        billed_on_next_renewal:
          type: string
          title: Billed On Next Renewal
        monthly_addon:
          type: number
          title: Monthly Addon
      type: object
      required:
      - activated
      - feature_id
      - billed_on_next_renewal
      - monthly_addon
      title: ActivateFeatureResponse
    TilePrefRequest:
      properties:
        tile_key:
          type: string
          title: Tile Key
          description: Tile identifier key
        exposed:
          type: boolean
          title: Exposed
          description: Whether tile is shown to tenant users
        public:
          type: boolean
          title: Public
          description: Whether tile is publicly visible
      type: object
      required:
      - tile_key
      - exposed
      - public
      title: TilePrefRequest
    SignupResponse:
      properties:
        tenant_id:
          type: string
          title: Tenant Id
        vertical_detected:
          type: string
          title: Vertical Detected
        starter_pack:
          type: string
          title: Starter Pack
        brand_color_hint:
          type: string
          title: Brand Color Hint
        brand_name_hint:
          type: string
          title: Brand Name Hint
      type: object
      required:
      - tenant_id
      - vertical_detected
      - starter_pack
      - brand_color_hint
      - brand_name_hint
      title: SignupResponse
    ProfileResponse:
      properties:
        tenant_id:
          type: string
          title: Tenant Id
        company_domain:
          type: string
          title: Company Domain
        brand_name:
          type: string
          title: Brand Name
        brand_color:
          type: string
          title: Brand Color
        vertical:
          type: string
          title: Vertical
        starter_pack:
          type: string
          title: Starter Pack
        tile_prefs:
          additionalProperties: true
          type: object
          title: Tile Prefs
        features_enabled:
          items:
            type: string
          type: array
          title: Features Enabled
        ai_wisdom_summary:
          anyOf:
          - type: string
          - type: 'null'
          title: Ai Wisdom Summary
        wisdom_generated_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Wisdom Generated At
      type: object
      required:
      - tenant_id
      - company_domain
      - brand_name
      - brand_color
      - vertical
      - starter_pack
      - tile_prefs
      - features_enabled
      - ai_wisdom_summary
      - wisdom_generated_at
      title: ProfileResponse
    ActivateFeatureRequest:
      properties:
        feature_id:
          type: string
          title: Feature Id
          description: Feature identifier to activate
      type: object
      required:
      - feature_id
      title: ActivateFeatureRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SignupRequest:
      properties:
        tenant_id:
          type: string
          title: Tenant Id
          description: Unique tenant identifier
        company_domain:
          type: string
          title: Company Domain
          description: Primary domain, e.g. netskope.com
        email:
          type: string
          title: Email
          description: Admin contact email
      type: object
      required:
      - tenant_id
      - company_domain
      - email
      title: SignupRequest