WorkOS · Schema

DirectoryGroup

AuthenticationIdentity ProviderSSOSAMLOIDCSCIMDirectory SyncAuthorizationFGAAudit LogsMFAB2B SaaSAgentsMCP

Properties

Name Type Description
object string Distinguishes the Directory Group object.
id string Unique identifier for the Directory Group.
idp_id string Unique identifier for the group, assigned by the Directory Provider. Different Directory Providers use different ID formats.
directory_id string The identifier of the Directory the Directory Group belongs to.
organization_id string The identifier for the Organization in which the Directory resides.
name string The name of the Directory Group.
raw_attributes object The raw attributes received from the directory provider.
created_at string An ISO 8601 timestamp.
updated_at string An ISO 8601 timestamp.
View JSON Schema on GitHub

JSON Schema

workos-directorygroup-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DirectoryGroup",
  "title": "DirectoryGroup",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "description": "Distinguishes the Directory Group object.",
      "const": "directory_group"
    },
    "id": {
      "type": "string",
      "description": "Unique identifier for the Directory Group.",
      "example": "directory_group_01E1JJS84MFPPQ3G655FHTKX6Z"
    },
    "idp_id": {
      "type": "string",
      "description": "Unique identifier for the group, assigned by the Directory Provider. Different Directory Providers use different ID formats.",
      "example": "02grqrue4294w24"
    },
    "directory_id": {
      "type": "string",
      "description": "The identifier of the Directory the Directory Group belongs to.",
      "example": "directory_01ECAZ4NV9QMV47GW873HDCX74"
    },
    "organization_id": {
      "type": "string",
      "description": "The identifier for the Organization in which the Directory resides.",
      "example": "org_01EZTR6WYX1A0DSE2CYMGXQ24Y"
    },
    "name": {
      "type": "string",
      "description": "The name of the Directory Group.",
      "example": "Developers"
    },
    "raw_attributes": {
      "type": "object",
      "additionalProperties": {},
      "description": "The raw attributes received from the directory provider."
    },
    "created_at": {
      "format": "date-time",
      "type": "string",
      "description": "An ISO 8601 timestamp.",
      "example": "2026-01-15T12:00:00.000Z"
    },
    "updated_at": {
      "format": "date-time",
      "type": "string",
      "description": "An ISO 8601 timestamp.",
      "example": "2026-01-15T12:00:00.000Z"
    }
  },
  "required": [
    "object",
    "id",
    "idp_id",
    "directory_id",
    "organization_id",
    "name",
    "created_at",
    "updated_at"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/workos-directorygroup"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.