Action Requests
List Action Requests
Lists pending/decided action requests. Requires members:manage; an API key needs the workspaces:read scope.
GET
/
v1
/
workspaces
/
{id}
/
action-requests
List Action Requests
curl --request GET \
--url https://api.vertracloud.app/v1/workspaces/{id}/action-requests \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vertracloud.app/v1/workspaces/{id}/action-requests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vertracloud.app/v1/workspaces/{id}/action-requests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vertracloud.app/v1/workspaces/{id}/action-requests"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"response": [
{
"id": "<string>",
"workspace_id": "<string>",
"action": {},
"resource_type": {},
"resource_id": "<string>",
"resource_name": {},
"params": {},
"status": {},
"requested_by": {},
"decided_by": {},
"decided_at": {},
"expires_at": "<string>",
"created_at": "<string>"
}
]
}An API key needs the
workspaces:read scope. Approving and rejecting stay dashboard-only:
deciding a request is a human call, including when the request came from an agent.members:manage.
Path
string
required
Workspace ID.
Query
string
One of
pending, approved, rejected, expired. Omitted = all.Response
APIWorkspaceActionRequest[]
Show Toggle object
Show Toggle object
string
string
'app_delete' | 'database_delete' | 'snapshot_create' | 'snapshot_restore'
'application' | 'database'
string
string | null
object
The parameters persisted at request time — this, not anything sent on approve, is what runs.
'pending' | 'approved' | 'rejected' | 'expired'
object
{ id, display_name }.object | null
{ id, display_name }, null while pending.string | null
string
24h after creation.
string
Errors
| Status | Code | When |
|---|---|---|
| 403 | API_KEY_SCOPE_DENIED | Called with an API key that lacks the workspaces:read scope. |
| 403 | WORKSPACE_PERMISSION_DENIED | Caller lacks members:manage. |
| 404 | WORKSPACE_NOT_FOUND | Workspace doesn’t exist or you’re not a member. |
Last modified on September 25, 2026
⌘I
List Action Requests
curl --request GET \
--url https://api.vertracloud.app/v1/workspaces/{id}/action-requests \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vertracloud.app/v1/workspaces/{id}/action-requests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vertracloud.app/v1/workspaces/{id}/action-requests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vertracloud.app/v1/workspaces/{id}/action-requests"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"response": [
{
"id": "<string>",
"workspace_id": "<string>",
"action": {},
"resource_type": {},
"resource_id": "<string>",
"resource_name": {},
"params": {},
"status": {},
"requested_by": {},
"decided_by": {},
"decided_at": {},
"expires_at": "<string>",
"created_at": "<string>"
}
]
}