> ## Documentation Index
> Fetch the complete documentation index at: https://developers.podero.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve Device Data

> Read operational data and status from your connected device

# Retrieve Device Data

Fetch data from the heat pump you just connected:

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET \
    'https://app.podero.com/api/partners/v2.0/org/{org_id}/users/{user_id}/heat-pumps' \
    -H 'Authorization: Bearer {auth_token}'
  ```

  ```python Python theme={null}
  response = requests.get(
      f'https://app.podero.com/api/partners/v2.0/org/{org_id}/users/{user_id}/heat-pumps',
      headers={'Authorization': f'Bearer {auth_token}'}
  )

  heat_pumps = response.json()
  for pump in heat_pumps:
      print(f"Device: {pump['device_model']['manufacturer']} {pump['device_model']['model']}")
      print(f"Power: {pump.get('current_power_consumption_w', 0)}W")
      print(f"Indoor temp: {pump.get('indoor_actual_temperature')}°C")
  ```
</CodeGroup>

The response includes real-time data:

* Device info (manufacturer, model)
* Current power consumption
* Temperature readings
* Historical consumption (day/week/month)
* Optimization status

<Tip>
  Use the device `id` for future API calls to update settings or fetch more detailed data.
</Tip>

## Congratulations! 🎉

You've completed the getting started tutorial:

* ✅ Authenticated with OAuth2
* ✅ Created a user
* ✅ Connected a device
* ✅ Retrieved device data

## Next Steps

<CardGroup cols={2}>
  <Card title="User Journeys" icon="map" href="/partner-api/user-journeys/end-user/device-onboarding">
    Explore common workflows
  </Card>

  <Card title="API Reference" icon="book" href="/partner-api/reference/heat-pumps/attributes">
    Complete device parameters
  </Card>
</CardGroup>
