# Get a context

`GET /contexts/{slug}`

:::code-group
```bash title="cURL"
curl --request GET \
  --url https://{host}/api/contexts/{slug} \
  --header 'Authorization: Bearer <token>'
```

```json title="200"
{
  "id": "<string>",
  "slug": "<string>",
  "name": "<string>",
  "kind": "<string>",
  "workspace": "<string>",
  "created_by": "<string>",
  "description": "<string>",
  "guide": "<string>",
  "manifest": {
    "curate": {
      "chunks": null,
      "artifacts": null
    },
    "optimize": {
      "schedule": "<string>",
      "latency_threshold_ms": 123,
      "min_group_size": 123,
      "eval_pass_rate_threshold": 123,
      "max_iterations": 123
    },
    "search": {
      "instructions": "<string>"
    }
  },
  "semantic_index": "<string>",
  "keyword_index": "<string>",
  "is_optimizing": true,
  "optimize_task_id": "<string>",
  "optimize_score": 123,
  "optimize_iterations": 123,
  "last_optimized_at": "<string>",
  "last_curated_at": "<string>",
  "has_sources": true,
  "last_source_import_at": "<string>",
  "is_curating": true,
  "curate_task_id": "<string>",
  "is_importing": true,
  "import_task_id": "<string>",
  "is_exploring": true
}
```
:::

## Authorizations

- `Authorization` (header, string, required) — Bearer authentication header of the form `Bearer <token>`.

## Path Parameters

- `slug` (path, string, required) — Context slug or UUID.

## Headers

- `X-Pinecone-Api-Version` (header, string) — Date-based contract version, echoed back on the same header. Omit for the default (`2026-07`); send `unstable` for the in-development surface. An unrecognized value is rejected with `400 unsupported_api_version`.

## Response

- `200` — The context
- `404` — Not found

## Related pages

- [List contexts (newest first, with stats)](./data-plane-contexts-list-contexts-newest-first-with-stats.md)
- [Create a context](./data-plane-contexts-create-a-context.md)
- [Update a context](./data-plane-contexts-update-a-context.md)
- [Delete a context (and its Pinecone indexes)](./data-plane-contexts-delete-a-context-and-its-pinecone-indexes.md)
- [Per-context task statistics](./data-plane-contexts-per-context-task-statistics.md)
- [Trigger an on-demand self-tuning optimize](./data-plane-contexts-trigger-an-on-demand-self-tuning-optimize.md)
- [Run the Design-flow explore agent (propose a manifest)](./data-plane-contexts-run-the-design-flow-explore-agent-propose-a-manifest.md)
- [Estimate the token + time cost of curating the in-progress manifest](./data-plane-contexts-estimate-the-token-time-cost-of-curating-the-in-progress-manifest.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
