curl --request POST \
--url https://api.healos.ai/ext-api/v1/sessions/{sessionId}/notes/regenerate \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "detailed"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({template_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a', model: 'detailed'})
};
fetch('https://api.healos.ai/ext-api/v1/sessions/{sessionId}/notes/regenerate', 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}/notes/regenerate"
payload = {
"template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "detailed"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"session_id": "<string>",
"status": "queued"
},
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>",
"code": "idempotency_key_invalid"
}{
"error": "Rate limit exceeded. Please retry after the window resets.",
"code": "daily_cap_reached",
"reset_at": "2026-10-28T00:00:00.000Z"
}{
"error": "<string>"
}Regenerate the note for a session
Queues asynchronous regeneration of the session’s clinical note from its transcript. Returns 202 immediately; generation typically takes under a minute. Register a NOTE_REGENERATED outbound webhook to be notified when the fresh note is ready, or poll GET /sessions//notes. Requires the notes:write scope. Send an Idempotency-Key header to make a retry safe: a repeat with the same key and the same request within 24 hours returns the original 202 instead of regenerating again.
curl --request POST \
--url https://api.healos.ai/ext-api/v1/sessions/{sessionId}/notes/regenerate \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "detailed"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({template_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a', model: 'detailed'})
};
fetch('https://api.healos.ai/ext-api/v1/sessions/{sessionId}/notes/regenerate', 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}/notes/regenerate"
payload = {
"template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "detailed"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"session_id": "<string>",
"status": "queued"
},
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>",
"code": "idempotency_key_invalid"
}{
"error": "Rate limit exceeded. Please retry after the window resets.",
"code": "daily_cap_reached",
"reset_at": "2026-10-28T00:00:00.000Z"
}{
"error": "<string>"
}| Requirement | Detail |
|---|---|
| Scope | notes:write |
| Rate limit | About 60 requests per minute per API key (shared by all endpoints; approximate) |
| Cost | Runs AI note generation. |
- Writes data: Yes. Writes a new note for the session with AI. A
NOTE_REGENERATEDwebhook fires when it is ready. - Safe to retry: Yes, if you send an
Idempotency-Keyheader: repeats with the same key for the same session run one regeneration. Without it, each request regenerates again. - Contacts an outside system: None
- Dry run: Not available.
Headers
Makes a retry of this request safe. A repeat with the same key and the same request within 24 hours does not run again: it returns the original status with the resource as it is now, and an Idempotent-Replayed: true header. Keys are scoped to your organization and API key. See https://docs.healos.ai/idempotency.
Up to 255 printable ASCII characters. Use a new random value (a UUID) for each new request and resend the same value when you retry it.
1 - 255"5f0c3a8e-2b7d-4c1e-9a64-0d3f2e1b7c90"
Body
Regeneration options (all fields optional)
Was this page helpful?

