Environment Variable Access
When running custom Python functions on Definite, theDEFINITE_API_KEY
is automatically injected into your execution environment. You can access it using the standard Python environment variable pattern:
- The API key is automatically provided - no need to manually set it
- Access it via
os.environ["DEFINITE_API_KEY"]
for standard Python compatibility - Perfect for use with the Definite SDK or making direct API calls
- Alternative: You can also access it directly as a global variable
DEFINITE_API_KEY