# Type Alias TemplateRefByID

Representation of the 'TemplateRefByID' schema.

type TemplateRefByID = {
id: string;
scope?: "resource_group" | "tenant";
}

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/template-ref-by-id.d.ts:4

##### Index

### Properties

id
scope?

## Properties

### id

id: string

ID of the template in prompt registry

#### Example

    "template_id"

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/template-ref-by-id.d.ts:9

### `Optional` scope

scope?: "resource_group" | "tenant"

Defines the scope that is searched for the referenced template. 'tenant' indicates the template is shared across all resource groups within the tenant, while 'resource_group' indicates the template is only accessible within the specific resource group.

Default: "tenant".

Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/template-ref-by-id.d.ts:15