Get Petra identity summary
Petra Security Microsoft 365 identity threat summary for a period (default the last 30 days, at most 400 days): compromises split into live and historical, open and remediated counts, median dwell time, the most relevant incidents, failed sign-in attacks and posture scores.
Authorizations
Use your API key as a Bearer token. API keys can be generated in Settings → Integrations → API Access.
Query Parameters
Restrict to one company
First day of the period (YYYY-MM-DD)
^\d{4}-\d{2}-\d{2}$Last day of the period (YYYY-MM-DD)
^\d{4}-\d{2}-\d{2}$Response
Petra identity summary
Incidents cover the period (live vs historical, open vs remediated, median dwell, openNow, top incidents); failed sign-in attacks are each tenant's latest 30-day window and posture is each tenant's latest report.