# Type Alias PromptTemplatePostRequest

PromptTemplatePostRequest: {
name: string;
scenario: string;
spec: PromptTemplateSpec;
version: string;
} & Record<string, any>

Representation of the 'PromptTemplatePostRequest' schema.

#### Type Declaration

- ##### name: string

  Max Length: 120. Pattern: "^[a-zA-Z0-9_-]+$".

- ##### scenario: string

  Max Length: 120. Pattern: "^[a-zA-Z0-9_-]+$".

- ##### spec: PromptTemplateSpec

- ##### version: string

  Max Length: 10. Pattern: "^[a-zA-Z0-9._-]+$".

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

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/prompt-template-post-request.d.ts:5