Twilio Segment · Schema

Segment Source

A Segment source represents a data collection point that captures analytics events from a website, mobile app, server, or cloud application and sends them to Segment for routing to configured destinations.

CompanyCustomer Data PlatformCDPIdentity ResolutionEvent StreamingReverse ETLData PipelineCustomer DataAnalyticsAcquired

Properties

Name Type Description
id string The unique identifier of the source.
slug string The URL-friendly slug of the source.
name string The display name of the source.
enabled boolean Whether the source is currently enabled and collecting data.
writeKeys array The write keys used to authenticate data sent to this source.
metadata object
settings object Configuration settings specific to the source type.
labels array Labels applied to the source for organization and access control.
workspaceId string The ID of the workspace this source belongs to.
View JSON Schema on GitHub

JSON Schema

segment-source-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://segment.com/schemas/segment/source.json",
  "title": "Segment Source",
  "description": "A Segment source represents a data collection point that captures analytics events from a website, mobile app, server, or cloud application and sends them to Segment for routing to configured destinations.",
  "type": "object",
  "required": ["id", "slug"],
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the source."
    },
    "slug": {
      "type": "string",
      "description": "The URL-friendly slug of the source.",
      "pattern": "^[a-z0-9-]+$"
    },
    "name": {
      "type": "string",
      "description": "The display name of the source."
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether the source is currently enabled and collecting data."
    },
    "writeKeys": {
      "type": "array",
      "description": "The write keys used to authenticate data sent to this source.",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "metadata": {
      "$ref": "#/$defs/SourceMetadata"
    },
    "settings": {
      "type": "object",
      "description": "Configuration settings specific to the source type.",
      "additionalProperties": true
    },
    "labels": {
      "type": "array",
      "description": "Labels applied to the source for organization and access control.",
      "items": {
        "$ref": "#/$defs/Label"
      }
    },
    "workspaceId": {
      "type": "string",
      "description": "The ID of the workspace this source belongs to."
    }
  },
  "$defs": {
    "SourceMetadata": {
      "type": "object",
      "description": "Metadata about the source type from the Segment catalog.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The metadata ID from the catalog."
        },
        "name": {
          "type": "string",
          "description": "The name of the source type."
        },
        "slug": {
          "type": "string",
          "description": "The slug of the source type."
        },
        "description": {
          "type": "string",
          "description": "A description of the source type."
        },
        "logos": {
          "type": "object",
          "description": "Logo URLs for the source.",
          "properties": {
            "default": {
              "type": "string",
              "format": "uri",
              "description": "Default logo URL."
            }
          }
        },
        "categories": {
          "type": "array",
          "description": "Categories the source belongs to.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "Label": {
      "type": "object",
      "description": "A label used to organize and control access to workspace resources.",
      "required": ["key", "value"],
      "properties": {
        "key": {
          "type": "string",
          "description": "The label key.",
          "minLength": 1
        },
        "value": {
          "type": "string",
          "description": "The label value.",
          "minLength": 1
        },
        "description": {
          "type": "string",
          "description": "A description of the label."
        }
      }
    }
  }
}

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/segment-source"
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.