Where do I save my ARI script in Asterisk

I’m trying to learn how ARI works and have a small python test script that I would like to try but am not sure where in Asterisk it needs to be saved. I know where I saved my AGI scripts but I don’t think it goes there. Does it go in var or somewhere else? The stasis script refers to the app name but doesn’t tell Asterisk where to go to find the app.

ARI is not like AGI in that normally you’d launch an AGI script or have it running in a Fast AGI Server. Asterisk never launches ARI. ARI websocket applications register themselves to Asterisk and then Asterisk ‘calls’ them.

ARI applications can also manipulate Asterisk externally outside of the Asterisk box