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

# List Health Scores

> Returns health scores (sleep, recovery, readiness, etc.) for a user.

One OW score (provider `internal`) per category and day, from the highest-priority source.

Scores computed by Open Wearables (`provider: internal`) are deprecated: no new ones are
computed starting November 6, 2026. Previously computed scores are still returned.



## OpenAPI

````yaml /openapi.json get /api/v1/users/{user_id}/health-scores
openapi: 3.1.0
info:
  title: Open Wearables API
  version: 1.0.0
servers: []
security: []
paths:
  /api/v1/users/{user_id}/health-scores:
    get:
      tags:
        - 'External: Health Scores'
      summary: List Health Scores
      description: >-
        Returns health scores (sleep, recovery, readiness, etc.) for a user.


        One OW score (provider `internal`) per category and day, from the
        highest-priority source.


        Scores computed by Open Wearables (`provider: internal`) are deprecated:
        no new ones are

        computed starting November 6, 2026. Previously computed scores are still
        returned.
      operationId: list_health_scores_api_v1_users__user_id__health_scores_get
      parameters:
        - name: user_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: User Id
        - name: start_date
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                description: >-
                  ISO 8601 datetime (e.g. `2023-11-07T05:31:56Z`) or Unix
                  timestamp in seconds. Date-only strings (e.g. `2023-11-07`)
                  are also accepted and cover the whole day, so a date-only
                  range includes both boundary days.
                examples:
                  - '2023-11-07T05:31:56Z'
                  - '2023-11-07'
                format: date-time
              - type: 'null'
            title: Start Date
        - name: end_date
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                description: >-
                  ISO 8601 datetime (e.g. `2023-11-07T05:31:56Z`) or Unix
                  timestamp in seconds. Date-only strings (e.g. `2023-11-07`)
                  are also accepted and cover the whole day, so a date-only
                  range includes both boundary days.
                examples:
                  - '2023-11-07T05:31:56Z'
                  - '2023-11-07'
                format: date-time
              - type: 'null'
            title: End Date
        - name: category
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/HealthScoreCategory'
              - type: 'null'
            title: Category
        - name: provider
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/ProviderName'
              - type: 'null'
            title: Provider
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 1000
            minimum: 1
            default: 50
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Offset
        - name: X-Open-Wearables-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Open-Wearables-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedResponse_HealthScoreResponse_'
        '422':
          description: Validation Error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ValidationProblem'
        4XX:
          description: Client error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        5XX:
          description: Server error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    HealthScoreCategory:
      type: string
      enum:
        - sleep
        - recovery
        - readiness
        - activity
        - stress
        - resilience
        - body_battery
        - strain
      title: HealthScoreCategory
    ProviderName:
      type: string
      enum:
        - apple
        - samsung
        - garmin
        - health_connect
        - google_health
        - polar
        - suunto
        - whoop
        - strava
        - oura
        - fitbit
        - ultrahuman
        - sensorbio
        - withings
        - unknown
        - internal
      title: ProviderName
      description: Supported data providers.
    PaginatedResponse_HealthScoreResponse_:
      properties:
        data:
          items:
            $ref: '#/components/schemas/HealthScoreResponse'
          type: array
          title: Data
        pagination:
          $ref: '#/components/schemas/Pagination'
        metadata:
          $ref: '#/components/schemas/TimeseriesMetadata'
      type: object
      required:
        - data
        - pagination
        - metadata
      title: PaginatedResponse[HealthScoreResponse]
    ValidationProblem:
      description: A 422 for a request that failed validation, listing every failure.
      examples:
        - code: VALIDATION_ERROR
          detail: >-
            body.email: value is not a valid email address: An email address
            must have an @-sign. (and 1 more)
          errors:
            - loc:
                - body
                - email
              msg: >-
                value is not a valid email address: An email address must have
                an @-sign.
              type: value_error
            - loc:
                - body
                - first_name
              msg: String should have at most 100 characters
              type: string_too_long
          status: 422
          title: Unprocessable Content
      properties:
        title:
          description: HTTP status phrase
          title: Title
          type: string
        status:
          description: HTTP status code, the same as the response's
          title: Status
          type: integer
        detail:
          description: Human-readable explanation of this occurrence
          title: Detail
          type: string
        code:
          description: Machine-readable error code, stable across releases
          title: Code
          type: string
        errors:
          description: Every validation failure in the request
          items:
            $ref: '#/components/schemas/ValidationErrorItem'
          title: Errors
          type: array
      required:
        - title
        - status
        - detail
        - code
        - errors
      title: ValidationProblem
      type: object
    Problem:
      description: >-
        An error response: RFC 9457 Problem Details, served as
        ``application/problem+json``.


        ``type`` is omitted, which per the RFC means ``about:blank``: ``title``
        is the status

        phrase, and ``code`` tells errors with the same status apart.
      examples:
        - code: NOT_FOUND
          detail: 'User with ID: 123e4567-e89b-12d3-a456-426614174000 not found.'
          status: 404
          title: Not Found
      properties:
        title:
          description: HTTP status phrase
          title: Title
          type: string
        status:
          description: HTTP status code, the same as the response's
          title: Status
          type: integer
        detail:
          description: Human-readable explanation of this occurrence
          title: Detail
          type: string
        code:
          description: Machine-readable error code, stable across releases
          title: Code
          type: string
      required:
        - title
        - status
        - detail
        - code
      title: Problem
      type: object
    HealthScoreResponse:
      properties:
        category:
          $ref: '#/components/schemas/HealthScoreCategory'
        value:
          anyOf:
            - type: number
            - type: integer
            - type: 'null'
          title: Value
          description: >-
            Overall numeric score. Range varies by provider and category — see
            HEALTH_SCORE_RANGES for scale.
        qualifier:
          anyOf:
            - type: string
            - type: 'null'
          title: Qualifier
          description: Textual rating from the provider, e.g. GOOD or EXCELLENT
        recorded_at:
          type: string
          format: date-time
          title: Recorded At
        zone_offset:
          anyOf:
            - type: string
              maxLength: 10
              pattern: ^[+-]\d{2}:\d{2}$
            - type: 'null'
          title: Zone Offset
          description: Timezone offset in the format '+01:00' or '-05:30'
          examples:
            - '+01:00'
            - '-05:30'
        components:
          anyOf:
            - additionalProperties:
                $ref: '#/components/schemas/ScoreComponent'
              type: object
            - type: 'null'
          title: Components
        id:
          type: string
          format: uuid
          title: Id
        data_source_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Data Source Id
        provider:
          anyOf:
            - $ref: '#/components/schemas/ProviderName'
            - type: 'null'
        event_record_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Event Record Id
          description: >-
            The sleep session or workout this score describes. Null for
            whole-day scores.
        source:
          anyOf:
            - $ref: '#/components/schemas/SourceMetadata'
            - type: 'null'
          description: >-
            The data source the score was computed from or reported by. Null for
            scores without one.
      type: object
      required:
        - category
        - recorded_at
        - id
        - data_source_id
        - provider
      title: HealthScoreResponse
    Pagination:
      properties:
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
          description: Cursor to fetch next page, null if no more data
          example: eyJpZCI6IjEyMzQ1Njc4OTAiLCJ0cyI6MTcwNDA2NzIwMH0
        previous_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Previous Cursor
          description: Cursor to fetch previous page
        has_more:
          type: boolean
          title: Has More
          description: Whether more data is available
        total_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total Count
          description: Total number of records matching the query
          example: 150
      type: object
      required:
        - has_more
      title: Pagination
    TimeseriesMetadata:
      properties:
        resolution:
          anyOf:
            - $ref: '#/components/schemas/Resolution'
            - type: 'null'
        sample_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Sample Count
        start_time:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Start Time
        end_time:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: End Time
      type: object
      title: TimeseriesMetadata
    ValidationErrorItem:
      properties:
        loc:
          description: Where the invalid value is, e.g. ['body', 'email']
          items:
            anyOf:
              - type: string
              - type: integer
          title: Loc
          type: array
        msg:
          description: What is wrong with it
          title: Msg
          type: string
        type:
          description: Pydantic error type, e.g. 'missing'
          title: Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationErrorItem
      type: object
    ScoreComponent:
      properties:
        value:
          anyOf:
            - type: number
            - type: integer
            - type: 'null'
          title: Value
          description: >-
            Numeric score value. Range varies by provider and category — see
            HEALTH_SCORE_RANGES for scale.
        qualifier:
          anyOf:
            - type: string
            - type: 'null'
          title: Qualifier
          description: Textual rating from the provider, e.g. GOOD or EXCELLENT
      type: object
      title: ScoreComponent
      description: A single constituent of a health score (e.g. deep sleep percentage).
    SourceMetadata:
      properties:
        provider:
          type: string
          title: Provider
          example: apple
        source:
          anyOf:
            - type: string
            - type: 'null'
          title: Source
          example: Connect
        device:
          anyOf:
            - type: string
            - type: 'null'
          title: Device
          example: iPhone15,2
        device_type:
          anyOf:
            - $ref: '#/components/schemas/DeviceType'
            - type: 'null'
          example: phone
        device_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Device Id
          example: R9ZW30ABC12
        device_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Device Name
          description: >-
            Marketing name for ``device``, derived so it cannot drift from the
            raw model.
          readOnly: true
      type: object
      required:
        - provider
        - device_name
      title: SourceMetadata
    Resolution:
      type: string
      enum:
        - raw
        - 1min
        - 5min
        - 15min
        - 1hour
        - 1day
        - 1week
        - 1month
      title: Resolution
      description: >-
        Bucket width requested when reading time series. RAW returns stored
        samples untouched; day, week

        and month read the day aggregates instead of the samples.
    DeviceType:
      type: string
      enum:
        - watch
        - band
        - phone
        - scale
        - ring
        - tablet
        - chest_strap
        - hr_sensor
        - headphones
        - head_mounted
        - glasses
        - smart_display
        - bp_monitor
        - glucose_meter
        - thermometer
        - sleep_monitor
        - bike_computer
        - fitness_machine
        - other
        - unknown
      title: DeviceType
      description: Type of device that collected health data.
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: /api/v1/auth/login

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.