Banks

Per-bank policy configuration.

GET
/ext/hindclaw/banks/{bank_id}/policy

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

bank_id*Bank Id

Response Body

application/json

application/json

curl -X GET "https://example.com/ext/hindclaw/banks/string/policy"
{  "bank_id": "string",  "document": {}}
DELETE
/ext/hindclaw/banks/{bank_id}/policy

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

bank_id*Bank Id

Response Body

application/json

curl -X DELETE "https://example.com/ext/hindclaw/banks/string/policy"
Empty
PUT
/ext/hindclaw/banks/{bank_id}/policy

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

bank_id*Bank Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request to create/update a bank policy.

Response Body

application/json

application/json

curl -X PUT "https://example.com/ext/hindclaw/banks/string/policy" \  -H "Content-Type: application/json" \  -d '{    "document": {}  }'
{  "bank_id": "string",  "document": {}}
POST
/ext/hindclaw/banks

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Body for POST /ext/hindclaw/banks.

Response Body

application/json

application/json

curl -X POST "https://example.com/ext/hindclaw/banks" \  -H "Content-Type: application/json" \  -d '{    "bank_id": "string",    "template": "string"  }'
{  "bank_id": "string",  "template": "string",  "bank_created": true,  "import_result": {    "bank_id": "string",    "config_applied": true,    "mental_models_created": [],    "mental_models_updated": [],    "directives_created": [],    "directives_updated": [],    "operation_ids": [],    "dry_run": false  }}