{
  "service": "lucid_scim",
  "displayName": "Lucid SCIM",
  "categories": [
    "Security",
    "Productivity"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "SCIM Bearer Token",
      "placeholder": "LUCID_SCIM_BEARER_TOKEN",
      "description": "Lucid SCIM bearer token sent in the Authorization header. Generate it in Lucid Admin under App integration > SCIM for admin management or SCIM for content access: https://lucid.app/teams#/apps/integrations-general/scim-for-admin-management",
      "extraFields": []
    }
  ],
  "homepageUrl": "https://lucid.co",
  "actions": [
    {
      "id": "lucid_scim.get_group",
      "service": "lucid_scim",
      "name": "get_group",
      "description": "Get one Lucid SCIM org group or team by ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Lucid SCIM group or team ID, such as lucid-group-1234."
          },
          "attributes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One SCIM attribute name."
            },
            "description": "SCIM attributes to include or exclude, sent as a comma-separated list.",
            "minItems": 1
          },
          "excludedAttributes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One SCIM attribute name."
            },
            "description": "SCIM attributes to include or exclude, sent as a comma-separated list.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "id"
        ],
        "description": "Input parameters for retrieving one Lucid SCIM group or team.",
        "allOf": [
          {
            "not": {
              "required": [
                "attributes",
                "excludedAttributes"
              ]
            }
          }
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "group": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Lucid group or team ID returned by SCIM."
              },
              "displayName": {
                "type": "string",
                "description": "Display name of the Lucid org group or team."
              },
              "members": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "SCIM member entry."
                },
                "description": "Members returned for the group or team."
              },
              "meta": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "SCIM metadata returned for the group or team."
              }
            },
            "additionalProperties": true,
            "description": "Lucid SCIM group or team resource."
          }
        },
        "additionalProperties": false,
        "required": [
          "group"
        ],
        "description": "Single Lucid SCIM group or team response."
      }
    },
    {
      "id": "lucid_scim.get_service_provider_config",
      "service": "lucid_scim",
      "name": "get_service_provider_config",
      "description": "Get the Lucid SCIM service provider configuration for the connected account.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "No input is required for this Lucid SCIM request."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "config": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "ServiceProviderConfig object returned by Lucid SCIM."
          }
        },
        "additionalProperties": false,
        "required": [
          "config"
        ],
        "description": "Lucid SCIM service provider configuration response."
      }
    },
    {
      "id": "lucid_scim.get_user",
      "service": "lucid_scim",
      "name": "get_user",
      "description": "Get one Lucid SCIM user by ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Lucid SCIM resource ID, such as lucid-1234."
          },
          "attributes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One SCIM attribute name."
            },
            "description": "SCIM attributes to include or exclude, sent as a comma-separated list.",
            "minItems": 1
          },
          "excludedAttributes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One SCIM attribute name."
            },
            "description": "SCIM attributes to include or exclude, sent as a comma-separated list.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "id"
        ],
        "description": "Input parameters for retrieving one Lucid SCIM user.",
        "allOf": [
          {
            "not": {
              "required": [
                "attributes",
                "excludedAttributes"
              ]
            }
          }
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "user": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Lucid user ID returned by SCIM."
              },
              "userName": {
                "type": "string",
                "description": "SCIM username, usually the user's email address."
              },
              "displayName": {
                "type": "string",
                "description": "Display name returned for the user."
              },
              "active": {
                "type": "boolean",
                "description": "Whether the user can authenticate to Lucid."
              },
              "externalId": {
                "type": "string",
                "description": "Provisioning client identifier for the user."
              },
              "emails": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "SCIM email entry."
                },
                "description": "Email entries returned for the user."
              },
              "groups": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "SCIM group entry."
                },
                "description": "Group memberships returned for the user."
              },
              "meta": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "SCIM metadata returned for the user."
              }
            },
            "additionalProperties": true,
            "description": "Lucid SCIM user resource."
          }
        },
        "additionalProperties": false,
        "required": [
          "user"
        ],
        "description": "Single Lucid SCIM user response."
      }
    },
    {
      "id": "lucid_scim.list_groups",
      "service": "lucid_scim",
      "name": "list_groups",
      "description": "List Lucid SCIM org groups or teams with optional SCIM filter, pagination, and attributes.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "startIndex": {
            "type": "integer",
            "minimum": 1,
            "description": "One-based index of the first SCIM result to return."
          },
          "count": {
            "type": "integer",
            "minimum": 0,
            "description": "Maximum number of SCIM resources to return."
          },
          "filter": {
            "type": "string",
            "minLength": 1,
            "description": "SCIM group filter. Lucid currently supports single displayName equality filters such as displayName eq \"Engineering\"."
          },
          "attributes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One SCIM attribute name."
            },
            "description": "SCIM attributes to include or exclude, sent as a comma-separated list.",
            "minItems": 1
          },
          "excludedAttributes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One SCIM attribute name."
            },
            "description": "SCIM attributes to include or exclude, sent as a comma-separated list.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for listing Lucid SCIM groups or teams.",
        "allOf": [
          {
            "not": {
              "required": [
                "attributes",
                "excludedAttributes"
              ]
            }
          }
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "groups": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Lucid group or team ID returned by SCIM."
                },
                "displayName": {
                  "type": "string",
                  "description": "Display name of the Lucid org group or team."
                },
                "members": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "SCIM member entry."
                  },
                  "description": "Members returned for the group or team."
                },
                "meta": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "SCIM metadata returned for the group or team."
                }
              },
              "additionalProperties": true,
              "description": "Lucid SCIM group or team resource."
            },
            "description": "Groups or teams returned in this page."
          },
          "totalResults": {
            "type": "integer",
            "minimum": 0,
            "description": "Total matching SCIM resources across all pages."
          },
          "startIndex": {
            "type": "integer",
            "minimum": 1,
            "description": "One-based index of the first SCIM result to return."
          },
          "itemsPerPage": {
            "type": "integer",
            "minimum": 0,
            "description": "Number of resources returned in this page."
          },
          "schemas": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "SCIM schema URI."
            },
            "description": "SCIM schema URIs returned for the list response."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Raw Lucid SCIM list response."
          }
        },
        "additionalProperties": false,
        "required": [
          "groups",
          "totalResults",
          "startIndex",
          "itemsPerPage",
          "schemas",
          "raw"
        ],
        "description": "A page of Lucid SCIM groups or teams."
      }
    },
    {
      "id": "lucid_scim.list_users",
      "service": "lucid_scim",
      "name": "list_users",
      "description": "List Lucid SCIM users with optional SCIM filter, pagination, and attributes.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "startIndex": {
            "type": "integer",
            "minimum": 1,
            "description": "One-based index of the first SCIM result to return."
          },
          "count": {
            "type": "integer",
            "minimum": 0,
            "description": "Maximum number of SCIM resources to return."
          },
          "filter": {
            "type": "string",
            "minLength": 1,
            "description": "SCIM user filter. Lucid recommends optimized attributes such as email, userName, displayName, or externalId."
          },
          "attributes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One SCIM attribute name."
            },
            "description": "SCIM attributes to include or exclude, sent as a comma-separated list.",
            "minItems": 1
          },
          "excludedAttributes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One SCIM attribute name."
            },
            "description": "SCIM attributes to include or exclude, sent as a comma-separated list.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for listing Lucid SCIM users.",
        "allOf": [
          {
            "not": {
              "required": [
                "attributes",
                "excludedAttributes"
              ]
            }
          }
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "users": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Lucid user ID returned by SCIM."
                },
                "userName": {
                  "type": "string",
                  "description": "SCIM username, usually the user's email address."
                },
                "displayName": {
                  "type": "string",
                  "description": "Display name returned for the user."
                },
                "active": {
                  "type": "boolean",
                  "description": "Whether the user can authenticate to Lucid."
                },
                "externalId": {
                  "type": "string",
                  "description": "Provisioning client identifier for the user."
                },
                "emails": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "SCIM email entry."
                  },
                  "description": "Email entries returned for the user."
                },
                "groups": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "SCIM group entry."
                  },
                  "description": "Group memberships returned for the user."
                },
                "meta": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "SCIM metadata returned for the user."
                }
              },
              "additionalProperties": true,
              "description": "Lucid SCIM user resource."
            },
            "description": "Users returned in this page."
          },
          "totalResults": {
            "type": "integer",
            "minimum": 0,
            "description": "Total matching SCIM resources across all pages."
          },
          "startIndex": {
            "type": "integer",
            "minimum": 1,
            "description": "One-based index of the first SCIM result to return."
          },
          "itemsPerPage": {
            "type": "integer",
            "minimum": 0,
            "description": "Number of resources returned in this page."
          },
          "schemas": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "SCIM schema URI."
            },
            "description": "SCIM schema URIs returned for the list response."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Raw Lucid SCIM list response."
          }
        },
        "additionalProperties": false,
        "required": [
          "users",
          "totalResults",
          "startIndex",
          "itemsPerPage",
          "schemas",
          "raw"
        ],
        "description": "A page of Lucid SCIM users."
      }
    }
  ]
}
