WorkOS

directories.list

Get a list of all of your existing directories matching the criteria specified.

Remote workos

Other tools also called directories.list? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "after": {
      "type": "string",
      "description": "An object ID that defines your place in the list. When the ID is not present, you are at the end of the list."
    },
    "limit": {
      "type": "integer",
      "default": 10,
      "description": "Upper limit on the number of objects to return, between `1` and `100`."
    },
    "order": {
      "enum": [
        "normal",
        "desc",
        "asc"
      ],
      "type": "string",
      "default": "desc",
      "description": "Order the results by the creation time."
    },
    "before": {
      "type": "string",
      "description": "An object ID that defines your place in the list. When the ID is not present, you are at the end of the list."
    },
    "domain": {
      "type": "string",
      "description": "Filter Directories by their associated domain."
    },
    "search": {
      "type": "string",
      "description": "Searchable text to match against Directory names."
    },
    "organization_id": {
      "type": "string",
      "description": "Filter Directories by their associated organization."
    }
  }
}
          

Provider

WorkOS →