Erasure
Get Erasure
The status of one erasure: pending, running, done or failed, with what was
deleted in each workspace and which exports were triggered.
Scope: erasures:write.
GET
/
erasures
/
{erasureID}
Get Erasure
curl --request GET \
--url https://api.clustr-ai.com/api/org/v1/erasures/{erasureID} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.clustr-ai.com/api/org/v1/erasures/{erasureID}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.clustr-ai.com/api/org/v1/erasures/{erasureID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.clustr-ai.com/api/org/v1/erasures/{erasureID}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.clustr-ai.com/api/org/v1/erasures/{erasureID}"
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))
}HttpResponse<String> response = Unirest.get("https://api.clustr-ai.com/api/org/v1/erasures/{erasureID}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.clustr-ai.com/api/org/v1/erasures/{erasureID}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "9b2f4a1c-6d3e-4f7a-8c5b-2e1d0f9a7c63",
"status": "done",
"linkedin_url": "https://www.linkedin.com/in/jane-doe",
"gdpr_subject": false,
"tenants_total": 1,
"tenants_done": 1,
"profile_erased": false,
"tenants": [
{
"tenant_id": "3f6c1d2e-8a4b-4c1f-9e2d-7b5a0c9e1f42",
"deleted": {
"opportunities": 14,
"notes": 1
},
"exports_triggered": [
"snowflake"
]
}
],
"created_at": "2026-10-14T10:00:00Z",
"completed_at": "2026-10-14T10:02:30Z"
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or revoked API key"
}
}{
"success": false,
"error": {
"code": "FORBIDDEN",
"message": "This key lacks the tenants:write scope"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Erasure not found"
}
}{
"success": false,
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests"
}
}{
"success": false,
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "The organization service is unavailable"
}
}Authorizations
Organization API key (clo_...). The X-API-Key header is also accepted in place of Authorization: Bearer.
Path Parameters
The erasure id, from Request Erasure.
⌘I
Get Erasure
curl --request GET \
--url https://api.clustr-ai.com/api/org/v1/erasures/{erasureID} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.clustr-ai.com/api/org/v1/erasures/{erasureID}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.clustr-ai.com/api/org/v1/erasures/{erasureID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.clustr-ai.com/api/org/v1/erasures/{erasureID}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.clustr-ai.com/api/org/v1/erasures/{erasureID}"
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))
}HttpResponse<String> response = Unirest.get("https://api.clustr-ai.com/api/org/v1/erasures/{erasureID}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.clustr-ai.com/api/org/v1/erasures/{erasureID}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "9b2f4a1c-6d3e-4f7a-8c5b-2e1d0f9a7c63",
"status": "done",
"linkedin_url": "https://www.linkedin.com/in/jane-doe",
"gdpr_subject": false,
"tenants_total": 1,
"tenants_done": 1,
"profile_erased": false,
"tenants": [
{
"tenant_id": "3f6c1d2e-8a4b-4c1f-9e2d-7b5a0c9e1f42",
"deleted": {
"opportunities": 14,
"notes": 1
},
"exports_triggered": [
"snowflake"
]
}
],
"created_at": "2026-10-14T10:00:00Z",
"completed_at": "2026-10-14T10:02:30Z"
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or revoked API key"
}
}{
"success": false,
"error": {
"code": "FORBIDDEN",
"message": "This key lacks the tenants:write scope"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Erasure not found"
}
}{
"success": false,
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests"
}
}{
"success": false,
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "The organization service is unavailable"
}
}