MyLeadTech Usage API
The Usage API from MyLeadTech — 1 operation(s) for usage.
The Usage API from MyLeadTech — 1 operation(s) for usage.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/myleadtech-app:myleadtech-app-usage-api"
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.
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: 3.2.0
info:
title: MyLeadTech Usage API
description: 'HVAC service-manual API: resolve a model or nameplate reference, search OEM manuals, get fault-code meanings and answers cited to the manual page they came from. Authenticate with `Authorization: Bearer ` (keys at https://web.myleadtech.app). Docs: https://myleadtech.app/developers/docs'
termsOfService: https://myleadtech.app/terms
contact:
name: MyLeadTech
url: https://myleadtech.app/developers
email: hello@myleadtech.app
version: ar-00/1
servers:
- url: https://api.myleadtech.app
description: Production
tags:
- name: Usage
paths:
/v1/usage:
get:
summary: Usage
operationId: get_usage
responses:
'200':
description: Successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/UsageCompte'
headers:
X-Request-Id:
description: Identifier of this call; the same value is in the body and in the service log.
schema:
type: string
MLT-Contract:
description: Contract version served (additive changes keep it).
schema:
type: string
'400':
description: 'Invalid request: `error.param` names the parameter to fix.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErreurOut'
headers:
X-Request-Id:
description: Identifier of this call; the same value is in the body and in the service log.
schema:
type: string
MLT-Contract:
description: Contract version served (additive changes keep it).
schema:
type: string
'401':
description: Credential is missing or invalid.
content:
application/json:
schema:
$ref: '#/components/schemas/ErreurOut'
headers:
X-Request-Id:
description: Identifier of this call; the same value is in the body and in the service log.
schema:
type: string
MLT-Contract:
description: Contract version served (additive changes keep it).
schema:
type: string
'403':
description: The credential does not allow this operation.
content:
application/json:
schema:
$ref: '#/components/schemas/ErreurOut'
headers:
X-Request-Id:
description: Identifier of this call; the same value is in the body and in the service log.
schema:
type: string
MLT-Contract:
description: Contract version served (additive changes keep it).
schema:
type: string
'503':
description: Dependency unavailable; see `Retry-After`.
content:
application/json:
schema:
$ref: '#/components/schemas/ErreurOut'
headers:
X-Request-Id:
description: Identifier of this call; the same value is in the body and in the service log.
schema:
type: string
MLT-Contract:
description: Contract version served (additive changes keep it).
schema:
type: string
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
minimum: 1
security:
- bearerAuth: []
tags:
- Usage
components:
schemas:
UsageCompte:
properties:
request_id:
type: string
title: Request Id
contract_version:
type: string
title: Contract Version
default: ar-00/1
account_id:
type: string
title: Account Id
kind:
type: string
title: Kind
scopes:
items:
type: string
type: array
title: Scopes
ledger:
type: string
enum:
- not_active
- active
title: Ledger
default: not_active
plan:
anyOf:
- type: string
- type: 'null'
title: Plan
allowance:
anyOf:
- type: integer
- type: 'null'
title: Allowance
used:
anyOf:
- type: number
- type: 'null'
title: Used
reserved:
anyOf:
- type: number
- type: 'null'
title: Reserved
remaining:
anyOf:
- type: number
- type: 'null'
title: Remaining
window_end:
anyOf:
- type: string
- type: 'null'
title: Window End
entitled:
anyOf:
- type: boolean
- type: 'null'
title: Entitled
reason:
anyOf:
- type: string
- type: 'null'
title: Reason
type: object
required:
- request_id
- account_id
- kind
- scopes
title: UsageCompte
ErreurOut:
properties:
request_id:
type: string
title: Request Id
contract_version:
type: string
title: Contract Version
default: ar-00/1
error:
$ref: '#/components/schemas/Erreur'
type: object
required:
- request_id
- error
title: ErreurOut
Erreur:
properties:
code:
type: string
title: Code
message:
type: string
title: Message
param:
anyOf:
- type: string
- type: 'null'
title: Param
doc_url:
anyOf:
- type: string
- type: 'null'
title: Doc Url
retry_after_seconds:
anyOf:
- type: integer
- type: 'null'
title: Retry After Seconds
type: object
required:
- code
- message
title: Erreur
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: MyLeadTech API key from https://web.myleadtech.app