code: func (p *PreparedQuery) List(args *structs.DCSpecificRequest, reply *structs.IndexedPreparedQueries) error {
  	if done, err := p.srv.forward("PreparedQuery.List", args, args, reply); done {
  		return err
  	}
  
  	return p.srv.blockingQuery(
  		&args.QueryOptions,
  		&reply.QueryMeta,
  		func(ws memdb.WatchSet, state *state.Store) error {
  			index, queries, err := state.PreparedQueryList(ws)
  			if err != nil {
  				return err
  			}
  
  			reply.Index, reply.Queries = index, queries
  			return p.srv.filterACL(args.Token, reply)
  		})
  }
docs: // List returns all the prepared queries.