External: Mobile SDK

Submit Sdk Logs

Changed on

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

Request

  • Base URL: https://api.openwearables.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.openwearables.io/api/v1/sdk/users/{user_id}/logs
  • Auth: OAuth 2 (password, token URL /api/v1/auth/login)

Path parameters

user_idstring uuid required

Headers

X-Open-Wearables-API-Keystring nullable

Request body

sdkVersionstring required
providerstring nullable
syncSessionIdstring nullable

Device-generated id, stable for one historical export and shared with the sync endpoint.

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

meals_savedinteger

Meal correlations saved

sleep_savedinteger

Sleep records saved

Changes

    • info

      added the optional property to the response with the status

    • breaking

      for the path request parameter user_id, the format changed from no format to uuid

    • info

      added the new optional request property ///

    • info

      added the new optional request property ///

    • info

      added the new optional request property ///

    • info

      added the new optional request property