선적 서류 비치

TypeScript runtime context

Read scoped runtime context for org, workspace, environment, and request identity.

베타 업데이트됨 2026-06-11 원시 마크다운
문서 내용은 현재 영어로 게시되어 있습니다. 번역이 준비되는 동안 한국어 문서 경로를 탐색할 수 있습니다.
문서 트리

Runtime context tells app code which organization, workspace, environment, and request scope it is handling.

Read context

import { getContext } from '@app-builder-platform/relpin-sdk/runtime'

const context = getContext()

The context can include:

  • env
  • orgId
  • workspaceId
  • capsuleId
  • deploymentId
  • requestId
  • containerMode

Prefer request scope

For request handlers, pass or resolve context per request. Avoid relying on process-wide assumptions when the route can receive multiple tenants or environments over time.

Environment fallback

The SDK can read scoped values from environment bindings when no request context is available. That is a fallback for controlled runtime wrappers, not a browser contract.