Return synchronization state, computed alert, counters, and bounded run history.
GET
/api/workspace/admin/external-identity/monitoring
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://example.com/api/workspace/admin/external-identity/monitoring"), Headers = { { "Authorization", "Bearer <token>" }, },};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/admin/external-identity/monitoring';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/workspace/admin/external-identity/monitoring \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”access_token
string
Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Responses
Section titled “Responses”OK
Media typeapplication/json
Monitoring data used by the Phase 4 administrator surface.
object
Connection
Non-secret provider connection state exposed to administration and diagnostics.
object
Id
string
ProviderKind
integer format: int32
DisplayName
string
Issuer
string
AuthenticationClientId
string
DirectoryClientId
string
State
integer format: int32
Health
integer format: int32
Capabilities
Capabilities advertised by a configured external identity provider.
object
SupportsDirectorySearch
boolean
SupportsDirectoryBatchRead
boolean
SupportsProviderLogout
boolean
CreatedAtUtc
string format: date-time
LastValidatedAtUtc
string format: date-time
ArchivedAtUtc
string format: date-time
Synchronization
Operational synchronization state for one provider connection.
object
ProviderConnectionId
string
Status
integer format: int32
Health
integer format: int32
LastAttemptAtUtc
string format: date-time
LastSuccessfulAtUtc
string format: date-time
NextScheduledAtUtc
string format: date-time
ConsecutiveFailureCount
integer format: int32
LastDiagnostic
Sanitized provider diagnostic safe for APIs and ordinary logs.
object
Code
integer format: int32
Message
string
LastCounters
Counters produced by one provider synchronization run.
object
CheckedIdentityCount
integer format: int32
ProfileChangeCount
integer format: int32
StatusChangeCount
integer format: int32
RevokedLocalTokenCount
integer format: int32
Alert
Backend-computed monitoring alert with fixed low-cardinality codes.
object
Severity
integer format: int32
Code
integer format: int32
EvaluatedAtUtc
string format: date-time
RecentRuns
Array<object>
Sanitized synchronization run history row.
object
Id
string format: uuid
Trigger
integer format: int32
Status
integer format: int32
Outcome
integer format: int32
DiagnosticCode
integer format: int32
RequestedAtUtc
string format: date-time
StartedAtUtc
string format: date-time
CompletedAtUtc
string format: date-time
DurationMilliseconds
integer format: int64
Counters
Counters produced by one provider synchronization run.
object
CheckedIdentityCount
integer format: int32
ProfileChangeCount
integer format: int32
StatusChangeCount
integer format: int32
RevokedLocalTokenCount
integer format: int32
CorrelationId
string
ProfileEmailConflictCount
integer format: int32
Example
{ "Connection": { "ProviderKind": 1, "State": 1, "Health": 1 }, "Synchronization": { "Status": 1, "Health": 1, "LastDiagnostic": { "Code": 0 } }, "Alert": { "Severity": 0, "Code": 0 }, "RecentRuns": [ { "Trigger": 1, "Status": 1, "Outcome": 0, "DiagnosticCode": 0 } ]}