TigerBeetle
Execute Tiger Beetle Operation
Path Parameters
databaseId*string
operation*string
Value in
"create_accounts" | "create_transfers" | "lookup_accounts" | "lookup_transfers" | "get_account_transfers" | "get_account_balances" | "query_accounts" | "query_transfers"Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:5173/api/v1/databases/string/tb/create_accounts" \ -H "Content-Type: application/json" \ -d '[ { "id": "string", "ledger": "string", "code": "string" } ]'{ "clusterId": "string", "databaseId": "string", "databaseName": "string", "docsUrl": "string", "message": "string", "mode": "string", "operation": "string", "operationLabel": "string", "persisted": true, "provider": "string", "replicaCount": 0, "requestPayload": null, "responsePayload": null, "targetHost": "string"}{ "type": "about:blank", "title": "Not Found", "status": 404, "detail": "The requested file was not found", "instance": "/api/v1/files/123", "errors": [ "string" ], "fieldErrors": { "property1": [ "string" ], "property2": [ "string" ] }}{ "type": "about:blank", "title": "Not Found", "status": 404, "detail": "The requested file was not found", "instance": "/api/v1/files/123", "errors": [ "string" ], "fieldErrors": { "property1": [ "string" ], "property2": [ "string" ] }}{ "type": "about:blank", "title": "Not Found", "status": 404, "detail": "The requested file was not found", "instance": "/api/v1/files/123", "errors": [ "string" ], "fieldErrors": { "property1": [ "string" ], "property2": [ "string" ] }}{ "type": "about:blank", "title": "Not Found", "status": 404, "detail": "The requested file was not found", "instance": "/api/v1/files/123", "errors": [ "string" ], "fieldErrors": { "property1": [ "string" ], "property2": [ "string" ] }, "tbResults": [ { "index": 0, "result": 0 } ]}{ "type": "about:blank", "title": "Not Found", "status": 404, "detail": "The requested file was not found", "instance": "/api/v1/files/123", "errors": [ "string" ], "fieldErrors": { "property1": [ "string" ], "property2": [ "string" ] }}