GET
/
api
/
v1
/
incidents
/
{incident_id}
import os
from syllable_sdk import SyllableSDK


with SyllableSDK(
    api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:

    res = ss_client.incidents.get_by_id(incident_id=931598)

    # Handle response
    print(res)
{
  "organization_id": 123,
  "sub_organization_id": 123,
  "sub_organization": "<string>",
  "description": "<string>",
  "start_datetime": "2023-11-07T05:31:56Z",
  "resolution_datetime": "2023-11-07T05:31:56Z",
  "impact_category": "<string>",
  "sessions_impacted": 123,
  "markdown": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "id": 123
}

Authorizations

Syllable-API-Key
string
header
required

Path Parameters

incident_id
integer
required

Response

200
application/json
Successful Response
organization_id
integer | null
required
sub_organization_id
integer | null
required
sub_organization
string | null
required
description
string
required
start_datetime
string
required
resolution_datetime
string
required
impact_category
string
required
sessions_impacted
integer
required
markdown
string
required
created_at
string
required
updated_at
string
required
id
integer
required