---
title: Rockset API Integration on Truto
slug: rockset
category: Analytics
canonical: "https://truto.one/integrations/detail/rockset/"
---

# Rockset API Integration on Truto



**Category:** Analytics  
**Status:** Beta

## Unified APIs

### Unified User Directory API

- **Roles** — The Role object represents a role of a User.
- **Users** — The User object represents a User.

## How it works

1. **Link your customer's Rockset account.** Use Truto's frontend SDK; we handle every OAuth and API key flow so you don't need to create the OAuth app.
2. **Authentication is automatic.** Truto refreshes tokens, stores credentials securely, and injects them into every API request.
3. **Call Truto's API to reach Rockset.** The Proxy API is a 1-to-1 mapping of the Rockset API.
4. **Get a unified response format.** Every response uses a single shape, with cursor-based pagination and data in the `result` field.

## Use cases

- **Sync user roles for multi-tenant embedded analytics** — A SaaS platform offering embedded dashboards powered by Rockset can use Truto's Unified User Directory API to automatically sync their tenant users and roles into Rockset's RBAC system, ensuring each end-user only sees data scoped to their permissions.
- **Automate workspace access provisioning for data teams** — B2B SaaS companies that manage multiple customer workspaces in Rockset can map their internal user directory to Rockset roles, automating onboarding and offboarding so that data engineers get the right query access from day one without manual API key management.
- **Enforce row-level security across customer tenants** — SaaS platforms serving multi-tenant analytics need to ensure strict data isolation. By syncing users and role assignments from their identity layer into Rockset via Truto, they can programmatically enforce that each customer's API key is scoped to the correct role and workspace.
- **Centralize access governance for real-time AI retrieval pipelines** — AI agent platforms that connect end-users to Rockset's vector search capabilities need tight access controls. Syncing user roles through Truto ensures that each RAG query retrieves only documents the requesting user is authorized to access.

## What you can build

- **Automated Rockset RBAC provisioning from your user directory** — Automatically create and assign Rockset roles to end-users based on their roles in your SaaS application, using Truto's Unified User Directory API for Users and Roles.
- **Self-serve Rockset workspace access for customer admins** — Let customer admins manage which team members have query access to their Rockset-powered dashboards by syncing role changes through a unified user directory.
- **Tenant-scoped API key management tied to user roles** — Map each SaaS tenant's user identity to a Rockset API key scoped with the appropriate role, ensuring embedded analytics queries are always permission-bound.
- **Real-time user deprovisioning across analytics workspaces** — When a user is removed from your platform, automatically revoke their Rockset access by syncing the deletion event through the unified user directory.
- **Audit-ready role assignment sync between your app and Rockset** — Maintain a consistent, auditable record of which users have which Rockset roles by treating Truto's Unified User Directory as the source of truth for access assignments.

## FAQs

### What Unified APIs does Truto support for Rockset?

Truto currently maps Rockset to the Unified User Directory API, covering Users and Roles. This enables syncing user identities and RBAC role assignments between your application and Rockset.

### Are there pre-built tools available for Rockset on Truto?

No pre-built tools are available yet. Rockset tools are built on request — contact Truto to scope the specific endpoints and workflows you need, such as collection management, document ingestion, or query execution.

### How does authentication work for connecting end-user Rockset accounts?

Rockset uses API key authentication. End-users provide their Rockset API key, and Truto securely manages the credential so your application can make authorized API calls on their behalf without handling raw keys directly.

### Can Truto handle Rockset's workspace-level access isolation?

Yes. Rockset's RBAC model supports roles scoped to specific workspaces. Through the Unified User Directory API, you can map your tenant structure to Rockset roles that restrict query access to the appropriate workspace and collections.

### What happened to Rockset's standalone service after the OpenAI acquisition?

OpenAI acquired Rockset in June 2024 and subsequently sunset the public cloud service for most users. Truto's integration is relevant for customers managing legacy Rockset workloads, migrating data, or transitioning access control configurations during the wind-down.

### Does Truto handle pagination and rate limits for Rockset's API?

Yes. Truto abstracts away API-specific quirks including pagination and rate limiting, so your application doesn't need to implement retry logic or cursor management when interacting with Rockset endpoints.
