Export bank template
GET/v1/default/banks/{bank_id}/exportExport a bank's current configuration, mental models, and directives as a template manifest. The exported manifest can be imported into another bank to replicate the setup.
Authentication required — include an
Authorization: Bearer hsk_...header. See Authentication for details.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
bank_id | string | Yes |
Example Request
bash
curl -X GET 'https://api.hindsight.vectorize.io/v1/default/banks/your-bank-id/export' \
-H 'Authorization: Bearer hsk_your_api_key'Responses
200 — Successful Response
json
{
"bank": {
"disposition_empathy": 5,
"enable_observations": true,
"reflect_mission": "You are helping a support agent remember customer interactions.",
"retain_mission": "Extract customer issues, resolutions, and sentiment."
},
"directives": [
{
"content": "Always respond with empathy and understanding.",
"name": "Always be empathetic",
"priority": 10
}
],
"mental_models": [
{
"id": "sentiment-overview",
"name": "Customer Sentiment Overview",
"source_query": "What is the overall sentiment trend?",
"trigger": {
"refresh_after_consolidation": true
}
}
],
"version": "1"
}422 — Validation Error
json
{
"detail": [
{
"loc": [
null
],
"msg": "Message",
"type": "Error Type",
"input": null,
"ctx": {},
"url": "URL"
}
]
}