cURL
curl --request POST \ --url https://dash.superagentes.ai/api/datastores/{id}/query \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "query": "<string>", "topK": 123, "filters": { "custom_ids": [ "<string>" ], "datasource_ids": [ "<string>" ] } }'
[ { "text": "<string>", "score": 123, "source": "<string>", "datasource_id": "<string>", "datasource_name": "<string>" } ]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID do Conteúdo
Sucesso
The response is of type object[].
object[]