curl --request POST \
--url https://documents.absconsulting.com/v1/vector_stores/{vector_store_id}/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>"
}
'{
"object": "<string>",
"data": [
{
"id": "<string>",
"object": "<string>",
"score": 123,
"content": "<string>",
"file_id": "<string>"
}
],
"query": "<string>",
"max_num_results": 123,
"vector_store_id": "<string>",
"files": [
"<string>"
]
}Search a vector store for relevant chunks based on a query and filters.
This endpoint has a rate limit of 30 requests per user per minute.
curl --request POST \
--url https://documents.absconsulting.com/v1/vector_stores/{vector_store_id}/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>"
}
'{
"object": "<string>",
"data": [
{
"id": "<string>",
"object": "<string>",
"score": 123,
"content": "<string>",
"file_id": "<string>"
}
],
"query": "<string>",
"max_num_results": 123,
"vector_store_id": "<string>",
"files": [
"<string>"
]
}Bearer token for authentication
The ID of the vector store.
Successful Response
The type of object.
The list of search results.
Show child attributes
The search query. Maximum length: 10,000 characters.
Maximum number of results to return. Must be between 1 and 50.
The ID of the vector store to search.
Optional list of file IDs to restrict the search to.
Was this page helpful?