Skip to content

Universal Connector Schemas API

DRAFT — Internal Developer Use Only

This API reference is for internal development teams.

Overview

What it is: The universal connector schemas API manages custom data collection schemas. Schemas define the structure of data that universal connectors collect from external systems using sandboxed Python scripts.

Why it matters: Developers creating custom collectors need to define schemas that describe the entity types, fields, and relationships that the collector will discover.

Endpoints

MethodPathDescriptionAuth required
GET/internal/v1/connector/universal/schemasList all schemasJWT + API token
GET/internal/v1/connector/universal/schemas/:idGet schema detailsJWT + API token
GET/internal/v1/connector/universal/schemas/:id/historyGet schema change historyJWT + API token
POST/internal/v1/connector/universal/schemasCreate a new schemaJWT + API token
PUT/internal/v1/connector/universal/schemas/:idUpdate a schemaJWT + API token
DELETE/internal/v1/connector/universal/schemas/:cid/:idDelete a schemaJWT + API token
DELETE/internal/v1/connector/universal/schemas/:cid/:id/eraseErase schema and dataJWT + API token
GET/internal/v1/connector/universal/generate/schema-id/:connector/:idGenerate schema IDJWT + API token
GET/internal/v1/connector/universal/generate/schema-uuid/:connector/:idGenerate schema UUIDJWT + API token
GET/internal/v1/connector/universal/model/schemasGet model schema definitionsJWT + API token

Documentation & Tools

MethodPathDescriptionAuth required
GET/internal/v1/connector/universal/docsList connector documentationJWT + API token
GET/internal/v1/connector/universal/docs/:idGet specific documentationJWT + API token
GET/internal/v1/connector/universal/tools/:connectoridList connector toolsJWT + API token
POST/internal/v1/connector/universal/action/:connectorid/:actionIdExecute connector actionJWT + API token

POST /internal/v1/connector/universal/schemas

Create a new universal connector schema.

Request:

http
POST /internal/v1/connector/universal/schemas
Authorization: Bearer <token>
Content-Type: application/json

{
  "name": "Custom REST API",
  "connectorId": "connector-uuid",
  "entityType": "account",
  "fields": [
    { "name": "userId", "type": "string", "primary": true },
    { "name": "username", "type": "string" },
    { "name": "email", "type": "string" },
    { "name": "role", "type": "string" },
    { "name": "active", "type": "boolean" }
  ]
}

Response (201):

json
{
  "id": "schema-uuid-001",
  "name": "Custom REST API",
  "status": "created",
  "version": 1
}

GET /internal/v1/connector/universal/schemas/:id/history

Get the change history for a schema. Use this to track modifications over time.

Request:

http
GET /internal/v1/connector/universal/schemas/schema-uuid-001/history
Authorization: Bearer <token>

Response (200):

json
{
  "history": [
    {
      "version": 2,
      "changedAt": "2026-02-12T10:00:00Z",
      "changedBy": "admin@example.com",
      "changes": ["Added field: department"]
    },
    {
      "version": 1,
      "changedAt": "2026-02-01T10:00:00Z",
      "changedBy": "admin@example.com",
      "changes": ["Initial creation"]
    }
  ]
}

DELETE /internal/v1/connector/universal/schemas/:cid/:id/erase

Delete a schema and erase all collected data associated with it. This is a destructive operation.

Path parameters:

ParameterTypeDescription
cidstringConnector ID
idstringSchema ID

Request:

http
DELETE /internal/v1/connector/universal/schemas/connector-uuid/schema-uuid-001/erase
Authorization: Bearer <token>

Response (204): No content.

DANGER

This operation permanently deletes the schema and all associated collected data. This cannot be undone.

Hydden Documentation and Training Hub