Skip to content
Dashboard
Theme
Theme

Create debug bundle

POST /v1/debug_bundles: Create debug bundle.

View Markdown

POST /v1/debug_bundles

Bundles are kept in the export object store (EXPORT_S3_BUCKET, EXPORT_S3_REGION, EXPORT_S3_KMS_KEY_ID). A deployment without it answers 503 debug_bundles_unavailable (not retryable) once the sign-in is found and authorized, and writes nothing; reading a bundle there answers the same code.

Scope
environment:write
Auth
Access token
Since
1.0
  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

  • sign_in string Required

Errors share one shape; see the error code catalogue.

curl -X POST \
"https://api.ohauthcat.com/v1/debug_bundles" \
-H "Authorization: Bearer $OHAUTHCAT_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"sign_in": "sgn_01J9Z3K5V7W8X9Y0Z1A2B3C4D5"
}'
Response 201
{
"id": "dbgb_01J9ZQ4M7K2X8V3N5B6C1D0E9F",
"sign_in": "sgn_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"connection": "conn_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"created_at": "2026-01-15T09:30:00Z",
"expires_at": "2026-01-15T09:30:00Z",
"diagnostic_available": true
}