---
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: eJzFVktz2zgM/isY9tJmFDvJ7Ek3b5tkM5NuO423lyTTQShYYkORLAk5dT367zug5Fez6c6e1hdTJPAB+IgH14qxTqq8Ve+p9XEFHwJFZONdUveFqijpaIJ8q1JdEgOCNYnBLwCtBUwrp8FvdeB1IFcZVwO6ChZoLFVvYOEjIKRA2iyMBqzJcQHGadtlWYrRR2gpJawpZfFBdQ9ZFWr7cVWpUokbXw7OA0ZsiSlKPGvlsCVVqmzti6lUoYwEEZAbVahI3zoTqVIlx44KlXRDLapyrXgVRC9xNK5WhWLDVjZmAgRXler7e9FPwbtESVTOTk7k75Ctm05rSmnRWfg0CqtCae+YHIs4hmCNzu5PvybRWe/c6Pu+L9RvZ2fPgT+jNVVWg3Nh7j+gqhCFMjaD3xUxGisrw9Sm5wLW64NTdKsPi8zuIUt9sd0xjqmmqPr7vtjsYYy42qPy2g8Oqr5Qbap/xfr7ISvUFuxl0UwGzOW039n2D19J88GN3+a4BtOj3P0OZkfvwO7LYbwb6PsnYxuRP+bzj88Ah7ttiRsvmVwT5+zlRpVqisFMl6fTnLZput6kbz89yHXjFj5zcZCcYw3PPl6pn2v3zs2AqQ0+oj1O1KJjo6EdFNIqMbW58GZXQ30m4AYZEvtIqYBIHA0tZSmVHQmTlLtfUhxADKXJnbtzr17BBSF3kZJ8HsHR0e/Iutn4dsM+Yk1HR2VeErSdZRMsbWGAFgujDTm2K3gy3AB27FsUfxeoGeg7R9QS14B/s4nmhjDqRqAvTHbS0hId75C7JO3GiXtowaKrO6wJvnUkxwPahZiQJIILY5kkx7KzGRtQR58SPPloq+yNEJK5Hzwa+fHBuNwPE0lXYrKrAX3eGPcI564K3jgW4Etycq8EuYa/c4cW0KUnigkeMEkTdKMJU5Fjw6tsYhPUgHsZMTTw2aQOrfmR00TArxxT5mpJm7uus+RyX3KAeOd114qZeUT9OIad14M9dMLViFKNwmm4oS4kigypC8FHHvNgFnVjmLQkg2zNG9pkWpcolXfuWBgZkxKujXtMYvOtd4703rXlTMRIoK1PBMYBm5YG9e3lP1PfJDlau4JkWmMx7rEmyucDnf9iWeKUZsviP7YE+Ra2IDchEuY5NhOiD7i31uSb44hLigltrrGRw7Gm0N45GH9jK0edW/k4wTaVk6mTdmSNJpkmO5FZQN0QnE1OVKG6aFWpGuaQyun06elpgvl44mM9HXXT9Prq7fmfN+fHZ5OTScOtFWDxcWgXp5OTyYlsBZ+4Rbdn61rm/8+D/+d+s96NpP/72TC2ZqmtabBo8tTJHK3HpnurMBhVqOWpKob3guiVey8Hf/Aqanxi0VqvpUD/irbvZVvayEqVt/eFWmI0+CCd+XatKpNkXalygTbRL5h6/WmcUW/gJcc3o8jJIFqi7eRLFeqRVvuPnTx9G8KKYvZhOJ5pTYH3FJ89FuRpsx1Ml+dz1fd/A2bNiYA=
sidebar_class_name: "get api-method"
info_path: docs/api-reference/endpoints/agent-memory-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={"/api/v1/agents/{agent_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":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent 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>


      