The two artifacts, where to take one of them, and how long they last. ``device_code`` is the daemon's poll credential and is never displayed; ``user_code`` is what the terminal prints for a human to carry. Both leave this process exactly once, in this response, and neither is stored: the row keeps only ``sha256_hex`` of each (D-X16-O3). ``verification_uri_complete`` carries the user code in a **fragment** (D-X16-O24), so the one-click link cannot deposit the secret in an access log, a CDN log, a ``Referer`` header or a shared-link history the way ``?user_code=`` would. ``credential_fingerprint`` is the same eight-hex prefix the console will show beside the approval, so an operator standing at the terminal can check that the screen is describing *this* machine (D-X16-O4 — an aid for the operator who has the terminal, never a defence against a phished stranger).
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/nerdit-ai/json-schema/nerdit-ai-device-link-response-schema.json",
"title": "DeviceLinkResponse",
"description": "The two artifacts, where to take one of them, and how long they last.\n\n``device_code`` is the daemon's poll credential and is never displayed;\n``user_code`` is what the terminal prints for a human to carry. Both leave\nthis process exactly once, in this response, and neither is stored: the row\nkeeps only ``sha256_hex`` of each (D-X16-O3).\n\n``verification_uri_complete`` carries the user code in a **fragment**\n(D-X16-O24), so the one-click link cannot deposit the secret in an access\nlog, a CDN log, a ``Referer`` header or a shared-link history the way\n``?user_code=`` would. ``credential_fingerprint`` is the same eight-hex\nprefix the console will show beside the approval, so an operator standing at\nthe terminal can check that the screen is describing *this* machine\n(D-X16-O4 — an aid for the operator who has the terminal, never a defence\nagainst a phished stranger).",
"x-generated": "2026-11-19",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/nerdit-ai-openapi.json#/components/schemas/DeviceLinkResponse",
"properties": {
"device_code": {
"type": "string",
"title": "Device Code"
},
"user_code": {
"type": "string",
"title": "User Code"
},
"verification_uri": {
"type": "string",
"title": "Verification Uri"
},
"verification_uri_complete": {
"type": "string",
"title": "Verification Uri Complete"
},
"credential_fingerprint": {
"type": "string",
"title": "Credential Fingerprint"
},
"expires_in": {
"type": "integer",
"title": "Expires In"
},
"interval": {
"type": "integer",
"title": "Interval"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"device_code",
"user_code",
"verification_uri",
"verification_uri_complete",
"credential_fingerprint",
"expires_in",
"interval"
]
}
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.