[Noob] How to call GraphQL API programmatically?

Apologies, when I use import { gql } from “apollo-boost” I get useMutation is not defined. I left off the brackets in the post above.