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.
should we also prevent `null` here too?