Skip to main content

Introduction

Multi-document chat APIs allow you to ask questions and chat with a collection of related documents.

The APIs are RESTful and can be easily integrated into your existing systems.

API Endpoints

EndpointDescription
/md/file/uploadUpload files with tags supplied as metadata
/md/file/searchDo vector search over indexed files based on tags or query
/md/chatAsk question over multiple related documents in a chat session

Base URL

The base URL for the APIs is https://us-central.unstract.com/api/v1

Authentication

All the APIs require the platform key to be passed in the header. You can get your active platform key under Platform Settings in Unstract Cloud.

TypeHow to pass credentials
Bearer TokenHTTP header name : Authorization
HTTP header value : Bearer <platform_key>