Sanity integration

Developer tools connector, available on Zeplik

Sanity is available as an integration on Zeplik, the AI assistant that works across every model in one chat. Connect Sanity and Zeplik can act on your software development for you: Sanity is a headless CMS platform that provides structured content storage and APIs for modern applications. You stay in the conversation while the assistant does the work in Sanity directly.

Zeplik exposes 9 read actions and 7 write actions for Sanity. Read actions run automatically; write actions stay off until you enable write access in Settings, so nothing is changed in Sanity without your consent.

Try Sanity on Zeplik

Pick a prompt to open it in the Zeplik app. If you are not signed in yet, your prompt is waiting for you the moment you do.

What Zeplik can do with Sanity

Read from Sanity (9)

Runs automatically in any conversation.

  • Get invite by token

    Retrieve an invite by its public token. Use this action when you need to fetch details about an invite using the invite token that was shared with the invitee. Returns invite information including status, role, and inviter details.

  • Get org role

    Retrieve a specific organization role by its ID. Use this action when you need to fetch details about an organization role including its permissions, title, description, and whether it applies to users or robots. The role must exist for the specified organization.

  • Get permission

    Get a permission for a specific resource. Use when you need to retrieve details about a particular permission including its actions, parameters, and scope. The action retrieves permission information based on the resource type, resource ID, and permission name provided in the path parameters.

  • Get robots

    Tool to get robots with access to a resource. Use when you need to retrieve a list of robots (service accounts) that have been granted access to a specific resource along with their assigned roles. This action supports pagination through the next_cursor parameter.

  • Get role

    Retrieve a specific role for a given resource type and resource ID. Use this action when you need to fetch details about a role including its permissions, title, description, and whether it applies to users or robots. The role must exist for the specified resource.

  • Get users

    List all users of a resource and their assigned roles. Use when you need to retrieve user information and role assignments for a specific project or organization. Supports pagination via cursor.

  • List org roles

    List all roles available for an organization. Use this action to retrieve all available roles that can be assigned to users within a specific Sanity organization. The organization_id is required to identify which organization's roles to list.

  • List user attributes

    Tool to retrieve user attributes from a Sanity organization. Use when you need to get the attributes (such as roles, permissions, or custom properties) associated with a specific user in a Sanity organization. Supports pagination via the cursor parameter.

  • Query all screening

    Execute a GROQ query to fetch all screening documents from Sanity. Uses the Sanity HTTP query API endpoint. Default query retrieves all documents of type 'screening'. Supports optional query parameters for dynamic queries.

Act in Sanity (7)

Runs only after you enable write access.

  • Add default role to users

    Apply organization default role to all users. Use when you need to assign the organization's default role to all existing users in the organization. Requires the resource ID of the organization.

  • Create attr definition

    Tool to create a new user attribute definition in Sanity. Use when you need to define a custom attribute (like 'customer-tier' or 'subscription-level') that can be attached to resources. The key must be unique within the resource. The attribute can have a type of 'string', 'number', or 'boolean' and can optionally be a list of values or read-only.

  • Create prompt

    Send a one-shot prompt to the Sanity Content Agent. Stateless one-shot prompt endpoint. No thread management or message persistence. Ideal for simple, single-turn interactions. Use when you need to send a single prompt and receive a response without maintaining conversation context.

  • Delete attr definition

    Delete a user attribute definition. Use when you need to remove a custom attribute definition from an organization or project in Sanity. The attribute definition controls how user attributes are structured and validated for a given resource. Deleting a definition does not delete existing user attribute values, but users will no longer be able to set values for that attribute.

  • Delete user attributes

    Delete custom attributes from a Sanity user within an organization. Use this tool when you need to remove specific custom attributes from a user account. The action deletes the attributes specified in the request and returns the updated attribute list for the user. Example use case: Removing outdated metadata like 'location' or 'year_started' from a user profile.

  • Update org acl

    Tool to assign a role to a member in a Sanity organization. Use when adding or modifying user roles within an organization.

  • Update user attributes values

    Update user attribute values for a resource. Use this action to set or update custom attributes for a user within an organization or project. When setting a value for an attribute key that also exists in SAML, the Sanity value will take precedence and shadow the SAML value.

How to connect Sanity

  1. Sign in to Zeplik

    Create a free Zeplik account or sign in. New accounts start with free credits, so you can try Sanity immediately.

  2. Connect Sanity

    Open Settings and go to Connectors, then press Connect on Sanity. You can also connect from the Sanity page in the app.

  3. Add your Sanity API key

    Paste your Sanity API key when prompted. Zeplik stores it securely on the server and starts working with Sanity right away.

Frequently asked questions

Can I use Sanity with Zeplik?
Yes. Sanity is available as an integration on Zeplik. Connect it once and the AI assistant can work with your Sanity account inside any conversation.
What can Zeplik do with Sanity?
Once connected, Zeplik has 9 read and 7 write actions for Sanity. Sanity is a headless CMS platform that provides structured content storage and APIs for modern applications.
How do I connect Sanity to Zeplik?
You connect Sanity by pasting your own Sanity API key in Settings under Connectors. There is no separate app to install.
Does Zeplik change things in Sanity without asking?
No. Zeplik reads from Sanity by default. Any action that changes data in Sanity requires write access, which stays off until you enable it in Settings under Connectors.
How much does connecting Sanity cost?
Connecting Sanity is free. You only spend Zeplik credits when the assistant runs, and new accounts start with free credits.

Related developer tools integrations

Connect Sanity to your AI assistant

Every model, one chat. Bring Sanity into Zeplik and let the assistant do the work.