dots.v1.signals.deletions.post()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v1.signals.deletions.post(body: Create_deletion_request, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | Deletion_job>Description
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. Requiresenvironment_id(the environment’s Environment Config ID). Deprecatedagent_idis still accepted; both set and equal is accepted, both set and different returns 400. 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 sendenvironment_idoragent_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.
Parameters
typestring requiredThe scope of the deletion.
agentdeletes Signals conversations for one Harness Runtime environment and requiresenvironment_id(or deprecatedagent_id).inferencedeletes Serverless Inference Signals conversations for the whole team (team-wide; omitenvironment_idandagent_id).teamIdinteger requiredExample:
12345678The team whose data should be deleted. Must match the authenticated team.
environmentIdstring optionalExample:
01a10d3f-2c09-764f-99f8-458e521627f3The Harness Runtime Environment Config ID of the environment whose conversations should be deleted. Required when
typeisagentifagent_idis omitted; must be omitted whentypeisinference. Prefer this overagent_id.agentIdstring optional deprecatedExample:
01a10d3f-2c09-764f-99f8-458e521627f3Deprecated alias for
environment_id. Accepted for backward compatibility; must equalenvironment_idwhen both are set. Both set and different returns 400. Required whentypeisagentifenvironment_idis omitted; must be omitted whentypeisinference.
Request Sample
Response Example
More Information
See /v1/signals/deletions in the API reference for additional detail on responses, headers, parameters, and more.