Skip to content
For LLMsView as Markdown·

Upstash

Manage serverless Redis and Kafka databases with the Upstash management API.

DetailValue
CategoryDatabase
Base URLhttps://api.upstash.com/v2
AuthenticationAPI Key
Endpoints8
Connector keyupstash

Using Upstash in a workflow

  1. Go to Connections and click New Connection.
  2. Pick Upstash from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
GET /redis/databasesList Redis databases
POST /redis/databasesCreate a Redis database
GET /redis/database/{id}Get Redis database details
DELETE /redis/database/{id}Delete a Redis database
GET /redis/database/{id}/statsGet database statistics
GET /kafka/clustersList Kafka clusters
POST /kafka/clustersCreate a Kafka cluster
POST /kafka/topicCreate a Kafka topic

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /redis/databases

List Redis databases

DetailValue
Operation IDdatabase.listRedisDatabases
MethodGET
Path/redis/databases

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Upstash connection from the Connection dropdown.
  3. In the Operation dropdown, select database.listRedisDatabases.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Upstash API reference.

POST /redis/databases

Create a Redis database

DetailValue
Operation IDdatabase.createRedisDatabase
MethodPOST
Path/redis/databases

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Upstash connection from the Connection dropdown.
  3. In the Operation dropdown, select database.createRedisDatabase.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Upstash API reference.

GET /redis/database/{id}

Get Redis database details

DetailValue
Operation IDdatabase.getRedisDatabase
MethodGET
Path/redis/database/{id}

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Upstash connection from the Connection dropdown.
  3. In the Operation dropdown, select database.getRedisDatabase.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Upstash API reference.

DELETE /redis/database/{id}

Delete a Redis database

DetailValue
Operation IDdatabase.deleteRedisDatabase
MethodDELETE
Path/redis/database/{id}

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Upstash connection from the Connection dropdown.
  3. In the Operation dropdown, select database.deleteRedisDatabase.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Upstash API reference.

GET /redis/database/{id}/stats

Get database statistics

DetailValue
Operation IDdatabase.getRedisDatabaseStats
MethodGET
Path/redis/database/{id}/stats

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Upstash connection from the Connection dropdown.
  3. In the Operation dropdown, select database.getRedisDatabaseStats.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Upstash API reference.

GET /kafka/clusters

List Kafka clusters

DetailValue
Operation IDdatabase.listKafkaClusters
MethodGET
Path/kafka/clusters

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Upstash connection from the Connection dropdown.
  3. In the Operation dropdown, select database.listKafkaClusters.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Upstash API reference.

POST /kafka/clusters

Create a Kafka cluster

DetailValue
Operation IDdatabase.createKafkaCluster
MethodPOST
Path/kafka/clusters

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Upstash connection from the Connection dropdown.
  3. In the Operation dropdown, select database.createKafkaCluster.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Upstash API reference.

POST /kafka/topic

Create a Kafka topic

DetailValue
Operation IDdatabase.createKafkaTopic
MethodPOST
Path/kafka/topic

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Upstash connection from the Connection dropdown.
  3. In the Operation dropdown, select database.createKafkaTopic.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Upstash API reference.