API Reference
Query vector store
Interrogate the vector store for information related to a given job_id or namespace. The job must be completed before querying can be performed.
POST
Authorizations
API key for authentication
Body
application/json
Unique identifier for the crawl job. At least one of job_id or namespace must be provided.
Example:
"vI2wMzZwuf2l1hkYYO_Fb"
Namespace identifier, useful to reference a specific crawl using your internal identifier. At least one of job_id or namespace must be provided.
Example:
"avamo_fr"
The query to execute against the vector store
A JSON schema defining the structure of extracted data. Read more about it on OpenAI's Structured Outputs documentation
Example:
{
"type": "object",
"properties": {
"product_categories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"product_type": { "type": "string" },
"reasoning": { "type": "string" },
"source_urls": {
"type": "array",
"items": { "type": "string" }
}
}
}
}
}
}
Custom prompt to guide the query processing
Number of similar vectors to retrieve