licensy-ai Admin Nursys API

The admin-nursys API from licensy-ai — 4 operation(s) for admin-nursys.

Operations 4

GET /api/v2/admin/nursys/connectivity Smoke-test Nursys API connectivity #
POST /api/v2/admin/nursys/rotate-password Rotate the Nursys API password #
GET /api/v2/admin/nursys/queue Snapshot of the Nursys transaction queue #
POST /api/v2/admin/nursys/poll-once Trigger one Nursys polling pass #

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/licensy-ai:licensy-ai-admin-nursys-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

licensy-ai-admin-nursys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Admin Nursys API
  version: 0.1.0
tags:
- name: admin-nursys
paths:
  /api/v2/admin/nursys/connectivity:
    get:
      tags:
      - admin-nursys
      summary: Smoke-test Nursys API connectivity
      description: Issues a no-op nurselookup with a deliberately invalid request to verify NURSYS_BASE_URL is reachable and the credentials are accepted. The submission will register as 'failed' on the Nursys side, but the round-trip proves auth works.
      operationId: nursys_connectivity_api_v2_admin_nursys_connectivity_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectivityResponse'
      security:
      - HTTPBearer: []
  /api/v2/admin/nursys/rotate-password:
    post:
      tags:
      - admin-nursys
      summary: Rotate the Nursys API password
      description: Calls /changepassword and returns the result. On success the caller MUST update NURSYS_PASSWORD in .env.local with the same new value (the server-side rotation is canonical, but the running process keeps using the old password until env is reloaded).
      operationId: rotate_nursys_password_api_v2_admin_nursys_rotate_password_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RotatePasswordRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v2/admin/nursys/queue:
    get:
      tags:
      - admin-nursys
      summary: Snapshot of the Nursys transaction queue
      description: Counts of nursys_transactions rows by status for monitoring.
      operationId: nursys_queue_stats_api_v2_admin_nursys_queue_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueueStatsResponse'
      security:
      - HTTPBearer: []
  /api/v2/admin/nursys/poll-once:
    post:
      tags:
      - admin-nursys
      summary: Trigger one Nursys polling pass
      description: Drains a batch of due transactions immediately rather than waiting for the every-2-min scheduler. Useful for testing after submitting a smoke-test transaction.
      operationId: nursys_poll_once_api_v2_admin_nursys_poll_once_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
components:
  schemas:
    RotatePasswordRequest:
      properties:
        new_password:
          type: string
          maxLength: 50
          minLength: 8
          title: New Password
          description: 'New API password. Per Nursys spec 3.3: 8-50 chars, ≥1 upper, ≥1 lower, ≥1 digit, must differ from current.'
      type: object
      required:
      - new_password
      title: RotatePasswordRequest
    ConnectivityResponse:
      properties:
        ok:
          type: boolean
          title: Ok
        base_url_configured:
          type: boolean
          title: Base Url Configured
        credentials_configured:
          type: boolean
          title: Credentials Configured
        test_transaction_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Test Transaction Id
        detail:
          type: string
          title: Detail
      type: object
      required:
      - ok
      - base_url_configured
      - credentials_configured
      - detail
      title: ConnectivityResponse
    QueueStatsResponse:
      properties:
        submitted:
          type: integer
          title: Submitted
        processing:
          type: integer
          title: Processing
        completed:
          type: integer
          title: Completed
        failed:
          type: integer
          title: Failed
      type: object
      required:
      - submitted
      - processing
      - completed
      - failed
      title: QueueStatsResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer