Each workspace and resource has its URL. You can use it to launch it from within other apps or scripts.
To get the URL, go to Workspace Editor (click Edit the Search window), and select a workspace or resource. From its contextual menu (right click or ctrl click) choose Copy URL option.
To open such URL, you can use
open command in Terminal, e.g.: