Retrieve all directory connections (SSO/SCIM) for the current organization. Returns directories with user and group counts. Requires an Enterprise plan with SSO enabled.
WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.
OK
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