Skip to content

Collectors API

DRAFT — Internal Developer Use Only

This API reference is for internal development teams.

Overview

What it is: The collectors API manages data source collector configurations. Collectors connect to external systems (Active Directory, AWS, Azure, Okta, etc.) to discover identity data.

Why it matters: Developers building integrations or managing collector deployments need programmatic access to create, retrieve, and import collector configurations.

Endpoints

MethodPathDescriptionAuth required
GET/internal/v1/collector/:entity/:eidGet a specific collector configJWT + API token
GET/internal/v1/collector/:entityList collector configs by entity typeJWT + API token
GET/internal/v1/datasource/:entity/:eidGet data source collectorsJWT + API token
POST/internal/v1/collection/import/:entityImport a collector configurationJWT + API token
GET/internal/v1/collection/platformsList supported collection platformsJWT + API token
GET/internal/v1/collection/credsList credential typesJWT + API token
GET/internal/v1/feature/flagsGet feature flagsJWT + API token

GET /internal/v1/collector/:entity/:eid

Retrieve a specific collector configuration by entity type and entity ID.

Path parameters:

ParameterTypeDescription
entitystringEntity type (e.g., ActiveDirectory, AWS, Azure, Okta)
eidstringEntity ID (collector instance identifier)

Request:

http
GET /internal/v1/collector/ActiveDirectory/ad-collector-001
Authorization: Bearer <token>

Response (200):

json
{
  "id": "ad-collector-001",
  "entity": "ActiveDirectory",
  "name": "Corporate AD",
  "status": "active",
  "schedule": "0 2 * * *",
  "credentials": "cred-uuid-001",
  "config": {
    "domain": "corp.example.com",
    "searchBase": "DC=corp,DC=example,DC=com"
  }
}

GET /internal/v1/collector/:entity

List all collector configurations for a given entity type.

Request:

http
GET /internal/v1/collector/AWS
Authorization: Bearer <token>

Response (200):

json
[
  {
    "id": "aws-001",
    "entity": "AWS",
    "name": "Production AWS",
    "status": "active"
  },
  {
    "id": "aws-002",
    "entity": "AWS",
    "name": "Staging AWS",
    "status": "paused"
  }
]

GET /internal/v1/collection/platforms

List all supported collection platforms. Use this to discover which entity types are available.

Request:

http
GET /internal/v1/collection/platforms
Authorization: Bearer <token>

Response (200):

json
{
  "platforms": [
    "ActiveDirectory",
    "AWS",
    "Azure",
    "GoogleCloud",
    "Kubernetes",
    "LDAP",
    "Linux",
    "Okta",
    "GitHub",
    "GitLab",
    "SailPoint",
    "ServiceNow",
    "Universal"
  ]
}

POST /internal/v1/collection/import/:entity

Import a collector configuration from a file or template.

Request:

http
POST /internal/v1/collection/import/Universal
Authorization: Bearer <token>
Content-Type: application/json

{
  "name": "Custom LDAP Collector",
  "config": { ... },
  "credentials": "cred-uuid-001"
}

Response (201):

json
{
  "id": "imported-collector-uuid",
  "status": "created"
}

Hydden Documentation and Training Hub