---
title: "Get agent invocation exchange parts"
method: GET
path: "/agent-history/agent-invocation-exchanges/{exchangeId}/parts"
tags: ["Agent Invocation Exchanges"]
---

# Get agent invocation exchange parts

`GET /agent-history/agent-invocation-exchanges/{exchangeId}/parts`

## Request

- Base URL: `http://localhost:8090/agent-api`
- URL: `http://localhost:8090/agent-api/agent-history/agent-invocation-exchanges/{exchangeId}/parts`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/flowable/apis/flowable-agent-engine-rest-api/docs/agent-history/agent-invocation-exchanges/:exchangeId/parts/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `exchangeId` string, required

## Response `200`

Indicates the request was successful.

- AgentInvocationExchangePartResponse[]
  - `id` string, required: The unique identifier for the agent invocation exchange part.
  - `exchangeId` string, required: The identifier for the correlating agent invocation exchange.
  - `type` string: The type of the exchange part
  - `subType` string: The sub type of the exchange part
  - `content` string: The content of the exchange part
  - `invocationSequence` integer: The order of the part in the exchange

## Other responses

- `400`: Indicates the request had some invalid arguments.
- `403`: Indicates that the user does not have access to get an agent invocation exchange
- `404`: Indicates that agent invocation exchange does not exist or the user does not have access to it.

---

[API](https://skmtc.dev/flowable/apis/flowable-agent-engine-rest-api.md) - [All operations](https://skmtc.dev/flowable/apis/flowable-agent-engine-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flowable/apis/flowable-agent-engine-rest-api/revisions/54fc1189496f?raw)
