/certs/lookupThe grader’s record for a cert, for the copy form before the copy is saved. Served from the shared cache while fresh; otherwise one call to the grader, within its daily budget. 60 lookups an hour.
collector.lookupCert()collection:readX-Request-Idobject
companyenumrequiredcgccbcspsapgxegshgaothercertstringrequired1–80 characters
refreshbooleanAsk the grader even if the cache is fresh.
200OKFound, not found, or why it can’t be looked up now.
object or object or object
Option 1: object
companyenumrequiredcgccbcspsapgxegshgaothercertstringrequiredNormalized.
status"found"requiredfetchedAtstring (date-time)requiredcachedbooleanrequiredOption 2: object
companyenumrequiredcgccbcspsapgxegshgaothercertstringrequiredNormalized.
status"not_found"requiredsourceUrlstring (uri) or nullrequiredfetchedAtstring (date-time)requiredcachedbooleanrequiredOption 3: object
companyenumrequiredcgccbcspsapgxegshgaothercertstringrequiredNormalized.
status"unavailable"requiredreasonenumrequiredunsupporteddisabledbudgeterrormessagestringrequiredinvalid_requestinvalid_jsoninvalid_cert
invalid_request: The query or body doesn’t match the schema (see errors[]).
invalid_json: The body isn’t JSON.
invalid_cert: Cert numbers are 4–64 letters and digits.
unauthorized: Not signed in (no session or token, or an expired one).
payload_too_large: The body is over 1,048,576 bytes, this operation’s limit.
rate_limitedtemporarily_blocked
rate_limited: Over the caller’s limit: the per-minute burst or the per-day quota (RateLimit headers; wait Retry-After seconds).
temporarily_blocked: Too many refused requests in a row: blocked for a while (Retry-After says how long).
internal: Something went wrong on our side (quote the requestId).