For the complete documentation index, see llms.txt. This page is also available as Markdown.

getOperationId

Gets the operationId of the current flow.

Details

Returns the operation identifier generated by the SDK in the current flow.

Syntax

await provider.getOperationId();

Description

Allows you to read the operationId from JavaScript once the SDK has generated it.

Considerations

The method is asynchronous; use await or .then(). You can also receive the value through the event emitOperationId.


Example

<facephi-sdk-provider apikey={process.env.FACEPHI_SDK_APIKEY} />

const operationId = await provider.getOperationId();

Last updated