Restore a deleted session
curl --request POST \
--url https://api.healos.ai/ext-api/v1/sessions/{sessionId}/restore \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.healos.ai/ext-api/v1/sessions/{sessionId}/restore', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.healos.ai/ext-api/v1/sessions/{sessionId}/restore"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"data": {
"session_id": "<string>",
"status": "deleted",
"changed": true
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Rate limit exceeded. Please retry after the window resets.",
"code": "daily_cap_reached",
"reset_at": "2026-10-28T00:00:00.000Z"
}Sessions
Restore a deleted session
Takes a session out of the recycle bin; it and its notes are visible again. A session that is not in the bin is left as it is (changed: false). Returns 404 if the session isn’t your organization’s. Requires notes:write.
POST
/
sessions
/
{sessionId}
/
restore
Restore a deleted session
curl --request POST \
--url https://api.healos.ai/ext-api/v1/sessions/{sessionId}/restore \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.healos.ai/ext-api/v1/sessions/{sessionId}/restore', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.healos.ai/ext-api/v1/sessions/{sessionId}/restore"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"data": {
"session_id": "<string>",
"status": "deleted",
"changed": true
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Rate limit exceeded. Please retry after the window resets.",
"code": "daily_cap_reached",
"reset_at": "2026-10-28T00:00:00.000Z"
}| Requirement | Detail |
|---|---|
| Scope | notes:write |
| Rate limit | About 60 requests per minute per API key (shared by all endpoints; approximate) |
| Cost | Free |
Safety
- Writes data: Yes. Takes the session out of the recycle bin.
- Safe to retry: Yes. A session that is not in the bin is left as it is (
changed: false). - Contacts an outside system: None
- Dry run: Not available.
Rolling out: this endpoint is on staging first and not yet on
api.healos.ai.completed when its transcript finished, otherwise finalizing. Another organization’s session is a 404.
Guide: Making requests. Errors: Error catalog.Was this page helpful?

