LONA API

LONA API as documented publicly: 11 operations. Contract generated from the documentation by API Evangelist (2026-11-17); not the provider's own document.

GitHub OpenAPI

Operations 11

POST /api/v1/agent/generate Generate code from requirements #
POST /api/v1/agent/generate/stream Generate code with streamed response #
POST /api/v1/agent/interview Interview with messages #
POST /api/v1/agent/interview/stream Interview with streamed response #
GET /api/v1/agent/jobs/{id} Poll an async strategy-create job #
POST /api/v1/agent/strategy/create Create a new strategy #
POST /api/v1/agent/strategy/create-async Create a new strategy asynchronously #
POST /api/v1/agent/strategy/generate Generate a strategy from description #
POST /api/v1/agents/register POST /api/v1/agents/register #
POST /api/v1/agents/request-invite POST /api/v1/agents/request-invite #
GET /api/v1/strategies GET /api/v1/strategies #

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/lona-agency:lona-agency-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lona-agency-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: LONA API
  version: '2026-11-17'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-17: 11 operation(s) read from 2 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; LONA has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 3
    documentation: 8
    pages-with-code: 1
    pages-read: 2
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-17'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://www.lona.agency/docs/agents/mcp-tools-reference
  - https://www.lona.agency/docs/agents/agent-onboarding
servers:
- url: https://gateway.lona.agency
paths:
  /api/v1/agent/generate:
    post:
      operationId: post_api_v1_agent_generate
      tags:
      - Api
      summary: Generate code from requirements
      x-source: https://www.lona.agency/docs/agents/mcp-tools-reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1AgentGenerateRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/agent/generate/stream:
    post:
      operationId: post_api_v1_agent_generate_stream
      tags:
      - Api
      summary: Generate code with streamed response
      x-source: https://www.lona.agency/docs/agents/mcp-tools-reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1AgentGenerateStreamRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/agent/interview:
    post:
      operationId: post_api_v1_agent_interview
      tags:
      - Api
      summary: Interview with messages
      x-source: https://www.lona.agency/docs/agents/mcp-tools-reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1AgentInterviewRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/agent/interview/stream:
    post:
      operationId: post_api_v1_agent_interview_stream
      tags:
      - Api
      summary: Interview with streamed response
      x-source: https://www.lona.agency/docs/agents/mcp-tools-reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1AgentInterviewStreamRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/agent/jobs/{id}:
    get:
      operationId: get_api_v1_agent_jobs_id
      tags:
      - Api
      summary: Poll an async strategy-create job
      x-source: https://www.lona.agency/docs/agents/mcp-tools-reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/agent/strategy/create:
    post:
      operationId: post_api_v1_agent_strategy_create
      tags:
      - Api
      summary: Create a new strategy
      x-source: https://www.lona.agency/docs/agents/mcp-tools-reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1AgentStrategyCreateRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/agent/strategy/create-async:
    post:
      operationId: post_api_v1_agent_strategy_create_async
      tags:
      - Api
      summary: Create a new strategy asynchronously
      x-source: https://www.lona.agency/docs/agents/mcp-tools-reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1AgentStrategyCreateAsyncRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1AgentStrategyCreateAsyncResponse'
      x-evidence:
        kind: documentation
  /api/v1/agent/strategy/generate:
    post:
      operationId: post_api_v1_agent_strategy_generate
      tags:
      - Api
      summary: Generate a strategy from description
      x-source: https://www.lona.agency/docs/agents/mcp-tools-reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1AgentStrategyGenerateRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/agents/register:
    post:
      operationId: post_api_v1_agents_register
      tags:
      - Api
      summary: POST /api/v1/agents/register
      x-source: https://www.lona.agency/docs/agents/agent-onboarding
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1AgentsRegisterRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1AgentsRegisterResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://gateway.lona.agency/api/v1/agents/register  -H \"Content-Type: application/json\"  -d '{ \n \"agent_id\"\
          : \"my-agent\", \n \"agent_name\": \"My Autonomous Agent\", \n \"invite_code\": \"lona_invite_AbCdEf123456...\", \n \"source\": \"self-onboard\"\
          \ \n }' \n Registration accepts these body fields: \n Field Type Required Constraint / default agent_id string Yes 1–50 chars, lowercase\
          \ letters/numbers/hyph"
  /api/v1/agents/request-invite:
    post:
      operationId: post_api_v1_agents_request_invite
      tags:
      - Api
      summary: POST /api/v1/agents/request-invite
      x-source: https://www.lona.agency/docs/agents/agent-onboarding
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1AgentsRequestInviteRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1AgentsRequestInviteResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://gateway.lona.agency/api/v1/agents/request-invite  -H \"Content-Type: application/json\"  -d '{ \n \"agent_id\"\
          : \"my-agent\", \n \"agent_name\": \"My Autonomous Agent\", \n \"source\": \"self-onboard\" \n }' \n The request body accepts: \n Field\
          \ Type Required Constraint agent_id string Yes 1–50 chars, lowercase letters/numbers/hyphens only agent_name string No 1–255 chars source\
          \ string No 1–100 c"
  /api/v1/strategies:
    get:
      operationId: get_api_v1_strategies
      tags:
      - Api
      summary: GET /api/v1/strategies
      x-source: https://www.lona.agency/docs/agents/agent-onboarding
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X GET https://gateway.lona.agency/api/v1/strategies  -H \"X-API-Key: lona_partner_my-agent_abc123xyz456_SecretKeyHere123\"\
          \  -H \"X-User-Id: my-agent\" \n Authorization: Bearer <token> can be used instead of X-API-Key . The\n X-User-Id header is still required.\
          \ For service-token requests, the gateway\nnamespaces data as partner:<partner_id>:<user_id> , isolating it from other\npartners. A\
          \ request usi"
components:
  schemas:
    PostApiV1AgentGenerateRequest:
      type: object
      properties:
        requirements:
          type: array
          description: Array of requirement objects
        provider:
          type: string
        model:
          type: string
      required:
      - requirements
    PostApiV1AgentGenerateStreamRequest:
      type: object
      properties:
        requirements:
          type: array
          description: Array of requirement objects
        provider:
          type: string
        model:
          type: string
      required:
      - requirements
    PostApiV1AgentInterviewRequest:
      type: object
      properties:
        messages:
          type: array
          description: Array of message objects with role and content
        provider:
          type: string
        model:
          type: string
      required:
      - messages
    PostApiV1AgentInterviewStreamRequest:
      type: object
      properties:
        messages:
          type: array
          description: Array of message objects with role and content
        provider:
          type: string
        model:
          type: string
      required:
      - messages
    PostApiV1AgentStrategyCreateRequest:
      type: object
      properties:
        description:
          type: string
          description: Length 10–10,000 characters
        name:
          type: string
        provider:
          type: string
        model:
          type: string
      required:
      - description
    PostApiV1AgentStrategyCreateAsyncRequest:
      type: object
      properties:
        description:
          type: string
          description: Length 10–10,000 characters
        name:
          type: string
        provider:
          type: string
        model:
          type: string
      required:
      - description
    PostApiV1AgentStrategyCreateAsyncResponse:
      type: object
      properties:
        jobId:
          type: string
          description: Identifier of the async job
    PostApiV1AgentStrategyGenerateRequest:
      type: object
      properties:
        description:
          type: string
          description: Minimum length 10 characters
        provider:
          type: string
        model:
          type: string
      required:
      - description
    PostApiV1AgentsRegisterRequest:
      type: object
      properties:
        agent_id:
          type: string
        agent_name:
          type: string
        invite_code:
          type: string
        source:
          type: string
    PostApiV1AgentsRegisterResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            token:
              type: string
            partner_id:
              type: string
            partner_name:
              type: string
            permissions:
              type: array
              items:
                type: string
            expires_at:
              type: string
              format: date-time
    PostApiV1AgentsRequestInviteRequest:
      type: object
      properties:
        agent_id:
          type: string
        agent_name:
          type: string
        source:
          type: string
    PostApiV1AgentsRequestInviteResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            invite_code:
              type: string
            expires_at:
              type: string
              format: date-time
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
security:
- apiKey: []
tags:
- name: Api