WritersLogic Verifiable AI Agent Hub Ai Bom License Resolver API
The Ai Bom License Resolver API from WritersLogic Verifiable AI Agent Hub — 1 operation(s) for ai bom license resolver.
The Ai Bom License Resolver API from WritersLogic Verifiable AI Agent Hub — 1 operation(s) for ai bom license resolver.
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/writerslogic-com:writerslogic-com-ai-bom-license-resolver-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. 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: WritersLogic Verifiable AI Agent Hub Ai Bom License…
version: 2.0.0
description: Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.
contact:
name: WritersLogic
url: https://writerslogic.com/agents
email: agents@writerslogic.com
servers:
- url: https://agents.writerslogic.com
tags:
- name: Ai Bom License Resolver
paths:
/api/v1/ai-bom-license-resolver:
post:
operationId: ai_bom_license_resolver
summary: AI-BOM License Chain Resolver for Hugging Face Models
description: 'Walks the Hugging Face lineage of up to 10 models (base_model chain, training datasets; at most 30 nodes, 4 generations) and applies a curated, hash-pinned table of license clauses (Apache-2.0, MIT, CC-BY, CC-BY-NC, CC-BY-SA, OpenRAIL variants, Llama 2 / 3 / 3.1 / 3.2 / 3.3, Gemma, Mistral Research License) to each intended use: commercial or not, API, weights or on-prem, fine-tuning, monthly active users, jurisdiction, sensitive fields of use. Per use it returns ALLOWED, CONFLICT or UNDETERMINED with the conflicting nodes, the clause, a verbatim quote, and the license source URL and SHA-256; the unsatisfiable core comes from the hub''s deterministic SAT/LRA solver, with no LLM. Unknown, custom, missing or unreadable licenses are UNDETERMINED, never ALLOWED. Not legal advice.
Price: 0.50 USDC on Base (x402).'
x-x402-price-usdc: '0.50'
x-x402-amount: '500000'
x-payment-info:
protocols:
- x402
price:
mode: fixed
currency: USD
amount: '0.50'
x-audience: developer
x-sample-url: https://agents.writerslogic.com/api/v1/samples/ai-bom-license-resolver
security:
- x402: []
- apiKey: []
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- models
- uses
properties:
models:
type: array
minItems: 1
maxItems: 10
items:
type: string
minLength: 1
maxLength: 200
description: Hugging Face model repo ids (owner/name) used together in the system.
datasets:
type: array
maxItems: 10
items:
type: string
minLength: 1
maxLength: 200
description: Extra Hugging Face dataset repo ids; datasets named on the model cards are followed automatically.
uses:
type: array
minItems: 1
maxItems: 6
items:
type: object
additionalProperties: false
required:
- commercial
- distribution
properties:
id:
type: string
minLength: 1
maxLength: 40
description: Label echoed in the result; defaults to use-1, use-2, ...
commercial:
type: boolean
description: Any commercial activity, revenue, or business operations connected to the use.
distribution:
type: string
enum:
- api
- weights
- on_prem
description: 'api: hosted service, weights stay with you. weights: you redistribute model weights. on_prem: internal use only.'
fine_tune:
type: boolean
description: You will fine-tune, merge, quantize or otherwise modify the models. Default false.
monthly_active_users:
type: integer
minimum: 0
maximum: 10000000000000
description: Monthly active users of your products and affiliates; compared with user-count thresholds such as Llama's 700 million. Required to evaluate those clauses.
jurisdiction:
type: string
pattern: ^[A-Za-z]{2}$
description: ISO 3166-1 alpha-2 country of the licensee's domicile or principal place of business, e.g. DE. Required for regional clauses.
trains_other_models:
type: boolean
description: Outputs of these models will train or improve a different model that is not a derivative of the same family (distillation). Default false.
fields_of_use:
type: array
maxItems: 4
items:
type: string
enum:
- medical_advice
- law_enforcement_justice
- military
- automated_legal_decisions
description: Sensitive fields the use touches; checked against field-of-use clauses.
description: Intended uses to decide, each evaluated independently.
dataset_terms:
type: string
enum:
- advisory
- binding
description: 'advisory (default): a dataset license restriction yields UNDETERMINED because it is unsettled whether it binds trained weights. binding: treat it as binding and report CONFLICT.'
example:
models:
- NousResearch/Hermes-3-Llama-3.1-8B
- mistralai/Mistral-7B-Instruct-v0.2
uses:
- id: api-above-700m-mau
commercial: true
distribution: api
monthly_active_users: 800000000
- id: api-below-700m-mau
commercial: true
distribution: api
monthly_active_users: 50000000
responses:
'200':
description: Paid result with provenance
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
verdict:
type: string
enum:
- ALLOWED
- CONFLICT
- UNDETERMINED
description: 'Worst per-use verdict: CONFLICT, then UNDETERMINED, then ALLOWED. Unknown, custom, or missing licenses are never ALLOWED.'
confidence:
type: string
enum:
- high
- low
description: 'Completeness of the rule evaluation, not legal certainty: low when any use is UNDETERMINED.'
deterministic:
type: boolean
description: 'Always true: no LLM touches the verdict path.'
evidence:
type: array
items:
type: object
description: 'Top sources behind the verdict: kind (license_clause, hf_api, license_text), url, sha256, node and verbatim quote for clauses. Full list in source_manifest.'
summary:
type: string
next_step:
type: string
not_legal_advice:
type: string
uses:
type: array
items:
type: object
description: id, verdict, confidence, conflicts[] (tier, nodes, clauses[{node, license, clause, ref, quote, source_url, source_sha256}], use_facts, unsat_core, minimal, cure), undetermined[] (code, node, detail), obligations[], by_model[{model, verdict}], solver_calls.
missing_license_nodes:
type: array
items:
type: object
description: node, kind, reason, declared, license_file {url, sha256, bytes}.
license_mismatches:
type: array
items:
type: object
description: A node whose declared license differs from its base model's; the base license terms still apply.
lineage:
type: object
description: nodes (key, id, kind, depth, license status and id, source_url), edges (from, to, relation), truncations, limits.
ai_bom:
type: object
description: 'CycloneDX 1.6 style ML-BOM: components, licenses, dependencies.'
license_table:
type: object
description: 'Table version, verification date, and for every license used: sources with URL and SHA-256.'
source_manifest:
type: array
items:
type: object
description: url, kind, sha256, bytes, digest_basis, fetched_at for every source read.
partial:
type: object
description: complete flag and the list of what is missing when an upstream read failed or a limit cut the lineage.
solver:
type: object
description: Solver name, version, and total solver calls.
_provenance:
type: object
description: C2PA-aligned manifest and W3C VC 2.0 (eddsa-jcs-2022) issued by the hub DID; verify at POST /api/v1/verify-provenance
required:
- data
- _provenance
'400':
description: Invalid request (no payment consumed)
content:
application/json:
schema:
type: object
properties:
error:
type: string
code:
type: string
'401':
description: Invalid X-API-KEY
content:
application/json:
schema:
type: object
properties:
error:
type: string
code:
type: string
'402':
description: Payment required or invalid
content:
application/json:
schema:
type: object
description: x402 v2 PaymentRequired (also base64 in the PAYMENT-REQUIRED header)
properties:
x402Version:
type: integer
error:
type: string
code:
type: string
resource:
type: object
accepts:
type: array
items:
type: object
extensions:
type: object
'502':
description: Upstream failure; the payment is released or not settled
content:
application/json:
schema:
type: object
properties:
error:
type: string
code:
type: string
tags:
- Ai Bom License Resolver
components:
securitySchemes:
x402:
type: apiKey
in: header
name: PAYMENT-SIGNATURE
description: x402 v2 payment payload (base64) sent after a 402 challenge
apiKey:
type: apiKey
in: header
name: X-API-KEY