Skip to main content

Receive provider network-session logs

POST /api/telemetry/{tenantId}/{connectionId}

Dedicated connection-scoped receiver credential only. No workspace credential or cookie authentication. Accepts flat JSONL, optionally gzip (header or magic bytes). Limits: 6 MiB compressed and expanded, 2,000 records, 32 KiB per record, 30-second read deadline. Provider job should set max_upload_bytes=5000000 and max_upload_records=1000. AccountID must match configuration. Session timestamps must be exact nanoseconds or UTC RFC3339 and end within the past 30 days or at most five minutes ahead. Atomic normalization, deduplication and evidence storage; raw input is not persisted. Authenticated {content:tests} destination probes save a check only. All URL query parameters are rejected.

Authentication​

The following OpenAPI alternatives describe accepted authentication. Browser mutations also require the canonical Origin header.

[
{
"telemetryReceiver": []
}
]

Parameters​

[
{
"name": "tenantId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "connectionId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "Content-Encoding",
"in": "header",
"schema": {
"enum": [
"identity",
"gzip"
]
}
}
]

Request body​

{
"required": true,
"content": {
"application/x-ndjson": {
"schema": {
"type": "string"
}
},
"application/gzip": {
"schema": {
"type": "string",
"format": "binary"
}
}
}
}

Responses​

{
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"connectionId": {
"type": "string",
"format": "uuid"
},
"receivedAt": {
"type": "string",
"format": "date-time"
},
"records": {
"type": "integer"
},
"accepted": {
"type": "integer"
},
"duplicates": {
"type": "integer"
},
"noTlsMetadata": {
"type": "integer"
},
"observations": {
"type": "integer"
}
},
"required": [
"id",
"connectionId",
"receivedAt",
"records",
"accepted",
"duplicates",
"noTlsMetadata",
"observations"
]
},
{
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"format": "uuid"
},
"checkedAt": {
"type": "string",
"format": "date-time"
},
"receiver": {
"const": "accepted"
},
"delivery": {
"const": "not-verified"
}
},
"required": [
"connectionId",
"checkedAt",
"receiver",
"delivery"
]
}
]
}
}
}
},
"400": {
"description": "Validation error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "Missing/expired/revoked credential",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"403": {
"description": "Insufficient role",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "Not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"408": {
"description": "Upload read deadline exceeded"
},
"409": {
"description": "State or idempotency conflict",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"413": {
"description": "Body too large",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"415": {
"description": "Unsupported media type",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"429": {
"description": "Request budget exhausted; respect Retry-After",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
},
"headers": {
"Retry-After": {
"schema": {
"type": "integer",
"minimum": 1
},
"description": "Seconds until sufficient budget is expected; concurrent traffic may consume replenished capacity."
}
}
},
"500": {
"description": "Internal error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"503": {
"description": "Not configured",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}

References such as #/components/schemas/Asset resolve in shared schemas. Download the OpenAPI contract for client generation. This page is generated; it describes the implemented development API, not planned endpoints.