---
id: get-agent-stats
title: "Get statistics for memory bank"
description: "Get statistics about nodes and links for a specific agent"
sidebar_label: "Get statistics for memory bank"
hide_title: true
hide_table_of_contents: true
api: eJylVE1v2zAM/SsCTxugxWmwk2/dFnQB2q1Yu12CoGBsxlZjS65EpwsM/fdBsvPVrAWGneLw8/HxiR3k5DKrGlZGQwpXxMIxsnKsMidwaVoW2uTkBOpcVEqvnVgZK1C4hjK1UpnAgjSDBNOQxVBnlkMKBfFD9DyEeg4kNGixJibrIJ13oLEmSGGJev2gcpCgAoAGuQQJlp5aZSmHlG1LElxWUo2QdsDbJqQ5tkoXIIEVV8HwCfVazHLwfhHSXWO0IxcyJuNx+Dkd9K7NMnJu1VbixxAMEjKjOQyTdoBNU6kszpM8upDTHVB4772Ej5PJeeFfWKk8pomptcb+Q1VobOCQVY87J0ZVhS/FVLvzgMpkJ17U2++ryO0pSV7uLUozFWTBL7zc2dBa3B4xeW16gOAl1K54i/Qbcg4Lgn2x10MjGeI+eP2ht1k+UsYnC5/HufrWQ9ziUOZAb8/u62N86en7W7NdyNf7+9uzgv1ua+LSDDqO2uUSUkg2F0lOK2wrToJwXdIN+vXJTuZKr0wkYtdE6dypomQR2onL2xnIF5rZOeLL2scPysEsKmd4LjdUG7sVd1vHVIfpK5VREO8h5LLBrCQxGY1BQmsrSKFkblyaJM/PzyOM7pGxRTLkuuR69nn67W76YTIaj0quq1B4Q9b18C5G49E4mBrjuEZ91OvFvQj46x5h4OXloN3hKfzXpRn2yfSbk6ZCFaUaJ+2GTc1hcxG7x12BjGcmbCc93Jt+YQsJpXEcUrpuiY5+2sr7YH5qyW4hnS8kbNAqXIZ1zjvIlQvfOaQrrBy9MeO7H4Oq34vXUO/Eq4N0N1i14R9IWNP26DjG51oS5mQjhN57mWXU8FHe2XUJt3Cv5KvpPXj/B5zBBYM=
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 statistics for memory bank"}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/v1/default/banks/{bank_id}/stats"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Get statistics about nodes and links for a specific agent

<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":{}}}},"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>


      