Skip to main content

Usage

Search runnable Endpoints. Omit the query to browse the Endpoints available to your Key. Results are paginated. Every search needs --use-case, including a browse or a request for the next page.

Arguments and flags

Use --query=<query> or place the query after -- so the CLI does not read it as a flag:
Use next_cursor from the response for the next page. Keep the same query and pass the same task_id with --task. For another query about the same work, omit --cursor and keep --task.
Pass that Task to related inspect and run commands too. See keeping calls in one Task. See CLI conventions for global flags, JSON mode, exit codes, and environment variables.