fleet-memory/hindsight-docs/docs/api-reference/endpoints/list-banks.api.mdx
2025-12-09 10:02:14 +01:00

63 lines
No EOL
4 KiB
Text

---
id: list-banks
title: "List all memory banks"
description: "Get a list of all agents with their profiles"
sidebar_label: "List all memory banks"
hide_title: true
hide_table_of_contents: true
api: eJylVttu20YQ/ZXFPDUALVFy3AcCeXBTIxbgpkGtvFQwjBU5EjfeC7M7lCwI/PdilpQoykZz04uInduZ2TOH3EOBIfeqIuUsZPABSUihVSDhVkJqLeQaLQWxVVQKKlF5UXm3UhoDJOAq9JJDZwVkwGGPS2mf2OQxVM4GDJDtYZqm/DesdV/nOYawqrX4p3OGBHJnCS2xu6wqrfKYf/wlcMweQl6ikfxUea5Oqq3Qls32oAhNeN3+qAp+pF2FkEEgr+waEiBFmg/+kPZJzApoErDS4P+5fmR7k0ChQuWCahs6LxmesCKVq2BOUilLuEYPCRj5rExtILtKwCjbPk/6Gvd9eHI2uVu3FV12qcUmCPJ1IGXX4rfJu8NzIq7eHZ3eMFqtCL3UPwvorg9/DVCXXe8EOcFZfeWRhLIr5028REa30vislhoZXRcRsaGpJJW7nwJ208W+hsrUecmAcmeDKtALNI7NUovItGdiVAWSzEssGFWLBEnlb6BpkgMct/yCOUVif62VxwKyxekVD8bb9/PQw/yzJ8vcS0XhBeATD0HRRVAp4wx1jTZHUXJLaJxXGIT0KHi4WAhpi37mWIwYwbM0lY40Pg73ckiCy2RA0ktudynzp7V3tf3Grhy9mgRyj5KweJTt2trd3yvIFufRTXI8sbXW0JzM5n2bQVwT56ur4hfzfW4zxHzfuMODMnRbP1zqwTwehlpxpwLNCF9uQxSSqKEsRq10dqIpQm2M9LsR9Kik93J3pkPhu2CH1yCdaOkQ1sEgjCtQM3MiSJYNFvqY8Iw4naou9gNawExII6QIbkVbJiHatbIYd/Wos1AH9JPpJQzpAdN0+vYinVxMruaTNLtMszT9F14o6Xcz9qDVcK1Vzj2fcqcv9vt88jabtsWahyb+EjBIpWOsa+TxcknIYLyZjAtcyVrT+PA2YxWL+9AN+1bZIqh1SeJ2Pv8krj/NXqpPZ4iDPvp3bziZR2p32P/ijd6J+11gOkWlzpGvsHe5rligxHSUco9eQwYlURWy8Xi73Y5kNI+cX4+72DC+m72/+Xh/czEdpaOSjObEG/ShhTcZpaOUjyoXyEh7UotZFClhWlyHIQz62/dv6h/9auhozeI7rrRUNu4897Tv7mABm0ksGG+ho1Vke+kCsX2/X8qAn71uGj7+WqPfQbZ4SGAjvZJLvqXFQ5NAibJAHzn8hDueZJ5jxTk3Utdx/84/M1hIjtT4cDOHpvkPDiMe0Q==
sidebar_class_name: "get api-method"
info_path: docs/api-reference/endpoints/hindsight-http-api
custom_edit_url: null
---
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"List all memory banks"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/v1/default/banks"}
context={"endpoint"}
>
</MethodEndpoint>
Get a list of all agents with their profiles
<ParamsDetails
parameters={undefined}
>
</ParamsDetails>
<RequestSchema
title={"Body"}
body={undefined}
>
</RequestSchema>
<StatusCodes
id={undefined}
label={undefined}
responses={{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"banks":{"items":{"properties":{"bank_id":{"type":"string","title":"Bank Id"},"name":{"type":"string","title":"Name"},"disposition":{"properties":{"skepticism":{"type":"integer","maximum":5,"minimum":1,"title":"Skepticism","description":"How skeptical vs trusting (1=trusting, 5=skeptical)"},"literalism":{"type":"integer","maximum":5,"minimum":1,"title":"Literalism","description":"How literally to interpret information (1=flexible, 5=literal)"},"empathy":{"type":"integer","maximum":5,"minimum":1,"title":"Empathy","description":"How much to consider emotional context (1=detached, 5=empathetic)"}},"type":"object","required":["skepticism","literalism","empathy"],"title":"DispositionTraits","description":"Disposition traits that influence how memories are formed and interpreted.","example":{"empathy":3,"literalism":3,"skepticism":3}},"background":{"type":"string","title":"Background"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["bank_id","name","disposition","background"],"title":"BankListItem","description":"Bank list item with profile summary."},"type":"array","title":"Banks"}},"type":"object","required":["banks"],"title":"BankListResponse","description":"Response model for listing all banks.","example":{"banks":[{"background":"I am a software engineer","bank_id":"user123","created_at":"2024-01-15T10:30:00Z","disposition":{"empathy":3,"literalism":3,"skepticism":3},"name":"Alice","updated_at":"2024-01-16T14:20:00Z"}]}}}}}}}
>
</StatusCodes>