API reference · Onboarding

Forward diagnostics data

POST/omni/add/diagnostics-data

Base URL: https://demo-api.incodesmile.com — Incode demo environment

Accepts an encrypted TrueSight diagnostics envelope from the SDK, enriches it with server-resolved clientId and environment, and forwards it to TrueSight.

Path & query parameters

Name In Type Required Description
api-version header string yes

Request body

Field Type Required Description
version integer (int32) Envelope format version
alg string Encryption algorithm
compression string Compression algorithm
kid string Key identifier
iv string Initialization vector (Base64)
ciphertext string Encrypted diagnostics payload (Base64)
tag string Authentication tag (Base64)

Responses

200

OK

Response body (application/json):

Field Type Required Description
forwarded boolean True when the diagnostics envelope was forwarded to TrueSight. False when diagnostics ingest is not enabled in this environment.

400

Bad Request

Response body (application/json):

Field Type Required Description
timestamp integer (int64) UTC timestamp in milliseconds
status integer (int32) Custom error code or HTTP status code
error string HTTP status error
message string Custom error message
path string Endpoint path
details object Custom error details
Was this page helpful?