WorkOS · Schema

Flag

AuthenticationIdentity ProviderSSOSAMLOIDCSCIMDirectory SyncAuthorizationFGAAudit LogsMFAB2B SaaSAgentsMCP

Properties

Name Type Description
object string Distinguishes the Feature Flag object.
id string Unique identifier of the Feature Flag.
slug string A unique key to reference the Feature Flag.
name string A descriptive name for the Feature Flag. This field does not need to be unique.
description stringnull A description for the Feature Flag.
owner object The owner of the Feature Flag.
tags array Labels assigned to the Feature Flag for categorizing and filtering.
enabled boolean Specifies whether the Feature Flag is active for the current environment.
default_value boolean The value returned for users and organizations who don't match any configured targeting rules.
created_at string An ISO 8601 timestamp.
updated_at string An ISO 8601 timestamp.
View JSON Schema on GitHub

JSON Schema

workos-flag-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Flag",
  "title": "Flag",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "description": "Distinguishes the Feature Flag object.",
      "const": "feature_flag"
    },
    "id": {
      "type": "string",
      "description": "Unique identifier of the Feature Flag.",
      "example": "flag_01EHZNVPK3SFK441A1RGBFSHRT"
    },
    "slug": {
      "type": "string",
      "description": "A unique key to reference the Feature Flag.",
      "example": "advanced-analytics"
    },
    "name": {
      "type": "string",
      "description": "A descriptive name for the Feature Flag. This field does not need to be unique.",
      "example": "Advanced Analytics"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "A description for the Feature Flag.",
      "example": "Enable advanced analytics dashboard feature"
    },
    "owner": {
      "description": "The owner of the Feature Flag.",
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "email": {
              "type": "string",
              "description": "The email address of the flag owner.",
              "example": "jane@example.com"
            },
            "first_name": {
              "type": [
                "string",
                "null"
              ],
              "description": "The first name of the flag owner.",
              "example": "Jane"
            },
            "last_name": {
              "type": [
                "string",
                "null"
              ],
              "description": "The last name of the flag owner.",
              "example": "Doe"
            }
          },
          "required": [
            "email",
            "first_name",
            "last_name"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Labels assigned to the Feature Flag for categorizing and filtering.",
      "example": [
        "reports"
      ]
    },
    "enabled": {
      "type": "boolean",
      "description": "Specifies whether the Feature Flag is active for the current environment.",
      "example": true
    },
    "default_value": {
      "type": "boolean",
      "description": "The value returned for users and organizations who don't match any configured targeting rules.",
      "example": false
    },
    "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",
    "slug",
    "name",
    "description",
    "owner",
    "tags",
    "enabled",
    "default_value",
    "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-flag"
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.