Replit

App · 24 actions

Read Enterprise workspaces, members, projects, deployments and spending, and review administrative requests.

Actions

ActionWhat it does
Approve or deny one Budget limit increase requestApprove or deny a pending budget limit increase request.
Approve or deny one member access requestApprove or deny a pending member access request.
Get a deploymentGet one deployment in a workspace your account owns.
Get a public publish enablement requestGet one request to enable public publishing, with its history in order.
Get a publishing approval requestGet one publishing approval request, with its history in order.
Get Account usage and gross ledger costGet your account's usage and gross cost, as shown on Replit's Usage settings page.
Get an Account workspaceGet one workspace your account owns.
Get one Budget limit increase requestGet one budget limit increase request, with its history in order.
Get one member access requestGet one member access request, including its history.
List Account and Workspace budgetsList your account's spending controls and the Agent usage limits for its workspaces, groups and members.
List Account membersList your account's members, ordered by user ID.
List Account messagesList your account's audit events for messages sent in projects, each with the full text of the user's prompt.
List Account projectsList the projects in your account's team workspaces, newest first.
List Account workspacesList the workspaces your account owns, newest first.
List Budget limit increase requestsList your account's requests to increase a budget limit.
List member access requestsList your account's member access requests.
List public publish enablement requestsList your account's requests to enable public publishing.
List publishing approval requestsList your account's publishing approval requests.
List users in a groupList the active users in one group shown under Workspace Groups.
List workspace deploymentsList the deployments in one of your account's workspaces, most recently published first.
List workspace groupsList the groups shown under Workspace Groups across your account.
Review a public publish enablement requestApprove or deny a pending request to enable public publishing.
Review a publishing approval requestApprove or deny a pending publishing approval request.
Set or clear a budgetSet, replace or clear one budget or limit, as the Usage settings page does.

Approve or deny one Budget limit increase request

Approve or deny a pending budget limit increase request. Approving it also applies the new limit.

Inputs

Request idrequest_idtextRequired
Request id.
If matchif_matchtextRequired
If match.
OutcomeoutcometextRequired
Outcome.One of: approved, denied.
Reasonreasontext
Reason.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": {
      "appliedLimitUsd": 1.0,
      "approvedLimitUsd": 1.0,
      "createdAt": "example",
      "currentLimitUsd": 1.0,
      "events": [],
      "group": {},
      "groupId": "example",
      "id": "example",
      "limitAtRequestUsd": 1.0,
      "requestedAmountUsd": 1.0,
      "requester": {},
      "requesterUserId": "example",
      "status": "pending",
      "type": "workspace_default_user_limit",
      "updatedAt": "example",
      "version": 1,
      "workspace": {},
      "workspaceId": "example"
    }
  }
}

Approve or deny one member access request

Approve or deny a pending member access request. The person who created the API key must be allowed to change member roles in the workspace.

Inputs

Request idrequest_idtextRequired
Request id.
If matchif_matchtextRequired
If match.
OutcomeoutcometextRequired
Outcome.One of: approved, denied.
Reasonreasontext
Reason.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": {
      "alreadyMember": false,
      "createdAt": "example",
      "events": [],
      "id": "example",
      "reason": "example",
      "requester": {},
      "requesterUserId": "example",
      "status": "pending",
      "type": "member_seat_upgrade",
      "updatedAt": "example",
      "version": 1,
      "workspaceId": "example"
    }
  }
}

Get a deployment

Get one deployment in a workspace your account owns.

Inputs

Deployment iddeployment_idtextRequired
Deployment id.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": {
      "createdAt": "example",
      "deploymentPrivacy": "public",
      "id": "example",
      "project": {
        "id": "example",
        "title": "example"
      },
      "status": "pending",
      "updatedAt": "example",
      "url": "example",
      "workspace": {
        "id": "example",
        "name": "example",
        "slug": "example"
      }
    }
  }
}

Get a public publish enablement request

Get one request to enable public publishing, with its history in order.

Inputs

Request idrequest_idtextRequired
Request id.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": {
      "createdAt": "example",
      "events": [],
      "id": "example",
      "projectId": "example",
      "requesterUserId": "example",
      "status": "pending",
      "updatedAt": "example",
      "version": 1,
      "workspaceId": "example"
    }
  }
}

Get a publishing approval request

Get one publishing approval request, with its history in order.

Inputs

Request idrequest_idtextRequired
Request id.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": {
      "createdAt": "example",
      "events": [],
      "execution": {
        "message": "example",
        "operationId": "example"
      },
      "id": "example",
      "projectId": "example",
      "requesterUserId": "example",
      "status": "pending",
      "updatedAt": "example",
      "version": 1,
      "workspaceId": "example"
    }
  }
}

Get Account usage and gross ledger cost

Get your account's usage and gross cost, as shown on Replit's Usage settings page.

Inputs

Workspaceworkspace_idtext
Workspace id.
Groupgroup_idtext
Group id.
User idresource_user_idtext
User id.
Project idproject_idtext
Project id.
Billing periodbilling_periodtext
Billing period.One of: current, previous.
Start timestart_timedate and time
Start time.
End timeend_timedate and time
End time.
Typetypelist
Type.One or more of: agent, replit_ai_integrations (Replit ai integrations), tools, autoscale_deployment_compute (Autoscale deployment compute), autoscale_deployment (Autoscale deployment), autoscale_requests (Autoscale requests), azure_container_app_usage (Azure container app usage), azure_vm_compute (Azure vm compute), always_on_deployment_compute (Always on deployment compute), scheduled_deployment_compute (Scheduled deployment compute), and 17 more.
Group bygroup_bytext
Group by.One of: workspace, member, project, conversations, timeseries.
Breakdown bybreakdown_bytext
Breakdown by.One of: member.
Granularitygranularitytext
Granularity.One of: day. Default: day.
Limitlimitnumber
Limit.From 1 to 100. Default: 50.
Cursorcursortext
Cursor.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": {
      "attributableTotalCostUsd": 1.0,
      "breakdownBy": "member",
      "currency": "USD",
      "groupBy": "workspace",
      "groups": [],
      "interval": {
        "endTime": "example",
        "startTime": "example"
      },
      "metrics": [],
      "pagination": {},
      "totalCostUsd": 1.0,
      "unattributableTotalCostUsd": 1.0
    }
  }
}

Get an Account workspace

Get one workspace your account owns.

Inputs

Workspaceworkspace_idtextRequired
Workspace id.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": {
      "admins": [],
      "createdAt": "example",
      "id": "example",
      "memberCount": 1,
      "name": "example",
      "projectCount": 1,
      "slug": "example"
    }
  }
}

Get one Budget limit increase request

Get one budget limit increase request, with its history in order.

Inputs

Request idrequest_idtextRequired
Request id.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": {
      "appliedLimitUsd": 1.0,
      "approvedLimitUsd": 1.0,
      "createdAt": "example",
      "currentLimitUsd": 1.0,
      "events": [],
      "group": {},
      "groupId": "example",
      "id": "example",
      "limitAtRequestUsd": 1.0,
      "requestedAmountUsd": 1.0,
      "requester": {},
      "requesterUserId": "example",
      "status": "pending",
      "type": "workspace_default_user_limit",
      "updatedAt": "example",
      "version": 1,
      "workspace": {},
      "workspaceId": "example"
    }
  }
}

Get one member access request

Get one member access request, including its history.

Inputs

Request idrequest_idtextRequired
Request id.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": {
      "alreadyMember": false,
      "createdAt": "example",
      "events": [],
      "id": "example",
      "reason": "example",
      "requester": {},
      "requesterUserId": "example",
      "status": "pending",
      "type": "member_seat_upgrade",
      "updatedAt": "example",
      "version": 1,
      "workspaceId": "example"
    }
  }
}

List Account and Workspace budgets

List your account's spending controls and the Agent usage limits for its workspaces, groups and members. Account controls apply to usage-based spend; workspace, group and member limits apply to Agent usage in the current billing cycle.

Inputs

Workspaceworkspace_idtext
Workspace id.
Typetypetext
Type.One of: account_spending_controls (Account spending controls), workspace_default_user_limit (Workspace default user limit), workspace_group_limit (Workspace group limit), workspace_user_limit (Workspace user limit).
Limitlimitnumber
Limit.From 1 to 100. Default: 50.
Cursorcursortext
Cursor.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": [],
    "pagination": {}
  }
}

List Account members

List your account's members, ordered by user ID. You can limit the list to one workspace.

Inputs

Workspaceworkspace_idtext
Workspace id.
Limitlimitnumber
Limit.From 1 to 100. Default: 50.
Cursorcursortext
Cursor.
Roleroletext
Role.One of: admin, member, viewer, guest.
Searchsearchtext
Search.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": [],
    "pagination": {}
  }
}

List Account messages

List your account's audit events for messages sent in projects, each with the full text of the user's prompt. Results cover the account the API key belongs to.

Inputs

Occurred afteroccurred_afterdate and time
Occurred after.
Occurred beforeoccurred_beforedate and time
Occurred before.
Limitlimitnumber
Limit.From 1 to 100. Default: 25.
Message refmessage_reftext
Message ref.
Cursorcursortext
Cursor.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": [],
    "pagination": {}
  }
}

List Account projects

List the projects in your account's team workspaces, newest first.

Inputs

Workspaceworkspace_idtext
Workspace id.
Limitlimitnumber
Limit.From 1 to 100. Default: 50.
Cursorcursortext
Cursor.
Searchsearchtext
Search.
Has deploymenthas_deploymenttrue/false
Has deployment.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": [],
    "pagination": {}
  }
}

List Account workspaces

List the workspaces your account owns, newest first.

Inputs

Limitlimitnumber
Limit.From 1 to 100. Default: 50.
Cursorcursortext
Cursor.
Searchsearchtext
Search.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": [],
    "pagination": {}
  }
}

List Budget limit increase requests

List your account's requests to increase a budget limit.

Inputs

Statusstatuslist
Status.One or more of: pending, approved, fulfillment_started (Fulfillment started), fulfilled, fulfillment_failed (Fulfillment failed), denied, canceled. Default: ["pending"].
Workspaceworkspace_idtext
Workspace id.
Typetypetext
Budget limit targeted by the request. workspace_user_limit raises the requester's own member limit. workspace_default_user_limit raises the workspace default member limit. workspace_group_limit raises the shared aggregate limit of the group identified by groupId, not the requester's individual limit.One of: workspace_default_user_limit (Workspace default user limit), workspace_user_limit (Workspace user limit), workspace_group_limit (Workspace group limit).
Include eventsinclude_eventstrue/false
Include events.Default: false.
Limitlimitnumber
Limit.From 1 to 100. Default: 50.
Cursorcursortext
Cursor.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": [],
    "pagination": {}
  }
}

List member access requests

List your account's member access requests. These are requests from workspace viewers for a member seat.

Inputs

Statusstatuslist
Status.One or more of: pending, notified, approved, fulfillment_started (Fulfillment started), fulfilled, fulfillment_failed (Fulfillment failed), denied, canceled. Default: ["pending"].
Workspaceworkspace_idtext
Workspace id.
Include eventsinclude_eventstrue/false
Include events.Default: false.
Limitlimitnumber
Limit.From 1 to 100. Default: 50.
Cursorcursortext
Cursor.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": [],
    "pagination": {}
  }
}

List public publish enablement requests

List your account's requests to enable public publishing.

Inputs

Statusstatuslist
Status.One or more of: pending, approved, fulfillment_started (Fulfillment started), fulfilled, fulfillment_failed (Fulfillment failed), denied, canceled. Default: ["pending"].
Workspaceworkspace_idtext
Workspace id.
Project idproject_idtext
Project id.
Limitlimitnumber
Limit.From 1 to 100. Default: 50.
Cursorcursortext
Cursor.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": [],
    "pagination": {}
  }
}

List publishing approval requests

List your account's publishing approval requests.

Inputs

Statusstatuslist
Status.One or more of: pending, approved, fulfillment_started (Fulfillment started), fulfilled, fulfillment_failed (Fulfillment failed), denied, canceled. Default: ["pending"].
Workspaceworkspace_idtext
Workspace id.
Project idproject_idtext
Project id.
Limitlimitnumber
Limit.From 1 to 100. Default: 50.
Cursorcursortext
Cursor.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": [],
    "pagination": {}
  }
}

List users in a group

List the active users in one group shown under Workspace Groups.

Inputs

Group idgroup_idtextRequired
Group id.
Limitlimitnumber
Limit.From 1 to 100. Default: 50.
Cursorcursortext
Cursor.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": [],
    "pagination": {}
  }
}

List workspace deployments

List the deployments in one of your account's workspaces, most recently published first.

Inputs

Workspaceworkspace_idtextRequired
Workspace id.
Limitlimitnumber
Limit.From 1 to 100. Default: 50.
Cursorcursortext
Cursor.
Project idproject_idtext
Project id.
Statusstatustext
Current serving build lifecycle status.One of: pending, building, security_scanning (Security scanning), running, promoting, failed, success, updating_tier (Updating tier), suspending, suspended, resuming.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": [],
    "pagination": {}
  }
}

List workspace groups

List the groups shown under Workspace Groups across your account.

Inputs

Workspaceworkspace_idtext
Workspace id.
Limitlimitnumber
Limit.From 1 to 100. Default: 50.
Cursorcursortext
Cursor.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": [],
    "pagination": {}
  }
}

Review a public publish enablement request

Approve or deny a pending request to enable public publishing.

Inputs

Request idrequest_idtextRequired
Request id.
If matchif_matchtextRequired
If match.
OutcomeoutcometextRequired
Outcome.One of: approved, denied.
Reasonreasontext
Reason.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": {
      "createdAt": "example",
      "events": [],
      "id": "example",
      "projectId": "example",
      "requesterUserId": "example",
      "status": "pending",
      "updatedAt": "example",
      "version": 1,
      "workspaceId": "example"
    }
  }
}

Review a publishing approval request

Approve or deny a pending publishing approval request.

Inputs

Request idrequest_idtextRequired
Request id.
If matchif_matchtextRequired
Opaque token for this request. Copy the complete value unchanged; do not construct or parse it.
OutcomeoutcometextRequired
Outcome.One of: approved, denied.
Reasonreasontext
Reason.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": {
      "createdAt": "example",
      "events": [],
      "execution": {
        "message": "example",
        "operationId": "example"
      },
      "id": "example",
      "projectId": "example",
      "requesterUserId": "example",
      "status": "pending",
      "updatedAt": "example",
      "version": 1,
      "workspaceId": "example"
    }
  }
}

Set or clear a budget

Set, replace or clear one budget or limit, as the Usage settings page does. Sending the same request again changes nothing.

Inputs

Request bodyrequest_bodyobjectRequired
Request body.

Outputs

dataobject
Replit response data.
Example output
{
  "data": {
    "data": {}
  }
}

On this page