Python
import requests
url = "https://app.langwatch.ai/api/v1/run-plans/{id}"
headers = {"X-Auth-Token": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'X-Auth-Token': '<api-key>'}};
fetch('https://app.langwatch.ai/api/v1/run-plans/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://app.langwatch.ai/api/v1/run-plans/{id} \
--header 'X-Auth-Token: <api-key>'{
"id": "<string>",
"archived": true
}Run Plans
Archive a run plan
Archive a run plan. The plan stops being listed and its run history is kept. The scenarios it referenced are left where they are.
DELETE
/
api
/
v1
/
run-plans
/
{id}
Python
import requests
url = "https://app.langwatch.ai/api/v1/run-plans/{id}"
headers = {"X-Auth-Token": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'X-Auth-Token': '<api-key>'}};
fetch('https://app.langwatch.ai/api/v1/run-plans/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://app.langwatch.ai/api/v1/run-plans/{id} \
--header 'X-Auth-Token: <api-key>'{
"id": "<string>",
"archived": true
}Authorizations
Project API key for sending traces and accessing project-scoped resources. Format: sk-lw-... (no underscore). Obtain one by creating a project via the Admin API or the LangWatch UI.
Path Parameters
The run plan id.
Minimum string length:
1Last modified on August 28, 2026
Was this page helpful?