Test new Vectorize configuration

Test the connection to a Cloudflare Vectorize configuration before saving it.

Authentication

AuthorizationBearer
API key or Clerk session token

Request

This endpoint expects an object.
accountIdstringRequired>=10 characters
apiTokenstringRequired>=1 character
indexNamestringRequired>=1 character
namestringRequired1-100 characters
timeoutdoubleOptional1000-120000

Response

Connection test result
successboolean
errorstring
indexInfoobject or null

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error