Egress policy

Effective egress policy of a workspace and its enforcement state

effective = workspace override > project policy > platform default (allow_all). enforcement.state is not_enforced until the cell/host acknowledges the current effective policy for the workspace’s current ownership epoch, then pending | enforced | failed. version (ETag) is the override history version for If-Match. template_egress: the template version’s egress ceiling (, null = none); effective_policy: what the host enforces, effective intersected with that ceiling.

get/v1/workspaces/{workspace_id}/egress-policy

Request

  • Base URL: https://api.shardflux.dev
  • URL: https://api.shardflux.dev/v1/workspaces/{workspace_id}/egress-policy
  • Auth: HTTP bearer

Path parameters

workspace_idstring uuid required

UUIDv7, lowercase canonical form.

Response

Default Response

organization_idstring uuid required

UUIDv7, lowercase canonical form.

project_idstring uuid required

UUIDv7, lowercase canonical form.

workspace_idstring uuid required

UUIDv7, lowercase canonical form.

versioninteger required

Current version number of the workspace override history (0 = none); send as If-Match.

Changes

No recorded changes to this operation across all 1 revision of this API.