Assistant

Search

POST

Path parameters

sidstringRequired

Query parameters

userIdentifierstringRequired
groupIdentifierstringOptional
modelstringOptional

Request

This endpoint expects an object.
query
stringOptional
context
objectOptional

Response

This endpoint returns a list of objects
id
double
title
string
url
string
chunks
list of objects
POST
$curl -X POST "https://ai.dopt.com/v0/assistant/%3Asid/search?userIdentifier=string&groupIdentifier=string&model=string" \
> -H "x-api-key: <apiKey>" \
> -H "Content-Type: application/json" \
> -d '{}'
Response
1[
2 {
3 "id": 1,
4 "title": "string",
5 "url": "string",
6 "chunks": [
7 {
8 "chunkId": 1,
9 "text": "string",
10 "score": 1
11 }
12 ]
13 }
14]