Teardrop LLM Config API

The LLM Config API from Teardrop — 1 operation(s) for llm config.

GitHub OpenAPI

Operations 3

GET /llm-config Get Llm Config Endpoint #
PUT /llm-config Upsert Llm Config Endpoint #
DELETE /llm-config Delete Llm Config Endpoint #

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/teardrop-dev:teardrop-dev-llm-config-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

teardrop-dev-llm-config-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Teardrop LLM Config API
  description: The open API and billing gateway for autonomous economic agents
  version: 2.13.0
tags:
- name: LLM Config
paths:
  /llm-config:
    get:
      tags:
      - LLM Config
      summary: Get Llm Config Endpoint
      description: Get the authenticated org's LLM configuration.
      operationId: get_llm_config_endpoint_llm_config_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LlmConfigResponse'
      security:
      - HTTPBearer: []
    put:
      tags:
      - LLM Config
      summary: Upsert Llm Config Endpoint
      description: Create or update the authenticated org's LLM configuration.
      operationId: upsert_llm_config_endpoint_llm_config_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertLlmConfigRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LlmConfigResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
    delete:
      tags:
      - LLM Config
      summary: Delete Llm Config Endpoint
      description: Delete the authenticated org's LLM config (revert to global default).
      operationId: delete_llm_config_endpoint_llm_config_delete
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LlmConfigDeletedResponse'
      security:
      - HTTPBearer: []
components:
  schemas:
    LlmConfigResponse:
      properties:
        configured:
          type: boolean
          title: Configured
        org_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Org Id
          description: Present when configured=true.
        provider:
          type: string
          title: Provider
        model:
          type: string
          title: Model
        has_api_key:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Has Api Key
          description: Present when configured=true.
        api_base:
          anyOf:
          - type: string
          - type: 'null'
          title: Api Base
        max_tokens:
          anyOf:
          - type: integer
          - type: 'null'
          title: Max Tokens
          description: Present when configured=true.
        temperature:
          anyOf:
          - type: number
          - type: 'null'
          title: Temperature
          description: Present when configured=true.
        timeout_seconds:
          anyOf:
          - type: integer
          - type: 'null'
          title: Timeout Seconds
          description: Present when configured=true.
        routing_preference:
          anyOf:
          - type: string
          - type: 'null'
          title: Routing Preference
          description: Present when configured=true.
        reasoning_effort:
          anyOf:
          - type: string
          - type: 'null'
          title: Reasoning Effort
        model_reasoning_effort:
          anyOf:
          - additionalProperties:
              type: string
            type: object
          - type: 'null'
          title: Model Reasoning Effort
          description: Present when configured=true.
        is_byok:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Byok
          description: Present when configured=true.
        created_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Created At
          description: ISO 8601 timestamp; present when configured=true.
        updated_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Updated At
          description: ISO 8601 timestamp; present when configured=true.
      type: object
      required:
      - configured
      - provider
      - model
      title: LlmConfigResponse
    LlmConfigDeletedResponse:
      properties:
        status:
          type: string
          const: deleted
          title: Status
      type: object
      required:
      - status
      title: LlmConfigDeletedResponse
    UpsertLlmConfigRequest:
      properties:
        provider:
          type: string
          title: Provider
          description: 'LLM provider: openai, google, or openrouter; anthropic requires BYOK'
        model:
          type: string
          maxLength: 200
          minLength: 1
          title: Model
          description: Model identifier
        api_key:
          anyOf:
          - type: string
            minLength: 1
          - type: 'null'
          title: Api Key
          description: Provider API key (BYOK). Omit to use Teardrop shared key when supported.
        api_base:
          anyOf:
          - type: string
          - type: 'null'
          title: Api Base
          description: Custom base URL for OpenAI-compatible endpoints (vLLM, Ollama, etc.)
        max_tokens:
          type: integer
          maximum: 200000.0
          minimum: 1.0
          title: Max Tokens
          default: 4096
        temperature:
          type: number
          maximum: 2.0
          minimum: 0.0
          title: Temperature
          default: 0.0
        timeout_seconds:
          type: integer
          maximum: 600.0
          minimum: 10.0
          title: Timeout Seconds
          default: 120
        routing_preference:
          type: string
          title: Routing Preference
          description: default, cost, speed, or quality
          default: default
        reasoning_effort:
          anyOf:
          - type: string
          - type: 'null'
          title: Reasoning Effort
          description: 'Org-wide reasoning effort: none, minimal, low, medium, or high. Omit to use the platform default for each model.'
        model_reasoning_effort:
          additionalProperties:
            type: string
          type: object
          title: Model Reasoning Effort
          description: 'Per-model reasoning effort overrides keyed ''provider:model'' (e.g. {"openrouter:~anthropic/claude-opus-latest": "high"}). Takes precedence over reasoning_effort, including for smart-routed models.'
      type: object
      required:
      - provider
      - model
      title: UpsertLlmConfigRequest
    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
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer