---
title: "Get agent instance details"
method: GET
path: "/agent-runtime/knowledge-base-items/{knowledgeBaseItemId}"
tags: ["Agent Instances"]
---

# Get agent instance details

`GET /agent-runtime/knowledge-base-items/{knowledgeBaseItemId}`

## Request

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

## Path parameters

- `knowledgeBaseItemId` string, required

## Response `200`

Indicates the request was successful.

- KnowledgeBaseItemResponse: The response for a knowledge base item
  - `id` string, required: The unique identifier of a knowledge base item
  - `parentId` string: The parent identifier of a knowledge base item
  - `rootId` string: The root identifier of a knowledge base item
  - `knowledgeBaseDefinitionId` string, required: The knowledge base definition id of a item
  - `knowledgeBaseDefinitionName` string, required: The knowledge base definition name of a item
  - `scopeId` string, required: The scope id of the knowledge base item
  - `scopeType` string, required: The scope type of a knowledge base item
  - `tenantId` string, required: The tenant id of a knowledge base item
  - `container` boolean

## 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)
