Make a diagnostics bundle with secrets taken out, kept 24 hours
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
/api/v1/tenants/{tid}/support-bundlesMake a diagnostics bundle with secrets taken out, kept 24 hours (ADR 0052, 0153); provider administrators only. Each server's logs, services, IIS/HTTP.sys errors and Event Log entries come through its broker (support.collect, agent protocol 2; an older agent gives its agent and broker logs only). Servers are read side by side, each within about 40 seconds of its own; a server whose agent was not heard from for 5 minutes is left out at once. Past 20 seconds the answer is 202 with an operation (ADR 0132), whose body is this 201 when done
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
reasonstring requiredWhy, 4 to 500 characters (activity log)
incident_idstring optionalThe support case's ID: letters, digits, . - _, at most 64 (SUPPORT_INCIDENT_INVALID)
since_hoursinteger optionalHow far back logs, events and failed jobs go: 1 to 720, default 72 (SUPPORT_SINCE_INVALID)
tenant_idstring optionalAlso this tenant's own data: name, sites, failed jobs, the end of each site's IIS log
tenant_consentboolean optionalThe tenant agreed; required with tenant_id (SUPPORT_CONSENT_REQUIRED)
redact_emailsboolean optionalAlso take email addresses out
skip_serversboolean optionalLeave every server's part out
Example
{
"reason": "string",
"incident_id": "string",
"since_hours": 0,
"tenant_id": "string",
"tenant_consent": true,
"redact_emails": true,
"skip_servers": true
}Responses
201 Bundle
Content type: application/json
idstring requiredexpires_atstring (date-time) requiredsizeinteger requiredincludedinteger requiredFiles in the bundle
took_msinteger requiredHow long the bundle took to make
server_problemsarray<object> requiredServers whose part is missing or partial, and why
server_idstring requirednamestring requiredproblemstring requiredAllowed values:"timed_out""not_heard_from""failed""partial""cancelled"notestring required
skippedarray<object> requiredWhat was left out and why (also in its manifest.json)
namestring requiredsourcestring optionalnotestring optional
Example
{
"id": "string",
"expires_at": "2026-01-01T00:00:00Z",
"size": 0,
"included": 0,
"took_ms": 0,
"server_problems": [
{
"server_id": "string",
"name": "string",
"problem": "timed_out",
"note": "string"
}
],
"skipped": [
{
"name": "string",
"source": "string",
"note": "string"
}
]
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required