---
title: "Fetch Chatbot Prompt"
method: GET
path: "/v0/chatbots/{chatbotId}/settings/prompts/{promptId}"
tags: ["Chatbot Prompts"]
---

# Fetch Chatbot Prompt

`GET /v0/chatbots/{chatbotId}/settings/prompts/{promptId}`

## Request

- Base URL: `https://sitegpt.ai/api`
- URL: `https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/prompts/{promptId}`
- Auth: HTTP bearer

Fetch a prompt of the chatbot

## Response `200`

OK

- object: Success Response
  - `success` boolean: Indicates whether this is success response or error response
  - `message` string: Overall message regarding the operation performed
  - `data` object: Data returned from the server
    - `prompt` ChatbotPrompt: Chatbot Prompt
      - `id` string: Id of the prompt
      - `title` string: Title of the prompt
      - `description` string: Short description of the prompt
      - `instructions` string: Actual instructions of the prompt. These will be sent to Open AI.
      - `temperature` number: Decides creativity level of the chatbot response. 0 is more focused and 1 is more creative/random.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `405`: Method Not Allowed
- `500`: Internal Server Error

---

[API](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection.md) · [All operations](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection/llms.txt) · [OpenAPI document](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection/revisions/aec0de1a00af?raw)
