I responded on your cross-post with a link to the announcement blog:
Following the links from there, here’s an example call to the assets API:
const asUserRequest = await api
.asUser()
.requestJira(
route`/jsm/assets/workspace/${context.workspaceId}/v1/importsource/${context.importId}/executions`,
{
method: "POST",
}
);
You’ll probably want to read the full guide to learn more.