Skip to main content
If you do not have a vector database already, follow these steps to create one. In the database details section of the Upstash Console, scroll down to Connect section and select the cURL tab. You can simply copy the curl expression and run on your terminal.

Response

REST API returns a JSON response. When command execution is successful, response JSON will have a single result field and its value will contain the Redis response. Example:
When command execution is not successful, response JSON will have a single error field and its value will contain the error message. Example:

HTTP Response Codes