Teardrop Credentials API

The Credentials API from Teardrop — 3 operation(s) for credentials.

GitHub OpenAPI

Operations 3

GET /org/credentials Get Org Credentials #
POST /org/credentials/{client_id}/disable Disable Org Credential #
POST /org/credentials/regenerate Regenerate Org Credentials #

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-credentials-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-credentials-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Teardrop Credentials API
  description: The open API and billing gateway for autonomous economic agents
  version: 2.13.0
tags:
- name: Credentials
paths:
  /org/credentials:
    get:
      tags:
      - Credentials
      summary: Get Org Credentials
      description: 'List all M2M client credentials for the authenticated org.


        Returns client_id and created_at only — secrets are never stored in plain

        text and cannot be retrieved after creation.'
      operationId: get_org_credentials_org_credentials_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/OrgCredentialItem'
                type: array
                title: Response Get Org Credentials Org Credentials Get
      security:
      - HTTPBearer: []
  /org/credentials/{client_id}/disable:
    post:
      tags:
      - Credentials
      summary: Disable Org Credential
      description: 'Disable a single M2M credential for an org (admin or owning SIWE wallet).


        Idempotent within the caller''s org: re-disabling returns 200 with the

        original timestamp. Unknown or foreign-org credentials return 404.

        Tokens minted from this credential are rejected on every authenticated

        path (REST, MCP, A2A) even before the JWT expires.'
      operationId: disable_org_credential_org_credentials__client_id__disable_post
      security:
      - HTTPBearer: []
      parameters:
      - name: client_id
        in: path
        required: true
        schema:
          type: string
          title: Client Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgCredentialDisableResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /org/credentials/regenerate:
    post:
      tags:
      - Credentials
      summary: Regenerate Org Credentials
      description: 'Rotate org M2M credentials for an admin or machine-org SIWE owner.


        The operation destroys every existing machine credential and reveals the

        replacement secret exactly once, so ordinary members and client credentials

        cannot invoke it. ``scope`` selects the replacement credential''s capability.'
      operationId: regenerate_org_credentials_org_credentials_regenerate_post
      security:
      - HTTPBearer: []
      parameters:
      - name: scope
        in: query
        required: false
        schema:
          enum:
          - read
          - publish
          - withdraw
          type: string
          default: publish
          title: Scope
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgCredentialRegenerateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OrgCredentialRegenerateResponse:
      properties:
        client_id:
          type: string
          title: Client Id
          description: Newly issued M2M client ID.
        client_secret:
          type: string
          title: Client Secret
          description: Plaintext client secret — shown once, never retrievable again.
        scope:
          type: string
          title: Scope
          description: 'Granted scope: read, publish, or withdraw.'
        created_at:
          type: string
          title: Created At
          description: ISO 8601 timestamp of this rotation.
      type: object
      required:
      - client_id
      - client_secret
      - scope
      - created_at
      title: OrgCredentialRegenerateResponse
    OrgCredentialItem:
      properties:
        client_id:
          type: string
          title: Client Id
          description: M2M client ID.
        created_at:
          type: string
          title: Created At
          description: ISO 8601 timestamp the credential was created/rotated.
        scope:
          type: string
          title: Scope
          description: 'Granted scope: read, publish, or withdraw.'
          default: publish
        disabled_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Disabled At
          description: ISO 8601 timestamp of disable, or null if active.
      type: object
      required:
      - client_id
      - created_at
      title: OrgCredentialItem
    OrgCredentialDisableResponse:
      properties:
        client_id:
          type: string
          title: Client Id
          description: M2M client ID that was disabled.
        disabled_at:
          type: string
          title: Disabled At
          description: ISO 8601 timestamp of the disable.
      type: object
      required:
      - client_id
      - disabled_at
      title: OrgCredentialDisableResponse
    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