71 lines
No EOL
4.6 KiB
Text
71 lines
No EOL
4.6 KiB
Text
---
|
|
id: get-bank-profile
|
|
title: "Get memory bank profile"
|
|
description: "Get disposition traits and background for a memory bank. Auto-creates agent with defaults if not exists."
|
|
sidebar_label: "Get memory bank profile"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJy9Vk1v2zgQ/SvEnBpA9Ve2FwE9ZJugDZB2gya7l8AoaGlsseGHSo78AUP/fTGUbEl1khY5NJfI4gznzeObR+0hx5B5VZJyFlL4iCRyFUoXFL8R5KWiIKTNxUJmjyvvKpuLpfNCCoPG+Z1YSPs4EhcVubeZR0kYhFyhJbFRVIgcl7LSFIRaCutI4FYFCiNIwJXoJRe5ziGFFdI33ulb6d1SaYQESumlQUIfIH3Yg5UGIYUYpHJIQDHgUlIBCXj8USmPOaTkK0wgZAUaCekeaFdyWiCv7AoSIEWaX/wt7aO4zqGu55weSmcDBs6YTSb8b0jMXZVlGMKy0uJrGwwJZM4SWuJwWZZaZbGh8ffAOfseitJzu6SaCocefgde0jb+fOgXXq8T6J3bacnwiCWpTAXT20pZwhV6SMDIrTKVgfRdAkbZ5nna1bjr0pOfmPnkNqLdXWqxDoJ8FUjZlXgzfX94TsS798egM0arFaGX+rWAbrr0pwC1u+udICd4V196JKHs0nkTD4nRLTVu1UIjo2szIjY0LKvdq4BdtblPoTJVVjCgzNmgcvQCjeNlqUVU0pYYVY4kswJzRtUgQVLZGdR1coDjFt8xo4HuH/pHPKC362fewbzsxHIfZ/wE8OWpDVAhI4e6QpuhKLglNgHFM++RfcFgHt3iyDnmPOy4labUUcZHcs+HIjhPBiI953Y7z3l5Vo5Rv+Koc484VcOhGdSbD2fxtrGl3uwP2TosCONy1NEhuZZo7ewnDvp9wbWQRkgR3JI2zCLalbKIvjHQ6UTsUPog3FLgtkSvIvfKikDSU1WGiLs1FKgC+unsHE7s4LdpPxgOXGiVIdT8l8Bfs9mpKf4ntcqbabry3vnXOyJrXml+UoQmnAZolw1Wpd39s4z3wlAVdXIys/W8E4X0Xu560rlxDUCeehNWL6nsM4YgV9Fpm5DnQyMZ4p5XfyVI7qsp3cb1dNfR27D7fBuXDX1PFTuEfLq/vz3ZsDlbg1S49hKO9y4VkMJ4PR23t/eY9RXG+1Zm9bi7pNlRIxWHMsrmQa0KElxQXNxenzphuxCH5BjfakdmUTutBD83nxh3u0BomlsjQx6/LuSiZLMUs9EEEqi8hhQKojKk4/FmsxnJuDxyfjVuc8P45vrD1Ze7q7ez0WRUkNG88Rp9aOBNR5PRhF+VLpCRtleLv456Xz2io2HQ4b6bgj/5QdWePF8j41JLFUUdGdm3Z/oA62kEG7dofYP9I+188dDTPIHCBeKk/X4hA/7rdV3z6x8V+h2kD/ME1tIrueCDf9iz4fBzDulS6oAvkPLmazsBZ+I53AehW5b5WuqKf0ECj7jrfQTG0S5Q5ugjhGb1IsuwpF7eiRPxN99R9R+v7qGu/wfoX8zO
|
|
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={"Get memory bank profile"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"get"}
|
|
path={"/v1/default/banks/{bank_id}/profile"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Get disposition traits and background for a memory bank. Auto-creates agent with defaults if not exists.
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
children={"Request"}
|
|
>
|
|
</Heading>
|
|
|
|
<ParamsDetails
|
|
parameters={[{"name":"bank_id","in":"path","required":true,"schema":{"type":"string","title":"Bank Id"}}]}
|
|
>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
title={"Body"}
|
|
body={undefined}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
id={undefined}
|
|
label={undefined}
|
|
responses={{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"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"}},"type":"object","required":["bank_id","name","disposition","background"],"title":"BankProfileResponse","description":"Response model for bank profile.","example":{"background":"I am a software engineer with 10 years of experience in startups","bank_id":"user123","disposition":{"empathy":3,"literalism":3,"skepticism":3},"name":"Alice"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}}
|
|
>
|
|
|
|
</StatusCodes>
|
|
|
|
|
|
|