FlowGuard API - v1.2.0-rc.2
Preparing search index...
flowguard
countByPhase
Function countByPhase
countByPhase
(
events
:
Readonly
<
{
id
:
string
;
sessionId
:
string
;
phase
:
string
;
event
:
string
;
timestamp
:
string
;
actor
:
string
;
detail
:
Record
<
string
,
unknown
>
;
actorInfo
?:
Readonly
<
{
id
:
string
;
email
:
string
|
null
;
displayName
?:
string
|
null
;
source
:
"unknown"
|
"env"
|
"git"
|
"claim"
|
"oidc"
;
assurance
:
"best_effort"
|
"claim_validated"
|
"idp_verified"
;
verificationMeta
?:
Readonly
<
{
issuer
:
string
;
audience
:
string
[]
;
keyId
:
string
;
algorithm
:
string
;
verifiedAt
:
string
;
}
,
>
;
}
,
>
;
prevHash
?:
string
;
chainHash
?:
string
;
}
,
>
[]
,
)
:
Record
<
string
,
number
>
Count events by phase for a distribution view.
Parameters
events
:
Readonly
<
{
id
:
string
;
sessionId
:
string
;
phase
:
string
;
event
:
string
;
timestamp
:
string
;
actor
:
string
;
detail
:
Record
<
string
,
unknown
>
;
actorInfo
?:
Readonly
<
{
id
:
string
;
email
:
string
|
null
;
displayName
?:
string
|
null
;
source
:
"unknown"
|
"env"
|
"git"
|
"claim"
|
"oidc"
;
assurance
:
"best_effort"
|
"claim_validated"
|
"idp_verified"
;
verificationMeta
?:
Readonly
<
{
issuer
:
string
;
audience
:
string
[]
;
keyId
:
string
;
algorithm
:
string
;
verifiedAt
:
string
;
}
,
>
;
}
,
>
;
prevHash
?:
string
;
chainHash
?:
string
;
}
,
>
[]
Returns
Record
<
string
,
number
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
FlowGuard API - v1.2.0-rc.2
Loading...
Count events by phase for a distribution view.