ResourceEditingEmbedRequest

Mints an embed token for <ss-resource-editor> — let a user edit a primitive (template, blueprint, etc.) inside your app. Token scopes: resource:read, resource:update, scenario:read, scenario:update, file:read, file:upload, ai-chat:use. Default TTL: 8 h. Max TTL: 8 h.

  • intent
    enum
    const:  
    resource_editing
    required
    values
    • resource_editing
  • resourceKey
    Type: string
    required
  • resourceKind
    Type: string
    required

    The primitive kind: blueprint, template, schema, asset, or jsonataFunction.

  • allowedOrigins
    Type: array string[]
  • context
    Type: object

    Optional context attached to an embed token — typically the recipient's identity for participant-bound flows.

    • recipientEmail
      Type: stringFormat: email
      required
    • metadata
      Type: object

      Free-form caller-supplied metadata.

    • recipientName
      Type: string
  • expiresIn
    Type: integer

    Token lifetime in seconds. Defaults to 28800 (8 h); capped at 28800.

  • resourceVersion
    Type: string

    Specific version to pin. Omit to default to the most recent.