Skip to content
Back

[SOLVED] Appwrite Function get Execution ID

  • 0
  • Resolved
  • 3
  • Functions
  • Cloud
Tomic R.
18 Jun, 2025, 09:28

Is there a way to get the execution Id of the function's "own" execution inside the function? I couldn't find any environment variable for it here

TL;DR
A user inquired about getting the Execution ID in Appwrite. The solution is to use `req.headers["x-appwrite-execution-id"]` in the app code. The issue has been resolved.
18 Jun, 2025, 19:10

feel free to add a πŸ‘πŸΌ to https://github.com/appwrite/appwrite/issues/9316

19 Jun, 2025, 08:44

Done. I see there's already a PR that has been open for quite some time. Is it planned to be merged in one of the upcoming minor versions, like 1.7.5?

19 Jun, 2025, 19:43

I've followed up internally

1
18 Nov, 2025, 21:37

req.headers["x-appwrite-execution-id"] for anyone looking for this in the future :)

18 Nov, 2025, 22:54

[SOLVED] Appwrite Function get Execution ID

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more