Pular para o conteúdo principal
GET
/
postmortems
List Postmortems
curl --request GET \
  --url http://{host}:{port}/{basePath}/postmortems \
  --header 'Authorization: <api-key>'
{
  "apiVersion": "v1",
  "kind": "PostMortemList",
  "metadata": {
    "totalCount": 15,
    "page": 1,
    "pageSize": 20
  },
  "items": [
    {
      "name": "PM-20260318-001",
      "incident": "INC-20260318-003",
      "title": "OOMKill recorrente no checkout-service",
      "severity": "critical",
      "duration": "45m",
      "impact": "3.2% de requests falharam no checkout durante 45 minutos",
      "rootCause": "Memory leak no handler de webhook de pagamento",
      "status": "published",
      "createdAt": "2026-03-18T23:00:00Z",
      "author": "ai-generated"
    },
    {
      "name": "PM-20260317-001",
      "incident": "INC-20260317-001",
      "title": "Latência elevada no api-gateway",
      "severity": "high",
      "duration": "20m",
      "impact": "P99 latência subiu de 150ms para 2.3s",
      "rootCause": "Connection pool exaurido por queries lentas no PostgreSQL",
      "status": "published",
      "createdAt": "2026-03-17T18:30:00Z",
      "author": "ai-generated"
    }
  ]
}
incident
string
Filtrar por incidente associado (ex: INC-20260319-001)
severity
string
Filtrar por severidade do incidente original: critical, high, medium, low
since
string
Filtrar postmortems criados a partir de uma data ISO 8601
page
integer
padrão:"1"
Número da página
pageSize
integer
padrão:"20"
Itens por página (máximo 100)
{
  "apiVersion": "v1",
  "kind": "PostMortemList",
  "metadata": {
    "totalCount": 15,
    "page": 1,
    "pageSize": 20
  },
  "items": [
    {
      "name": "PM-20260318-001",
      "incident": "INC-20260318-003",
      "title": "OOMKill recorrente no checkout-service",
      "severity": "critical",
      "duration": "45m",
      "impact": "3.2% de requests falharam no checkout durante 45 minutos",
      "rootCause": "Memory leak no handler de webhook de pagamento",
      "status": "published",
      "createdAt": "2026-03-18T23:00:00Z",
      "author": "ai-generated"
    },
    {
      "name": "PM-20260317-001",
      "incident": "INC-20260317-001",
      "title": "Latência elevada no api-gateway",
      "severity": "high",
      "duration": "20m",
      "impact": "P99 latência subiu de 150ms para 2.3s",
      "rootCause": "Connection pool exaurido por queries lentas no PostgreSQL",
      "status": "published",
      "createdAt": "2026-03-17T18:30:00Z",
      "author": "ai-generated"
    }
  ]
}

Autorizações

Authorization
string
header
obrigatório

Bearer token issued by the operator. Format: Authorization: Bearer <token>.

Parâmetros de consulta

incident
string

Filter by associated incident.

severity
enum<string>

Filter by severity of the originating incident.

Opções disponíveis:
critical,
high,
medium,
low
since
string<date-time>

ISO 8601 timestamp filter.

page
integer
padrão:1

Page number.

pageSize
integer
padrão:20

Items per page (max 100).

Intervalo obrigatório: x <= 100

Resposta

Paginated list of postmortems

apiVersion
string
Exemplo:

"v1"

kind
string
Exemplo:

"PostMortemList"

metadata
object
items
object[]