{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Replit","description":"Control the power of AI Agents in runtime."},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"replit","__idx":0},"children":["Replit"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Connect your Replit Enterprise account to Capsule Security to inventory the projects your teams build with Replit Agent, see who owns each one, and monitor the prompts people send to Replit Agent."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"overview","__idx":1},"children":["Overview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This integration reads your account through the Replit Admin API. It is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["read-only"]},": it never creates, updates, or deletes anything in Replit."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Replit Admin API is in beta, so Replit may change its endpoints and behavior."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":2},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Replit Enterprise"]}," account"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Account admin"]}," access in Replit. Workspace admins and other members cannot create Admin API keys"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Capsule Security"]}," account with admin access"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-1-create-an-admin-api-key","__idx":3},"children":["Step 1: Create an Admin API key"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Sign in to Replit as an Account admin"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings"]}," and, under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Account"]},", select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Developer"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create API key"]}," and choose ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["read-only"]}," access. Capsule only reads"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Copy the key. It starts with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rpl_"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Store the key in a password manager or secret store. To rotate it, create a new key, reconnect the integration in Capsule, then revoke the old key in Replit."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-2-configure-the-integration-in-capsule","__idx":4},"children":["Step 2: Configure the integration in Capsule"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the Capsule Security portal, click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations"]}," in the left sidebar"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Find the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Replit"]}," card and click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Set up Integration"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Paste the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API key"]}," from Step 1. Capsule tests it as you type and shows ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connection successful"]}," once Replit lets it read members, projects and Agent messages"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Capsule creates one ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Replit"]}," environment for the account and stores the key encrypted in its secret store. The key is never displayed again."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"what-capsule-ingests","__idx":5},"children":["What Capsule ingests"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Replit source"},"children":["Replit source"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Appears in Capsule as"},"children":["Appears in Capsule as"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v1/members"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Identities"]},", keyed by email"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v1/projects"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Agents"]},", one per project, owned by the project's creator"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v1/compliance/messages"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sessions"]}," of user prompts on each project's agent, for runtime analysis"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Members and projects are read in full on every sync, so a deleted project is removed from the inventory. Prompts are read incrementally from a checkpoint. The first sync reads the last 7 days."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"limits","__idx":6},"children":["Limits"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Skills and MCP servers are not ingested."]}," The Replit Admin API does not expose the skills installed in a project or the MCP servers connected to Replit Agent."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Only prompts are ingested."]}," The compliance feed carries what people send to Replit Agent, not Agent replies or tool calls."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Team workspaces only."]}," Replit lists projects from team workspaces. Prompts sent in a personal workspace or in a project deleted since are not attributed to an agent and are skipped."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Late events."]}," Replit can publish a prompt after it happened and gives no completion signal. Capsule re-reads the last 15 minutes on every sync to catch late events, but a prompt published later than that can be missed."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"troubleshooting","__idx":7},"children":["Troubleshooting"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Message"},"children":["Message"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Cause"},"children":["Cause"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Fix"},"children":["Fix"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Replit did not accept this API key"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The key is wrong or revoked (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["401"]},")"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Create a new key in Replit and reconnect"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Replit accepted the key but refused to share members, projects or Agent messages"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The key cannot read one of the three endpoints (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["403"]},")"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Create the key as an Account admin on an Enterprise account"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Replit rejected the saved API key"]}," (sync error)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The saved key was revoked after setup"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Create a new key and reconnect the integration"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-it-works","__idx":8},"children":["How It Works"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Capsule calls ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://api.replit.com/v1"]}," with the key as a bearer token. It pages through members and projects with Replit's cursors, and reads prompts in windows of at most 24 hours, the longest Replit allows. Rate-limited and failed requests are retried, honoring Replit's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Retry-After"]}," header."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"support","__idx":9},"children":["Support"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Email"]},": support@capsule.security"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Include"]},": your tenant ID and any error message shown in the portal"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"references","__idx":10},"children":["References"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.replit.com/teams/admin-api"},"children":["Replit Admin API documentation"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://api.replit.com/docs"},"children":["Replit Admin API reference"]}]}]}]},"headings":[{"value":"Replit","id":"replit","depth":1},{"value":"Overview","id":"overview","depth":2},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"Step 1: Create an Admin API key","id":"step-1-create-an-admin-api-key","depth":2},{"value":"Step 2: Configure the integration in Capsule","id":"step-2-configure-the-integration-in-capsule","depth":2},{"value":"What Capsule ingests","id":"what-capsule-ingests","depth":2},{"value":"Limits","id":"limits","depth":3},{"value":"Troubleshooting","id":"troubleshooting","depth":2},{"value":"How It Works","id":"how-it-works","depth":2},{"value":"Support","id":"support","depth":2},{"value":"References","id":"references","depth":2}],"frontmatter":{"seo":{"title":"Replit"}},"lastModified":"2026-11-10T20:40:56.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/replit","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}