---
title: "Get the prompt template for a workspace"
method: GET
path: "/workspaces/{workspaceId}/prompt-template"
tags: ["Workspaces"]
---

# Get the prompt template for a workspace

`GET /workspaces/{workspaceId}/prompt-template`

## Path parameters

- `workspaceId` string, required

## Response `200`

response

- WorkspacePromptTemplateItem
  - `botName` string
  - `instructions` string
  - `examples` PromptExample[]
    - `question` string
    - `answer` string

---

[API](https://skmtc.net/aws-samples/apis/gaia-rest-api.md) · [All operations](https://skmtc.net/aws-samples/apis/gaia-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws-samples/gaia-rest-api/revisions/c61f71119116/schema)
