
Hi all, I was trying out calling functions over REST and I noted that calling a particular function (supplying the right input data) using https://[hostname]/v1/functions/{functionId}/executions will cause the server to return the full list of executions ever done! This is clearly not ideal as the no. of executions will only grow and the calling program gets to "see" all the previous responses (security issue).
I know this does not happen if I'm calling using e.g. the Flutter SDK but I would need a corresponding solution when I use REST.
Anyone got some tips for me?

What's the Execute Access
in Settings Tab?

"Any"

You should set relevant execute access.
You see all these executions and other details of using Any
. This means everyone can fire up your function.

Also, are you using api key
when using REST?

I was just doing some initial tests so yes, I was using an API key (so as not to bother copying and pasting the session cookie)

OK, lesson learnt - do not use API key even if just testing.

Also, you were calling List Exeuctions so this is expected

[SOLVED] Function executions
Recommended threads
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Function running in cloud but not locall...
Hi everyone, I have an appwrite function which is on python3.12 runtime. I have a library (hnswlib) which builds wheels during installation. This works on appwr...
- Permissions for bulk operation
Hi team, I have a question: “In the databases.createDocuments bulk API, can I set document-level permissions? If yes, how exactly should I include the permissio...
