src search-jobs get
src search-jobs get
is a tool that gets details of a single search job on a Sourcegraph instance.
Usage
BASHUsage of 'src search-jobs get': -c string Comma-separated list of columns to display. Available: id,query,state,username,createdat,startedat,finishedat,url,logurl,total,completed,failed,inprogress (default "id,username,state,query") -dump-requests Log GraphQL requests and responses to stdout -get-curl Print the curl command for executing this query and exit (WARNING: includes printing your access token!) -insecure-skip-verify Skip validation of TLS certificates against trusted chains -json Output results as JSON for programmatic access -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing -user-agent-telemetry Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: Get a search job by ID: $ src search-jobs get U2VhcmNoSm9iOjY5 Get a search job with specific columns: $ src search-jobs get U2VhcmNoSm9iOjY5 -c id,state,username Get a search job in JSON format: $ src search-jobs get U2VhcmNoSm9iOjY5 -json Available columns are: id, query, state, username, createdat, startedat, finishedat, url, logurl, total, completed, failed, inprogress