---
title: "Get historic agent instance knowledge base links"
method: GET
path: "/agent-history/historic-agent-instances/{agentInstanceId}/knowledge-base-links"
tags: ["Historic Agent Instances"]
---

# Get historic agent instance knowledge base links

`GET /agent-history/historic-agent-instances/{agentInstanceId}/knowledge-base-links`

## Request

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

## Path parameters

- `agentInstanceId` string, required

## Query parameters

- `order` string
- `size` integer
- `sort` string
- `start` integer

## Response `200`

Indicates the request was successful.

- DataResponseHistoricAgentInstanceKnowledgeBaseLinkResponse
  - `data` HistoricAgentInstanceKnowledgeBaseLinkResponse[]
    - `id` string, required: The unique identifier for the action instance knowledge base link response.
    - `historicAgentInstanceId` string, required: The identifier of the correlating historic agent instance.
    - `knowledgeBaseItemId` string: The identifier of the knowledge base item section.
    - `knowledgeBaseItemSectionId` string: The identifier of the knowledge base item section id.
    - `externalId` string, required: The external identifier of the document.
    - `score` number, double, required: The score how this knowledge base link item matched
  - `total` integer
  - `start` integer
  - `sort` string
  - `order` string
  - `size` integer

## Other responses

- `400`: Indicates the request had some invalid arguments.
- `403`: Indicates that the user does not have access to the agent instance.
- `404`: Indicates that agent instance 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)
