Current documentation. Version and compatibility notes.

Client telemetry ingestion reference

Installed-app events, crashes, logs, sessions, performance markers and push registrations.

Workflow guide · Download OpenAPI JSON

API origin
https://api.appportal.io
API version
v1
Reference source
8bda8e8302d4ea5bd005ef1132f7267e82e6337c
Download SHA-256
7e7ab58f9165816fc3d265e1bb0a0204d1a8359d4802fffc01b162a63106366b

Authentication

installedAppCredential
Persisted installed-app credential, bound to one app and environment. Requires TelemetryIngest permission. Caller-supplied identity cannot retarget it.

X-AppPortal-SDK-Key (header)

Credentials stay with their intended audience. A browser session, SDK key, upload key and Automation credential grant different access.

Operations

POST/v1/ingest/crashes

Submit a batch of crashes

Access: installedAppCredential

Parameters

X-AppPortal-Delivery-Nonce (header, optional)
Fresh random attempt nonce. Optional opt-in evidence only; never authentication or scope authority. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Generation (header, optional)
Exact active configuration generation for this attempt. Old responses cannot clear a newer configuration's journal. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Body-SHA256 (header, optional)
SHA-256 commitment to the exact attempted request body bytes; proof verification binds this value rather than reserializing records. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "array",
        "minItems": 1,
        "maxItems": 500,
        "items": {
          "$ref": "#/components/schemas/CrashReportRecord"
        },
        "description": "Compiled default batch limit; the deployment can configure Ingestion:Protocol:MaxBatchRecords. Invalid records receive per-record acknowledgements."
      }
    }
  }
}

Responses

200
Durable intake acknowledgement, including per-record acceptance, duplicate or rejection outcomes. Acceptance is not a claim that asynchronous analytics persistence has completed.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryIngestionResult"
    },
    "example": {
      "accepted": 1,
      "duplicates": 1,
      "rejected": 1,
      "errors": [
        "A stable client-generated record id is required."
      ],
      "acknowledgements": [
        {
          "recordId": "evt-100",
          "status": "Accepted",
          "index": 0,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": "evt-099",
          "status": "AlreadyAccepted",
          "index": 1,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": null,
          "status": "Rejected",
          "index": 2,
          "errorCode": "record_id_required",
          "message": "A stable client-generated record id is required.",
          "retryable": false
        }
      ],
      "schemaVersion": 1
    }
  }
}
400
Malformed JSON, an invalid JSON value/type, or a missing/empty batch. No records are acknowledged.
401
Ordinary missing/invalid app credentials or user-installation binding can return a bodyless, non-destructive 401. Only an opted-in exact telemetry attempt with fresh definitive unknown, revoked or deleted app-credential authority may receive the optional signed permanent-v1 body, when existing signing trust and configured public-origin evidence are available. Generic 401/403, expired user tokens, unavailable authority/trust and unsigned responses never authorize purge or disablement. Verify every proof binding; persist rejection and purge-pending before clearing, verify clearing before completion, and keep consent separate.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    },
    "description": "Present on the optional signed permanent response; not a guarantee about every ordinary authentication denial."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryPermanentFailureResponse"
    }
  }
}
403
The credential kind, permission or trusted request scope does not authorize this operation. Retain unacknowledged records.
413
The batch or request body exceeds the configured limit. Split a batch; this response acknowledges no records.
429
Optional configured technical account/credential request ceiling. Retain all unacknowledged records and observe the existing temporary-v1 one-hour retry floor. This response neither acknowledges records nor authorizes queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    }
  }
}
503
Temporary v1 disposition. Retain unacknowledged records; retry no earlier than retryAt and Retry-After. This response authorizes no queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    },
    "example": {
      "errorCode": "ingest_temporarily_unavailable",
      "error": "Retain the unacknowledged records and retry after the indicated time.",
      "retryAt": "2026-10-04T20:00:00+00:00",
      "retryAfterSeconds": 3600,
      "retryable": true,
      "schemaVersion": 1
    }
  }
}

Link to this operation

POST/v1/ingest/events

Submit a batch of events

Access: installedAppCredential

Parameters

X-AppPortal-Delivery-Nonce (header, optional)
Fresh random attempt nonce. Optional opt-in evidence only; never authentication or scope authority. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Generation (header, optional)
Exact active configuration generation for this attempt. Old responses cannot clear a newer configuration's journal. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Body-SHA256 (header, optional)
SHA-256 commitment to the exact attempted request body bytes; proof verification binds this value rather than reserializing records. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "array",
        "minItems": 1,
        "maxItems": 500,
        "items": {
          "$ref": "#/components/schemas/TelemetryEventRecord"
        },
        "description": "Compiled default batch limit; the deployment can configure Ingestion:Protocol:MaxBatchRecords. Invalid records receive per-record acknowledgements."
      }
    }
  }
}

Responses

200
Durable intake acknowledgement, including per-record acceptance, duplicate or rejection outcomes. Acceptance is not a claim that asynchronous analytics persistence has completed.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryIngestionResult"
    },
    "example": {
      "accepted": 1,
      "duplicates": 1,
      "rejected": 1,
      "errors": [
        "A stable client-generated record id is required."
      ],
      "acknowledgements": [
        {
          "recordId": "evt-100",
          "status": "Accepted",
          "index": 0,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": "evt-099",
          "status": "AlreadyAccepted",
          "index": 1,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": null,
          "status": "Rejected",
          "index": 2,
          "errorCode": "record_id_required",
          "message": "A stable client-generated record id is required.",
          "retryable": false
        }
      ],
      "schemaVersion": 1
    }
  }
}
400
Malformed JSON, an invalid JSON value/type, or a missing/empty batch. No records are acknowledged.
401
Ordinary missing/invalid app credentials or user-installation binding can return a bodyless, non-destructive 401. Only an opted-in exact telemetry attempt with fresh definitive unknown, revoked or deleted app-credential authority may receive the optional signed permanent-v1 body, when existing signing trust and configured public-origin evidence are available. Generic 401/403, expired user tokens, unavailable authority/trust and unsigned responses never authorize purge or disablement. Verify every proof binding; persist rejection and purge-pending before clearing, verify clearing before completion, and keep consent separate.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    },
    "description": "Present on the optional signed permanent response; not a guarantee about every ordinary authentication denial."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryPermanentFailureResponse"
    }
  }
}
403
The credential kind, permission or trusted request scope does not authorize this operation. Retain unacknowledged records.
413
The batch or request body exceeds the configured limit. Split a batch; this response acknowledges no records.
429
Optional configured technical account/credential request ceiling. Retain all unacknowledged records and observe the existing temporary-v1 one-hour retry floor. This response neither acknowledges records nor authorizes queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    }
  }
}
503
Temporary v1 disposition. Retain unacknowledged records; retry no earlier than retryAt and Retry-After. This response authorizes no queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    },
    "example": {
      "errorCode": "ingest_temporarily_unavailable",
      "error": "Retain the unacknowledged records and retry after the indicated time.",
      "retryAt": "2026-10-04T20:00:00+00:00",
      "retryAfterSeconds": 3600,
      "retryable": true,
      "schemaVersion": 1
    }
  }
}

Link to this operation

POST/v1/ingest/logs

Submit a batch of logs

Access: installedAppCredential

Parameters

X-AppPortal-Delivery-Nonce (header, optional)
Fresh random attempt nonce. Optional opt-in evidence only; never authentication or scope authority. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Generation (header, optional)
Exact active configuration generation for this attempt. Old responses cannot clear a newer configuration's journal. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Body-SHA256 (header, optional)
SHA-256 commitment to the exact attempted request body bytes; proof verification binds this value rather than reserializing records. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "array",
        "minItems": 1,
        "maxItems": 500,
        "items": {
          "$ref": "#/components/schemas/LogRecord"
        },
        "description": "Compiled default batch limit; the deployment can configure Ingestion:Protocol:MaxBatchRecords. Invalid records receive per-record acknowledgements."
      }
    }
  }
}

Responses

200
Durable intake acknowledgement, including per-record acceptance, duplicate or rejection outcomes. Acceptance is not a claim that asynchronous analytics persistence has completed.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryIngestionResult"
    },
    "example": {
      "accepted": 1,
      "duplicates": 1,
      "rejected": 1,
      "errors": [
        "A stable client-generated record id is required."
      ],
      "acknowledgements": [
        {
          "recordId": "evt-100",
          "status": "Accepted",
          "index": 0,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": "evt-099",
          "status": "AlreadyAccepted",
          "index": 1,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": null,
          "status": "Rejected",
          "index": 2,
          "errorCode": "record_id_required",
          "message": "A stable client-generated record id is required.",
          "retryable": false
        }
      ],
      "schemaVersion": 1
    }
  }
}
400
Malformed JSON, an invalid JSON value/type, or a missing/empty batch. No records are acknowledged.
401
Ordinary missing/invalid app credentials or user-installation binding can return a bodyless, non-destructive 401. Only an opted-in exact telemetry attempt with fresh definitive unknown, revoked or deleted app-credential authority may receive the optional signed permanent-v1 body, when existing signing trust and configured public-origin evidence are available. Generic 401/403, expired user tokens, unavailable authority/trust and unsigned responses never authorize purge or disablement. Verify every proof binding; persist rejection and purge-pending before clearing, verify clearing before completion, and keep consent separate.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    },
    "description": "Present on the optional signed permanent response; not a guarantee about every ordinary authentication denial."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryPermanentFailureResponse"
    }
  }
}
403
The credential kind, permission or trusted request scope does not authorize this operation. Retain unacknowledged records.
413
The batch or request body exceeds the configured limit. Split a batch; this response acknowledges no records.
429
Optional configured technical account/credential request ceiling. Retain all unacknowledged records and observe the existing temporary-v1 one-hour retry floor. This response neither acknowledges records nor authorizes queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    }
  }
}
503
Temporary v1 disposition. Retain unacknowledged records; retry no earlier than retryAt and Retry-After. This response authorizes no queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    },
    "example": {
      "errorCode": "ingest_temporarily_unavailable",
      "error": "Retain the unacknowledged records and retry after the indicated time.",
      "retryAt": "2026-10-04T20:00:00+00:00",
      "retryAfterSeconds": 3600,
      "retryable": true,
      "schemaVersion": 1
    }
  }
}

Link to this operation

POST/v1/ingest/push-registrations

Submit a batch of push-registrations

A batch may address at most one identified user. When identity.userId is present, a valid user-installation binding and installation ID are additionally required; SDK scope headers alone cannot establish user authority.

Access: installedAppCredential

Parameters

X-AppPortal-User-Binding (header, optional)
Required when the batch claims a userId. Identity validates the binding's subject, installation, scope and PushRegistration operation.
{
  "type": "string"
}
X-AppPortal-Installation-Id (header, optional)
Required with the user binding. Must match the installation authorized by that binding.
{
  "type": "string"
}
X-AppPortal-Delivery-Nonce (header, optional)
Fresh random attempt nonce. Optional opt-in evidence only; never authentication or scope authority. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Generation (header, optional)
Exact active configuration generation for this attempt. Old responses cannot clear a newer configuration's journal. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Body-SHA256 (header, optional)
SHA-256 commitment to the exact attempted request body bytes; proof verification binds this value rather than reserializing records. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "array",
        "minItems": 1,
        "maxItems": 500,
        "items": {
          "$ref": "#/components/schemas/PushRegistrationRecord"
        },
        "description": "Compiled default batch limit; the deployment can configure Ingestion:Protocol:MaxBatchRecords. Invalid records receive per-record acknowledgements."
      }
    }
  }
}

Responses

200
Durable intake acknowledgement, including per-record acceptance, duplicate or rejection outcomes. Acceptance is not a claim that asynchronous analytics persistence has completed.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryIngestionResult"
    },
    "example": {
      "accepted": 1,
      "duplicates": 1,
      "rejected": 1,
      "errors": [
        "A stable client-generated record id is required."
      ],
      "acknowledgements": [
        {
          "recordId": "evt-100",
          "status": "Accepted",
          "index": 0,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": "evt-099",
          "status": "AlreadyAccepted",
          "index": 1,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": null,
          "status": "Rejected",
          "index": 2,
          "errorCode": "record_id_required",
          "message": "A stable client-generated record id is required.",
          "retryable": false
        }
      ],
      "schemaVersion": 1
    }
  }
}
400
Malformed JSON, an invalid JSON value/type, or a missing/empty batch. No records are acknowledged.
401
Ordinary missing/invalid app credentials or user-installation binding can return a bodyless, non-destructive 401. Only an opted-in exact telemetry attempt with fresh definitive unknown, revoked or deleted app-credential authority may receive the optional signed permanent-v1 body, when existing signing trust and configured public-origin evidence are available. Generic 401/403, expired user tokens, unavailable authority/trust and unsigned responses never authorize purge or disablement. Verify every proof binding; persist rejection and purge-pending before clearing, verify clearing before completion, and keep consent separate.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    },
    "description": "Present on the optional signed permanent response; not a guarantee about every ordinary authentication denial."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryPermanentFailureResponse"
    }
  }
}
403
The credential kind, permission or trusted request scope does not authorize this operation. Retain unacknowledged records.
413
The batch or request body exceeds the configured limit. Split a batch; this response acknowledges no records.
429
Optional configured technical account/credential request ceiling. Retain all unacknowledged records and observe the existing temporary-v1 one-hour retry floor. This response neither acknowledges records nor authorizes queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    }
  }
}
503
Temporary v1 disposition. Retain unacknowledged records; retry no earlier than retryAt and Retry-After. This response authorizes no queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    },
    "example": {
      "errorCode": "ingest_temporarily_unavailable",
      "error": "Retain the unacknowledged records and retry after the indicated time.",
      "retryAt": "2026-10-04T20:00:00+00:00",
      "retryAfterSeconds": 3600,
      "retryable": true,
      "schemaVersion": 1
    }
  }
}

Link to this operation

POST/v1/ingest/rum

Submit a batch of rum

Access: installedAppCredential

Parameters

X-AppPortal-Delivery-Nonce (header, optional)
Fresh random attempt nonce. Optional opt-in evidence only; never authentication or scope authority. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Generation (header, optional)
Exact active configuration generation for this attempt. Old responses cannot clear a newer configuration's journal. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Body-SHA256 (header, optional)
SHA-256 commitment to the exact attempted request body bytes; proof verification binds this value rather than reserializing records. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "array",
        "minItems": 1,
        "maxItems": 500,
        "items": {
          "$ref": "#/components/schemas/RumMarkerRecord"
        },
        "description": "Compiled default batch limit; the deployment can configure Ingestion:Protocol:MaxBatchRecords. Invalid records receive per-record acknowledgements."
      }
    }
  }
}

Responses

200
Durable intake acknowledgement, including per-record acceptance, duplicate or rejection outcomes. Acceptance is not a claim that asynchronous analytics persistence has completed.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryIngestionResult"
    },
    "example": {
      "accepted": 1,
      "duplicates": 1,
      "rejected": 1,
      "errors": [
        "A stable client-generated record id is required."
      ],
      "acknowledgements": [
        {
          "recordId": "evt-100",
          "status": "Accepted",
          "index": 0,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": "evt-099",
          "status": "AlreadyAccepted",
          "index": 1,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": null,
          "status": "Rejected",
          "index": 2,
          "errorCode": "record_id_required",
          "message": "A stable client-generated record id is required.",
          "retryable": false
        }
      ],
      "schemaVersion": 1
    }
  }
}
400
Malformed JSON, an invalid JSON value/type, or a missing/empty batch. No records are acknowledged.
401
Ordinary missing/invalid app credentials or user-installation binding can return a bodyless, non-destructive 401. Only an opted-in exact telemetry attempt with fresh definitive unknown, revoked or deleted app-credential authority may receive the optional signed permanent-v1 body, when existing signing trust and configured public-origin evidence are available. Generic 401/403, expired user tokens, unavailable authority/trust and unsigned responses never authorize purge or disablement. Verify every proof binding; persist rejection and purge-pending before clearing, verify clearing before completion, and keep consent separate.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    },
    "description": "Present on the optional signed permanent response; not a guarantee about every ordinary authentication denial."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryPermanentFailureResponse"
    }
  }
}
403
The credential kind, permission or trusted request scope does not authorize this operation. Retain unacknowledged records.
413
The batch or request body exceeds the configured limit. Split a batch; this response acknowledges no records.
429
Optional configured technical account/credential request ceiling. Retain all unacknowledged records and observe the existing temporary-v1 one-hour retry floor. This response neither acknowledges records nor authorizes queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    }
  }
}
503
Temporary v1 disposition. Retain unacknowledged records; retry no earlier than retryAt and Retry-After. This response authorizes no queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    },
    "example": {
      "errorCode": "ingest_temporarily_unavailable",
      "error": "Retain the unacknowledged records and retry after the indicated time.",
      "retryAt": "2026-10-04T20:00:00+00:00",
      "retryAfterSeconds": 3600,
      "retryable": true,
      "schemaVersion": 1
    }
  }
}

Link to this operation

POST/v1/ingest/sessions

Submit a batch of sessions

Access: installedAppCredential

Parameters

X-AppPortal-Delivery-Nonce (header, optional)
Fresh random attempt nonce. Optional opt-in evidence only; never authentication or scope authority. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Generation (header, optional)
Exact active configuration generation for this attempt. Old responses cannot clear a newer configuration's journal. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Body-SHA256 (header, optional)
SHA-256 commitment to the exact attempted request body bytes; proof verification binds this value rather than reserializing records. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "array",
        "minItems": 1,
        "maxItems": 500,
        "items": {
          "$ref": "#/components/schemas/SessionRecord"
        },
        "description": "Compiled default batch limit; the deployment can configure Ingestion:Protocol:MaxBatchRecords. Invalid records receive per-record acknowledgements."
      }
    }
  }
}

Responses

200
Durable intake acknowledgement, including per-record acceptance, duplicate or rejection outcomes. Acceptance is not a claim that asynchronous analytics persistence has completed.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryIngestionResult"
    },
    "example": {
      "accepted": 1,
      "duplicates": 1,
      "rejected": 1,
      "errors": [
        "A stable client-generated record id is required."
      ],
      "acknowledgements": [
        {
          "recordId": "evt-100",
          "status": "Accepted",
          "index": 0,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": "evt-099",
          "status": "AlreadyAccepted",
          "index": 1,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": null,
          "status": "Rejected",
          "index": 2,
          "errorCode": "record_id_required",
          "message": "A stable client-generated record id is required.",
          "retryable": false
        }
      ],
      "schemaVersion": 1
    }
  }
}
400
Malformed JSON, an invalid JSON value/type, or a missing/empty batch. No records are acknowledged.
401
Ordinary missing/invalid app credentials or user-installation binding can return a bodyless, non-destructive 401. Only an opted-in exact telemetry attempt with fresh definitive unknown, revoked or deleted app-credential authority may receive the optional signed permanent-v1 body, when existing signing trust and configured public-origin evidence are available. Generic 401/403, expired user tokens, unavailable authority/trust and unsigned responses never authorize purge or disablement. Verify every proof binding; persist rejection and purge-pending before clearing, verify clearing before completion, and keep consent separate.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    },
    "description": "Present on the optional signed permanent response; not a guarantee about every ordinary authentication denial."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryPermanentFailureResponse"
    }
  }
}
403
The credential kind, permission or trusted request scope does not authorize this operation. Retain unacknowledged records.
413
The batch or request body exceeds the configured limit. Split a batch; this response acknowledges no records.
429
Optional configured technical account/credential request ceiling. Retain all unacknowledged records and observe the existing temporary-v1 one-hour retry floor. This response neither acknowledges records nor authorizes queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    }
  }
}
503
Temporary v1 disposition. Retain unacknowledged records; retry no earlier than retryAt and Retry-After. This response authorizes no queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    },
    "example": {
      "errorCode": "ingest_temporarily_unavailable",
      "error": "Retain the unacknowledged records and retry after the indicated time.",
      "retryAt": "2026-10-04T20:00:00+00:00",
      "retryAfterSeconds": 3600,
      "retryable": true,
      "schemaVersion": 1
    }
  }
}

Link to this operation

POST/v2/ingest/crashes

Submit identity-associated crashes

Use a previously acknowledged definition for the same client, session and delivery generation. Send identity.identityAssociation with schemaVersion 1, associationId, deliveryGenerationId and capturedAt. Omit userId and userProfile or set them to null, and omit the server-only resolvedState. Keep the exact definition and record on temporary failure; do not retry against v1.

Access: installedAppCredential

Parameters

X-AppPortal-Delivery-Nonce (header, optional)
Fresh random attempt nonce. Optional opt-in evidence only; never authentication or scope authority. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Generation (header, optional)
Exact active configuration generation for this attempt. Old responses cannot clear a newer configuration's journal. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Body-SHA256 (header, optional)
SHA-256 commitment to the exact attempted request body bytes; proof verification binds this value rather than reserializing records. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "array",
        "minItems": 1,
        "maxItems": 500,
        "items": {
          "$ref": "#/components/schemas/CrashReportRecord"
        },
        "description": "Compiled default batch limit; the deployment can configure Ingestion:Protocol:MaxBatchRecords. Invalid records receive per-record acknowledgements."
      }
    }
  }
}

Responses

200
Durable intake acknowledgement, including per-record acceptance, duplicate or rejection outcomes. Acceptance is not a claim that asynchronous analytics persistence has completed.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryIngestionResult"
    },
    "example": {
      "accepted": 1,
      "duplicates": 1,
      "rejected": 1,
      "errors": [
        "A stable client-generated record id is required."
      ],
      "acknowledgements": [
        {
          "recordId": "evt-100",
          "status": "Accepted",
          "index": 0,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": "evt-099",
          "status": "AlreadyAccepted",
          "index": 1,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": null,
          "status": "Rejected",
          "index": 2,
          "errorCode": "record_id_required",
          "message": "A stable client-generated record id is required.",
          "retryable": false
        }
      ],
      "schemaVersion": 1
    }
  }
}
400
Missing or empty batch, or JSON binding failure. The batch-required body may be absent on binding failure.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "errorCode",
        "schemaVersion",
        "error",
        "retryable"
      ],
      "properties": {
        "errorCode": {
          "const": "batch_required"
        },
        "schemaVersion": {
          "const": 1
        },
        "error": {
          "type": "string"
        },
        "retryable": {
          "const": false
        }
      }
    }
  }
}
401
Ordinary missing or invalid installed-app credentials can return a bodyless, non-destructive 401. Only an opted-in exact telemetry attempt with fresh definitive unknown, revoked or deleted app-credential authority may receive the optional signed permanent-v1 body. Verify every proof binding, including this v2 route. Generic 401/403, unavailable authority and unsigned responses never authorize purge or disablement.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    },
    "description": "Present on the optional signed permanent response; not a guarantee about every ordinary authentication denial."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryPermanentFailureResponse"
    }
  }
}
403
The credential kind, permission or trusted request scope does not authorize this operation. Retain unacknowledged records.
413
The batch or request body exceeds its configured limit. The batch-too-large body may be absent on an HTTP size-limit failure.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "errorCode",
        "schemaVersion",
        "error",
        "retryable"
      ],
      "properties": {
        "errorCode": {
          "const": "batch_too_large"
        },
        "schemaVersion": {
          "const": 1
        },
        "error": {
          "type": "string"
        },
        "retryable": {
          "const": false
        }
      }
    }
  }
}
415
The HTTP request does not use a supported JSON content type. No records or definitions are acknowledged.
429
Optional configured technical account/credential request ceiling. Retain all unacknowledged records and observe the existing temporary-v1 one-hour retry floor. This response neither acknowledges records nor authorizes queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    }
  }
}
503
Temporary failure, including when this opt-in protocol is disabled, a definition is missing, or current source or authority cannot be verified. Retain the original definition and record, observe Retry-After and retryAt, and do not fall back to v1. This response authorizes no queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    },
    "example": {
      "errorCode": "ingest_temporarily_unavailable",
      "error": "Retain the unacknowledged records and retry after the indicated time.",
      "retryAt": "2026-10-04T20:00:00+00:00",
      "retryAfterSeconds": 3600,
      "retryable": true,
      "schemaVersion": 1
    }
  }
}

Link to this operation

POST/v2/ingest/events

Submit identity-associated events

Use a previously acknowledged definition for the same client, session and delivery generation. Send identity.identityAssociation with schemaVersion 1, associationId, deliveryGenerationId and capturedAt. Omit userId and userProfile or set them to null, and omit the server-only resolvedState. Keep the exact definition and record on temporary failure; do not retry against v1.

Access: installedAppCredential

Parameters

X-AppPortal-Delivery-Nonce (header, optional)
Fresh random attempt nonce. Optional opt-in evidence only; never authentication or scope authority. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Generation (header, optional)
Exact active configuration generation for this attempt. Old responses cannot clear a newer configuration's journal. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Body-SHA256 (header, optional)
SHA-256 commitment to the exact attempted request body bytes; proof verification binds this value rather than reserializing records. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "array",
        "minItems": 1,
        "maxItems": 500,
        "items": {
          "$ref": "#/components/schemas/TelemetryEventRecord"
        },
        "description": "Compiled default batch limit; the deployment can configure Ingestion:Protocol:MaxBatchRecords. Invalid records receive per-record acknowledgements."
      }
    }
  }
}

Responses

200
Durable intake acknowledgement, including per-record acceptance, duplicate or rejection outcomes. Acceptance is not a claim that asynchronous analytics persistence has completed.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryIngestionResult"
    },
    "example": {
      "accepted": 1,
      "duplicates": 1,
      "rejected": 1,
      "errors": [
        "A stable client-generated record id is required."
      ],
      "acknowledgements": [
        {
          "recordId": "evt-100",
          "status": "Accepted",
          "index": 0,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": "evt-099",
          "status": "AlreadyAccepted",
          "index": 1,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": null,
          "status": "Rejected",
          "index": 2,
          "errorCode": "record_id_required",
          "message": "A stable client-generated record id is required.",
          "retryable": false
        }
      ],
      "schemaVersion": 1
    }
  }
}
400
Missing or empty batch, or JSON binding failure. The batch-required body may be absent on binding failure.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "errorCode",
        "schemaVersion",
        "error",
        "retryable"
      ],
      "properties": {
        "errorCode": {
          "const": "batch_required"
        },
        "schemaVersion": {
          "const": 1
        },
        "error": {
          "type": "string"
        },
        "retryable": {
          "const": false
        }
      }
    }
  }
}
401
Ordinary missing or invalid installed-app credentials can return a bodyless, non-destructive 401. Only an opted-in exact telemetry attempt with fresh definitive unknown, revoked or deleted app-credential authority may receive the optional signed permanent-v1 body. Verify every proof binding, including this v2 route. Generic 401/403, unavailable authority and unsigned responses never authorize purge or disablement.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    },
    "description": "Present on the optional signed permanent response; not a guarantee about every ordinary authentication denial."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryPermanentFailureResponse"
    }
  }
}
403
The credential kind, permission or trusted request scope does not authorize this operation. Retain unacknowledged records.
413
The batch or request body exceeds its configured limit. The batch-too-large body may be absent on an HTTP size-limit failure.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "errorCode",
        "schemaVersion",
        "error",
        "retryable"
      ],
      "properties": {
        "errorCode": {
          "const": "batch_too_large"
        },
        "schemaVersion": {
          "const": 1
        },
        "error": {
          "type": "string"
        },
        "retryable": {
          "const": false
        }
      }
    }
  }
}
415
The HTTP request does not use a supported JSON content type. No records or definitions are acknowledged.
429
Optional configured technical account/credential request ceiling. Retain all unacknowledged records and observe the existing temporary-v1 one-hour retry floor. This response neither acknowledges records nor authorizes queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    }
  }
}
503
Temporary failure, including when this opt-in protocol is disabled, a definition is missing, or current source or authority cannot be verified. Retain the original definition and record, observe Retry-After and retryAt, and do not fall back to v1. This response authorizes no queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    },
    "example": {
      "errorCode": "ingest_temporarily_unavailable",
      "error": "Retain the unacknowledged records and retry after the indicated time.",
      "retryAt": "2026-10-04T20:00:00+00:00",
      "retryAfterSeconds": 3600,
      "retryable": true,
      "schemaVersion": 1
    }
  }
}

Link to this operation

POST/v2/ingest/identity-associations

Define immutable identity associations

Submit definitions before their dependent records. Each acknowledgement belongs to a definition, in request order. Acknowledged definitions do not themselves count as telemetry records or active users.

Access: installedAppCredential

Parameters

X-AppPortal-Delivery-Nonce (header, optional)
Fresh random attempt nonce. Optional opt-in evidence only; never authentication or scope authority. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Generation (header, optional)
Exact active configuration generation for this attempt. Old responses cannot clear a newer configuration's journal. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Body-SHA256 (header, optional)
SHA-256 commitment to the exact attempted request body bytes; proof verification binds this value rather than reserializing records. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "array",
        "minItems": 1,
        "maxItems": 500,
        "items": {
          "$ref": "#/components/schemas/TelemetryIdentityAssociationDefinition"
        },
        "description": "The compiled default batch limit applies. Invalid definitions receive indexed rejections."
      }
    }
  }
}

Responses

200
Indexed definition acknowledgements after durable acceptance, including duplicates and individual rejections.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryIdentityAssociationResult"
    }
  }
}
400
Missing or empty batch, or JSON binding failure. The batch-required body may be absent on binding failure.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "errorCode"
      ],
      "properties": {
        "errorCode": {
          "const": "batch_required"
        }
      }
    }
  }
}
401
Ordinary missing or invalid installed-app credentials can return a bodyless, non-destructive 401. Only an opted-in exact telemetry attempt with fresh definitive unknown, revoked or deleted app-credential authority may receive the optional signed permanent-v1 body. Verify every proof binding, including this v2 route. Generic 401/403, unavailable authority and unsigned responses never authorize purge or disablement.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    },
    "description": "Present on the optional signed permanent response; not a guarantee about every ordinary authentication denial."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryPermanentFailureResponse"
    }
  }
}
403
The credential kind, permission or trusted request scope does not authorize this operation. Retain unacknowledged records.
413
The batch or request body exceeds the configured limit. Split a batch; this response acknowledges no records.
415
The HTTP request does not use a supported JSON content type. No records or definitions are acknowledged.
429
Optional configured technical account/credential request ceiling. Retain all unacknowledged records and observe the existing temporary-v1 one-hour retry floor. This response neither acknowledges records nor authorizes queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    }
  }
}
503
This opt-in protocol may be disabled or its current authority or source unavailable. Retain original definitions and dependent records and observe Retry-After and retryAt. No queue purge or collection disablement is authorized.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    }
  }
}

Link to this operation

POST/v2/ingest/logs

Submit identity-associated logs

Use a previously acknowledged definition for the same client, session and delivery generation. Send identity.identityAssociation with schemaVersion 1, associationId, deliveryGenerationId and capturedAt. Omit userId and userProfile or set them to null, and omit the server-only resolvedState. Keep the exact definition and record on temporary failure; do not retry against v1.

Access: installedAppCredential

Parameters

X-AppPortal-Delivery-Nonce (header, optional)
Fresh random attempt nonce. Optional opt-in evidence only; never authentication or scope authority. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Generation (header, optional)
Exact active configuration generation for this attempt. Old responses cannot clear a newer configuration's journal. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Body-SHA256 (header, optional)
SHA-256 commitment to the exact attempted request body bytes; proof verification binds this value rather than reserializing records. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "array",
        "minItems": 1,
        "maxItems": 500,
        "items": {
          "$ref": "#/components/schemas/LogRecord"
        },
        "description": "Compiled default batch limit; the deployment can configure Ingestion:Protocol:MaxBatchRecords. Invalid records receive per-record acknowledgements."
      }
    }
  }
}

Responses

200
Durable intake acknowledgement, including per-record acceptance, duplicate or rejection outcomes. Acceptance is not a claim that asynchronous analytics persistence has completed.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryIngestionResult"
    },
    "example": {
      "accepted": 1,
      "duplicates": 1,
      "rejected": 1,
      "errors": [
        "A stable client-generated record id is required."
      ],
      "acknowledgements": [
        {
          "recordId": "evt-100",
          "status": "Accepted",
          "index": 0,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": "evt-099",
          "status": "AlreadyAccepted",
          "index": 1,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": null,
          "status": "Rejected",
          "index": 2,
          "errorCode": "record_id_required",
          "message": "A stable client-generated record id is required.",
          "retryable": false
        }
      ],
      "schemaVersion": 1
    }
  }
}
400
Missing or empty batch, or JSON binding failure. The batch-required body may be absent on binding failure.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "errorCode",
        "schemaVersion",
        "error",
        "retryable"
      ],
      "properties": {
        "errorCode": {
          "const": "batch_required"
        },
        "schemaVersion": {
          "const": 1
        },
        "error": {
          "type": "string"
        },
        "retryable": {
          "const": false
        }
      }
    }
  }
}
401
Ordinary missing or invalid installed-app credentials can return a bodyless, non-destructive 401. Only an opted-in exact telemetry attempt with fresh definitive unknown, revoked or deleted app-credential authority may receive the optional signed permanent-v1 body. Verify every proof binding, including this v2 route. Generic 401/403, unavailable authority and unsigned responses never authorize purge or disablement.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    },
    "description": "Present on the optional signed permanent response; not a guarantee about every ordinary authentication denial."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryPermanentFailureResponse"
    }
  }
}
403
The credential kind, permission or trusted request scope does not authorize this operation. Retain unacknowledged records.
413
The batch or request body exceeds its configured limit. The batch-too-large body may be absent on an HTTP size-limit failure.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "errorCode",
        "schemaVersion",
        "error",
        "retryable"
      ],
      "properties": {
        "errorCode": {
          "const": "batch_too_large"
        },
        "schemaVersion": {
          "const": 1
        },
        "error": {
          "type": "string"
        },
        "retryable": {
          "const": false
        }
      }
    }
  }
}
415
The HTTP request does not use a supported JSON content type. No records or definitions are acknowledged.
429
Optional configured technical account/credential request ceiling. Retain all unacknowledged records and observe the existing temporary-v1 one-hour retry floor. This response neither acknowledges records nor authorizes queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    }
  }
}
503
Temporary failure, including when this opt-in protocol is disabled, a definition is missing, or current source or authority cannot be verified. Retain the original definition and record, observe Retry-After and retryAt, and do not fall back to v1. This response authorizes no queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    },
    "example": {
      "errorCode": "ingest_temporarily_unavailable",
      "error": "Retain the unacknowledged records and retry after the indicated time.",
      "retryAt": "2026-10-04T20:00:00+00:00",
      "retryAfterSeconds": 3600,
      "retryable": true,
      "schemaVersion": 1
    }
  }
}

Link to this operation

POST/v2/ingest/rum

Submit identity-associated rum

Use a previously acknowledged definition for the same client, session and delivery generation. Send identity.identityAssociation with schemaVersion 1, associationId, deliveryGenerationId and capturedAt. Omit userId and userProfile or set them to null, and omit the server-only resolvedState. Keep the exact definition and record on temporary failure; do not retry against v1.

Access: installedAppCredential

Parameters

X-AppPortal-Delivery-Nonce (header, optional)
Fresh random attempt nonce. Optional opt-in evidence only; never authentication or scope authority. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Generation (header, optional)
Exact active configuration generation for this attempt. Old responses cannot clear a newer configuration's journal. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Body-SHA256 (header, optional)
SHA-256 commitment to the exact attempted request body bytes; proof verification binds this value rather than reserializing records. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "array",
        "minItems": 1,
        "maxItems": 500,
        "items": {
          "$ref": "#/components/schemas/RumMarkerRecord"
        },
        "description": "Compiled default batch limit; the deployment can configure Ingestion:Protocol:MaxBatchRecords. Invalid records receive per-record acknowledgements."
      }
    }
  }
}

Responses

200
Durable intake acknowledgement, including per-record acceptance, duplicate or rejection outcomes. Acceptance is not a claim that asynchronous analytics persistence has completed.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryIngestionResult"
    },
    "example": {
      "accepted": 1,
      "duplicates": 1,
      "rejected": 1,
      "errors": [
        "A stable client-generated record id is required."
      ],
      "acknowledgements": [
        {
          "recordId": "evt-100",
          "status": "Accepted",
          "index": 0,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": "evt-099",
          "status": "AlreadyAccepted",
          "index": 1,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": null,
          "status": "Rejected",
          "index": 2,
          "errorCode": "record_id_required",
          "message": "A stable client-generated record id is required.",
          "retryable": false
        }
      ],
      "schemaVersion": 1
    }
  }
}
400
Missing or empty batch, or JSON binding failure. The batch-required body may be absent on binding failure.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "errorCode",
        "schemaVersion",
        "error",
        "retryable"
      ],
      "properties": {
        "errorCode": {
          "const": "batch_required"
        },
        "schemaVersion": {
          "const": 1
        },
        "error": {
          "type": "string"
        },
        "retryable": {
          "const": false
        }
      }
    }
  }
}
401
Ordinary missing or invalid installed-app credentials can return a bodyless, non-destructive 401. Only an opted-in exact telemetry attempt with fresh definitive unknown, revoked or deleted app-credential authority may receive the optional signed permanent-v1 body. Verify every proof binding, including this v2 route. Generic 401/403, unavailable authority and unsigned responses never authorize purge or disablement.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    },
    "description": "Present on the optional signed permanent response; not a guarantee about every ordinary authentication denial."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryPermanentFailureResponse"
    }
  }
}
403
The credential kind, permission or trusted request scope does not authorize this operation. Retain unacknowledged records.
413
The batch or request body exceeds its configured limit. The batch-too-large body may be absent on an HTTP size-limit failure.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "errorCode",
        "schemaVersion",
        "error",
        "retryable"
      ],
      "properties": {
        "errorCode": {
          "const": "batch_too_large"
        },
        "schemaVersion": {
          "const": 1
        },
        "error": {
          "type": "string"
        },
        "retryable": {
          "const": false
        }
      }
    }
  }
}
415
The HTTP request does not use a supported JSON content type. No records or definitions are acknowledged.
429
Optional configured technical account/credential request ceiling. Retain all unacknowledged records and observe the existing temporary-v1 one-hour retry floor. This response neither acknowledges records nor authorizes queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    }
  }
}
503
Temporary failure, including when this opt-in protocol is disabled, a definition is missing, or current source or authority cannot be verified. Retain the original definition and record, observe Retry-After and retryAt, and do not fall back to v1. This response authorizes no queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    },
    "example": {
      "errorCode": "ingest_temporarily_unavailable",
      "error": "Retain the unacknowledged records and retry after the indicated time.",
      "retryAt": "2026-10-04T20:00:00+00:00",
      "retryAfterSeconds": 3600,
      "retryable": true,
      "schemaVersion": 1
    }
  }
}

Link to this operation

POST/v2/ingest/sessions

Submit identity-associated sessions

Use a previously acknowledged definition for the same client, session and delivery generation. Send identity.identityAssociation with schemaVersion 1, associationId, deliveryGenerationId and capturedAt. Omit userId and userProfile or set them to null, and omit the server-only resolvedState. Keep the exact definition and record on temporary failure; do not retry against v1.

Access: installedAppCredential

Parameters

X-AppPortal-Delivery-Nonce (header, optional)
Fresh random attempt nonce. Optional opt-in evidence only; never authentication or scope authority. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Generation (header, optional)
Exact active configuration generation for this attempt. Old responses cannot clear a newer configuration's journal. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}
X-AppPortal-Delivery-Body-SHA256 (header, optional)
SHA-256 commitment to the exact attempted request body bytes; proof verification binds this value rather than reserializing records. All three headers must each have exactly one valid value for optional signed rejection evidence; missing, repeated or malformed values preserve ordinary denial.
{
  "type": "string",
  "pattern": "^[0-9a-f]{64}$",
  "minLength": 64,
  "maxLength": 64
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "array",
        "minItems": 1,
        "maxItems": 500,
        "items": {
          "$ref": "#/components/schemas/SessionRecord"
        },
        "description": "Compiled default batch limit; the deployment can configure Ingestion:Protocol:MaxBatchRecords. Invalid records receive per-record acknowledgements."
      }
    }
  }
}

Responses

200
Durable intake acknowledgement, including per-record acceptance, duplicate or rejection outcomes. Acceptance is not a claim that asynchronous analytics persistence has completed.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryIngestionResult"
    },
    "example": {
      "accepted": 1,
      "duplicates": 1,
      "rejected": 1,
      "errors": [
        "A stable client-generated record id is required."
      ],
      "acknowledgements": [
        {
          "recordId": "evt-100",
          "status": "Accepted",
          "index": 0,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": "evt-099",
          "status": "AlreadyAccepted",
          "index": 1,
          "errorCode": null,
          "message": null,
          "retryable": false
        },
        {
          "recordId": null,
          "status": "Rejected",
          "index": 2,
          "errorCode": "record_id_required",
          "message": "A stable client-generated record id is required.",
          "retryable": false
        }
      ],
      "schemaVersion": 1
    }
  }
}
400
Missing or empty batch, or JSON binding failure. The batch-required body may be absent on binding failure.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "errorCode",
        "schemaVersion",
        "error",
        "retryable"
      ],
      "properties": {
        "errorCode": {
          "const": "batch_required"
        },
        "schemaVersion": {
          "const": 1
        },
        "error": {
          "type": "string"
        },
        "retryable": {
          "const": false
        }
      }
    }
  }
}
401
Ordinary missing or invalid installed-app credentials can return a bodyless, non-destructive 401. Only an opted-in exact telemetry attempt with fresh definitive unknown, revoked or deleted app-credential authority may receive the optional signed permanent-v1 body. Verify every proof binding, including this v2 route. Generic 401/403, unavailable authority and unsigned responses never authorize purge or disablement.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "no-store"
    },
    "description": "Present on the optional signed permanent response; not a guarantee about every ordinary authentication denial."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryPermanentFailureResponse"
    }
  }
}
403
The credential kind, permission or trusted request scope does not authorize this operation. Retain unacknowledged records.
413
The batch or request body exceeds its configured limit. The batch-too-large body may be absent on an HTTP size-limit failure.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "errorCode",
        "schemaVersion",
        "error",
        "retryable"
      ],
      "properties": {
        "errorCode": {
          "const": "batch_too_large"
        },
        "schemaVersion": {
          "const": 1
        },
        "error": {
          "type": "string"
        },
        "retryable": {
          "const": false
        }
      }
    }
  }
}
415
The HTTP request does not use a supported JSON content type. No records or definitions are acknowledged.
429
Optional configured technical account/credential request ceiling. Retain all unacknowledged records and observe the existing temporary-v1 one-hour retry floor. This response neither acknowledges records nor authorizes queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    }
  }
}
503
Temporary failure, including when this opt-in protocol is disabled, a definition is missing, or current source or authority cannot be verified. Retain the original definition and record, observe Retry-After and retryAt, and do not fall back to v1. This response authorizes no queue purge or collection disablement.

Response headers

{
  "Retry-After": {
    "description": "Retry delay in seconds, matching retryAfterSeconds. retryAt starts at response execution time with the decision-time floor, not an earlier expired deadline.",
    "schema": {
      "type": "integer",
      "minimum": 3600
    }
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryTemporaryFailureResponse"
    },
    "example": {
      "errorCode": "ingest_temporarily_unavailable",
      "error": "Retain the unacknowledged records and retry after the indicated time.",
      "retryAt": "2026-10-04T20:00:00+00:00",
      "retryAfterSeconds": 3600,
      "retryable": true,
      "schemaVersion": 1
    }
  }
}

Link to this operation

Declared schemas

Schema references in the operations resolve to these definitions from the same OpenAPI document.

TelemetryEventRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "eventId": {
      "type": [
        "string",
        "null"
      ],
      "x-appportal-acceptance-rules": {
        "requiredForAcceptance": true,
        "nonWhitespace": true,
        "defaultMaxUtf16CodeUnits": 200,
        "configuration": "Ingestion:Protocol:MaxRecordIdLength"
      }
    },
    "identity": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "appId": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "environmentName": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "deploymentTarget": {
          "type": [
            "string",
            "null"
          ]
        },
        "clientId": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "appVersion": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "buildNumber": {
          "type": [
            "string",
            "null"
          ]
        },
        "sessionId": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "userId": {
          "type": [
            "string",
            "null"
          ]
        },
        "deviceId": {
          "type": [
            "string",
            "null"
          ]
        },
        "buildVariant": {
          "type": [
            "string",
            "null"
          ]
        },
        "sdkName": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "sdkVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "platform": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^\\s*(?:(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS])(?:\\s*,\\s*(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS]))*|[+-]?[0-9]+)\\s*$"
            },
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "x-appportal-canonical-enum-values": [
            "unattributed",
            "iOS",
            "Android",
            "Windows",
            "MacCatalyst",
            "Web",
            "macOS",
            "watchOS",
            "tvOS",
            "WinUI",
            "Wpf",
            "Linux",
            "iPadOS"
          ],
          "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate.",
          "default": null
        },
        "contextSchemaVersion": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "identityAssociation": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "associationId": {
              "type": [
                "string",
                "null"
              ]
            },
            "deliveryGenerationId": {
              "type": "string",
              "format": "uuid"
            },
            "capturedAt": {
              "type": "string",
              "format": "date-time"
            },
            "resolvedState": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "description": "Optional immutable association reference for the explicitly enabled /v2/ingest contract only. A v1 request carrying this reference receives identity_association_contract_unavailable (503); retain its original definition and body without a legacy fallback.",
          "x-appportal-acceptance-rules": {
            "deliveryContract": "identity-association-v1",
            "requiresExplicitV2Route": true
          }
        },
        "userProfile": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ]
            },
            "traits": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        },
        "effectiveTarget": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectivePlatform": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectiveSdkName": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectiveSdkVersion": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        }
      },
      "description": "Supply an identity object. The authenticated SDK credential replaces tenantId, appId and environmentName; those coordinates cannot retarget a request."
    },
    "eventType": {
      "type": [
        "string",
        "null"
      ],
      "x-appportal-acceptance-rules": {
        "requiredForAcceptance": true,
        "nonWhitespaceWhenPresent": true,
        "trimmed": true,
        "noControlCharacters": true,
        "maxUnicodeScalars": 64
      }
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "x-appportal-acceptance-rules": {
        "requiredForAcceptance": true,
        "nonWhitespaceWhenPresent": true,
        "trimmed": true,
        "noControlCharacters": true,
        "maxUnicodeScalars": 200
      }
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "properties": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null,
      "x-appportal-acceptance-rules": {
        "maxProperties": 50,
        "maxKeyUnicodeScalars": 100,
        "maxValueUnicodeScalars": 1024,
        "nonNullValues": true,
        "source": "Canonical validation in AppPortal.Contracts.Telemetry"
      }
    },
    "measurements": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "number"
        ],
        "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
      },
      "default": null
    }
  },
  "x-appportal-binding-requires-identity-object": true,
  "x-appportal-record-validation": "The schema describes HTTP JSON binding. These x-appportal-acceptance-rules are checked per record; a wire-readable record can receive a Rejected acknowledgement in an HTTP 200 response."
}
CrashReportRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "crashId": {
      "type": [
        "string",
        "null"
      ],
      "x-appportal-acceptance-rules": {
        "requiredForAcceptance": true,
        "nonWhitespace": true,
        "defaultMaxUtf16CodeUnits": 200,
        "configuration": "Ingestion:Protocol:MaxRecordIdLength"
      }
    },
    "identity": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "appId": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "environmentName": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "deploymentTarget": {
          "type": [
            "string",
            "null"
          ]
        },
        "clientId": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "appVersion": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "buildNumber": {
          "type": [
            "string",
            "null"
          ]
        },
        "sessionId": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "userId": {
          "type": [
            "string",
            "null"
          ]
        },
        "deviceId": {
          "type": [
            "string",
            "null"
          ]
        },
        "buildVariant": {
          "type": [
            "string",
            "null"
          ]
        },
        "sdkName": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "sdkVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "platform": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^\\s*(?:(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS])(?:\\s*,\\s*(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS]))*|[+-]?[0-9]+)\\s*$"
            },
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "x-appportal-canonical-enum-values": [
            "unattributed",
            "iOS",
            "Android",
            "Windows",
            "MacCatalyst",
            "Web",
            "macOS",
            "watchOS",
            "tvOS",
            "WinUI",
            "Wpf",
            "Linux",
            "iPadOS"
          ],
          "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate.",
          "default": null
        },
        "contextSchemaVersion": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "identityAssociation": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "associationId": {
              "type": [
                "string",
                "null"
              ]
            },
            "deliveryGenerationId": {
              "type": "string",
              "format": "uuid"
            },
            "capturedAt": {
              "type": "string",
              "format": "date-time"
            },
            "resolvedState": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "description": "Optional immutable association reference for the explicitly enabled /v2/ingest contract only. A v1 request carrying this reference receives identity_association_contract_unavailable (503); retain its original definition and body without a legacy fallback.",
          "x-appportal-acceptance-rules": {
            "deliveryContract": "identity-association-v1",
            "requiresExplicitV2Route": true
          }
        },
        "userProfile": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ]
            },
            "traits": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        },
        "effectiveTarget": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectivePlatform": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectiveSdkName": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectiveSdkVersion": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        }
      },
      "description": "Supply an identity object. The authenticated SDK credential replaces tenantId, appId and environmentName; those coordinates cannot retarget a request."
    },
    "severity": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[hH][aA][nN][dD][lL][eE][dD][eE][rR][rR][oO][rR]|[uU][nN][hH][aA][nN][dD][lL][eE][dD][cC][rR][aA][sS][hH])(?:\\s*,\\s*(?:[hH][aA][nN][dD][lL][eE][dD][eE][rR][rR][oO][rR]|[uU][nN][hH][aA][nN][dD][lL][eE][dD][cC][rR][aA][sS][hH]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "HandledError",
        "UnhandledCrash"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "exceptionType": {
      "type": [
        "string",
        "null"
      ],
      "x-appportal-acceptance-rules": {
        "requiredForAcceptance": true,
        "nonWhitespace": true
      }
    },
    "message": {
      "type": [
        "string",
        "null"
      ]
    },
    "stackTrace": {
      "type": [
        "string",
        "null"
      ]
    },
    "wasInForeground": {
      "type": "boolean"
    },
    "occurredAt": {
      "type": "string",
      "format": "date-time"
    },
    "deviceModel": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "osVersion": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "properties": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "receivedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null,
      "readOnly": true,
      "description": "Server-derived query field. The ingestion route ignores or clears caller-supplied values."
    },
    "attachmentFingerprint": {
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "readOnly": true,
      "description": "Server-derived query field. The ingestion route ignores or clears caller-supplied values."
    },
    "rawStackTrace": {
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "readOnly": true,
      "description": "Server-derived query field. The ingestion route ignores or clears caller-supplied values."
    },
    "symbolicationStatus": {
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "readOnly": true,
      "description": "Server-derived query field. The ingestion route ignores or clears caller-supplied values."
    },
    "symbolArtifactId": {
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "readOnly": true,
      "description": "Server-derived query field. The ingestion route ignores or clears caller-supplied values."
    },
    "bucketId": {
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "readOnly": true,
      "description": "Server-derived query field. The ingestion route ignores or clears caller-supplied values."
    },
    "deviceContext": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "schemaVersion": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "x-appportal-acceptance-rules": {
            "const": 1
          }
        },
        "osFamily": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "osVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "osBuild": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "manufacturer": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "model": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "modelName": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "idiom": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "architecture": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "isEmulator": {
          "type": [
            "boolean",
            "null"
          ],
          "default": null
        },
        "runtimeName": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "runtimeVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "wrapperName": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "wrapperVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "screenWidthPixels": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": null,
          "x-appportal-acceptance-rules": {
            "minimum": 1,
            "maximum": 32768,
            "unit": "pixels"
          }
        },
        "screenHeightPixels": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": null,
          "x-appportal-acceptance-rules": {
            "minimum": 1,
            "maximum": 32768,
            "unit": "pixels"
          }
        },
        "screenScale": {
          "type": [
            "string",
            "number",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
          "default": null,
          "x-appportal-acceptance-rules": {
            "exclusiveMinimum": 0,
            "maximum": 16
          }
        }
      },
      "default": null
    },
    "exception": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "type": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true,
            "maxUtf16CodeUnits": 1024
          }
        },
        "message": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "maxUtf16CodeUnits": 16384
          }
        },
        "stackTrace": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "maxUtf16CodeUnits": 262144
          }
        },
        "properties": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        },
        "innerExceptions": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "type": {
                "type": [
                  "string",
                  "null"
                ],
                "x-appportal-acceptance-rules": {
                  "requiredForAcceptance": true,
                  "nonWhitespace": true,
                  "maxUtf16CodeUnits": 1024
                }
              },
              "message": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null,
                "x-appportal-acceptance-rules": {
                  "maxUtf16CodeUnits": 16384
                }
              },
              "stackTrace": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null,
                "x-appportal-acceptance-rules": {
                  "maxUtf16CodeUnits": 262144
                }
              },
              "properties": {
                "$ref": "#/components/schemas/CrashReportRecord/properties/exception/properties/properties",
                "default": null
              },
              "innerExceptions": {
                "$ref": "#/components/schemas/CrashReportRecord/properties/exception/properties/innerExceptions",
                "default": null,
                "x-appportal-acceptance-rules": {
                  "maxGraphDepth": 16,
                  "maxGraphNodes": 64,
                  "nullChildNodes": false
                }
              },
              "stackContext": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "kind": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "x-appportal-acceptance-rules": {
                      "const": "managed",
                      "requiredForAcceptance": true
                    }
                  },
                  "modules": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "moduleMvid": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "architecture": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "pdb": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "kind": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "guid": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "stamp": {
                              "type": [
                                "string",
                                "integer",
                                "null"
                              ],
                              "pattern": "^-?(?:0|[1-9]\\d*)$"
                            }
                          },
                          "default": null
                        }
                      }
                    },
                    "x-appportal-acceptance-rules": {
                      "requiredForAcceptance": true,
                      "maxItems": 64
                    }
                  },
                  "frames": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "moduleIndex": {
                          "type": [
                            "string",
                            "integer",
                            "null"
                          ],
                          "pattern": "^-?(?:0|[1-9]\\d*)$",
                          "default": null
                        },
                        "methodToken": {
                          "type": [
                            "string",
                            "integer",
                            "null"
                          ],
                          "pattern": "^-?(?:0|[1-9]\\d*)$",
                          "default": null
                        },
                        "ilOffset": {
                          "type": [
                            "string",
                            "integer",
                            "null"
                          ],
                          "pattern": "^-?(?:0|[1-9]\\d*)$",
                          "default": null
                        }
                      }
                    },
                    "x-appportal-acceptance-rules": {
                      "requiredForAcceptance": true,
                      "maxItems": 128
                    }
                  },
                  "truncated": {
                    "type": "boolean",
                    "default": false
                  }
                }
              }
            }
          },
          "default": null,
          "x-appportal-acceptance-rules": {
            "maxGraphDepth": 16,
            "maxGraphNodes": 64,
            "nullChildNodes": false
          }
        },
        "stackContext": {
          "$ref": "#/components/schemas/CrashReportRecord/properties/exception/properties/innerExceptions/items/properties/stackContext"
        }
      },
      "default": null
    },
    "symbolication": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "availability": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": [
            "string",
            "null"
          ]
        },
        "reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "readRevision": {
          "type": [
            "string",
            "null"
          ]
        },
        "frameCounts": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "total": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "matching": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "resolved": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "ambiguous": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            }
          },
          "default": null
        },
        "unavailableStackNodeCount": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": null
        },
        "displayTruncated": {
          "type": [
            "boolean",
            "null"
          ],
          "default": null
        },
        "omittedFrameCount": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": null
        },
        "omittedNodeCount": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": null
        },
        "nodes": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "nodeIndex": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "path": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "inputStatus": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "truncated": {
                "type": "boolean"
              },
              "omittedFrameCount": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "frames": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "index": {
                      "type": [
                        "string",
                        "integer"
                      ],
                      "pattern": "^-?(?:0|[1-9]\\d*)$"
                    },
                    "availability": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "function": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "sourceFile": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "sourceLine": {
                      "type": [
                        "string",
                        "integer",
                        "null"
                      ],
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "default": null
                    },
                    "displayTruncated": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "default": null
                    }
                  }
                }
              }
            }
          },
          "default": null
        },
        "native": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "availability": {
              "type": [
                "string",
                "null"
              ]
            },
            "status": {
              "type": [
                "string",
                "null"
              ]
            },
            "reason": {
              "type": [
                "string",
                "null"
              ]
            },
            "inputStatus": {
              "type": [
                "string",
                "null"
              ]
            },
            "imagesTruncated": {
              "type": "boolean"
            },
            "frameCounts": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "total": {
                  "type": [
                    "string",
                    "integer"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)$"
                },
                "matching": {
                  "type": [
                    "string",
                    "integer"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)$"
                },
                "resolved": {
                  "type": [
                    "string",
                    "integer"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)$"
                },
                "ambiguous": {
                  "type": [
                    "string",
                    "integer"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)$"
                }
              },
              "default": null
            },
            "displayTruncated": {
              "type": [
                "boolean",
                "null"
              ],
              "default": null
            },
            "omittedFrameCount": {
              "type": [
                "string",
                "integer",
                "null"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "default": null
            },
            "frames": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "index": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "address": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "addressKind": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "availability": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "reason": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "imageIndex": {
                    "type": [
                      "string",
                      "integer",
                      "null"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "default": null
                  },
                  "imageFormat": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "imageName": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "imageIdentity": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "architecture": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "coordinateBasis": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "linkTimeAddress": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "function": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "sourceFile": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "sourceLine": {
                    "type": [
                      "string",
                      "integer",
                      "null"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "default": null
                  },
                  "displayTruncated": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "default": null
                  }
                }
              },
              "default": null
            }
          }
        },
        "java": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "availability": {
              "type": [
                "string",
                "null"
              ]
            },
            "status": {
              "type": [
                "string",
                "null"
              ]
            },
            "reason": {
              "type": [
                "string",
                "null"
              ]
            },
            "inputStatus": {
              "type": [
                "string",
                "null"
              ]
            },
            "frameCounts": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "total": {
                  "type": [
                    "string",
                    "integer"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)$"
                },
                "matching": {
                  "type": [
                    "string",
                    "integer"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)$"
                },
                "resolved": {
                  "type": [
                    "string",
                    "integer"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)$"
                },
                "ambiguous": {
                  "type": [
                    "string",
                    "integer"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)$"
                }
              }
            },
            "displayTruncated": {
              "type": "boolean",
              "default": false
            },
            "omittedFrameCount": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "default": 0
            },
            "nodes": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "nodeIndex": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "path": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "frames": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "index": {
                          "type": [
                            "string",
                            "integer"
                          ],
                          "pattern": "^-?(?:0|[1-9]\\d*)$"
                        },
                        "availability": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "status": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reason": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "mappingHash": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "inlineFrames": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "function": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "sourceFile": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "sourceLine": {
                                "type": [
                                  "string",
                                  "integer",
                                  "null"
                                ],
                                "pattern": "^-?(?:0|[1-9]\\d*)$"
                              }
                            }
                          },
                          "default": null
                        }
                      }
                    }
                  }
                }
              },
              "default": null
            }
          }
        }
      },
      "readOnly": true,
      "description": "Server-derived query field. The ingestion route ignores or clears caller-supplied values."
    },
    "captureAttribution": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "state": {
          "type": [
            "string",
            "null"
          ]
        },
        "evidence": {
          "type": [
            "string",
            "null"
          ]
        },
        "userId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        }
      },
      "readOnly": true
    }
  },
  "x-appportal-binding-requires-identity-object": true,
  "x-appportal-record-validation": "The schema describes HTTP JSON binding. These x-appportal-acceptance-rules are checked per record; a wire-readable record can receive a Rejected acknowledgement in an HTTP 200 response."
}
LogRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "logId": {
      "type": [
        "string",
        "null"
      ],
      "x-appportal-acceptance-rules": {
        "requiredForAcceptance": true,
        "nonWhitespace": true,
        "defaultMaxUtf16CodeUnits": 200,
        "configuration": "Ingestion:Protocol:MaxRecordIdLength"
      }
    },
    "identity": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "appId": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "environmentName": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "deploymentTarget": {
          "type": [
            "string",
            "null"
          ]
        },
        "clientId": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "appVersion": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "buildNumber": {
          "type": [
            "string",
            "null"
          ]
        },
        "sessionId": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "userId": {
          "type": [
            "string",
            "null"
          ]
        },
        "deviceId": {
          "type": [
            "string",
            "null"
          ]
        },
        "buildVariant": {
          "type": [
            "string",
            "null"
          ]
        },
        "sdkName": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "sdkVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "platform": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^\\s*(?:(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS])(?:\\s*,\\s*(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS]))*|[+-]?[0-9]+)\\s*$"
            },
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "x-appportal-canonical-enum-values": [
            "unattributed",
            "iOS",
            "Android",
            "Windows",
            "MacCatalyst",
            "Web",
            "macOS",
            "watchOS",
            "tvOS",
            "WinUI",
            "Wpf",
            "Linux",
            "iPadOS"
          ],
          "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate.",
          "default": null
        },
        "contextSchemaVersion": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "identityAssociation": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "associationId": {
              "type": [
                "string",
                "null"
              ]
            },
            "deliveryGenerationId": {
              "type": "string",
              "format": "uuid"
            },
            "capturedAt": {
              "type": "string",
              "format": "date-time"
            },
            "resolvedState": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "description": "Optional immutable association reference for the explicitly enabled /v2/ingest contract only. A v1 request carrying this reference receives identity_association_contract_unavailable (503); retain its original definition and body without a legacy fallback.",
          "x-appportal-acceptance-rules": {
            "deliveryContract": "identity-association-v1",
            "requiresExplicitV2Route": true
          }
        },
        "userProfile": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ]
            },
            "traits": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        },
        "effectiveTarget": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectivePlatform": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectiveSdkName": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectiveSdkVersion": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        }
      },
      "description": "Supply an identity object. The authenticated SDK credential replaces tenantId, appId and environmentName; those coordinates cannot retarget a request."
    },
    "severity": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[tT][rR][aA][cC][eE]|[dD][eE][bB][uU][gG]|[iI][nN][fF][oO][rR][mM][aA][tT][iI][oO][nN]|[wW][aA][rR][nN][iI][nN][gG]|[eE][rR][rR][oO][rR]|[cC][rR][iI][tT][iI][cC][aA][lL])(?:\\s*,\\s*(?:[tT][rR][aA][cC][eE]|[dD][eE][bB][uU][gG]|[iI][nN][fF][oO][rR][mM][aA][tT][iI][oO][nN]|[wW][aA][rR][nN][iI][nN][gG]|[eE][rR][rR][oO][rR]|[cC][rR][iI][tT][iI][cC][aA][lL]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Trace",
        "Debug",
        "Information",
        "Warning",
        "Error",
        "Critical"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "message": {
      "type": [
        "string",
        "null"
      ],
      "x-appportal-acceptance-rules": {
        "requiredForAcceptance": true,
        "nonWhitespace": true,
        "maxUnicodeScalars": 32768,
        "noNullCharacter": true
      }
    },
    "category": {
      "type": [
        "string",
        "null"
      ],
      "x-appportal-acceptance-rules": {
        "requiredForAcceptance": false,
        "nonWhitespaceWhenPresent": true,
        "trimmed": true,
        "noControlCharacters": true,
        "maxUnicodeScalars": 256
      }
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "properties": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null,
      "x-appportal-acceptance-rules": {
        "maxProperties": 50,
        "maxKeyUnicodeScalars": 100,
        "maxValueUnicodeScalars": 4096,
        "nonNullValues": true,
        "source": "Canonical validation in AppPortal.Contracts.Telemetry"
      }
    },
    "deviceContext": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "schemaVersion": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "x-appportal-acceptance-rules": {
            "const": 1
          }
        },
        "osFamily": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "osVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "osBuild": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "manufacturer": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "model": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "modelName": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "idiom": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "architecture": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "isEmulator": {
          "type": [
            "boolean",
            "null"
          ],
          "default": null
        },
        "runtimeName": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "runtimeVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "wrapperName": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "wrapperVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "screenWidthPixels": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": null,
          "x-appportal-acceptance-rules": {
            "minimum": 1,
            "maximum": 32768,
            "unit": "pixels"
          }
        },
        "screenHeightPixels": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": null,
          "x-appportal-acceptance-rules": {
            "minimum": 1,
            "maximum": 32768,
            "unit": "pixels"
          }
        },
        "screenScale": {
          "type": [
            "string",
            "number",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
          "default": null,
          "x-appportal-acceptance-rules": {
            "exclusiveMinimum": 0,
            "maximum": 16
          }
        }
      },
      "default": null
    },
    "exception": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "message": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "stackTrace": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        }
      },
      "default": null
    }
  },
  "x-appportal-binding-requires-identity-object": true,
  "x-appportal-record-validation": "The schema describes HTTP JSON binding. These x-appportal-acceptance-rules are checked per record; a wire-readable record can receive a Rejected acknowledgement in an HTTP 200 response."
}
SessionRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "sessionId": {
      "type": [
        "string",
        "null"
      ],
      "x-appportal-acceptance-rules": {
        "requiredForAcceptance": true,
        "nonWhitespace": true,
        "defaultMaxUtf16CodeUnits": 200,
        "configuration": "Ingestion:Protocol:MaxRecordIdLength"
      }
    },
    "identity": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "appId": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "environmentName": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "deploymentTarget": {
          "type": [
            "string",
            "null"
          ]
        },
        "clientId": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "appVersion": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "buildNumber": {
          "type": [
            "string",
            "null"
          ]
        },
        "sessionId": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "userId": {
          "type": [
            "string",
            "null"
          ]
        },
        "deviceId": {
          "type": [
            "string",
            "null"
          ]
        },
        "buildVariant": {
          "type": [
            "string",
            "null"
          ]
        },
        "sdkName": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "sdkVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "platform": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^\\s*(?:(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS])(?:\\s*,\\s*(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS]))*|[+-]?[0-9]+)\\s*$"
            },
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "x-appportal-canonical-enum-values": [
            "unattributed",
            "iOS",
            "Android",
            "Windows",
            "MacCatalyst",
            "Web",
            "macOS",
            "watchOS",
            "tvOS",
            "WinUI",
            "Wpf",
            "Linux",
            "iPadOS"
          ],
          "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate.",
          "default": null
        },
        "contextSchemaVersion": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "identityAssociation": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "associationId": {
              "type": [
                "string",
                "null"
              ]
            },
            "deliveryGenerationId": {
              "type": "string",
              "format": "uuid"
            },
            "capturedAt": {
              "type": "string",
              "format": "date-time"
            },
            "resolvedState": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "description": "Optional immutable association reference for the explicitly enabled /v2/ingest contract only. A v1 request carrying this reference receives identity_association_contract_unavailable (503); retain its original definition and body without a legacy fallback.",
          "x-appportal-acceptance-rules": {
            "deliveryContract": "identity-association-v1",
            "requiresExplicitV2Route": true
          }
        },
        "userProfile": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ]
            },
            "traits": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        },
        "effectiveTarget": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectivePlatform": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectiveSdkName": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectiveSdkVersion": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        }
      },
      "description": "Supply an identity object. The authenticated SDK credential replaces tenantId, appId and environmentName; those coordinates cannot retarget a request."
    },
    "startedAt": {
      "type": "string",
      "format": "date-time"
    },
    "endedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "osVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "deviceModel": {
      "type": [
        "string",
        "null"
      ]
    },
    "region": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true,
      "description": "Server-owned session evidence; caller values are cleared before receipt hashing and replaced from the trusted request boundary."
    },
    "foregroundTransitions": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "endedInCrash": {
      "type": "boolean"
    },
    "deviceContext": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "schemaVersion": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "x-appportal-acceptance-rules": {
            "const": 1
          }
        },
        "osFamily": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "osVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "osBuild": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "manufacturer": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "model": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "modelName": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "idiom": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "architecture": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "isEmulator": {
          "type": [
            "boolean",
            "null"
          ],
          "default": null
        },
        "runtimeName": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "runtimeVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "wrapperName": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "wrapperVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": false,
            "nonWhitespaceWhenPresent": true,
            "trimmed": true,
            "noControlCharacters": true,
            "maxUnicodeScalars": 120
          }
        },
        "screenWidthPixels": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": null,
          "x-appportal-acceptance-rules": {
            "minimum": 1,
            "maximum": 32768,
            "unit": "pixels"
          }
        },
        "screenHeightPixels": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": null,
          "x-appportal-acceptance-rules": {
            "minimum": 1,
            "maximum": 32768,
            "unit": "pixels"
          }
        },
        "screenScale": {
          "type": [
            "string",
            "number",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
          "default": null,
          "x-appportal-acceptance-rules": {
            "exclusiveMinimum": 0,
            "maximum": 16
          }
        }
      },
      "default": null
    },
    "geography": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "countryCode": {
          "type": [
            "string",
            "null"
          ]
        },
        "region": {
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "default": null,
      "readOnly": true,
      "description": "Server-owned session evidence; caller values are cleared before receipt hashing and replaced from the trusted request boundary."
    },
    "lastActivityAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "readOnly": true,
      "description": "Server-owned session evidence; caller values are cleared before receipt hashing and replaced from the trusted request boundary."
    },
    "activeDurationMs": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "lifecycleState": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[uU][nN][kK][nN][oO][wW][nN]|[fF][oO][rR][eE][gG][rR][oO][uU][nN][dD]|[bB][aA][cC][kK][gG][rR][oO][uU][nN][dD]|[tT][eE][rR][mM][iI][nN][aA][tT][eE][dD])(?:\\s*,\\s*(?:[uU][nN][kK][nN][oO][wW][nN]|[fF][oO][rR][eE][gG][rR][oO][uU][nN][dD]|[bB][aA][cC][kK][gG][rR][oO][uU][nN][dD]|[tT][eE][rR][mM][iI][nN][aA][tT][eE][dD]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Unknown",
        "Foreground",
        "Background",
        "Terminated"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "lifecycleStateChangedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "lifecycleTransitions": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "sequence": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "state": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[uU][nN][kK][nN][oO][wW][nN]|[fF][oO][rR][eE][gG][rR][oO][uU][nN][dD]|[bB][aA][cC][kK][gG][rR][oO][uU][nN][dD]|[tT][eE][rR][mM][iI][nN][aA][tT][eE][dD])(?:\\s*,\\s*(?:[uU][nN][kK][nN][oO][wW][nN]|[fF][oO][rR][eE][gG][rR][oO][uU][nN][dD]|[bB][aA][cC][kK][gG][rR][oO][uU][nN][dD]|[tT][eE][rR][mM][iI][nN][aA][tT][eE][dD]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "Unknown",
              "Foreground",
              "Background",
              "Terminated"
            ],
            "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      }
    },
    "lifecycleTransitionsTruncated": {
      "type": "boolean"
    },
    "observedUsers": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "items": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "userId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "displayName": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              }
            }
          }
        },
        "count": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "isTruncated": {
          "type": "boolean"
        }
      }
    }
  },
  "x-appportal-binding-requires-identity-object": true,
  "x-appportal-record-validation": "The schema describes HTTP JSON binding. These x-appportal-acceptance-rules are checked per record; a wire-readable record can receive a Rejected acknowledgement in an HTTP 200 response."
}
RumMarkerRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "markerId": {
      "type": [
        "string",
        "null"
      ],
      "x-appportal-acceptance-rules": {
        "requiredForAcceptance": true,
        "nonWhitespace": true,
        "defaultMaxUtf16CodeUnits": 200,
        "configuration": "Ingestion:Protocol:MaxRecordIdLength"
      }
    },
    "identity": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "appId": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "environmentName": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "deploymentTarget": {
          "type": [
            "string",
            "null"
          ]
        },
        "clientId": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "appVersion": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "buildNumber": {
          "type": [
            "string",
            "null"
          ]
        },
        "sessionId": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "userId": {
          "type": [
            "string",
            "null"
          ]
        },
        "deviceId": {
          "type": [
            "string",
            "null"
          ]
        },
        "buildVariant": {
          "type": [
            "string",
            "null"
          ]
        },
        "sdkName": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "sdkVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "platform": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^\\s*(?:(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS])(?:\\s*,\\s*(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS]))*|[+-]?[0-9]+)\\s*$"
            },
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "x-appportal-canonical-enum-values": [
            "unattributed",
            "iOS",
            "Android",
            "Windows",
            "MacCatalyst",
            "Web",
            "macOS",
            "watchOS",
            "tvOS",
            "WinUI",
            "Wpf",
            "Linux",
            "iPadOS"
          ],
          "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate.",
          "default": null
        },
        "contextSchemaVersion": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "identityAssociation": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "associationId": {
              "type": [
                "string",
                "null"
              ]
            },
            "deliveryGenerationId": {
              "type": "string",
              "format": "uuid"
            },
            "capturedAt": {
              "type": "string",
              "format": "date-time"
            },
            "resolvedState": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "description": "Optional immutable association reference for the explicitly enabled /v2/ingest contract only. A v1 request carrying this reference receives identity_association_contract_unavailable (503); retain its original definition and body without a legacy fallback.",
          "x-appportal-acceptance-rules": {
            "deliveryContract": "identity-association-v1",
            "requiresExplicitV2Route": true
          }
        },
        "userProfile": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ]
            },
            "traits": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        },
        "effectiveTarget": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectivePlatform": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectiveSdkName": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectiveSdkVersion": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        }
      },
      "description": "Supply an identity object. The authenticated SDK credential replaces tenantId, appId and environmentName; those coordinates cannot retarget a request."
    },
    "kind": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[aA][pP][pP][sS][tT][aA][rR][tT]|[sS][cC][rR][eE][eE][nN][lL][oO][aA][dD]|[nN][eE][tT][wW][oO][rR][kK][rR][eE][qQ][uU][eE][sS][tT]|[cC][uU][sS][tT][oO][mM])(?:\\s*,\\s*(?:[aA][pP][pP][sS][tT][aA][rR][tT]|[sS][cC][rR][eE][eE][nN][lL][oO][aA][dD]|[nN][eE][tT][wW][oO][rR][kK][rR][eE][qQ][uU][eE][sS][tT]|[cC][uU][sS][tT][oO][mM]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "AppStart",
        "ScreenLoad",
        "NetworkRequest",
        "Custom"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "durationMs": {
      "type": [
        "string",
        "number"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
    },
    "succeeded": {
      "type": "boolean"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "httpStatusCode": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "default": null
    },
    "target": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "httpRequest": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "path": {
          "type": [
            "string",
            "null"
          ]
        },
        "queryString": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "headers": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        },
        "body": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        }
      }
    }
  },
  "x-appportal-binding-requires-identity-object": true,
  "x-appportal-record-validation": "The schema describes HTTP JSON binding. These x-appportal-acceptance-rules are checked per record; a wire-readable record can receive a Rejected acknowledgement in an HTTP 200 response."
}
PushRegistrationRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "registrationId": {
      "type": [
        "string",
        "null"
      ],
      "x-appportal-acceptance-rules": {
        "requiredForAcceptance": true,
        "nonWhitespace": true,
        "defaultMaxUtf16CodeUnits": 200,
        "configuration": "Ingestion:Protocol:MaxRecordIdLength"
      }
    },
    "identity": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "appId": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "environmentName": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "deploymentTarget": {
          "type": [
            "string",
            "null"
          ]
        },
        "clientId": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "appVersion": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "buildNumber": {
          "type": [
            "string",
            "null"
          ]
        },
        "sessionId": {
          "type": [
            "string",
            "null"
          ],
          "x-appportal-acceptance-rules": {
            "requiredForAcceptance": true,
            "nonWhitespace": true
          }
        },
        "userId": {
          "type": [
            "string",
            "null"
          ]
        },
        "deviceId": {
          "type": [
            "string",
            "null"
          ]
        },
        "buildVariant": {
          "type": [
            "string",
            "null"
          ]
        },
        "sdkName": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "sdkVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "platform": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^\\s*(?:(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS])(?:\\s*,\\s*(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS]))*|[+-]?[0-9]+)\\s*$"
            },
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "x-appportal-canonical-enum-values": [
            "unattributed",
            "iOS",
            "Android",
            "Windows",
            "MacCatalyst",
            "Web",
            "macOS",
            "watchOS",
            "tvOS",
            "WinUI",
            "Wpf",
            "Linux",
            "iPadOS"
          ],
          "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate.",
          "default": null
        },
        "contextSchemaVersion": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "identityAssociation": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "associationId": {
              "type": [
                "string",
                "null"
              ]
            },
            "deliveryGenerationId": {
              "type": "string",
              "format": "uuid"
            },
            "capturedAt": {
              "type": "string",
              "format": "date-time"
            },
            "resolvedState": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "description": "Optional immutable association reference for the explicitly enabled /v2/ingest contract only. A v1 request carrying this reference receives identity_association_contract_unavailable (503); retain its original definition and body without a legacy fallback.",
          "x-appportal-acceptance-rules": {
            "deliveryContract": "identity-association-v1",
            "requiresExplicitV2Route": true
          }
        },
        "userProfile": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ]
            },
            "traits": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        },
        "effectiveTarget": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectivePlatform": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectiveSdkName": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectiveSdkVersion": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        }
      },
      "description": "Supply an identity object. The authenticated SDK credential replaces tenantId, appId and environmentName; those coordinates cannot retarget a request."
    },
    "platform": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS])(?:\\s*,\\s*(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "unattributed",
        "iOS",
        "Android",
        "Windows",
        "MacCatalyst",
        "Web",
        "macOS",
        "watchOS",
        "tvOS",
        "WinUI",
        "Wpf",
        "Linux",
        "iPadOS"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "deviceToken": {
      "type": [
        "string",
        "null"
      ]
    },
    "deviceIdiom": {
      "type": [
        "string",
        "null"
      ]
    },
    "locality": {
      "type": [
        "string",
        "null"
      ]
    },
    "region": {
      "type": [
        "string",
        "null"
      ]
    },
    "country": {
      "type": [
        "string",
        "null"
      ]
    },
    "tags": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "registeredAt": {
      "type": "string",
      "format": "date-time"
    },
    "lastSeenAt": {
      "type": "string",
      "format": "date-time"
    },
    "active": {
      "type": "boolean"
    }
  },
  "x-appportal-binding-requires-identity-object": true,
  "x-appportal-record-validation": "The schema describes HTTP JSON binding. These x-appportal-acceptance-rules are checked per record; a wire-readable record can receive a Rejected acknowledgement in an HTTP 200 response."
}
TelemetryIngestionResult
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "accepted": {
      "type": "integer"
    },
    "duplicates": {
      "type": "integer"
    },
    "rejected": {
      "type": "integer"
    },
    "errors": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "acknowledgements": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "recordId": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "enum": [
              "Accepted",
              "AlreadyAccepted",
              "Rejected"
            ]
          },
          "index": {
            "type": "integer"
          },
          "errorCode": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "message": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "retryable": {
            "type": "boolean",
            "default": false
          },
          "occurrenceFingerprint": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "recordId",
          "status",
          "index"
        ]
      },
      "default": null
    },
    "schemaVersion": {
      "type": "integer",
      "default": 1
    }
  },
  "required": [
    "accepted",
    "duplicates",
    "rejected",
    "errors"
  ]
}
TelemetryTemporaryFailureResponse
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "errorCode": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "retryAt": {
      "type": "string",
      "format": "date-time"
    },
    "retryAfterSeconds": {
      "type": "integer",
      "default": 3600
    },
    "retryable": {
      "type": "boolean",
      "default": true
    },
    "schemaVersion": {
      "type": "integer",
      "default": 1
    },
    "allowanceResetsAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    }
  },
  "required": [
    "errorCode",
    "error",
    "retryAt"
  ]
}
TelemetryPermanentFailureResponse
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "proof": {
      "type": "string",
      "minLength": 1,
      "maxLength": 8192,
      "description": "Identity-issued RS256 JWT, typ appportal-client-disposition+jwt, bound to the exact credential, attempt nonce, configuration generation, body digest, public origin, method and path. Verify against already trusted signing keys, issuer/audience and fresh 120-second lifetime (5-second clock skew) before applying any action. Missing trust, invalid/stale proof or a changed configuration is non-destructive."
    },
    "errorCode": {
      "type": "string",
      "default": "app_credential_permanently_rejected",
      "const": "app_credential_permanently_rejected"
    },
    "action": {
      "type": "string",
      "default": "purge_and_disable",
      "const": "purge_and_disable"
    },
    "schemaVersion": {
      "type": "integer",
      "default": 1,
      "const": 1
    }
  },
  "required": [
    "proof",
    "errorCode",
    "action",
    "schemaVersion"
  ]
}
TelemetryIdentityAssociationDefinition
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "schemaVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "associationId": {
      "type": [
        "string",
        "null"
      ]
    },
    "clientId": {
      "type": [
        "string",
        "null"
      ]
    },
    "sessionId": {
      "type": [
        "string",
        "null"
      ]
    },
    "deliveryGenerationId": {
      "type": "string",
      "format": "uuid"
    },
    "nonce": {
      "type": "string",
      "format": "uuid"
    },
    "state": {
      "type": [
        "string",
        "null"
      ]
    },
    "userId": {
      "type": [
        "string",
        "null"
      ]
    },
    "capturedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "x-appportal-record-validation": "The schema describes HTTP JSON binding. These x-appportal-acceptance-rules are checked per record; a wire-readable record can receive a Rejected acknowledgement in an HTTP 200 response.",
  "description": "An immutable definition. Preserve the original nonce and all fields on retry. A set state requires an opaque user ID; other states require a null user ID.",
  "x-appportal-acceptance-rules": {
    "schemaVersion": 1,
    "states": [
      "anonymous",
      "set",
      "clear",
      "redacted"
    ],
    "associationIdPattern": "^[0-9a-f]{64}$",
    "capturedAtPrecision": "whole milliseconds"
  }
}
TelemetryIdentityAssociationResult
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "schemaVersion": {
      "type": "integer",
      "const": 1
    },
    "acknowledgements": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "associationId": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "Accepted",
              "AlreadyAccepted",
              "Rejected"
            ]
          },
          "index": {
            "type": "integer"
          },
          "errorCode": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "retryable": {
            "type": "boolean",
            "default": false
          }
        },
        "required": [
          "associationId",
          "status",
          "index"
        ]
      }
    }
  },
  "required": [
    "schemaVersion",
    "acknowledgements"
  ]
}