Skip to content

Add/merge memory bank background (deprecated)

POST /v1/default/banks/{bank_id}/background

Deprecated: Use PUT /mission instead. This endpoint now updates the mission field.

Authentication required — include an Authorization: Bearer hsk_... header. See Authentication for details.

Path Parameters

NameTypeRequiredDescription
bank_idstringYes

Request Body

Content-Type: application/json

json
{
  "content": "I was born in Texas",
  "update_disposition": true
}

Example Request

bash
curl -X POST 'https://api.hindsight.vectorize.io/v1/default/banks/your-bank-id/background' \
  -H 'Authorization: Bearer hsk_your_api_key' \
  -H 'Content-Type: application/json' \
  -d '{
    "content": "I was born in Texas",
    "update_disposition": true
  }'

Responses

200 — Successful Response

json
{
  "mission": "I was born in Texas. I am a software engineer with 10 years of experience."
}

422 — Validation Error

json
{
  "detail": [
    {
      "loc": [
        null
      ],
      "msg": "Message",
      "type": "Error Type",
      "input": null,
      "ctx": {},
      "url": "URL"
    }
  ]
}

Source: /v1/default/banks/{bank_id}/background