> ## Documentation Index
> Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# PromptTemplate

***

# Type Alias: PromptTemplate

```ts theme={null}
type PromptTemplate = object;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

BasePromptTemplateResponse

Response from API to get a prompt template version.

## Properties

### allAvailableVersions

```ts theme={null}
allAvailableVersions: number[];
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

All Available Versions

***

### allVersions?

```ts theme={null}
optional allVersions: PromptTemplateVersion[];
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

All Versions

***

### createdAt

```ts theme={null}
createdAt: string;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Created At

***

### createdByUser

```ts theme={null}
createdByUser: UserInfo | null;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

***

### id

```ts theme={null}
id: string;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Id

***

### maxVersion

```ts theme={null}
maxVersion: number;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Max Version

***

### name

```ts theme={null}
name: string | Name;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Name

***

### permissions?

```ts theme={null}
optional permissions: Permission[];
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Permissions

***

### selectedVersion

```ts theme={null}
selectedVersion: PromptTemplateVersion;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

***

### selectedVersionId

```ts theme={null}
selectedVersionId: string;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Selected Version Id

***

### template

```ts theme={null}
template: string;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Template

***

### totalVersions

```ts theme={null}
totalVersions: number;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Total Versions

***

### updatedAt

```ts theme={null}
updatedAt: string;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Updated At
