---
title: "Fetch a bot"
method: GET
path: "/bot/{botId}/fetch"
tags: ["Bot"]
---

# Fetch a bot

`GET /bot/{botId}/fetch`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/bot/{botId}/fetch`
- Auth: HTTP bearer

## Path parameters

- `botId` string, required: The ID of the bot to retrieve

## Response `200`

The bot was retrieved successfully

- object: Blueprint properties
  - `alias` string, nullable: The unique alias for the instance
  - `name` string: The associated name
  - `description` string: The associated description
  - `meta` Meta: Meta data information
  - `id` string, required: The instance ID
  - `createdAt` number, required: The timestamp (ms) when the instance was created
  - `updatedAt` number, required: The timestamp (ms) when the instance was updated
  - `model` string: A model definition
  - `backstory` string, nullable: The backstory this configuration is using
  - `datasetId` string, nullable: The id of the dataset this configuration is using
  - `skillsetId` string, nullable: The id of the skillset this configuration is using
  - `privacy` boolean: The privacy flag for this configuration
  - `moderation` boolean: The moderation flag for this configuration
  - `blueprintId` string, nullable: The ID of the blueprint
  - `visibility` 'private' | 'protected' | 'public': The bot visibility

## Other responses

- `default`: An error response

---

[API](https://skmtc.dev/chatbotkit/apis/cbk-api.md) · [All operations](https://skmtc.dev/chatbotkit/apis/cbk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatbotkit/apis/cbk-api/revisions/13d250576136?raw)
