Replit
App · 24 actions
Read Enterprise workspaces, members, projects, deployments and spending, and review administrative requests.
Actions
| Action | What it does |
|---|---|
| Approve or deny one Budget limit increase request | Approve or deny a pending budget limit increase request. |
| Approve or deny one member access request | Approve or deny a pending member access request. |
| Get a deployment | Get one deployment in a workspace your account owns. |
| Get a public publish enablement request | Get one request to enable public publishing, with its history in order. |
| Get a publishing approval request | Get one publishing approval request, with its history in order. |
| Get Account usage and gross ledger cost | Get your account's usage and gross cost, as shown on Replit's Usage settings page. |
| Get an Account workspace | Get one workspace your account owns. |
| Get one Budget limit increase request | Get one budget limit increase request, with its history in order. |
| Get one member access request | Get one member access request, including its history. |
| List Account and Workspace budgets | List your account's spending controls and the Agent usage limits for its workspaces, groups and members. |
| List Account members | List your account's members, ordered by user ID. |
| List Account messages | List your account's audit events for messages sent in projects, each with the full text of the user's prompt. |
| List Account projects | List the projects in your account's team workspaces, newest first. |
| List Account workspaces | List the workspaces your account owns, newest first. |
| List Budget limit increase requests | List your account's requests to increase a budget limit. |
| List member access requests | List your account's member access requests. |
| List public publish enablement requests | List your account's requests to enable public publishing. |
| List publishing approval requests | List your account's publishing approval requests. |
| List users in a group | List the active users in one group shown under Workspace Groups. |
| List workspace deployments | List the deployments in one of your account's workspaces, most recently published first. |
| List workspace groups | List the groups shown under Workspace Groups across your account. |
| Review a public publish enablement request | Approve or deny a pending request to enable public publishing. |
| Review a publishing approval request | Approve or deny a pending publishing approval request. |
| Set or clear a budget | Set, 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 id
request_idtextRequired - Request id.
- If match
if_matchtextRequired - If match.
- Outcome
outcometextRequired - Outcome.One of:
approved,denied. - Reason
reasontext - 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 id
request_idtextRequired - Request id.
- If match
if_matchtextRequired - If match.
- Outcome
outcometextRequired - Outcome.One of:
approved,denied. - Reason
reasontext - 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 id
deployment_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 id
request_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 id
request_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
- Workspace
workspace_idtext - Workspace id.
- Group
group_idtext - Group id.
- User id
resource_user_idtext - User id.
- Project id
project_idtext - Project id.
- Billing period
billing_periodtext - Billing period.One of:
current,previous. - Start time
start_timedate and time - Start time.
- End time
end_timedate and time - End time.
- Type
typelist - 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 by
group_bytext - Group by.One of:
workspace,member,project,conversations,timeseries. - Breakdown by
breakdown_bytext - Breakdown by.One of:
member. - Granularity
granularitytext - Granularity.One of:
day. Default:day. - Limit
limitnumber - Limit.From 1 to 100. Default:
50. - Cursor
cursortext - 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
- Workspace
workspace_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 id
request_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 id
request_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
- Workspace
workspace_idtext - Workspace id.
- Type
typetext - 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). - Limit
limitnumber - Limit.From 1 to 100. Default:
50. - Cursor
cursortext - 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
- Workspace
workspace_idtext - Workspace id.
- Limit
limitnumber - Limit.From 1 to 100. Default:
50. - Cursor
cursortext - Cursor.
- Role
roletext - Role.One of:
admin,member,viewer,guest. - Search
searchtext - 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 after
occurred_afterdate and time - Occurred after.
- Occurred before
occurred_beforedate and time - Occurred before.
- Limit
limitnumber - Limit.From 1 to 100. Default:
25. - Message ref
message_reftext - Message ref.
- Cursor
cursortext - 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
- Workspace
workspace_idtext - Workspace id.
- Limit
limitnumber - Limit.From 1 to 100. Default:
50. - Cursor
cursortext - Cursor.
- Search
searchtext - Search.
- Has deployment
has_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
- Limit
limitnumber - Limit.From 1 to 100. Default:
50. - Cursor
cursortext - Cursor.
- Search
searchtext - 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
- Status
statuslist - Status.One or more of:
pending,approved,fulfillment_started(Fulfillment started),fulfilled,fulfillment_failed(Fulfillment failed),denied,canceled. Default:["pending"]. - Workspace
workspace_idtext - Workspace id.
- Type
typetext - 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 events
include_eventstrue/false - Include events.Default:
false. - Limit
limitnumber - Limit.From 1 to 100. Default:
50. - Cursor
cursortext - 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
- Status
statuslist - Status.One or more of:
pending,notified,approved,fulfillment_started(Fulfillment started),fulfilled,fulfillment_failed(Fulfillment failed),denied,canceled. Default:["pending"]. - Workspace
workspace_idtext - Workspace id.
- Include events
include_eventstrue/false - Include events.Default:
false. - Limit
limitnumber - Limit.From 1 to 100. Default:
50. - Cursor
cursortext - 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
- Status
statuslist - Status.One or more of:
pending,approved,fulfillment_started(Fulfillment started),fulfilled,fulfillment_failed(Fulfillment failed),denied,canceled. Default:["pending"]. - Workspace
workspace_idtext - Workspace id.
- Project id
project_idtext - Project id.
- Limit
limitnumber - Limit.From 1 to 100. Default:
50. - Cursor
cursortext - Cursor.
Outputs
dataobject- Replit response data.
Example output
{
"data": {
"data": [],
"pagination": {}
}
}List publishing approval requests
List your account's publishing approval requests.
Inputs
- Status
statuslist - Status.One or more of:
pending,approved,fulfillment_started(Fulfillment started),fulfilled,fulfillment_failed(Fulfillment failed),denied,canceled. Default:["pending"]. - Workspace
workspace_idtext - Workspace id.
- Project id
project_idtext - Project id.
- Limit
limitnumber - Limit.From 1 to 100. Default:
50. - Cursor
cursortext - 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 id
group_idtextRequired - Group id.
- Limit
limitnumber - Limit.From 1 to 100. Default:
50. - Cursor
cursortext - 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
- Workspace
workspace_idtextRequired - Workspace id.
- Limit
limitnumber - Limit.From 1 to 100. Default:
50. - Cursor
cursortext - Cursor.
- Project id
project_idtext - Project id.
- Status
statustext - 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
- Workspace
workspace_idtext - Workspace id.
- Limit
limitnumber - Limit.From 1 to 100. Default:
50. - Cursor
cursortext - 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 id
request_idtextRequired - Request id.
- If match
if_matchtextRequired - If match.
- Outcome
outcometextRequired - Outcome.One of:
approved,denied. - Reason
reasontext - 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 id
request_idtextRequired - Request id.
- If match
if_matchtextRequired - Opaque token for this request. Copy the complete value unchanged; do not construct or parse it.
- Outcome
outcometextRequired - Outcome.One of:
approved,denied. - Reason
reasontext - 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 body
request_bodyobjectRequired - Request body.
Outputs
dataobject- Replit response data.
Example output
{
"data": {
"data": {}
}
}