---
title: "Fetch a user context"
method: GET
path: "/user/{userId}/context/{contextId}/fetch"
tags: ["User"]
---

# Fetch a user context

`GET /user/{userId}/context/{contextId}/fetch`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/user/{userId}/context/{contextId}/fetch`
- Auth: HTTP bearer

## Path parameters

- `userId` string, required: The ID of the user
- `contextId` string, required: The ID of the context to retrieve

## Response `200`

The context was retrieved successfully

- object: Instance list properties
  - `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
  - `blueprintId` string
  - `botId` string
  - `datasetId` string
  - `skillsetId` string
  - `contactId` string
  - `payload` object

## 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)
