Find the operation
--path-contains /jobs to narrow the list, or --fields operation_id,method,path,request_body_required for a compact view. --limit and --offset slice the fetched records locally. Choose the exact operation_id from your deployment and inspect it before calling it. The following example uses get_job. Use that operation ID only if discovery returns it for your service; otherwise, substitute the operation ID and parameters shown by your service.
method, path, parameters with their in and required fields, and request_body_required. The example below assumes a job read with a job_id path parameter and a required org_id query parameter.
Resolve, then call
Replacejob-example with a job ID obtained from your project. Supply every required path and query parameter. Organization/project parameters can be filled from effective CLI context when the operation defines them.
--dry-run still fetches the schema. Once the request is correct, perform the read:
--body accepts a JSON string or @request.json; inspect the deployed schema for its required structure first. Missing required parameters or required bodies produce an error before the target request is sent.
Optional machine-readable request preview
Optional machine-readable request preview
Add global Example output:
--json when you need to capture or parse the preview:Keep the two query options distinct
api, global --query status selects a field from the response. After call, command-local --query name=value adds an HTTP query parameter; use this to supply HTTP query values explicitly. Organization and project values can otherwise come from saved context when the operation defines them. The output selector supports field paths and list indices, not JMESPath filters or expressions. Only select status after verifying that field exists in the full response.
If discovery finds no match, broaden the path filter and inspect the available operation IDs. If a write times out, inspect server state before retrying; request previews do not make writes idempotent. See the command reference, SDK overview, and SDK errors.