Skip to main content
GET
Resolve a natural-language entity term to its id

Authorizations

Authorization
string
header
required

User session token issued by NextAuth. For human users accessing Solya via the web application.

Query Parameters

q
string
required

Natural-language entity term to resolve, e.g. 'Nike', 'NK001', 'Summer 2025'. Min 1 character.

Minimum string length: 1
type
enum<string>
required

Entity domain to search. 'product' resolves silver.products and returns brandId; 'brand' resolves silver.brands; 'collection' resolves silver.collections.

Available options:
product,
brand,
collection
limit
integer
default:5

Maximum candidates to return (1–20, default 5). Applied after cascade de-duplication.

Required range: 1 <= x <= 20

Response

Successful response

data
object[]
required
success
enum<boolean>
required
Available options:
true