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

Account token

Securely access your token from a UbiFunction by selecting it in the panel dropdown and calling it with the _auth_token key from the args input argument. This avoids copying and pasting API tokens directly into your code.

For example:

function main(args) {
    token = args._auth_token;
    console.log(`The token selected is: ${token}`);
    return {}
}

Last updated

Was this helpful?