Debit My Data Owners API

The owners API from Debit My Data, for owners.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 6

POST /v1/dids/{identity}/owner-changes Change a DID-LLM's owners: get the messages its current and new owners sign #
GET /v1/dids/{identity}/owner-changes/{change_id} Where an owner change stands, with its messages #
POST /v1/dids/{identity}/owner-changes/{change_id}/signatures Send one signed owner change message; the change applies with the last one… #
POST /v1/dids/{identity}/revocations Get the message an owner signs to revoke the DID-LLM for good #
GET /v1/dids/{identity}/revocations/{challenge_id} A revocation message again (for tools that sign it) #
POST /v1/dids/{identity}/revocations/{challenge_id}/signature Send the signed revocation message: the DID-LLM is revoked for good #

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/debitmydata:debitmydata-owners-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

debitmydata-owners-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Debitmydata Owners API
  version: 0.55.27
  description: 'Operations tagged owners across 2 of this provider''s published API definitions: debitmydata-openapi.json, debitmydata-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Owners
paths:
  /v1/dids/{identity}/owner-changes:
    post:
      tags:
      - Owners
      summary: 'Change a DID-LLM''s owners: get the messages its current and new owners sign'
      operationId: create_change_v1_dids__identity__owner_changes_post
      parameters:
      - name: identity
        in: path
        required: true
        schema:
          type: string
          pattern: ^(dmd_identity_[0-9A-HJKMNP-TV-Z]{26}|did:web:[^/?#\s]{1,253}:agents:[0-9A-HJKMNP-TV-Z]{26})$
          description: The DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
          title: Identity
        description: The DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OwnerChangeRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OwnerChangeView'
        '404':
          description: Unknown DID-LLM.
        '409':
          description: Not active, the same owners, or a name reserved for DebitMyData.
        '422':
          description: A new owner key or wallet is not valid.
  /v1/dids/{identity}/owner-changes/{change_id}:
    get:
      tags:
      - Owners
      summary: Where an owner change stands, with its messages
      operationId: get_change_v1_dids__identity__owner_changes__change_id__get
      parameters:
      - name: identity
        in: path
        required: true
        schema:
          type: string
          pattern: ^(dmd_identity_[0-9A-HJKMNP-TV-Z]{26}|did:web:[^/?#\s]{1,253}:agents:[0-9A-HJKMNP-TV-Z]{26})$
          description: The DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
          title: Identity
        description: The DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
      - name: change_id
        in: path
        required: true
        schema:
          type: string
          pattern: ^dmd_owner_change_[0-9A-HJKMNP-TV-Z]{26}$
          title: Change Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OwnerChangeView'
        '404':
          description: Unknown DID-LLM or owner change.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/dids/{identity}/owner-changes/{change_id}/signatures:
    post:
      tags:
      - Owners
      summary: Send one signed owner change message; the change applies with the last one…
      operationId: submit_signature_v1_dids__identity__owner_changes__change_id__signatures_post
      parameters:
      - name: identity
        in: path
        required: true
        schema:
          type: string
          pattern: ^(dmd_identity_[0-9A-HJKMNP-TV-Z]{26}|did:web:[^/?#\s]{1,253}:agents:[0-9A-HJKMNP-TV-Z]{26})$
          description: The DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
          title: Identity
        description: The DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
      - name: change_id
        in: path
        required: true
        schema:
          type: string
          pattern: ^dmd_owner_change_[0-9A-HJKMNP-TV-Z]{26}$
          title: Change Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignatureRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OwnerChangeView'
        '404':
          description: Unknown DID-LLM, owner change or message.
        '409':
          description: Message already answered, change applied or cancelled, or the DID-LLM is not active.
        '410':
          description: The change or the message expired.
        '422':
          description: Wrong or malformed signature (a wrong one uses up the message).
        '503':
          description: A smart wallet's network cannot be asked right now (try again).
  /v1/dids/{identity}/revocations:
    post:
      tags:
      - Owners
      summary: Get the message an owner signs to revoke the DID-LLM for good
      operationId: create_revocation_v1_dids__identity__revocations_post
      parameters:
      - name: identity
        in: path
        required: true
        schema:
          type: string
          pattern: ^(dmd_identity_[0-9A-HJKMNP-TV-Z]{26}|did:web:[^/?#\s]{1,253}:agents:[0-9A-HJKMNP-TV-Z]{26})$
          description: The DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
          title: Identity
        description: The DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RevocationRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevocationChallenge'
        '404':
          description: Unknown DID-LLM.
        '409':
          description: Already revoked, or no such owner.
        '422':
          description: The reason is refused.
  /v1/dids/{identity}/revocations/{challenge_id}:
    get:
      tags:
      - Owners
      summary: A revocation message again (for tools that sign it)
      operationId: get_revocation_v1_dids__identity__revocations__challenge_id__get
      parameters:
      - name: identity
        in: path
        required: true
        schema:
          type: string
          pattern: ^(dmd_identity_[0-9A-HJKMNP-TV-Z]{26}|did:web:[^/?#\s]{1,253}:agents:[0-9A-HJKMNP-TV-Z]{26})$
          description: The DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
          title: Identity
        description: The DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
      - name: challenge_id
        in: path
        required: true
        schema:
          type: string
          pattern: ^dmd_challenge_[0-9A-HJKMNP-TV-Z]{26}$
          title: Challenge Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevocationChallenge'
        '404':
          description: Unknown DID-LLM or revocation message.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/dids/{identity}/revocations/{challenge_id}/signature:
    post:
      tags:
      - Owners
      summary: 'Send the signed revocation message: the DID-LLM is revoked for good'
      operationId: submit_revocation_v1_dids__identity__revocations__challenge_id__signature_post
      parameters:
      - name: identity
        in: path
        required: true
        schema:
          type: string
          pattern: ^(dmd_identity_[0-9A-HJKMNP-TV-Z]{26}|did:web:[^/?#\s]{1,253}:agents:[0-9A-HJKMNP-TV-Z]{26})$
          description: The DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
          title: Identity
        description: The DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
      - name: challenge_id
        in: path
        required: true
        schema:
          type: string
          pattern: ^dmd_challenge_[0-9A-HJKMNP-TV-Z]{26}$
          title: Challenge Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RevocationSignature'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevocationResult'
        '404':
          description: Unknown DID-LLM or revocation message.
        '409':
          description: Message already answered, or already revoked.
        '410':
          description: Message expired.
        '422':
          description: Wrong or malformed signature (a wrong one uses up the message).
        '503':
          description: A smart wallet's network cannot be asked right now (try again).
components:
  schemas:
    ChangeMessage:
      properties:
        challenge_id:
          type: string
          title: Challenge Id
        role:
          type: string
          enum:
          - approve
          - accept
          title: Role
          description: 'approve: a current owner hands the DID-LLM over (one approval is enough); accept: a new owner takes it (each new owner).'
        signer:
          type: string
          title: Signer
          description: The owner key or wallet that signs this message.
        status:
          type: string
          title: Status
          description: open, verified, rejected or expired
        message:
          type: string
          title: Message
          description: Sign exactly this text (UTF-8).
        signature_algorithm:
          type: string
          title: Signature Algorithm
        signature_encoding:
          type: string
          title: Signature Encoding
      type: object
      required:
      - challenge_id
      - role
      - signer
      - status
      - message
      - signature_algorithm
      - signature_encoding
      title: ChangeMessage
    RevocationSignature:
      properties:
        signature:
          type: string
          maxLength: 16400
          minLength: 86
          title: Signature
      additionalProperties: false
      type: object
      required:
      - signature
      title: RevocationSignature
    RevocationChallenge:
      properties:
        challenge_id:
          type: string
          title: Challenge Id
        did:
          type: string
          title: Did
        status:
          type: string
          title: Status
          description: open, verified, rejected or expired
        controller:
          type: string
          title: Controller
        message:
          type: string
          title: Message
          description: Sign exactly this text (UTF-8). It revokes for good.
        signature_algorithm:
          type: string
          title: Signature Algorithm
        signature_encoding:
          type: string
          title: Signature Encoding
        expires_at:
          type: string
          format: date-time
          title: Expires At
        signature_url:
          type: string
          title: Signature Url
      type: object
      required:
      - challenge_id
      - did
      - status
      - controller
      - message
      - signature_algorithm
      - signature_encoding
      - expires_at
      - signature_url
      title: RevocationChallenge
    RevocationRequest:
      properties:
        controller_type:
          anyOf:
          - type: string
            enum:
            - ed25519
            - eip155
          - type: 'null'
          title: Controller Type
          description: 'Which owner signs: ed25519 (the owner key, the default when there is one) or eip155 (the owner wallet).'
        reason:
          anyOf:
          - type: string
            maxLength: 300
          - type: 'null'
          title: Reason
          description: Optional, kept with the revocation.
      additionalProperties: false
      type: object
      title: RevocationRequest
    OwnerChangeView:
      properties:
        change_id:
          type: string
          title: Change Id
        did:
          type: string
          title: Did
        status:
          type: string
          title: Status
          description: open, applied, cancelled (another change applied first) or expired
        previous_owners:
          items:
            $ref: '#/components/schemas/dmd_gateway__api__owners__Owner'
          type: array
          title: Previous Owners
        new_owners:
          items:
            $ref: '#/components/schemas/dmd_gateway__api__owners__Owner'
          type: array
          title: New Owners
        waiting_for:
          $ref: '#/components/schemas/WaitingFor'
        messages:
          items:
            $ref: '#/components/schemas/ChangeMessage'
          type: array
          title: Messages
        expires_at:
          type: string
          format: date-time
          title: Expires At
        applied_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Applied At
        signatures_url:
          type: string
          title: Signatures Url
          description: POST each signed message here.
        next:
          type: string
          title: Next
      type: object
      required:
      - change_id
      - did
      - status
      - previous_owners
      - new_owners
      - waiting_for
      - messages
      - expires_at
      - applied_at
      - signatures_url
      - next
      title: OwnerChangeView
    RevocationResult:
      properties:
        proof_id:
          type: string
          title: Proof Id
        did:
          type: string
          title: Did
        status:
          type: string
          title: Status
          description: 'The DID-LLM''s status: revoked'
        revoked_at:
          type: string
          format: date-time
          title: Revoked At
      type: object
      required:
      - proof_id
      - did
      - status
      - revoked_at
      title: RevocationResult
    OwnerChangeRequest:
      properties:
        new_controller_public_key:
          anyOf:
          - type: string
          - type: 'null'
          title: New Controller Public Key
          description: 'The DID-LLM''s owner key after the change (Ed25519, `ed25519:z6Mk...`): the current one to keep it, a new one to replace it, or left out to have none.'
        new_controller_wallet_address:
          anyOf:
          - type: string
          - type: 'null'
          title: New Controller Wallet Address
          description: Its owner wallet after the change (EVM, `0x...` or `eip155:8453:0x...`), the same way.
        new_controller_network:
          anyOf:
          - type: string
          - type: 'null'
          title: New Controller Network
          description: The wallet's network, e.g. eip155:8453 for Base (default).
      additionalProperties: false
      type: object
      title: OwnerChangeRequest
      examples:
      - new_controller_public_key: ed25519:z6Mk<the new owner key>
      - new_controller_public_key: ed25519:z6Mk<the key it keeps>
        new_controller_wallet_address: 0x<the new owner wallet>
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SignatureRequest:
      properties:
        challenge_id:
          type: string
          pattern: ^dmd_challenge_[0-9A-HJKMNP-TV-Z]{26}$
          title: Challenge Id
          description: The message's `challenge_id`.
        signature:
          type: string
          maxLength: 16400
          minLength: 86
          title: Signature
          description: 'The signature of that message: Ed25519 (base64url, base64 or hex), or what the wallet''s personal_sign returns (0x...).'
      additionalProperties: false
      type: object
      required:
      - challenge_id
      - signature
      title: SignatureRequest
    dmd_gateway__api__owners__Owner:
      properties:
        type:
          type: string
          enum:
          - key
          - wallet
          title: Type
        value:
          type: string
          title: Value
          description: '`ed25519:z6Mk...` or `eip155:<chain id>:0x...`'
      type: object
      required:
      - type
      - value
      title: Owner
    WaitingFor:
      properties:
        approval:
          type: boolean
          title: Approval
          description: True until one current owner has approved.
        acceptances:
          items:
            type: string
          type: array
          title: Acceptances
          description: The new owners that have not accepted yet.
      type: object
      required:
      - approval
      - acceptances
      title: WaitingFor
    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
x-refined-from:
- debitmydata-openapi.json
- debitmydata-openapi.json
x-provenance:
  method: harvested
  publisher: Debit My Data
  source: https://id.debitmydata.io/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)