Thanks for getting in touch! It’s possible to get a tenant’s variable value via the API, though tenant variables are accessed at /api/tenants/{id}/variables, which will get all variables for a single tenant, instead of /api/variables/. The PowerShell module it looks like you’re using (Octopus-Cmdlets) doesn’t seem to have added support for tenants, so I’m not sure if it’s possible using this module.
Unfortunately I couldn’t find any sample scripts to get a specific variable value from a tenant in our sample repo, though you can find more details on the tenantvariables resource in our API wiki.
Side note: In Octopus 3.17, we added the default Swagger UI for displaying the API docs in an easier way which may also help. This is accessed at [OctopusURL]/swaggerui, whereas the standard API is accessed at [OctopusURL]/api.
I hope this helps! Don’t hesitate to reach out if you have any further questions going forward.