Check how well any public documentation site is structured for AI agents with a single unauthenticated request.
curl --request GET \
--url https://api.mintlify.com/v1/score \
--header 'Authorization: Bearer <token>'{
"canonicalUrl": "<string>",
"score": 50,
"checks": [
{
"id": "<string>",
"name": "<string>",
"message": "<string>",
"category": "<string>",
"children": "<array>"
}
]
}Use this endpoint to fetch the agent readiness score for any public documentation URL. It powers theDocumentation Index
Fetch the complete documentation index at: https://mintlify-mintlify-0a5c0c85.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
mint score CLI command and the public AgentRank leaderboard, and you can call it directly from your own tools, CI checks, or dashboards.
The endpoint is unauthenticated — no API key is required.
Call it at GET https://api.mintlify.com/v1/score with the public documentation URL in the url query parameter.
mint score instead.
202 Accepted with status: "queued" and a Retry-After header. Mintlify analyzes the site in the background, then subsequent requests return 200 OK with status: "ready" and the full list of checks.
Cached scores are returned immediately. If a cached score is older than one hour, Mintlify queues a background refresh but still returns the cached result so your application is not blocked.
429 Too Many Requests.
curl "https://api.mintlify.com/v1/score?url=https://mintlify.com/docs"
{
"status": "queued",
"canonicalUrl": "https://mintlify.com/docs",
"retryAfterSeconds": 10
}
{
"status": "ready",
"canonicalUrl": "https://mintlify.com/docs",
"score": 92,
"checks": [
{
"id": "llms-txt",
"name": "llms-txt",
"status": "pass",
"category": "discovery"
}
]
}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Public HTTPS URL of the documentation site to score. URLs without a scheme are upgraded to https://. Maximum length is 2048 characters.
2048"https://mintlify.com/docs"
The score is ready.
Indicates that the score is available.
ready The canonical URL Mintlify resolved from the requested URL.
Overall agent readiness score for the site, from 0 to 100.
0 <= x <= 100Individual check results from the AgentRank (AFDocs) framework and Mintlify-specific checks.
Show child attributes
此页面对您有帮助吗?
curl --request GET \
--url https://api.mintlify.com/v1/score \
--header 'Authorization: Bearer <token>'{
"canonicalUrl": "<string>",
"score": 50,
"checks": [
{
"id": "<string>",
"name": "<string>",
"message": "<string>",
"category": "<string>",
"children": "<array>"
}
]
}