External: Mobile SDK

Submit Sdk Logs

Accept SDK diagnostic log events and store to raw S3 storage.

Used for observability into mobile SDK sync behavior (background task lifecycle, device state, sync success/failure).

post/api/v1/sdk/users/{user_id}/logs

Path parameters

user_idstring required

Headers

X-Open-Wearables-API-Keystring nullable

Request body

sdkVersionstring required
providerstring nullable

Response

Successful Response

status_codeinteger required

HTTP status code (typically 202 for async operations)

responsestring required

Human-readable response message

user_idstring nullable

User ID associated with the import operation

dropped_countinteger

Number of individual records dropped by per-record validation

records_savedinteger

Time-series samples saved

records_insertedinteger

Time-series rows that did not exist before

records_updatedinteger

Time-series rows refreshed in place

typesstring[]

Canonical SeriesType identifiers written by this batch (e.g. 'heart_rate'), sorted. Empty when the batch saved no time-series samples.

workouts_savedinteger

Workouts saved

sleep_savedinteger

Sleep records saved

Changes

Changed in 3 of the 9 revisions of this API.9

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • the request property ///// became optional

      request-property-became-optional

    • request property ///// list-of-types was widened by adding types null to media type application/json

      request-property-list-of-types-widened

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added