Open Connector
API data types

API data types

Look up exact connection, grant, resource, mapping, external record, event, and delivery fields used by the Connector API.

Connector uses the following request and response objects. Fields marked required must be present; omission of an optional request field follows its listed default or the operation's replacement and PATCH rules.

The contains nested schemas and validation constraints. Unknown input fields and invalid types reject the request. A nullable response field is explicitly marked with null.

Endpoint object

The Endpoint object has the following fields:

FieldTypeRequiredMeaning
sidestringYesStable side within this connection. Values: a, b.
productstringYesParticipating product or custom registration. Values: infra, guard, custom.
organization_idstringYesProduct organization; must belong to the owning Solarius organization.
installation_idstringNoRequired for Infra or Guard; rejected for a custom endpoint.
integration_idstringNoRequired for custom; rejected for Infra or Guard.

Native sides require installation_id and reject integration_id. Custom sides require integration_id and reject installation_id. Both belong to the owning Solarius organization.

ConnectionCreate object

The ConnectionCreate object has the following fields:

FieldTypeRequiredMeaning
namestringYesDisplay name; renaming preserves identity.
endpointsEndpoint[]YesExactly one a endpoint and one b endpoint; identities are immutable.

Connection object

The Connection object has the following fields:

FieldTypeRequiredMeaning
idstringYesConnection identity.
namestringYesDisplay name.
revisionintegerYesConfiguration revision.
statestringYesConfiguration and observed health. Values: draft, pending_approval, connecting, connected, degraded, disconnected, paused, revoked.
active_grant_revisionintegerYesCombined active grant generation; 0 before initial activation.
endpointsEndpoint[]YesImmutable participant identities.
last_synchronized_atstring or nullYesLast complete synchronization; null before success.

GrantCreate object

The GrantCreate object has the following fields:

FieldTypeRequiredMeaning
sourcestringYesSource endpoint side. Values: a, b.
destinationstringYesOther endpoint side; must differ from source. Values: a, b.
source_scope_idsstring[]YesExplicit source projects, groups, or custom integration ID; no wildcard.
destination_scope_idstringYesReceiving project, asset group, or integration ID.
categoriesstring[]YesNonempty categories supported by this direction.
label_keysstring[]NoInventory labels permitted to cross the boundary; omitted shares no labels. Default: [].

Grant object

The Grant object has the following fields:

FieldTypeRequiredMeaning
idstringYesGrant identity.
revisionintegerYesImmutable reviewed revision.
statestringYesApproval and activation state. Values: pending_approval, approved, active, rejected, superseded, revoked.
selectionGrantCreateYesStructure defined by the GrantCreate schema.
approved_sidesstring[]YesSides that approved this exact selection.

Reason object

The Reason object has the following fields:

FieldTypeRequiredMeaning
reasonstringYesAudited reason; empty values are rejected.

GrantDecision object

The GrantDecision object has the following fields:

FieldTypeRequiredMeaning
sidestringYesSide for which the caller has approval authority. Values: a, b.
decisionstringYesApprove or reject the reviewed revision. Values: approve, reject.
reasonstringYesAudited explanation.

Resource object

The Resource object has the following fields:

FieldTypeRequiredMeaning
resource_keystringYesOpaque qualified identity; never construct this value from a name.
productstringYesSource product. Values: infra, guard, custom.
organization_idstringYesSource product organization.
installation_idstring or nullYesSource installation; null for custom records.
resource_typestringYesNative resource type, or service, deployment, or ticket for custom records.
resource_idstringYesNative ID or integration-scoped external ID.
source_revisioninteger or nullYesMonotonic source revision; null when the source has no revision.
observed_atstringYesTime of the source observation.
received_atstringYesTime Connector received the record.
summaryobjectYesStructure defined by the object schema.

The summary contains required name and optional state, url, approved labels, and severity. Only the source grant categories determine which optional fields are visible. Null source revision cannot support numeric revision comparison; read present state before a dependent change.

MappingCreate object

The MappingCreate object has the following fields:

FieldTypeRequiredMeaning
source_resource_keystringYesQualified identity on one connection endpoint.
destination_resource_keystringYesQualified identity on the other endpoint.
reasonstringYesWhy these records represent the same workload.

Mapping object

The Mapping object has the following fields:

FieldTypeRequiredMeaning
idstringYesMapping identity.
revisionintegerYesMapping revision.
source_resource_keystringYesConfirmed source identity.
destination_resource_keystringYesConfirmed destination identity.
statestringYesWhether both referenced resources remain visible. Values: active, stale.
reasonstringYesAudited association reason.

IntegrationCreate object

The IntegrationCreate object has the following fields:

FieldTypeRequiredMeaning
namestringYesIntegration display name.
descriptionstringNoPurpose of this integration. Default: "".
homepage_urlstringYesHTTPS location of the integration owner or application.
owner_team_idstringYesResponsible team in the owning Solarius organization.

Integration object

The Integration object has the following fields:

FieldTypeRequiredMeaning
idstringYesRegistered integration identity.
namestringYesDisplay name.
descriptionstringYesPurpose.
homepage_urlstringYesApplication HTTPS URL.
enabledbooleanYesWhether the integration can exchange records.
revisionintegerYesConfiguration revision.
owner_team_idstringYesResponsible organization team.

IntegrationPatch object

The IntegrationPatch object has the following fields:

FieldTypeRequiredMeaning
namestringNoReplacement display name.
descriptionstringNoReplacement purpose; empty clears the description.
enabledbooleanNotrue permits authorized exchange; false blocks subsequent exchange without deleting copies.

ExternalRecordWrite object

The ExternalRecordWrite object has the following fields:

FieldTypeRequiredMeaning
kindstringYesImmutable record category after creation. Values: service, deployment, ticket.
namestringYesName shown beside mapped native resources.
urlstringYesHTTPS link to the source record; credentials and fragments are rejected.
statestringYesExternal lifecycle summary, not a Guard enforcement result. Values: unknown, active, resolved.
labelsobjectNoSelected label keys and string values; at most 20 entries. Default: {}.

Creation requires absence through If-None-Match: *; replacement requires the current ETag. Record kind cannot change. A deleted and recreated external ID receives a replacement resource key; earlier mappings remain stale.

ExternalRecord object

The ExternalRecord object has the following fields:

FieldTypeRequiredMeaning
external_idstringYesIntegration-scoped external identity.
integration_idstringYesOwning integration.
resource_keystringYesConnector identity used by resource mappings.
revisionintegerYesConnector-assigned revision.
recordExternalRecordWriteYesStructure defined by the ExternalRecordWrite schema.
received_atstringYesAcceptance time.

Event object

The Event object has the following fields:

FieldTypeRequiredMeaning
schema_versionintegerYesEnvelope format version. Required value: 1.
event_idstringYesStable event identity across attempts and replay.
typestringYesEvent category. Values: inventory.upserted, inventory.removed, security.summary.updated, external.record.updated, external.record.removed, connection.state.changed, mapping.changed, operation.completed, subscription.test.
organization_idstringYesOwning Solarius organization.
connection_idstringYesApproved connection.
grant_revisionintegerYesGrant generation at event creation.
occurred_atstringYesTime the source observation occurred.
recorded_atstringYesTime the transport journal accepted the event.
testbooleanYestrue identifies a synthetic test; false identifies a source observation.
dataobjectYesStructure defined by the object schema.

SubscriptionCreate object

The SubscriptionCreate object has the following fields:

FieldTypeRequiredMeaning
connection_idstringYesConnection whose approved events are delivered.
destination_urlstringYesPublic HTTPS receiver without credentials; private addresses and redirects are rejected.
event_typesstring[]YesExplicit types; subscription.test is reserved for test requests.
enabledbooleanNoCreation must use false; enabling requires a successful test. Default: false. Required value: false.

SubscriptionPatch object

The SubscriptionPatch object has the following fields:

FieldTypeRequiredMeaning
destination_urlstringNoReplacement public HTTPS receiver; clears the successful test.
event_typesstring[]NoReplacement selection; changing it clears the successful test.
enabledbooleanNotrue requires a successful test for the saved URL and filters; false stops subsequent deliveries.

Subscription object

The Subscription object has the following fields:

FieldTypeRequiredMeaning
idstringYesSubscription identity.
connection_idstringYesBound connection.
destination_hoststringYesReceiver host; full URL is not returned.
event_typesstring[]YesSelected types.
enabledbooleanYesWhether new deliveries are scheduled.
revisionintegerYesConfiguration revision.
test_statestringYesResult for the saved configuration. Values: not_tested, queued, delivered, failed.

SigningSecret object

The SigningSecret object has the following fields:

FieldTypeRequiredMeaning
idstringYesSecret version identity for Connector-Secret-Id.
secretstringNoBase64 encoding of 32 random bytes; present only in the first creation response and omitted on idempotent replay.
created_atstringYesCreation time.

SubscriptionCreated object

The SubscriptionCreated object has the following fields:

FieldTypeRequiredMeaning
subscriptionSubscriptionYesStructure defined by the Subscription schema.
signing_secretSigningSecretYesStructure defined by the SigningSecret schema.

Delivery object

The Delivery object has the following fields:

FieldTypeRequiredMeaning
idstringYesDelivery identity.
event_idstringYesStable source event identity.
statestringYesReceiver admission state. Values: queued, retrying, delivered, failed, suppressed.
attempt_countintegerYesAttempts in this delivery window.
last_statusinteger or nullYesLast HTTP status; null for transport failures or no attempt.
retry_deadlinestringYesEnd of the retry window, bounded by journal expiry.

Operation object

The Operation object has the following fields:

FieldTypeRequiredMeaning
idstringYesConnector operation identity.
statestringYesExecution result. Values: queued, running, reconciling, succeeded, failed, canceled.
cancelablebooleanYesWhether uncommitted work can be canceled.
revisionintegerYesOperation revision for a cancellation precondition.
resultobjectYesStructure defined by the object schema.
errorobject or nullYesNull on success; failure code and recovery detail otherwise.