Skip to main content

Usage

Run an endpoint and pay for that one call. The idempotency key is generated and shown when omitted — retry an ambiguous failure with the same key and you get the original Run back instead of a second charge.

Flags

Wait for a result

Without --wait, an asynchronous Endpoint can return a QUEUED or RUNNING Run. Use --wait to poll for a terminal status. --wait-timeout must be a positive integer in seconds and defaults to 300. A wait timeout exits with code 1; it does not stop the Run. Resume waiting with glasser runs get -r <runId> --wait. Check status, provider_response.http_status, and charge_usd separately. Pass --task to keep the Run with its search and inspection. See keeping calls in one Task. See CLI conventions for global flags, JSON mode, exit codes, and environment variables.