Skip to main content
The access endpoint tells you whether a customer is entitled to use a product — either because they have an active subscription or because they made a confirmed one-time payment. This is the check the AI SDK, LangChain, and UploadThing adapters run automatically, but you can call it directly from your own server-side logic.

Check access

GET /customers/{customer_id}/access/{product_id} Returns whether the customer has access to the product and the reason why.

Response

boolean
Whether the customer is entitled to use the product.
object | null
The reason access was granted. null when has_access is false.

SDK usage

The @stellartools/core SDK exposes this as customers.access.verify(customerId, productId):