Light AIDocs Beta Open Light AI

API reference

GETDurable quote image link

GET /a/{token}: Links handed out with the quotes:asset_links scope.

GEThttps://api.light-ai.app/a/{token}

Links handed out with the quotes:asset_links scope. Each hit re-checks the issuing key or grant, the organization and the customer link, then redirects (302) to a 60-second signed image URL. Revoking the key or grant, disabling or rotating the customer link, or the 30-day limit stops the link. Query parameters appended by email and marketing tools (utm_*, click ids) are ignored; HEAD answers like GET without a body.

CredentialThe signed token in the URL.

Path parameters#

tokenstringrequired#
The signed link token.

Response 302#

Redirect to the image.

Errors#

StatusMeaning
400Bad request. bad_request, test_mode_mismatch, test_mode_unsupported, unsupported_api_version
404Not found (also for objects of other organizations and for organizations without an active grant).
422Validation failed. idempotency_key_reused
429Rate limited or daily cap reached. See Retry-After and the RateLimit headers. rate_limited, daily_cap_reached
500Unexpected server error. Safe to retry with exponential backoff; quote the Request-Id to support. internal_error
503Temporarily unavailable. Retry with exponential backoff. service_unavailable