Query History

Star or unstar a query history entry

Starred entries are kept until deleted. A user can star at most 200 entries per organization, shared across every source (logs, traces, metrics, dbm, profiles).

patch/api/{org_id}/query_history/{id}

Request

Path parameters

org_idstring required

Organization name

idstring required

Entry id

Request body

starredboolean required

true stars the entry, false unstars it.

Response

Success

contextunknown required
created_atinteger required

First run, in microseconds since the epoch; the last run on entries recorded by v1.1.x.

idstring required

Entry id.

querystring required

The query text.

query_keystring nullable

Hex sha256 of the merge key; null on entries recorded before keys existed.

run_countinteger required

How many runs merged into this entry; 1 on entries recorded by v1.1.x.

sourcestring required

Page the query ran on.

starredboolean required

Starred entries are kept until deleted.

statusstring required

ok or error, from the latest run; ok on entries recorded by v1.1.x.

streamsstring[] required

Streams the query ran on.

updated_atinteger required

Latest run, in microseconds since the epoch.

Changes

No recorded changes to this operation across all 1 revision of this API.