lumify-ai Agent API

Programmatic onboarding: key provisioning and credit balance.

Operations 6

GET /api/agent/keys List API keys #
POST /api/agent/keys Create an API key #
DELETE /api/agent/keys/{key_id} Revoke an API key #
GET /api/agent/credits Get credit balance and usage #
GET /api/agent/credit-packs List purchasable credit packs #
POST /api/agent/credits/topup Purchase a credit pack #

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/lumify-ai:lumify-ai-agent-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

lumify-ai-agent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lumify Ai Agent API
  version: 1.0.0
  contact:
    name: Lumify Support
    url: https://lumify.ai/contact-us
    email: support@lumify.ai
  license:
    name: Terms of Service
    url: https://lumify.ai/terms-of-service
  description: 'Operations tagged agent across 2 of this provider''s published API definitions: openapi.json, lumify-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://lumify.ai
  description: Production
tags:
- name: Agent
  description: 'Programmatic onboarding: key provisioning and credit balance.'
paths:
  /api/agent/keys:
    get:
      tags:
      - Agent
      summary: List API keys
      operationId: get_keys_api_agent_keys_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentApiKeyListResponse'
      security:
      - ApiKeyBearer: []
    post:
      tags:
      - Agent
      summary: Create an API key
      operationId: create_key_api_agent_keys_post
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              type: object
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentApiKey'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - ApiKeyBearer: []
    servers:
    - url: https://lumify.ai
      description: Production
  /api/agent/keys/{key_id}:
    delete:
      tags:
      - Agent
      summary: Revoke an API key
      operationId: delete_key_api_agent_keys__key_id__delete
      parameters:
      - name: key_id
        in: path
        required: true
        schema:
          type: integer
          minimum: 1
          title: Key Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentApiKeyRevokeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - ApiKeyBearer: []
    servers:
    - url: https://lumify.ai
      description: Production
  /api/agent/credits:
    get:
      tags:
      - Agent
      summary: Get credit balance and usage
      operationId: get_credits_api_agent_credits_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentCreditsResponse'
      security:
      - ApiKeyBearer: []
    servers:
    - url: https://lumify.ai
      description: Production
  /api/agent/credit-packs:
    get:
      tags:
      - Agent
      summary: List purchasable credit packs
      operationId: get_credit_packs_api_agent_credit_packs_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditPackListResponse'
      security:
      - ApiKeyBearer: []
    servers:
    - url: https://lumify.ai
      description: Production
  /api/agent/credits/topup:
    post:
      tags:
      - Agent
      summary: Purchase a credit pack
      operationId: topup_credits_api_agent_credits_topup_post
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              type: object
              title: Body
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditTopupResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - ApiKeyBearer: []
    servers:
    - url: https://lumify.ai
      description: Production
components:
  schemas:
    AgentApiKeyRevokeResponse:
      properties:
        revoked:
          type: boolean
          title: Revoked
          default: true
        id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Id
      additionalProperties: true
      type: object
      title: AgentApiKeyRevokeResponse
    CreditPackListResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/CreditPack'
          type: array
          title: Data
          default: []
        total:
          type: integer
          title: Total
          default: 0
      additionalProperties: true
      type: object
      title: CreditPackListResponse
    CreditPack:
      properties:
        id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Id
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        credits:
          anyOf:
          - type: integer
          - type: 'null'
          title: Credits
        price_cents:
          anyOf:
          - type: integer
          - type: 'null'
          title: Price Cents
        bonus_credits:
          anyOf:
          - type: integer
          - type: 'null'
          title: Bonus Credits
      additionalProperties: true
      type: object
      title: CreditPack
    CreditTopupResponse:
      properties:
        success:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Success
        credits_added:
          anyOf:
          - type: integer
          - type: 'null'
          title: Credits Added
        bonus_credits:
          anyOf:
          - type: integer
          - type: 'null'
          title: Bonus Credits
        pack_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Pack Id
      additionalProperties: true
      type: object
      title: CreditTopupResponse
    AgentApiKeyListResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/AgentApiKey'
          type: array
          title: Data
          default: []
        total:
          type: integer
          title: Total
          default: 0
      additionalProperties: true
      type: object
      title: AgentApiKeyListResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AgentCreditsResponse:
      properties:
        tier:
          anyOf:
          - type: string
          - type: 'null'
          title: Tier
        credits_used:
          anyOf:
          - type: integer
          - type: 'null'
          title: Credits Used
        credit_limit:
          anyOf:
          - type: integer
          - type: 'null'
          title: Credit Limit
        bonus_credits:
          anyOf:
          - type: integer
          - type: 'null'
          title: Bonus Credits
        total_remaining:
          anyOf:
          - type: integer
          - type: 'null'
          title: Total Remaining
        period_start:
          anyOf:
          - type: string
          - type: 'null'
          title: Period Start
        period_end:
          anyOf:
          - type: string
          - type: 'null'
          title: Period End
        is_trial:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Trial
        is_trial_expired:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Trial Expired
      additionalProperties: true
      type: object
      title: AgentCreditsResponse
    AgentApiKey:
      properties:
        id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Id
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        key_prefix:
          anyOf:
          - type: string
          - type: 'null'
          title: Key Prefix
        scopes:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Scopes
        created_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Created At
        last_used_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Used At
        expires_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Expires At
        is_active:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Active
        key:
          anyOf:
          - type: string
          - type: 'null'
          title: Key
          description: Full API key — returned once on create.
      additionalProperties: true
      type: object
      title: AgentApiKey
    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
  securitySchemes:
    ApiKeyBearer:
      type: http
      scheme: bearer
      bearerFormat: lmfy-key
      description: 'Lumify API key passed as `Authorization: Bearer lmfy-...`.'
x-refined-from:
- openapi.json
- lumify-ai-openapi.json