code: func (h *Connect) IntentionGet(id string, q *QueryOptions) (*Intention, *QueryMeta, error) {
  	r := h.c.newRequest("GET", "/v1/connect/intentions/"+id)
  	r.setQueryOptions(q)
  	rtt, resp, err := h.c.doRequest(r)
  	if err != nil {
  		return nil, nil, err
  	}
  	defer resp.Body.Close()
  
  	qm := &QueryMeta{}
  	parseQueryMeta(resp, qm)
  	qm.RequestTime = rtt
  
  	if resp.StatusCode == 404 {
  		return nil, qm, nil
  	} else if resp.StatusCode != 200 {
  		var buf bytes.Buffer
  		io.Copy(&buf, resp.Body)
  		return nil, nil, fmt.Errorf(
  			"Unexpected response %d: %s", resp.StatusCode, buf.String())
  	}
  
  	var out Intention
  	if err := decodeBody(resp, &out); err != nil {
  		return nil, nil, err
  	}
  	return &out, qm, nil
  }
docs: // IntentionGet retrieves a single intention.