Execute via API
The public run endpoint is:X-API-Key. Do not pass API keys in
Authorization: Bearer; bearer tokens are for signed-in product sessions.
curl
Python
JavaScript
Validation checklist
modelis a published model slug or identifier.modeexists on the model contract.inputmatches the model input schema.paramsis an object, even when empty.scopeis present for vector-enabled modes.indexandsearchuse the samescopewhen they should read/write the same vector dataset.
Index and search a vector model
File inputs must be uploaded before execution. Start the upload:upload_url, then complete the upload:
media_ref to index into a vector namespace:
scope: