Teardrop Organizations API

The Organizations API from Teardrop — 2 operation(s) for organizations.

GitHub OpenAPI

Operations 3

GET /org/principals/spend-limits List Principal Spend Limits #
PUT /org/principals/{principal_id}/spend-limit Upsert Principal Spend Limit #
DELETE /org/principals/{principal_id}/spend-limit Delete Principal Spend Limit #

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-organizations-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-organizations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Teardrop Organizations API
  description: The open API and billing gateway for autonomous economic agents
  version: 2.13.0
tags:
- name: Organizations
paths:
  /org/principals/spend-limits:
    get:
      tags:
      - Organizations
      summary: List Principal Spend Limits
      operationId: list_principal_spend_limits_org_principals_spend_limits_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/PrincipalSpendLimitResponse'
                type: array
                title: Response List Principal Spend Limits Org Principals Spend Limits Get
      security:
      - HTTPBearer: []
  /org/principals/{principal_id}/spend-limit:
    put:
      tags:
      - Organizations
      summary: Upsert Principal Spend Limit
      operationId: upsert_principal_spend_limit_org_principals__principal_id__spend_limit_put
      security:
      - HTTPBearer: []
      parameters:
      - name: principal_id
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 64
          pattern: ^[A-Za-z0-9_-]+$
          title: Principal Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PrincipalSpendLimitRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrincipalSpendLimitResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Organizations
      summary: Delete Principal Spend Limit
      operationId: delete_principal_spend_limit_org_principals__principal_id__spend_limit_delete
      security:
      - HTTPBearer: []
      parameters:
      - name: principal_id
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 64
          pattern: ^[A-Za-z0-9_-]+$
          title: Principal Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PrincipalSpendLimitResponse:
      properties:
        principal_id:
          type: string
          title: Principal Id
        daily_limit_usdc:
          type: integer
          title: Daily Limit Usdc
        is_paused:
          type: boolean
          title: Is Paused
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
      - principal_id
      - daily_limit_usdc
      - is_paused
      - created_at
      - updated_at
      title: PrincipalSpendLimitResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PrincipalSpendLimitRequest:
      properties:
        daily_limit_usdc:
          type: integer
          maximum: 100000000.0
          exclusiveMinimum: 0.0
          title: Daily Limit Usdc
        is_paused:
          type: boolean
          title: Is Paused
          default: false
      type: object
      required:
      - daily_limit_usdc
      title: PrincipalSpendLimitRequest
    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