---
title: "Get Context"
method: GET
path: "/api/v1/contexts/{context_id}"
tags: ["contexts"]
---

# Get Context

`GET /api/v1/contexts/{context_id}`

## Path parameters

- `context_id` string, uuid, required

## Response `200`

Successful Response

- AgentstackServerApiSchemaCommonEntityModelClassGetitemLocalsModelOutput13
  - `id` string, uuid, required
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `last_active_at` string, date-time
  - `created_by` string, uuid, required
  - `provider_id` string, uuid, nullable
  - `metadata` object, nullable — Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/i-am-bee/apis/agentstack-server.md) · [All operations](https://skmtc.net/i-am-bee/apis/agentstack-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/i-am-bee/agentstack-server/revisions/7d68b3f8bf7f/schema)
