l0g Risk Diff.json API
The Risk Diff.json API from l0g — 1 operation(s) for risk diff.json.
The Risk Diff.json API from l0g — 1 operation(s) for risk diff.json.
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/l0g-fr:l0g-fr-risk-diff-json-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: l0g.fr Agent Surface Risk Diff.json API
version: 1.18.0
description: 'Contrat public pour agents IA : manifeste, catalogue, graphe affirmation-source, evidence graph, NDJSON, registre de sources, fraîcheur, intégrité, changefeed, risque et corpus.'
license:
name: CC BY 4.0
url: https://creativecommons.org/licenses/by/4.0/
servers:
- url: https://l0g.fr
tags:
- name: Risk Diff.json
paths:
/api/v1/risk-diff.json:
get:
summary: Risk Diff
description: 'Diff du risque : signaux, sources, claims, modèles, articles et confiance par fenêtre 1, 7 et 30 jours.'
operationId: riskDiffSurface
responses:
'200':
description: Réponse JSON statique générée au build.
content:
application/json:
schema:
$ref: '#/components/schemas/RiskDiffSurface'
tags:
- Risk Diff.json
components:
schemas:
RiskDiffClaims:
type: object
required:
- added
- corrected
- reviewed
- counts
additionalProperties: false
properties:
added:
type: array
items:
$ref: '#/components/schemas/Claim'
corrected:
type: array
items:
$ref: '#/components/schemas/RiskDiffClaimReview'
reviewed:
type: array
items:
$ref: '#/components/schemas/RiskDiffClaimReview'
counts:
$ref: '#/components/schemas/RiskDiffClaimCounts'
ChangefeedReplacement:
type: object
required:
- objectId
- version
- hash
additionalProperties: false
properties:
objectId:
type: string
version:
type: string
format: date-time
hash:
type:
- string
- 'null'
pattern: ^[a-f0-9]{64}$
SignalFreshnessCoverage:
type: object
required:
- signalPresent
- observedAt
- sourcePublishedAt
- retrievedAt
- lastAttemptAt
- lastSuccessAt
- computedAt
- staleAfter
additionalProperties: false
properties:
signalPresent:
type: boolean
observedAt:
type: boolean
sourcePublishedAt:
type: boolean
retrievedAt:
type: boolean
lastAttemptAt:
type: boolean
lastSuccessAt:
type: boolean
computedAt:
type: boolean
staleAfter:
type: boolean
RiskDiffClaimCounts:
type: object
required:
- added
- corrected
- reviewedInWindow
- totalClaims
- totalReviewedClaims
additionalProperties: false
properties:
added:
type: integer
corrected:
type: integer
reviewedInWindow:
type: integer
totalClaims:
type: integer
totalReviewedClaims:
type: integer
RiskDiffSources:
type: object
required:
- newData
- stale
- futureDated
- coverage
additionalProperties: false
properties:
newData:
type: array
items:
$ref: '#/components/schemas/RiskDiffSource'
stale:
type: array
items:
$ref: '#/components/schemas/RiskDiffSource'
futureDated:
type: array
items:
$ref: '#/components/schemas/RiskDiffSource'
coverage:
$ref: '#/components/schemas/RiskDiffSourceCoverage'
RiskDiffArticle:
type: object
required:
- slug
- title
- url
- date
- type
- summary
- changedFields
additionalProperties: false
properties:
slug:
type: string
title:
type: string
url:
type: string
format: uri
date:
type: string
format: date-time
type:
enum:
- article-published
- article-revised
- guide-published
- guide-revised
- editorial-change
summary:
type: string
changedFields:
type: array
items:
type: string
SignalFreshness:
type: object
required:
- key
- label
- source
- methodology
- observedAt
- sourcePublishedAt
- sourceCheckedAt
- retrievedAt
- lastAttemptAt
- lastSuccessAt
- computedAt
- staleAfter
- expiresAt
- timelinessStatus
- sourceStatus
- qualityStatus
- fallbackUsed
- fallbackReason
- warnings
- coverageStatus
- coverage
- missing
- note
additionalProperties: false
properties:
key:
enum:
- us
- eu
- yen
- energie
- debt
label:
type: string
source:
type: string
format: uri
methodology:
type: string
format: uri
observedAt:
type:
- string
- 'null'
format: date-time
sourcePublishedAt:
type:
- string
- 'null'
format: date-time
sourceCheckedAt:
type:
- string
- 'null'
format: date-time
retrievedAt:
type:
- string
- 'null'
format: date-time
lastAttemptAt:
type:
- string
- 'null'
format: date-time
lastSuccessAt:
type:
- string
- 'null'
format: date-time
computedAt:
type: string
format: date-time
staleAfter:
type: string
pattern: ^P(?:\d+D|T\d+H)$
expiresAt:
type:
- string
- 'null'
format: date-time
timelinessStatus:
enum:
- fresh
- stale
- unknown
sourceStatus:
enum:
- ok
- fallback
- missing
qualityStatus:
enum:
- nominal
- degraded
- official-delayed
- unknown
- missing
fallbackUsed:
type: boolean
fallbackReason:
type:
- string
- 'null'
warnings:
type: array
items:
type: string
coverageStatus:
enum:
- complete
- partial
- missing
coverage:
$ref: '#/components/schemas/SignalFreshnessCoverage'
missing:
type: array
items:
enum:
- signalPresent
- observedAt
- sourcePublishedAt
- retrievedAt
- lastAttemptAt
- lastSuccessAt
- computedAt
- staleAfter
note:
type: string
RiskDiffSignalMoves:
type: object
required:
- rising
- falling
- flat
- missingBaseline
- coverage
additionalProperties: false
properties:
rising:
type: array
items:
$ref: '#/components/schemas/RiskDiffSignalMove'
falling:
type: array
items:
$ref: '#/components/schemas/RiskDiffSignalMove'
flat:
type: array
items:
$ref: '#/components/schemas/RiskDiffSignalMove'
missingBaseline:
type: array
items:
$ref: '#/components/schemas/RiskDiffSignalMove'
coverage:
$ref: '#/components/schemas/RiskDiffSignalCoverage'
RiskDiffMethodology:
type: object
required:
- slug
- title
- url
- updated
additionalProperties: false
properties:
slug:
type: string
title:
type: string
url:
type: string
format: uri
updated:
type:
- string
- 'null'
format: date-time
RiskDiffSignalMove:
type: object
required:
- instrument
- label
- source
- methodology
- current
- baseline
- delta
- direction
- levelChanged
- limitations
additionalProperties: false
properties:
instrument:
enum:
- us
- eu
- yen
- energie
- debt
label:
type: string
source:
type:
- string
- 'null'
format: uri
methodology:
type:
- string
- 'null'
format: uri
current:
anyOf:
- $ref: '#/components/schemas/RiskDiffSignalPoint'
- type: 'null'
baseline:
anyOf:
- $ref: '#/components/schemas/RiskDiffSignalPoint'
- type: 'null'
delta:
type:
- number
- 'null'
direction:
enum:
- up
- down
- flat
- missing
levelChanged:
type: boolean
limitations:
type: array
items:
type: string
RiskDiffModels:
type: object
required:
- modified
- relatedMethodologies
- caveat
additionalProperties: false
properties:
modified:
type: array
items:
$ref: '#/components/schemas/ChangefeedEntry'
relatedMethodologies:
type: array
items:
$ref: '#/components/schemas/RiskDiffMethodology'
caveat:
type: string
RiskDiffWindow:
type: object
required:
- window
- label
- since
- until
- signalMoves
- sources
- claims
- models
- articles
- confidence
additionalProperties: false
properties:
window:
enum:
- 1d
- 7d
- 30d
label:
type: string
since:
type: string
format: date-time
until:
type: string
format: date-time
signalMoves:
$ref: '#/components/schemas/RiskDiffSignalMoves'
sources:
$ref: '#/components/schemas/RiskDiffSources'
claims:
$ref: '#/components/schemas/RiskDiffClaims'
models:
$ref: '#/components/schemas/RiskDiffModels'
articles:
type: array
items:
$ref: '#/components/schemas/RiskDiffArticle'
confidence:
$ref: '#/components/schemas/RiskDiffConfidence'
RiskDiffSignalCoverage:
type: object
required:
- instruments
- withBaseline
- historyFirstSeriesDate
- historyLastSeriesDate
- historyFirstObservedAt
- historyLastObservedAt
additionalProperties: false
properties:
instruments:
type: integer
withBaseline:
type: integer
historyFirstSeriesDate:
type:
- string
- 'null'
format: date-time
historyLastSeriesDate:
type:
- string
- 'null'
format: date-time
historyFirstObservedAt:
type:
- string
- 'null'
format: date-time
historyLastObservedAt:
type:
- string
- 'null'
format: date-time
RiskDiffSourceCoverage:
type: object
required:
- trackedSources
- latestInWindow
- staleSources
- futureDatedSources
- staleRule
- dateCaveat
additionalProperties: false
properties:
trackedSources:
type: integer
latestInWindow:
type: integer
staleSources:
type: integer
futureDatedSources:
type: integer
staleRule:
type: string
dateCaveat:
type: string
EvidenceReference:
type: object
required:
- label
- href
- dateLabel
- indexedAt
additionalProperties: false
properties:
label:
type: string
href:
type: string
host:
type:
- string
- 'null'
kind:
type:
- string
- 'null'
date:
type:
- string
- 'null'
format: date
dateLabel:
type: string
sourcePublicationDate:
type:
- string
- 'null'
format: date
sourcePublicationDateLabel:
type:
- string
- 'null'
retrievedAt:
type:
- string
- 'null'
format: date-time
indexedAt:
type:
- string
- 'null'
format: date-time
RiskDiffSurface:
type: object
required:
- schema
- version
- generated
- anchorDate
- question
- windows
- inputs
- freshness
- limitations
- license
- attribution
additionalProperties: false
properties:
schema:
type: string
format: uri
version:
type: string
generated:
type: string
format: date-time
anchorDate:
type: string
format: date-time
question:
type: string
windows:
type: array
items:
$ref: '#/components/schemas/RiskDiffWindow'
inputs:
$ref: '#/components/schemas/RiskDiffInputs'
freshness:
$ref: '#/components/schemas/RiskDiffFreshness'
limitations:
type: array
items:
type: string
license:
type: string
attribution:
type: string
RiskDiffConfidence:
type: object
required:
- score
- label
- basis
additionalProperties: false
properties:
score:
type: integer
minimum: 0
maximum: 100
label:
enum:
- haut
- moyen
- limité
basis:
type: array
items:
type: string
RiskDiffSignalPoint:
type: object
required:
- seriesDate
- observedAt
- value
- level
- tone
- snapshotHash
additionalProperties: false
properties:
seriesDate:
type: string
format: date-time
observedAt:
type:
- string
- 'null'
format: date-time
value:
type:
- number
- 'null'
level:
type:
- string
- 'null'
tone:
type:
- string
- 'null'
snapshotHash:
type: string
pattern: ^[a-f0-9]{64}$
RiskDiffFreshness:
type: object
required:
- signalFreshness
- policy
additionalProperties: false
properties:
signalFreshness:
type: array
items:
$ref: '#/components/schemas/SignalFreshness'
policy:
type: object
required:
- rule
- caveat
- correctionPolicy
- changelog
additionalProperties: false
properties:
rule:
type: string
caveat:
type: string
correctionPolicy:
type: string
format: uri
changelog:
type: string
format: uri
RiskDiffClaimReview:
type: object
required:
- claimId
- reviewedAt
- reviewedBy
- note
additionalProperties: false
properties:
claimId:
type: string
reviewedAt:
type: string
format: date-time
reviewedBy:
type: string
kind:
enum:
- fait
- estimation
- inférence
- scénario
note:
type: string
proofDepth:
enum:
- direct-proof
- reproduction
evidenceLocator:
type: object
required:
- type
- value
additionalProperties: false
properties:
type:
enum:
- page
- section
- table
- series
- cell
- form
- calculation
- other
value:
type: string
reproductionArtifact:
type: string
RiskDiffSource:
type: object
required:
- name
- latestDate
- metrics
- maxRisk
- changedInWindow
- stale
- ageDays
- dateStatus
additionalProperties: false
properties:
name:
type: string
latestDate:
type:
- string
- 'null'
format: date-time
metrics:
type:
- integer
- 'null'
maxRisk:
type:
- number
- 'null'
changedInWindow:
type: boolean
stale:
type: boolean
ageDays:
type:
- integer
- 'null'
dateStatus:
enum:
- observed
- future-dated
- missing
RiskDiffInputs:
type: object
required:
- signals
- currentRisk
- debtRisk
- claims
- changes
- freshness
additionalProperties: false
properties:
signals:
type: string
format: uri
currentRisk:
type: string
format: uri
debtRisk:
type: string
format: uri
claims:
type: string
format: uri
changes:
type: string
format: uri
freshness:
type: string
format: uri
ChangefeedEntry:
type: object
required:
- id
- objectId
- date
- type
- contentType
- language
- slug
- title
- url
- changedFields
- summary
- previousVersion
- currentVersion
- previousHash
- currentHash
- replaces
- semanticChange
- correctionReason
- diffStatus
additionalProperties: false
properties:
id:
type: string
objectId:
type: string
date:
type: string
format: date-time
type:
enum:
- article-published
- article-revised
- guide-published
- guide-revised
- editorial-change
contentType:
enum:
- article
- guide
- policy
language:
enum:
- fr
- en
slug:
type: string
title:
type: string
url:
type: string
format: uri
changedFields:
type: array
items:
type: string
summary:
type: string
previousVersion:
type:
- string
- 'null'
format: date-time
currentVersion:
type: string
format: date-time
previousHash:
type:
- string
- 'null'
pattern: ^[a-f0-9]{64}$
currentHash:
type:
- string
- 'null'
pattern: ^[a-f0-9]{64}$
replaces:
anyOf:
- $ref: '#/components/schemas/ChangefeedReplacement'
- type: 'null'
semanticChange:
enum:
- publication
- content-revision
- source-update
- evidence-update
- editorial-policy-change
correctionReason:
type:
- string
- 'null'
diffStatus:
enum:
- current-only
- previous-version-known-without-hash
- historical-version-without-hash
- full-diff
Claim:
type: object
required:
- id
- canonicalId
- language
- articleSlug
- kind
- claim
- dateLabel
- claimDate
- claimDateLabel
- observationDate
- observationDateLabel
- temporalPrecision
- reviewStatus
- classifier
- references
additionalProperties: false
properties:
id:
type: string
localId:
type: string
canonicalId:
type: string
language:
enum:
- fr
- en
articleSlug:
type: string
articleUrl:
type: string
format: uri
articleTitle:
type: string
kind:
enum:
- fait
- estimation
- inférence
- scénario
claim:
type: string
date:
type:
- string
- 'null'
format: date
dateLabel:
type: string
claimDate:
type:
- string
- 'null'
format: date
claimDateLabel:
type: string
observationDate:
type:
- string
- 'null'
format: date
observationDateLabel:
type: string
observationStart:
type:
- string
- 'null'
format: date
observationEnd:
type:
- string
- 'null'
format: date
temporalPrecision:
enum:
- day
- month
- quarter
- year
- range
- unknown
confidence:
enum:
- auto-backfill
- structurée
reviewStatus:
enum:
- unreviewed
- reviewed
reviewedAt:
type:
- string
- 'null'
format: date-time
reviewedBy:
type:
- string
- 'null'
reviewNote:
type:
- string
- 'null'
reviewedProofDepth:
anyOf:
- enum:
- direct-proof
- reproduction
- type: 'null'
evidenceLocator:
anyOf:
- type: object
required:
- type
- value
additionalProperties: false
properties:
type:
enum:
- page
- paragraph
- section
- table
- series
- cell
- form
- accession
- doi
- calculation
- other
value:
type: string
- type: 'null'
reviewSourceUrl:
type:
- string
- 'null'
format: uri
reviewSourceDate:
type:
- string
- 'null'
format: date
reviewSourceType:
anyOf:
- enum:
- primary
- secondary
- issuer
- dataset
- type: 'null'
reproductionArtifact:
type:
- string
- 'null'
classifier:
$ref: '#/components/schemas/ClaimClassifier'
references:
type: array
items:
$ref: '#/components/schemas/EvidenceReference'
ClaimClassifier:
type: object
required:
- method
- matchedRule
- caveat
additionalProperties: false
properties:
method:
const: lexical-heuristic-v2
matchedRule:
enum:
- scenario-marker
- estimate-marker
- inference-marker
- cited-fact-default
caveat:
type: string
reviewedOverride:
type: string