Get directory
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.
Documentation Index
Fetch the complete documentation index at: https://docs.usechar.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.
Path Parameters
Unique identifier (UUID) of the resource
Response
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
