Geniemode Admin API

Admin

Operations 7

GET /api/v1/siren-events/admin/events events #
GET /api/v1/siren-events/admin/performance performance #
GET /api/v1/user-lock-state/admin list #
POST /api/v1/user-lock-state/admin setState #
GET /api/v1/user-lock-state/admin/{userId} getRawStates #
DELETE /api/v1/user-lock-state/admin/{userId} clearState #
GET /api/v1/user-lock-state/admin/{userId}/effective getEffectiveStates #

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/geniemode-admin-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

geniemode-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Cataloguing API.
  version: API V
  title: Cataloguing Admin API
  termsOfService: Terms of service
  contact:
    name: Mani Bhushan
    url: www.geniemode.com
    email: mani.kumar@geniemode.com
  license:
    name: License of API
    url: API license URL
servers:
- url: https://portal.geniemode.com
tags:
- name: admin
  description: Admin
paths:
  /api/v1/siren-events/admin/events:
    get:
      tags:
      - admin
      summary: events
      operationId: eventsUsingGET
      parameters:
      - name: limit
        in: query
        description: limit
        required: false
        schema:
          type: integer
          format: int32
      - name: sirenType
        in: query
        description: sirenType
        required: false
        schema:
          type: string
      - name: userId
        in: query
        description: userId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserSirenEventLog'
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
  /api/v1/siren-events/admin/performance:
    get:
      tags:
      - admin
      summary: performance
      operationId: performanceUsingGET
      parameters:
      - name: departmentId
        in: query
        description: departmentId
        required: false
        schema:
          type: integer
          format: int64
      - name: eventType
        in: query
        description: eventType
        required: false
        schema:
          type: string
      - name: fromEpochMillis
        in: query
        description: fromEpochMillis
        required: false
        schema:
          type: integer
          format: int64
      - name: sirenType
        in: query
        description: sirenType
        required: false
        schema:
          type: string
      - name: toEpochMillis
        in: query
        description: toEpochMillis
        required: false
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SirenPerformanceRowDto'
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
  /api/v1/user-lock-state/admin:
    get:
      tags:
      - admin
      summary: list
      operationId: listUsingGET
      parameters:
      - name: key
        in: query
        description: key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: object
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
    post:
      tags:
      - admin
      summary: setState
      operationId: setStateUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserLockState'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetUserLockStateRequestPayload'
        description: requestPayload
        required: true
  /api/v1/user-lock-state/admin/{userId}:
    get:
      tags:
      - admin
      summary: getRawStates
      operationId: getRawStatesUsingGET
      parameters:
      - name: userId
        in: path
        description: userId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserLockState'
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
    delete:
      tags:
      - admin
      summary: clearState
      operationId: clearStateUsingDELETE
      parameters:
      - name: key
        in: query
        description: key
        required: true
        schema:
          type: string
      - name: userId
        in: path
        description: userId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
  /api/v1/user-lock-state/admin/{userId}/effective:
    get:
      tags:
      - admin
      summary: getEffectiveStates
      operationId: getEffectiveStatesUsingGET
      parameters:
      - name: userId
        in: path
        description: userId
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: object
        '403':
          description: Forbidden!!!!!
        '500':
          description: 500 message
components:
  schemas:
    UserLockState:
      type: object
      properties:
        createdBy:
          type: string
        expiresAt:
          type: integer
          format: int64
        id:
          type: integer
          format: int64
        keyName:
          type: string
        userId:
          type: integer
          format: int64
        value:
          $ref: '#/components/schemas/JsonNode'
      title: UserLockState
    UserSirenEventLog:
      type: object
      properties:
        createdBy:
          type: string
        eventType:
          type: string
        id:
          type: integer
          format: int64
        metrics:
          $ref: '#/components/schemas/JsonNode'
        occurredAt:
          type: integer
          format: int64
        path:
          type: string
        sirenType:
          type: string
        userId:
          type: integer
          format: int64
      title: UserSirenEventLog
    SirenPerformanceRowDto:
      type: object
      properties:
        by_siren:
          type: object
          additionalProperties:
            type: object
            additionalProperties:
              type: integer
              format: int64
        departments:
          type: array
          items:
            type: string
        dismiss_rate_pct:
          type: number
          format: double
        dismissed:
          type: integer
          format: int64
        last_event_at:
          type: integer
          format: int64
        lock_value:
          $ref: '#/components/schemas/JsonNode'
        locked_now:
          type: boolean
        locks_engaged:
          type: integer
          format: int64
        locks_released:
          type: integer
          format: int64
        presented:
          type: integer
          format: int64
        roles:
          type: array
          items:
            type: string
        snoozed:
          type: integer
          format: int64
        user_id:
          type: integer
          format: int64
        username:
          type: string
      title: SirenPerformanceRowDto
    SetUserLockStateRequestPayload:
      type: object
      properties:
        duration_seconds:
          type: integer
          format: int64
        key:
          type: string
        user_id:
          type: integer
          format: int64
        value:
          type: object
      title: SetUserLockStateRequestPayload
    JsonNode:
      type: object
      title: JsonNode