/v1/signals/deletionsCreate a Data Deletion Job
To permanently delete Signals conversation data, send a POST request to
/v1/signals/deletions. Deletion cannot be undone.
Two deletion types are supported:
agent— deletes Signals conversations for one Harness Runtime environment and turns off collection for that environment. Requiresagent_id, which is the environment's Environment Config ID (the environment'sagent_id). On create, matching conversations are hidden from Signals reads immediately. Wait until the job iscompletebefore enabling Signals for the environment again.inference— deletes Serverless Inference Signals conversations for your whole team (team-wide; not limited to one endpoint or model) that were collected at or before the deletion request, and turns off team inference collection (source=inference). Do not sendagent_id. On create, matching conversations are hidden from Signals reads immediately.
The job runs asynchronously; poll the get endpoint until status is
complete or failed. DigitalOcean may retry transient processing errors
while a job is still active. If a job ends as failed, matching
conversations stay hidden and collection stays off; send the same create
request again to retry. Earlier export files are not deleted and remain
available until they expire.
Note: Deletion removes Signals conversation data for the requested scope. Aggregated Insights or metrics charts may still show historical summary datapoints after deletion. Those summaries are not the same as recoverable conversation content.
The endpoint is idempotent: if a queued or running job already exists for
the same target, it is returned with 200 OK. A new job returns
202 Accepted. Each team can have a limited number of active jobs;
requests beyond that limit return 429 Too Many Requests.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
A 400 is returned: There was an error parsing the request body. A 401 is returned: Authentication failed due to invalid credentials. A 403 is returned: The authenticated principal does not have permission to perform this action on the requested resource. A 404 is returned: The resource was not found. A 429 is returned: The API rate limit has been exceeded. A 500 is returned: There was a server error. Any other status is an error: There was an unexpected error.