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

71 lines
No EOL
2.9 KiB
Text

---
id: list-operations
title: "List async operations"
description: "Get a list of all async operations (pending and failed) for a specific agent, including error messages for failed operations"
sidebar_label: "List async operations"
hide_title: true
hide_table_of_contents: true
api: eJzFVE1v2zAM/SsCTyugxWmwk2/dFnQB2q1ou12CoGBk2lYry6okpzMM//dBsvPVrAV22sky+fihp0d2kJETVhovaw0pXJJnyJR0ntU5Q6UYulYLVhuyGDCOfTCkM6kLhjpjOUpF2RnLa8uQOUNC5lIwLEh7zqQWqolYsra2rCLnsCAX4UPoQWbgsPtZZJBCaOPhyG/QYkWerIN02YHGiiCFNeqnB5kBBxnuYNCXwMHScyMtZZB62xAHJ0qqENIOfGtCmPNW6gI4eOlVMHxG/cQWGfT9KoQ7U2tHLkTMptPwOebqrhGCnMsbxW5HMHAQtfakfYCjMUqK2Hzy6EJMt++i7/uew6fZ7DTxL1Qyi2FsHnj7h6xgbCDMy6HvjDxKFU7SU+VOAaoWR17U7Y88cntMUs93Fqk9FWShX/V8a0NrsT1g8qoeGoSeQ+WK90i/HjQBu2RvQyMZ7D54+33tev1Iwh89+DLeayg94lb7NHt6B3bfvsbXgb6/FdtCvt3f35wkHN62Il/WQccF+ahdX0IKyeY8ySjHRvkkCNcl3ajfPjnSutR5HdnYVpI6c7IoPQs12cXNAvgr4Wwdcb52+FE+KKJ8xpm5pqq2LbtrnacqUKCkoKDgPeTCoCiJzSZT4NBYBSmU3huXJsnLy8sEo3tS2yIZY11ytfgy/343/zibTCelr1RIvCHrhvbOJ9PJNJhM7XyF+qDWVdg4r1fN6/t1+zH434tqlIOn3z4xCmVUeuSoGx96CZvzeIH41MDjlgqh6X5dHaRccShr50Nc163R0U+r+j6YnxuyLaTLFYcNWonroIZlB5l04ZxBmqNy9A5XH27HyThjb7W+HQAd5L9B1YQ/4PBE7cGCjSNfEmZkYwuD90IIMv4g7mRDhX26m4bL+T30/R+xTzbt
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 async operations"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/v1/default/banks/{bank_id}/operations"}
context={"endpoint"}
>
</MethodEndpoint>
Get a list of all async operations (pending and failed) for a specific agent, including error messages for failed operations
<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>