From 932d75b9162b4c9e723ccd6ee73b9138bb270118 Mon Sep 17 00:00:00 2001 From: Sanikagoyal Date: Fri, 19 Dec 2025 12:08:51 +0530 Subject: [PATCH] removed getTemplateOutput method --- api-reference/health-ai/ekascribe/SDKs/TS-sdk.mdx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/api-reference/health-ai/ekascribe/SDKs/TS-sdk.mdx b/api-reference/health-ai/ekascribe/SDKs/TS-sdk.mdx index 6b9a8899..04b36e4f 100644 --- a/api-reference/health-ai/ekascribe/SDKs/TS-sdk.mdx +++ b/api-reference/health-ai/ekascribe/SDKs/TS-sdk.mdx @@ -275,16 +275,7 @@ const response = await ekascribe.endRecording(); ### 8. Get output recorded prescription -You can fetch output in two ways: - -- `getTemplateOutput({ txn_id })`: polling is your responsibility; call repeatedly until processing finishes. -- `pollSessionOutput({ txn_id, max_polling_time })`: SDK polls for you and resolves when processing finishes (default max wait: 2 minutes; override via `max_polling_time`, pass time in milliseconds). - -Example (manual polling): - -```ts -const res = await ekascribe.getTemplateOutput({ txn_id: 'transaction-id' }); -``` +`pollSessionOutput({ txn_id, max_polling_time })`: SDK polls for you and resolves when processing finishes (default max wait: 2 minutes; override via `max_polling_time`, pass time in milliseconds). Example (SDK-managed polling):