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
1curl -X POST "https://ai.dopt.com/v0/assistant/:sid/search?userIdentifier=string&groupIdentifier=string&model=string" \
2 -H "x-api-key: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
200
Successful
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]