Create Connection

View as Markdown

Create a short-lived connection lease for a live runtime. Use this to mint credentials for a third-party client that needs to attach to the runtime.

Authentication

AuthorizationBearer

Use Bearer <api-key>.

Path parameters

idstringRequired
runtimeIdstringRequired

Request

This endpoint expects an object.
protocolenumRequired
Allowed values:
optionsmap from strings to anyOptional
ttlSecondsintegerOptional60-7200

Response

Default Response
closedAtdatetime or null
createdAtdatetime
endpointobject
expiresAtdatetime or null
idstringformat: "uuid"
protocolenum
revokedAtdatetime or null
runIdstringformat: "uuid"
runtimeIdstringformat: "uuid"
status"active"