---
title: "Retrieve"
method: POST
path: "/api/assistant/retrieve"
tags: ["assistant"]
---

# Retrieve

`POST /api/assistant/retrieve`

Retrieve relevant document chunks for a user message.
Returns tool responses with context from documents without generating an answer.

## Headers

- `workspace-key` string

## Request body

- MessageInput
  - `content` string, required
  - `tools` object
  - `workspace_ext_id` string, required
  - `parent_message_ext_id` string, nullable
  - `config_ext_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/arbicity/apis/arbi.md) · [All operations](https://skmtc.net/arbicity/apis/arbi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/arbicity/arbi/versions/1f956ac3d1c1/schema)
