Add api export id field to variables