A subclass of Promise providing additional helper methods
for interacting with the SDK.
class APIPromisePromise<T>Gets the raw Response instance instead of parsing the response
data.
If you want to parse the response body but still get the Response
instance, you can use ().
👋 Getting the wrong TypeScript type for Response?
Try setting "moduleResolution": "NodeNext" or add "lib": ["DOM"]
to your tsconfig.json.
Attaches a callback for only the rejection of the Promise.
Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The resolved value cannot be modified from the callback.
Attaches callbacks for the resolution and/or rejection of the Promise.
Gets the parsed response data and the raw Response instance.
If you just want to get the raw Response instance without parsing it,
you can use ().
👋 Getting the wrong TypeScript type for Response?
Try setting "moduleResolution": "NodeNext" or add "lib": ["DOM"]
to your tsconfig.json.
Beta: This endpoint is in active development and may change without notice.
Returns the tracing project (session) an address names. An address is an AGENT
(id and environment), an EXPERIMENT (id), or an EVALUATOR (no id:
evaluator traces share one project per workspace). Send kind and environment
in upper case, as listed; they are matched case-insensitively, while the Agent
id is case-sensitive. An address that does not exist, or whose project you
cannot read, is a 404. Pass the returned session_id to any endpoint that takes
a project (session) ID. This is not supported on a BYOC data plane yet, and is a
501 there.