Internal: expose the indices names every action relates to if applicable

If a request relates to indices, expose which ones it relates to in a generic manner.
I think it's ok here as the index in the analyze api is optional