Fincept Terminal Admin API

The admin API from Fincept Terminal — 28 operation(s) for admin.

GitHub OpenAPI

Operations 34

GET /admin/system/config Get System Config #
POST /admin/system/config Create System Config #
PUT /admin/system/config/{config_id} Update System Config #
DELETE /admin/system/config/{config_id} Delete System Config #
GET /admin/analytics/usage Get Usage Analytics #
GET /admin/analytics/performance Get Performance Analytics #
GET /admin/login-audit Get Login Audit #
GET /admin/login-stats Get Login Stats #
POST /admin/broadcast Broadcast Message #
POST /admin/maintenance/cleanup Run Maintenance Cleanup #
GET /admin/logs Get System Logs #
GET /admin/export/users Export Users Data #
GET /admin/export/usage Export Usage Data #
GET /admin/health Admin System Health #
GET /admin/users/simple Get All Users Simple #
GET /admin/users List All Users #
POST /admin/users Create User #
GET /admin/users/{user_id} Get User Details #
PUT /admin/users/{user_id} Update User #
DELETE /admin/users/{user_id} Delete User #
POST /admin/users/{user_id}/credits Adjust User Credits #
POST /admin/users/{user_id}/reset-password Reset User Password #
POST /admin/users/{user_id}/force-logout Force Logout User #
POST /admin/users/{user_id}/suspend Suspend User #
POST /admin/users/{user_id}/unsuspend Unsuspend User #
GET /admin/databases List Databases #
POST /admin/databases Create Database #
PUT /admin/databases/{database_id} Update Database #
GET /admin/security/blocked-ips List Blocked Ips #
POST /admin/security/block-ip Block Ip #
DELETE /admin/security/block-ip/{ip} Unblock Ip Endpoint #
GET /admin/plans List Plans #
PUT /admin/plans/{plan_id} Update Plan #
GET /admin/system/stats Get System Statistics #

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/fincept-in:fincept-in-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

fincept-in-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fincept In Admin API
  version: 3.0.0
  description: 'Operations tagged admin across 2 of this provider''s published API definitions: fincept-in-openapi.json, fincept-in-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Admin
paths:
  /admin/system/config:
    get:
      tags:
      - Admin
      summary: Get System Config
      description: Get all system configurations
      operationId: get_system_config_admin_system_config_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
    post:
      tags:
      - Admin
      summary: Create System Config
      description: Create system configuration
      operationId: create_system_config_admin_system_config_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SystemConfigRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
  /admin/system/config/{config_id}:
    put:
      tags:
      - Admin
      summary: Update System Config
      description: Update system configuration
      operationId: update_system_config_admin_system_config__config_id__put
      security:
      - APIKeyHeader: []
      parameters:
      - name: config_id
        in: path
        required: true
        schema:
          type: integer
          title: Config Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Config Data
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Admin
      summary: Delete System Config
      description: Delete system configuration
      operationId: delete_system_config_admin_system_config__config_id__delete
      security:
      - APIKeyHeader: []
      parameters:
      - name: config_id
        in: path
        required: true
        schema:
          type: integer
          title: Config Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/analytics/usage:
    get:
      tags:
      - Admin
      summary: Get Usage Analytics
      description: Get detailed API usage analytics
      operationId: get_usage_analytics_admin_analytics_usage_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          default: 30
          title: Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/analytics/performance:
    get:
      tags:
      - Admin
      summary: Get Performance Analytics
      description: Get performance analytics
      operationId: get_performance_analytics_admin_analytics_performance_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: hours
        in: query
        required: false
        schema:
          type: integer
          default: 24
          title: Hours
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/login-audit:
    get:
      tags:
      - Admin
      summary: Get Login Audit
      description: Get login audit log for all users
      operationId: get_login_audit_admin_login_audit_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: user_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: User Id
      - name: ip_address
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Ip Address
      - name: success_only
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Success Only
      - name: days
        in: query
        required: false
        schema:
          type: integer
          default: 30
          title: Days
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 100
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          default: 0
          title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/login-stats:
    get:
      tags:
      - Admin
      summary: Get Login Stats
      description: Get login statistics
      operationId: get_login_stats_admin_login_stats_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          default: 30
          title: Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/broadcast:
    post:
      tags:
      - Admin
      summary: Broadcast Message
      description: Send broadcast message to users
      operationId: broadcast_message_admin_broadcast_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BroadcastMessageRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
  /admin/maintenance/cleanup:
    post:
      tags:
      - Admin
      summary: Run Maintenance Cleanup
      description: Run system maintenance and cleanup
      operationId: run_maintenance_cleanup_admin_maintenance_cleanup_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
  /admin/logs:
    get:
      tags:
      - Admin
      summary: Get System Logs
      description: Tail the newest real log file from the logs/ directory
      operationId: get_system_logs_admin_logs_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: lines
        in: query
        required: false
        schema:
          type: integer
          default: 100
          title: Lines
      - name: level
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Level
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/export/users:
    get:
      tags:
      - Admin
      summary: Export Users Data
      description: Export users data
      operationId: export_users_data_admin_export_users_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: format
        in: query
        required: false
        schema:
          type: string
          default: json
          title: Format
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/export/usage:
    get:
      tags:
      - Admin
      summary: Export Usage Data
      description: Export API usage data
      operationId: export_usage_data_admin_export_usage_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          default: 30
          title: Days
      - name: format
        in: query
        required: false
        schema:
          type: string
          default: json
          title: Format
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/health:
    get:
      tags:
      - Admin
      summary: Admin System Health
      description: Check admin system health
      operationId: admin_system_health_admin_health_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
  /admin/users/simple:
    get:
      tags:
      - Admin
      summary: Get All Users Simple
      description: Get all users' names and emails (simple list)
      operationId: get_all_users_simple_admin_users_simple_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
  /admin/users:
    get:
      tags:
      - Admin
      summary: List All Users
      description: List all users with filtering and pagination
      operationId: list_all_users_admin_users_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Page
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 50
          title: Limit
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Search
      - name: account_type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Account Type
      - name: is_verified
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Verified
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Admin
      summary: Create User
      description: Create new user (admin only)
      operationId: create_user_admin_users_post
      security:
      - APIKeyHeader: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserCreateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/users/{user_id}:
    get:
      tags:
      - Admin
      summary: Get User Details
      description: Get detailed user information
      operationId: get_user_details_admin_users__user_id__get
      security:
      - APIKeyHeader: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: integer
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Admin
      summary: Update User
      description: Update user information
      operationId: update_user_admin_users__user_id__put
      security:
      - APIKeyHeader: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: integer
          title: User Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserUpdateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Admin
      summary: Delete User
      description: Delete user account
      operationId: delete_user_admin_users__user_id__delete
      security:
      - APIKeyHeader: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: integer
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/users/{user_id}/credits:
    post:
      tags:
      - Admin
      summary: Adjust User Credits
      description: Adjust user credit balance
      operationId: adjust_user_credits_admin_users__user_id__credits_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: integer
          title: User Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreditAdjustmentRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/users/{user_id}/reset-password:
    post:
      tags:
      - Admin
      summary: Reset User Password
      description: Reset user password
      operationId: reset_user_password_admin_users__user_id__reset_password_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: integer
          title: User Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Password Data
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/users/{user_id}/force-logout:
    post:
      tags:
      - Admin
      summary: Force Logout User
      description: Force-terminate a user's active session (admin only)
      operationId: force_logout_user_admin_users__user_id__force_logout_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: integer
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/users/{user_id}/suspend:
    post:
      tags:
      - Admin
      summary: Suspend User
      description: 'Suspend a user account (admin only).


        Sets api_key_status=''suspended'', which the auth layer rejects (auth.py:175).

        Also clears the active session and invalidates the auth cache so the

        suspension takes effect immediately rather than after the 5-min cache TTL.'
      operationId: suspend_user_admin_users__user_id__suspend_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: integer
          title: User Id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SuspendUserRequest'
              default: {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/users/{user_id}/unsuspend:
    post:
      tags:
      - Admin
      summary: Unsuspend User
      description: Lift a suspension (admin only). Restores api_key_status='active'.
      operationId: unsuspend_user_admin_users__user_id__unsuspend_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: integer
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/databases:
    get:
      tags:
      - Admin
      summary: List Databases
      description: List all databases in registry
      operationId: list_databases_admin_databases_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
    post:
      tags:
      - Admin
      summary: Create Database
      description: Create new database registry entry
      operationId: create_database_admin_databases_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DatabaseCreateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
  /admin/databases/{database_id}:
    put:
      tags:
      - Admin
      summary: Update Database
      description: Update database registry entry
      operationId: update_database_admin_databases__database_id__put
      security:
      - APIKeyHeader: []
      parameters:
      - name: database_id
        in: path
        required: true
        schema:
          type: integer
          title: Database Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Db Data
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/security/blocked-ips:
    get:
      tags:
      - Admin
      summary: List Blocked Ips
      description: List all blocked IPs — both permanent and temporary.
      operationId: list_blocked_ips_admin_security_blocked_ips_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
  /admin/security/block-ip:
    post:
      tags:
      - Admin
      summary: Block Ip
      description: 'Permanently block an IP address. Body: { "ip": "1.2.3.4", "reason": "optional" }'
      operationId: block_ip_admin_security_block_ip_post
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              type: object
              title: Payload
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
  /admin/security/block-ip/{ip}:
    delete:
      tags:
      - Admin
      summary: Unblock Ip Endpoint
      description: Remove a permanent IP block.
      operationId: unblock_ip_endpoint_admin_security_block_ip__ip__delete
      security:
      - APIKeyHeader: []
      parameters:
      - name: ip
        in: path
        required: true
        schema:
          type: string
          title: Ip
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/plans:
    get:
      tags:
      - Admin
      summary: List Plans
      description: All plan rows, including inactive / retired ones.
      operationId: list_plans_admin_plans_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
  /admin/plans/{plan_id}:
    put:
      tags:
      - Admin
      summary: Update Plan
      description: 'Edit a plan row (name, description, price in cents, credits, validity,

        support type, active flag, display order). Audit-logged.'
      operationId: update_plan_admin_plans__plan_id__put
      security:
      - APIKeyHeader: []
      parameters:
      - name: plan_id
        in: path
        required: true
        schema:
          type: string
          title: Plan Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlanUpdateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/system/stats:
    get:
      tags:
      - Admin
      summary: Get System Statistics
      description: Get comprehensive system statistics
      operationId: get_system_statistics_admin_system_stats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
components:
  schemas:
    PlanUpdateRequest:
      properties:
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        price_usd:
          anyOf:
          - type: integer
          - type: 'null'
          title: Price Usd
        credits_amount:
          anyOf:
          - type: integer
          - type: 'null'
          title: Credits Amount
        validity_days:
          anyOf:
          - type: integer
          - type: 'null'
          title: Validity Days
        support_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Support Type
        is_active:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Active
        display_order:
          anyOf:
          - type: integer
          - type: 'null'
          title: Display Order
      type: object
      title: PlanUpdateRequest
      description: PUT /admin/plans/{plan_id}. Every field optional; prices are in cents.
    UserUpdateRequest:
      properties:
        username:
          anyOf:
          - type: string
          - type: 'null'
          title: Username
        email:
          anyOf:
          - type: string
            format: email
          - type: 'null'
          title: Email
        account_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Account Type
        is_verified:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Verified
        is_admin:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Admin
        credit_balance:
          anyOf:
          - type: integer
          - type: 'null'
          title: Credit Balance
        phone:
          anyOf:
          - type: string
          - type: 'null'
          title: Phone
      type: object
      title: UserUpdateRequest
    DatabaseCreateRequest:
      properties:
        database_name:
          type: string
          title: Database Name
        display_name:
          type: string
          title: Display Name
        description:
          type: string
          title: Description
          default: ''
        category:
          type: string
          title: Category
          default: general
        is_public:
          type: boolean
          title: Is Public
          default: false
        requires_subscription:
          type: boolean
          title: Requires Subscription
          default: true
        cost_per_request:
          type: integer
          title: Cost Per Request
          default: 20
        free_tier_limit:
          type: integer
          title: Free Tier Limit
          default: 10
        total_tables:
          type: integer
          title: Total Tables
          default: 0
      type: object
      required:
      - database_name
      - display_name
      title: DatabaseCreateRequest
    SuspendUserRequest:
      properties:
        reason:
          anyOf:
          - type: string
          - type: 'null'
          title: Reason
      type: object
      title: SuspendUserRequest
    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
    SystemConfigRequest:
      properties:
        config_key:
          type: string
          title: Config Key
        config_value:
          type: string
          title: Config Value
        config_type:
          type: string
          title: Config Type
          default: string
        description:
          type: string
          title: Description
          default: ''
      type: object
      required:
      - config_key
      - config_value
      title: SystemConfigRequest
    CreditAdjustmentRequest:
      properties:
        action:
          type: string
          title: Action
        amount:
          type: integer
          title: Amount
        reason:
          type: string
          title: Reason
          default: Admin adjustment
      type: object
      required:
      - action
      - amount
      title: CreditAdjustmentRequest
    UserCreateRequest:
      properties:
        username:
          type: string
          title: Username
        email:
          type: string
          format: email
          title: Email
        password:
          type: string
          title: Password
        account_type:
          type: string
          title: Account Type
          default: free
        is_admin:
          type: boolean
          title: Is Admin
          default: false
        is_verified:
          type: boolean
          title: Is Verified
          default: true
        credit_balance:
          type: integer
          title: Credit Balance
          default: 0
      type: object
      required:
      - username
      - email
      - password
      title: UserCreateRequest
    BroadcastMessageRequest:
      properties:
        subject:
          type: string
          title: Subject
        message:
          type: string
          title: Message
        target_users:
          type: string
          title: Target Users
          default: all
      type: object
      required:
      - subject
      - message
      title: BroadcastMessageRequest
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
x-refined-from:
- fincept-in-openapi.json
- fincept-in-openapi.json
x-provenance:
  method: harvested
  publisher: Fincept Terminal
  source: https://api.fincept.in/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)