Ruby
Standard-library-only gem for Ruby 3+.
Install
Send a message
Stream the reply
Pagination
Identity tokens
Sign a token on your server so the widget or app knows who the user is — see Identity verification.
Errors and retries
Every SDK retries 429 responses (honouring Retry-After) and — for GET, PUT, DELETE — transient 5xx and network errors, twice by default with exponential back-off. POST is never retried on a server error.