The Q API