> ## Documentation Index
> Fetch the complete documentation index at: https://docs.guild.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> To act on a user's behalf in Guild, use the Guild REST API at https://api.guild.ai/v1.
> The OpenAPI spec is unauthenticated: https://docs.guild.ai/openapi.json (or openapi.yaml).
> Authenticate with an account API key, sent as HTTP Basic (key id as username, secret as password) or as `Authorization: Bearer <api_key_id>:<api_key_secret>`. See https://docs.guild.ai/api-reference/introduction#authentication.
> To run one agent on demand without account-wide access, use an API trigger instead: https://docs.guild.ai/platform/api-triggers.
> To act on Guild from an MCP client, connect to https://api.guild.ai/mcp (OAuth) or run `guild mcp` locally. Setup: https://docs.guild.ai/api-reference/mcp.
> To search these docs from an MCP client, connect to https://docs.guild.ai/mcp. The full page index is https://docs.guild.ai/llms.txt.

# Manage Upstash and use Redis, Vector, QStash, and Workflow from Guild agents

> Connect Guild agents to Upstash: manage databases and indexes with the Developer API, or work with Redis, Vector, QStash, and Workflow through their REST APIs.

Integrations · Upstash

Guild agents manage Upstash resources and work with the data inside them. Guild offers five Upstash integrations: one for the Upstash Developer API, which creates and administers databases, indexes, and teams, and one for each product's REST API. Every integration keeps its token server-side, and credential policies decide which operations each agent may call.

> [card] [Book a demo](https://guild-ai.cal.com/gtm/meeting-with-guild.ai)
>
> See how teams govern agents that use Upstash.

> [card] [Talk to sales](https://guild.ai/talk-to-sales)
>
> Get access to Guild, then connect Upstash to your first agent.

## Choose an integration

The Developer API manages Upstash resources but can't read or write the data in them. Each product's REST API works with data in one database, index, or QStash region, and uses that resource's own token. Connect each integration your agent needs.

| Integration | Use it to | Endpoint | Token |
| - | - | - | - |
| `guildai~upstash` | Create, configure, back up, and delete Redis databases, Vector and Search indexes, and teams; read QStash usage and audit logs | `https://api.upstash.com/v2` | Your account email and a Developer API key |
| `guildai~upstash-redis` | Run Redis commands, pipelines, and transactions on one database | `https://<database host>.upstash.io` | The database's REST token |
| `guildai~upstash-vector` | Upsert, query, and delete vectors and namespaces in one index | `https://<index host>.upstash.io` | The index's REST token |
| `guildai~qstash-api` | Publish, queue, and schedule messages; manage URL groups, the DLQ, and flow control | `https://<region>.upstash.io`, such as `qstash-us-east-1` | Your QStash token for that region |
| `guildai~upstash-workflow` | Trigger, cancel, and notify workflow runs; restart or resume failed runs | `https://qstash.upstash.io` | Your QStash token |

QStash and Workflow share a token and some tools, such as flow control and signing keys. Connect **upstash-workflow** for workflow runs, and **qstash-api** for messages. The Workflow integration calls `qstash.upstash.io`, which serves the EU region.

## How it works

**1. Get a token from the Upstash Console**

Each integration needs a different token. See [Authentication](#authentication) for where to find each one.

**2. Connect the credential in Guild**

Go to **Access & setup > Credentials**, click **Connect**, select the integration, such as **upstash** or **upstash-redis**, and paste the token into **API Key**. Redis and Vector also ask for the host of the database or index.

**3. Import tools and pick what you need**

Import the integration's tools and use [`pick()`](https://docs.guild.ai/sdk/tools#selecting-specific-tools) to include only the tools your agent needs.

## Why Upstash access needs governing

A Developer API key can delete every database and index in an account, and a Redis or Vector token can read and overwrite all data in its resource. Guild's credential proxy checks every outbound request against the [credential policies](https://docs.guild.ai/platform/credential-policies.md) you define before the request reaches Upstash. A policy can restrict an agent to specific operations using exact names or wildcard patterns, and a DENY rule always overrides any ALLOW rule. You can scope rules to specific agents or workspaces, so one agent can read stats while another can create databases, on the same connected credential.

Credentials are stored and injected server-side; agent code never sees your tokens. You can scope a credential to the whole account, a single workspace, a single member, or one agent using the options described in [Credentials](https://docs.guild.ai/platform/credentials.md).

## Authentication

* **Type:** API key
* **Header:** `Authorization: Basic <value>` for `guildai~upstash`; `Authorization: Bearer <token>` for the others

| Integration | What to enter in **API Key** | Other fields |
| - | - | - |
| **upstash** | Your account email and a Developer API key, joined by a colon and base64-encoded. Create the key in the Upstash Console under **Account > Management API**. | None |
| **upstash-redis** | The database's REST token, from the **REST API** section of the database's page. | **Database host**: the first part of the REST URL, such as `us1-merry-cat-32748` for `https://us1-merry-cat-32748.upstash.io` |
| **upstash-vector** | The index's REST token, from the index's page. | **Index host**: the first part of the REST URL, such as `my-index-12345-us1-vector` for `https://my-index-12345-us1-vector.upstash.io` |
| **qstash-api** | Your QStash token for the region, from the QStash page in the Upstash Console. | **Region**: the first part of your QStash URL, such as `qstash-us-east-1` or `qstash-eu-central-1` |
| **upstash-workflow** | Your QStash token, from the QStash page in the Upstash Console. | None |

Encode the Developer API credential like this:

```bash theme={null}
echo -n "<account email>:<Developer API key>" | base64
```

A Redis or Vector credential reaches one database or index. To give an agent a second one, connect another credential scoped to a different workspace or agent. See [Credentials](https://docs.guild.ai/platform/credentials.md) for workspace, member, and agent-scoped credentials.

## Usage

### Developer API

```typescript theme={null}
import { UpstashTools } from "@guildai-services/guildai~upstash"
import { llmAgent, pick } from "@guildai/agents-sdk"

export default llmAgent({
  systemPrompt: "You report each Redis database's daily traffic and flag any near its budget.",
  tools: {
    ...pick(UpstashTools, [
      "upstash_list_databases",
      "upstash_get_database_stats",
      "upstash_get_database_traffic",
    ]),
  },
})
```

### Redis

```typescript theme={null}
import { UpstashRedisTools } from "@guildai-services/guildai~upstash-redis"
import { llmAgent, pick } from "@guildai/agents-sdk"

export default llmAgent({
  systemPrompt: "You look up cached values and report keys that are about to expire.",
  tools: {
    ...pick(UpstashRedisTools, [
      "upstash_redis_get_key",
      "upstash_redis_list_keys",
      "upstash_redis_get_key_ttl",
    ]),
  },
})
```

### Vector

```typescript theme={null}
import { UpstashVectorTools } from "@guildai-services/guildai~upstash-vector"
import { llmAgent, pick } from "@guildai/agents-sdk"

export default llmAgent({
  systemPrompt: "You answer questions from the documents stored in the index.",
  tools: {
    ...pick(UpstashVectorTools, [
      "upstash_vector_query_data",
      "upstash_vector_fetch_vectors",
    ]),
  },
})
```

### QStash

One integration covers every QStash region. Set **Region** on the credential to the region your QStash token belongs to.

```typescript theme={null}
import { QstashApiTools } from "@guildai-services/guildai~qstash-api"
import { llmAgent, pick } from "@guildai/agents-sdk"

export default llmAgent({
  systemPrompt: "You schedule reminder webhooks and retry failed deliveries.",
  tools: {
    ...pick(QstashApiTools, [
      "qstash_api_create_a_schedule",
      "qstash_api_list_dlq_messages",
      "qstash_api_retry_a_dlq_message",
    ]),
  },
})
```

### Workflow

```typescript theme={null}
import { UpstashWorkflowTools } from "@guildai-services/guildai~upstash-workflow"
import { llmAgent, pick } from "@guildai/agents-sdk"

export default llmAgent({
  systemPrompt: "You find failed workflow runs and resume them from the step that failed.",
  tools: {
    ...pick(UpstashWorkflowTools, [
      "upstash_workflow_list_failed_workflow_runs",
      "upstash_workflow_resume_workflow_from_dlq",
    ]),
  },
})
```

## Tools

### Developer API tools

Tools in the latest published version of `guildai~upstash`:

> [accordion] All 62 tools
>
> | Tool | What it does |
> | - | - |
> | `upstash_add_team_member` | This endpoint adds a new team member to the specified team. |
> | `upstash_analyze_backup` | This endpoint starts the offline analysis of a completed backup. |
> | `upstash_change_plan` | This endpoint changes the plan of a Redis database. |
> | `upstash_create_backup` | This endpoint creates a backup for a Redis database. |
> | `upstash_create_database` | This endpoint creates a new Redis database. |
> | `upstash_create_index` | This endpoint creates an index. |
> | `upstash_create_search_index` | Creates a new search index with the specified configuration |
> | `upstash_create_team` | This endpoint creates a new team. |
> | `upstash_delete_backup` | This endpoint deletes a backup of a Redis database. |
> | `upstash_delete_database` | This endpoint deletes a database. |
> | `upstash_delete_index` | This endpoint deletes an index. |
> | `upstash_delete_search_index` | Permanently deletes a search index and all its data |
> | `upstash_delete_team` | This endpoint deletes a team. |
> | `upstash_delete_team_member` | This endpoint deletes a team member from the specified team. |
> | `upstash_disable_auto_upgrade` | This endpoint disables Auto Upgrade for given database. |
> | `upstash_disable_daily_backup` | This endpoint disables daily backup for a Redis database. |
> | `upstash_disable_eviction` | This endpoint disables eviction for given database. |
> | `upstash_disable_q_stash_prod_pack` | Disables the production pack for a QStash instance. |
> | `upstash_enable_auto_upgrade` | This endpoint enables Auto Upgrade for given database. |
> | `upstash_enable_daily_backup` | This endpoint enables daily backup for a Redis database. |
> | `upstash_enable_eviction` | This endpoint enables eviction for given database. |
> | `upstash_enable_q_stash_prod_pack` | Enables the production pack for a QStash instance. |
> | `upstash_enable_tls` | This endpoint enables tls on a database. |
> | `upstash_get_backup_analysis` | This endpoint returns the state of a backup's analysis and, once completed, the report. |
> | `upstash_get_database` | This endpoint gets details of a database. |
> | `upstash_get_database_insights` | This endpoint returns the Insights series of a database: service latency percentiles, read, write, engine, replication, lock-wait and Lua latency, expired entries, replication lag, throughput… |
> | `upstash_get_database_stats` | This endpoint gets detailed stats of a database. |
> | `upstash_get_database_traffic` | This endpoint reports where a database's traffic comes from over a period. |
> | `upstash_get_global_search_stats` | Get search statistics for all the search indices associated with the authenticated user |
> | `upstash_get_global_vector_stats` | Get vector statistics for all the vector indices associated with the authenticated user |
> | `upstash_get_index` | This endpoint returns the data associated to a index. |
> | `upstash_get_q_stash_i_pv4` | Returns the list of IPv4 addresses used by QStash for sending requests. |
> | `upstash_get_q_stash_stats` | Retrieves detailed usage statistics for the QStash account including daily requests, billing, bandwidth, and workflow metrics over time. |
> | `upstash_get_q_stash_user` | Retrieves detailed information about the specified QStash user, including plan details, limits, and configuration |
> | `upstash_get_search_index` | Retrieves detailed information about a specific search index |
> | `upstash_get_search_index_stats` | Retrieves statistics and metrics for a specific search index |
> | `upstash_get_team_members` | This endpoint list all members of a team. |
> | `upstash_get_vector_index_stats` | Retrieves statistics and metrics for a specific vector index |
> | `upstash_list_audit_logs` | This endpoint lists all audit logs of user. |
> | `upstash_list_backup` | This endpoint lists all backups for a Redis database. |
> | `upstash_list_databases` | This endpoint list all databases of user. |
> | `upstash_list_indices` | This endpoint returns the data related to all indices of an account as a list. |
> | `upstash_list_q_stash_users` | Retrieves a list of all QStash users associated with the account, including plan details, limits, and configuration. |
> | `upstash_list_search_indexes` | Returns a list of all search indices belonging to the authenticated user. |
> | `upstash_list_teams` | This endpoint lists all teams of user. |
> | `upstash_move_q_stash_to_team` | Moves a QStash instance to a different team. |
> | `upstash_move_to_team` | This endpoint moves database under a target team |
> | `upstash_rename_database` | This endpoint renames a database. |
> | `upstash_rename_index` | This endpoint is used to change the name of an index. |
> | `upstash_rename_search_index` | Renames a search index. |
> | `upstash_reset_index_passwords` | This endpoint is used to reset regular and readonly tokens of an index. |
> | `upstash_reset_password` | This endpoint updates the password of a database. |
> | `upstash_reset_q_stash_token` | Resets the authentication credentials for the QStash user account. |
> | `upstash_reset_search_password` | This endpoint resets the regular and readonly tokens of a search index. |
> | `upstash_restore_backup` | This endpoint restores data from an existing backup. |
> | `upstash_set_index_plan` | This endpoint is used to change the plan of an index. |
> | `upstash_set_q_stash_plan` | Changes the QStash account to a different plan type. |
> | `upstash_transfer_index` | This endpoint is used to transfer an index to another team. . |
> | `upstash_transfer_search_index` | Transfers ownership of a search index to another team. |
> | `upstash_update_budget` | This endpoint updates the monthly budget of a Redis database. |
> | `upstash_update_q_stash_budget` | Updates the monthly spending budget limit for a QStash instance. |
> | `upstash_update_regions` | Update the regions of a database |

### Redis tools

Tools in the latest published version of `guildai~upstash-redis`:

> [accordion] All 27 tools
>
> | Tool | What it does |
> | - | - |
> | `upstash_redis_decrement_key` | DECR key. |
> | `upstash_redis_delete_hash_field` | HDEL key field. |
> | `upstash_redis_delete_key` | DEL key. |
> | `upstash_redis_execute_command` | Run any single Redis command. |
> | `upstash_redis_execute_pipeline` | Send several independent commands in one HTTP request as a two-dimensional JSON array, e.g. \[\["SET","key1","valuex"],\["SETEX","key2",13,"valuez"],\["INCR","key1"]]. |
> | `upstash_redis_execute_transaction` | Send several commands as a two-dimensional JSON array; they are executed atomically as MULTI ... |
> | `upstash_redis_expire_key` | EXPIRE key seconds. |
> | `upstash_redis_get_all_hash_fields` | HGETALL key. |
> | `upstash_redis_get_database_size` | DBSIZE. |
> | `upstash_redis_get_hash_field` | HGET key field. |
> | `upstash_redis_get_key` | GET key. |
> | `upstash_redis_get_key_ttl` | TTL key. |
> | `upstash_redis_get_key_type` | TYPE key. |
> | `upstash_redis_get_list_range` | LRANGE key start stop. |
> | `upstash_redis_get_server_info` | INFO. |
> | `upstash_redis_get_set_members` | SMEMBERS key. |
> | `upstash_redis_increment_key` | INCR key. |
> | `upstash_redis_increment_key_by` | INCRBY key increment. |
> | `upstash_redis_key_exists` | EXISTS key. |
> | `upstash_redis_list_keys` | KEYS pattern, e.g. "user:*" or "*". |
> | `upstash_redis_persist_key` | PERSIST key. |
> | `upstash_redis_ping` | PING. |
> | `upstash_redis_publish_message` | PUBLISH channel message. |
> | `upstash_redis_set_hash_field` | HSET key field value. |
> | `upstash_redis_set_key` | SET key value. |
> | `upstash_redis_set_key_from_body` | SET key . |
> | `upstash_redis_set_key_with_expiry` | SET key value EX seconds. |

### Vector tools

Tools in the latest published version of `guildai~upstash-vector`:

| Tool | What it does |
| - | - |
| `upstash_vector_delete_namespace` | Delete a namespace and all its vectors. |
| `upstash_vector_delete_vectors` | Delete vectors from the default namespace, selected by a list of ids, an id prefix, or a metadata filter (filter deletes do a full O(N) scan and can be slow). |
| `upstash_vector_fetch_random_vector` | Return one random vector from the default namespace, or null if it is empty. |
| `upstash_vector_fetch_vectors` | Fetch vectors from the default namespace by a list of ids, or by an id prefix (at most 1000 returned; use rangeVectors for more). |
| `upstash_vector_get_index_info` | Return index stats and config: total and pending vector counts, size in bytes, dimension, similarity function, index type (DENSE, SPARSE, HYBRID), embedding models, and per-namespace counts. |
| `upstash_vector_list_namespaces` | Return the names of all namespaces in the index. |
| `upstash_vector_query_data` | Embed the given text with the index's embedding model and return up to topK most similar vectors in the default namespace. |
| `upstash_vector_query_vectors` | Approximate nearest-neighbor search in the default namespace using a query vector (same dimension as the index). |
| `upstash_vector_range_vectors` | Iterate over the vectors of the default namespace page by page. |
| `upstash_vector_rename_namespace` | Rename a namespace. |
| `upstash_vector_reset_index` | Delete all vectors from the default namespace; the namespace itself stays. |
| `upstash_vector_resume_query` | Fetch the next additionalK results of a resumable query started with startResumableQuery or startResumableQueryWithData. |
| `upstash_vector_start_resumable_query` | Start a nearest-neighbor query that can be continued to page through more results. |
| `upstash_vector_start_resumable_query_with_data` | Like startResumableQuery, but embeds the given text with the index's embedding model. |
| `upstash_vector_stop_resumable_query` | End a resumable query and release its server resources. |
| `upstash_vector_update_vector` | Update one vector in the default namespace: its dense/sparse value, raw data (re-embedded if the index has an embedding model), and/or metadata. |
| `upstash_vector_upsert_data` | Embed raw text with the index's embedding model and upsert the resulting vectors into the default namespace. |
| `upstash_vector_upsert_vectors` | Insert or update one or more vectors in the default namespace. |

### QStash tools

Tools in the latest published version of `guildai~qstash-api`:

> [accordion] All 43 tools
>
> | Tool | What it does |
> | - | - |
> | `qstash_api_batch_messages` | Send multiple messages in a single request |
> | `qstash_api_bulk_cancel_messages` | Delete all pending messages |
> | `qstash_api_bulk_delete_dlq_messages` | Delete multiple messages from the DLQ |
> | `qstash_api_bulk_retry_dlq_messages` | Retry delivery of multiple messages from the DLQ |
> | `qstash_api_cancel_a_message` | Cancel a pending message |
> | `qstash_api_create_a_schedule` | Create a schedule to send messages periodically |
> | `qstash_api_delete_a_dlq_message` | Manually remove a message from the DLQ |
> | `qstash_api_delete_a_queue` | Deletes a queue |
> | `qstash_api_delete_a_schedule` | Delete a schedule |
> | `qstash_api_delete_a_url_group` | Delete a topic and all its endpoints |
> | `qstash_api_enqueue_a_message` | Enqueue a message to the specified queue |
> | `qstash_api_get_a_bulk_action` | Retrieve the details and progress of a bulk action |
> | `qstash_api_get_a_dlq_message` | Get a specific message from the DLQ |
> | `qstash_api_get_a_message` | Retrieve details of a specific message |
> | `qstash_api_get_a_queue` | Get details of a specific queue |
> | `qstash_api_get_a_schedule` | Get details of a specific schedule |
> | `qstash_api_get_a_url_group` | Retrieve details of a specific URL Group |
> | `qstash_api_get_flow_control_key` | Get details of a specific Flow Control key |
> | `qstash_api_get_global_parallelism` | Returns the current global parallelism usage across all flow control keys |
> | `qstash_api_get_signing_keys` | Retrieve your current and next signing keys |
> | `qstash_api_list_bulk_actions` | List the bulk actions created by filter-based message cancels |
> | `qstash_api_list_dlq_messages` | List and paginate through all messages currently in the DLQ |
> | `qstash_api_list_flow_control_keys` | List all Flow Control keys |
> | `qstash_api_list_logs` | Paginate through logs of published messages |
> | `qstash_api_list_queues` | List all your queues |
> | `qstash_api_list_schedules` | List all schedules |
> | `qstash_api_list_url_groups` | List all your URL Groups |
> | `qstash_api_pause_a_schedule` | Pause a Schedule |
> | `qstash_api_pause_flow_control_key` | Pauses the delivery of messages associated with a specific flow-control key. |
> | `qstash_api_pause_queue` | Pause a queue to stop the delivery of enqueued messages |
> | `qstash_api_pin_configuration_for_flow_control_key` | Pins a processing configuration for a specific flow-control key. |
> | `qstash_api_publish_a_message` | Publish a message to the specified destination |
> | `qstash_api_remove_endpoints` | Remove one or more endpoints from a URL Group |
> | `qstash_api_reset_rate_for_flow_control_key` | Resets the rate configuration state for a specific flow-control key. |
> | `qstash_api_resume_a_schedule` | Resume a paused Schedule |
> | `qstash_api_resume_flow_control_key` | Resumes the delivery of messages associated with a specific flow-control key. |
> | `qstash_api_resume_queue` | Resumes a queue to starts the delivery of enqueued messages |
> | `qstash_api_retry_a_dlq_message` | Retry delivery of a message from the DLQ |
> | `qstash_api_retry_a_message_now` | Deliver a delayed message, or a message waiting for its next retry, immediately |
> | `qstash_api_rotate_signing_keys` | Rotate your signing keys |
> | `qstash_api_unpin_configuration_for_flow_control_key` | Removes the pinned configuration for a specific flow-control key. |
> | `qstash_api_upsert_a_queue` | Updates or creates a queue |
> | `qstash_api_upsert_url_group_and_endpoint` | Add an endpoint to a URL Group |

### Workflow tools

Tools in the latest published version of `guildai~upstash-workflow`:

> [accordion] All 31 tools
>
> | Tool | What it does |
> | - | - |
> | `upstash_workflow_batch_trigger_workflow_runs` | Start multiple workflow runs in a single request. |
> | `upstash_workflow_bulk_cancel_workflow_runs` | Cancel all matching workflow runs. |
> | `upstash_workflow_bulk_delete_failed_workflow_runs` | Delete multiple failed workflow runs from the DLQ. |
> | `upstash_workflow_bulk_restart_workflows_from_dlq` | Restart multiple failed workflow runs from the DLQ. |
> | `upstash_workflow_bulk_resume_workflows_from_dlq` | When a workflow run fails, it's automatically moved to the DLQ (Dead Letter Queue) where it can be analyzed and resumed. . |
> | `upstash_workflow_cancel_in_progress_failure_callback` | Cancel an in-progress failure callback for a failed workflow. |
> | `upstash_workflow_cancel_workflow_run` | Cancel an ongoing workflow run. |
> | `upstash_workflow_delete_failed_workflow_run` | Delete a specific failed workflow run from the DLQ. |
> | `upstash_workflow_get_a_bulk_action` | Retrieve the details and progress of a bulk action |
> | `upstash_workflow_get_failed_workflow_run` | Get details of a specific failed workflow run from the DLQ. |
> | `upstash_workflow_get_flow_control_key_2` | Get details of a specific Flow Control key |
> | `upstash_workflow_get_global_parallelism` | Returns the current global parallelism usage across all flow control keys |
> | `upstash_workflow_get_signing_keys` | Retrieve your current and next signing keys |
> | `upstash_workflow_list_bulk_actions` | List the bulk actions created by filter-based workflow run cancels |
> | `upstash_workflow_list_failed_workflow_runs` | List and paginate through all failed workflow runs currently in the DLQ. |
> | `upstash_workflow_list_flow_control_keys` | List all Flow Control keys |
> | `upstash_workflow_list_waiters` | List all active waiters for a specific event ID. |
> | `upstash_workflow_list_workflow_run_logs` | List and filter workflow runs with their state, completed and in-progress steps, and step details. |
> | `upstash_workflow_notify_event` | Notify an event to all waiters listening for that event ID. |
> | `upstash_workflow_notify_workflow_run_event` | Notify an event to a specific workflow run's waiters. |
> | `upstash_workflow_pause_flow_control_key` | Pauses the delivery of messages associated with a specific flow-control key. |
> | `upstash_workflow_pin_configuration_for_flow_control_key` | Pins a processing configuration for a specific flow-control key. |
> | `upstash_workflow_reset_rate_for_flow_control_key` | Resets the rate configuration state for a specific flow-control key. |
> | `upstash_workflow_restart_workflow_from_dlq` | Restart a failed workflow run from the DLQ. |
> | `upstash_workflow_resume_flow_control_key` | Resumes the delivery of messages associated with a specific flow-control key. |
> | `upstash_workflow_resume_workflow_from_dlq` | Resume a failed workflow run from the DLQ at the step where it failed, without re-running completed steps. |
> | `upstash_workflow_retry_a_step_now` | Execute a workflow step that is waiting for its next retry immediately |
> | `upstash_workflow_retry_failure_callback` | If the failure callback for a workflow run has failed, you can use this endpoint to manually trigger the failure callback again. . |
> | `upstash_workflow_rotate_signing_keys` | Rotate your signing keys |
> | `upstash_workflow_trigger_workflow_run` | Start a new workflow run. |
> | `upstash_workflow_unpin_configuration_for_flow_control_key` | Removes the pinned configuration for a specific flow-control key. |

## Frequently asked questions

> [accordion] Does the upstash integration cover Redis, Vector, and QStash data?
>
> No. `guildai~upstash` calls the Developer API, which manages databases, indexes, and teams. To read or write data, connect the product's own integration, such as `guildai~upstash-redis`.

> [accordion] Can an agent run several Redis commands in one request?
>
> Yes. `upstash_redis_execute_pipeline` sends independent commands in a single request. For atomic execution, `upstash_redis_execute_transaction` wraps commands in MULTI/EXEC. `upstash_redis_execute_command` runs any single Redis command that has no named tool.

> [accordion] Can an agent search Upstash Vector by text without computing embeddings?
>
> Yes. `upstash_vector_upsert_data` and `upstash_vector_query_data` send raw text, and Upstash embeds it with the index's embedding model.

> [accordion] Can I stop an agent from deleting databases or indexes?
>
> Yes. Write a DENY rule in a credential policy for operations such as `upstash_delete_database` and `upstash_delete_index`, then allow the rest. Guild's credential proxy enforces DENY rules before any request reaches Upstash. See [Credential policies](https://docs.guild.ai/platform/credential-policies.md) for the rule syntax.

> [accordion] Does Guild notify me when an Upstash event happens, like a failed workflow run?
>
> Not yet. None of the Upstash integrations define webhook events, so agents poll with tools such as `upstash_workflow_list_failed_workflow_runs`.

## Put a governed agent on Upstash this week

> [card] [Book a demo](https://guild-ai.cal.com/gtm/meeting-with-guild.ai)
>
> See how teams govern agents that use Upstash.

> [card] [Talk to sales](https://guild.ai/talk-to-sales)
>
> Get access to Guild, then connect Upstash to your first agent.

## Related

**Also runs on Guild:** [Chroma](https://docs.guild.ai/integrations/chroma.md) · [Neon](https://docs.guild.ai/integrations/neon.md) · [Supabase](https://docs.guild.ai/integrations/supabase.md) · [Xata](https://docs.guild.ai/integrations/xata.md)

**Read:** Docs: [Credential policies](https://docs.guild.ai/platform/credential-policies.md) · [Credentials](https://docs.guild.ai/platform/credentials.md) · [Tools in agents](https://docs.guild.ai/sdk/tools.md)
