Skip to main content
POST
Identify a cigar
Use this route for an end-to-end band scan. It is an alias of POST /v1/ai/cigars/identify.
string
required
Your developer application key with the api.ai entitlement.
string
required
A unique key for this logical paid operation. Use letters, numbers, ., _, :, or - and at most 200 characters.
string
A retrievable cigar or band image URL. Either imageUrl or imageUrls is required unless force is true.
string[]
Up to eight retrievable images of the same cigar or band.
string
Optional context of at most 2,000 characters, such as visible text or where the cigar was purchased.
integer
Number of suggestions to return, from 1 through 10.
string
default:"auto"
auto, open_world, or catalog_guided.
string
quick or thorough.
A successful response contains status, processing metadata, and one or more of match, suggestions, or pendingSuggestions. Return a suggestions result to the user for confirmation instead of silently choosing the first candidate.
The response header x-boxpressd-ai-credits-remaining contains the spendable balance after settlement. See AI and cigar matching for staged workflows and billing errors.