GET with body payload — no resources created.
func (
r *SandboxCommandHistoryService) Query(ctx context.Context,
sandboxID string,
body SandboxCommandHistoryQueryParams,
opts ...option.RequestOption) (res *SandboxCommandHistoryQueryResponse,
err error
)GET with body payload — no resources created. Returns the commands matching the query passed as the request payload: retained Execute API commands, newest first. Beta: these log reads may change in incompatible ways before general availability. A cursor continues the first page's listing; even a short or empty page may return next_cursor. Continue until next_cursor is null. cursor and since are mutually exclusive. Every response carries a tail_cursor; a request with since set to it returns the commands that started or changed since, with tail_overflow when more changed than page_size; reload the first page when tail_overflow is true. History remains readable while the sandbox is stopped. Access requires the sandbox creator or sandboxes:exec. Capture and retention may be incomplete; UNKNOWN status has no known exit result.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
sandboxID* | string | |
body* | SandboxCommandHistoryQueryParams | |
opts* | ...option.RequestOption |