Reference

Limits and errors

The allowance

Each traveler has an allowance of 150 points, refilled gradually so that an empty allowance is full again after 10 minutes. Each tool call takes points according to the work it does upstream. The cost of each tool is in the tool reference and in the points field of tools.json. The costs, from free to the most expensive:

Call Points
Narrowing an earlier search, reading a watch list 0
Finding a hotel, airport or place by name 1
Hotel details, rates or reviews 2
A hotel or flight search 5
Chloe's deeper look at alternatives 8
A price comparison, a price match request, or one ticket against separate tickets 10
Hotels across nearby dates 20
Stopovers and nearby starting airports 25

A call the allowance cannot pay is refused with the text: "Too many requests in a short time. Tell the traveler to wait a few minutes and try again; do not retry now." A refused call is not charged. In a batch of several calls, the calls before the refused one are charged and the batch is refused as a whole.

The allowance is keyed to the traveler's account, not to a network address, and applies whichever assistant they use. Today each of Dyme's servers keeps its own count, so a traveler who reaches more than one server in ten minutes gets more than 150 points in total; a shared count is being built. The same is true of the caps below.

Other caps

What Cap
New price comparisons 30 per traveler per hour
Price match requests 5 per traveler per day
Call-back requests 5 per traveler per day
Change requests, all kinds together 5 per traveler per day
Cancellation requests 5 per traveler per day
Option emails to the traveler 5 per traveler per day

Timing

  • Searches take 4 to 12 seconds, most of it the supplier's search. Narrowing an earlier search is immediate.
  • A price comparison takes up to a minute. The tool waits up to 40 seconds for the result; if it is not in by then, it answers with a card that fills itself in.
  • Search results are kept for about 30 minutes, and a search can be re-run for 12 hours from its trip_id, so follow-up questions do not need a new search.

Errors

Situation What comes back
No or expired token HTTP 401 with WWW-Authenticate; the assistant signs in again
An argument the tool cannot use (for example an airline name where a code is needed) A tool result with isError: true and one sentence saying what to send instead
An upstream failure A tool result with isError: true and one sentence naming the step that failed and the HTTP status ("Hotel search error: Dyme did not answer properly just now (HTTP 502)"); a 4xx carries the upstream message
Too many price comparisons in an hour A tool result with isError: true saying so; no charge
A filter that matches nothing A normal result saying so, and how many the search found before the filter