Create a short-lived JWT for accessing an HTTP service running on a specific.
func (
r *SandboxBoxService) GenerateServiceURL(ctx context.Context,
name string,
body SandboxBoxGenerateServiceURLParams,
opts ...option.RequestOption) (res *SandboxBoxGenerateServiceURLResponse,
err error
)Create a short-lived JWT for accessing an HTTP service running on a specific port inside a sandbox. Returns a browser_url (sets auth cookie via redirect), a service_url (for use with the X-Langsmith-Sandbox-Service-Token header), the raw token, and its expiry.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
name* | string | |
body* | SandboxBoxGenerateServiceURLParams | |
opts* | ...option.RequestOption |