How can i get the args used to run a workflow in the typsecript sdk

Given a workflowId i want to get the args that were used to run that workflow.

I don’t see anything in:

    const handle = this.workflowClient.getHandle(workflowId);
    const description = await handle.describe();

i guess i can use queries

The args are in the first history event. Something like:

(await handle.fetchHistory()).events[0].workflowExecutionStartedEventAttributes.input

(I don’t remember the array order—if it will be [0] or last event)