---
title: "Create context blob"
method: POST
path: "/api/v1/contexts"
---

# Create context blob

`POST /api/v1/contexts`

## Request

- Base URL: `https://toohardbasket.ai`
- URL: `https://toohardbasket.ai/api/v1/contexts`
- Auth: HTTP bearer

## Request body

- object
  - `body` string, required
  - `scope` 'item' | 'global' | 'custom'
  - `item_ids` string[]
  - `category_ids` string[]

## Response `200`

Success

- object
  - `data` unknown

## Other responses

- `400`: Error
- `401`: Error
- `403`: Error
- `404`: Error
- `429`: Error

---

[API](https://skmtc.dev/toohardbasket/apis/toohardbasket-ai-api.md) · [All operations](https://skmtc.dev/toohardbasket/apis/toohardbasket-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/toohardbasket/apis/toohardbasket-ai-api/revisions/8f59faf10235?raw)
