<commit_before>.. code-block:: csharp

.. code-block:: java

  GroupApi groupApi = autoscaleApi.getGroupApiForZone("{region}");
  GroupState groupState = groupApi.getState("{scalingGroupId}");

.. code-block:: javascript

.. code-block:: php

    $state = $group->getState();

.. code-block:: python

    # After authenticating
    au = pyrax.autoscale
    state = au.get_state("{scalingGroupId}")

.. code-block:: ruby

  my_group.state

.. code-sample:: sh

  $ curl -X GET -H "X-Auth-Token: $TOKEN" \
    -H "Accept: application/json" \
    $ENDPOINT/groups/{groupId}/state | python -m json.tool<commit_msg>code-block, not code-sample<commit_after>.. code-block:: csharp

.. code-block:: java

  GroupApi groupApi = autoscaleApi.getGroupApiForZone("{region}");
  GroupState groupState = groupApi.getState("{scalingGroupId}");

.. code-block:: javascript

.. code-block:: php

    $state = $group->getState();

.. code-block:: python

    # After authenticating
    au = pyrax.autoscale
    state = au.get_state("{scalingGroupId}")

.. code-block:: ruby

  my_group.state

.. code-block:: sh

  curl -X GET -H "X-Auth-Token: $TOKEN" \
    -H "Accept: application/json" \
    $ENDPOINT/groups/{groupId}/state | python -m json.tool
{'fraction_non_alphanumeric': 0.16571892770105606, 'fraction_numerical': 0.0, 'mean_word_length': 3.3076923076923075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6745242', 'n_tokens_mistral': 441, 'n_tokens_neox': 416, 'n_words': 87}