Streams

Delete stream result cache

Clears cached search results for a stream. Optionally specify a timestamp to retain cache from that point forward and delete older cache

delete/api/{org_id}/streams/{stream_name}/cache/results

Request

Path parameters

org_idstring required

Organization name

stream_namestring required

Stream name

Query parameters

typestring

Stream type. one of: logs, metrics, traces. Defaults to logs.

tsinteger

Timestamp in microseconds. If provided, must be > 0. Cache from this timestamp onwards will be retained, older cache will be deleted.

Response

Success

codeinteger required
error_detailstring nullable
hintstring nullable

One-line guidance on how to fix the error (agent self-correction, D4).

idstring nullable
messagestring required
namestring nullable
suggestionsstring[] nullable

Closest valid alternatives for a mistyped field/function name.

trace_idstring nullable
warningsstring[] nullable

Problems with a request that succeeded anyway. Distinct from hint, which explains a failure: these accompany a 200, and the caller is entitled to have meant it.

Changes

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