Retrieve details of a specific directory connection including synced user and group counts. Returns 404 if the directory does not exist or does not belong to the current organization.
WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.
Unique identifier (UUID) of the resource
OK
Directory connection with synced user and group counts
Internal ID for the directory connection.
WorkOS organization ID that owns this directory connection.
WorkOS directory ID for this connection.
Directory name as configured in the identity provider.
Directory type (e.g., okta_scim, azure_scim, google_workspace).
Directory sync state (active, inactive, or deleting).
Primary domain associated with the directory, if provided.
Timestamp when the directory connection was created.
Timestamp when the directory connection was last updated.
Number of users synced from this directory
-9007199254740991 <= x <= 9007199254740991Number of groups synced from this directory
-9007199254740991 <= x <= 9007199254740991