Connections API

Get an existing connection

get

Get an existing connection with all credentials redacted.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
Responses
chevron-right
200

Connection object

application/json

The connection resource. Sensitive strings will be returned with a value of '[REDACTED]'.

or
get
/api/connections/{connectionKey}

Delete a connection and all its data objects

delete

Delete a connection and all its data objects. Returns a task ID for tracking the asynchronous deletion process.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
Responses
delete
/api/connections/{connectionKey}

Partially update the connection

patch

Partially update the connection for the specified connection key.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
Query parameters
dryRunstringOptional

Whether to perform a dry run of the patch operation without making actual changes.

Body

The update connection request payload schema.

or
Responses
chevron-right
200

Connection object

application/json

The update connection response schema.

or
patch
/api/connections/{connectionKey}

Activate the connection

post

Activate the connection for the specified connection key.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
Responses
chevron-right
200

Successfully activated connection

application/json

The activate connection response schema.

or
post
/api/connections/{connectionKey}/_activate

Deactivate the connection

post

Deactivate the connection for the specified connection key.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
Responses
chevron-right
200

Successfully deactivated connection

application/json

The deactivate connection response schema.

or
post
/api/connections/{connectionKey}/_deactivate

Validate the connection

post

Validate the connection for the specified connection key. Runs validation against each enabled component of the connection (client, policy, and audit) and updates the persisted health state for each based on the result.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
Responses
post
/api/connections/{connectionKey}/_validate

Get a list of connections

get

Get a list of connections.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
page[limit]integer · min: 1 · max: 100Optional

Maximum number of items to return.

Default: 20Example: 20
page[cursor]stringOptional

The cursor to start from.

Example: eyJpZCI6IjEyMzQ1In0=
Responses
chevron-right
200

Connections list

application/json

Response schema for listing connections with pagination.

get
/api/connections
200

Connections list

Create a new connection

post

Create a new connection.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

The create connection request payload schema.

or
Responses
post
/api/connections

Search for data objects by connection and attributes

post

Search for data objects by connection and attributes.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

Request schema for searching data objects by connection and attributes with pagination.

Responses
chevron-right
200

Data objects search result

application/json

Response schema for searching data objects with pagination.

post
/api/connections/dataObjects/_search

Get a data object by connection and ID without children

get

Get a data object by connection and ID without children.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
idstringRequired

The unique, Immuta-generated identifier (UUID) for the data object.

Responses
chevron-right
200

Data object

application/json

The response schema for getting a data object.

idstringRequired

The unique, Immuta-generated identifier (UUID) for the data object.

namestring · min: 1Required

The name of the data object.

typestring · min: 1Required

The type of the data object.

normalizedTypestring · min: 1Required

The normalized type of the data object.

technologystring · min: 1Required

The technology of the data platform.

remoteIdstring · min: 1Required

The remote identifier for the data object.

remoteTypestringOptional

The type of the data object as returned by the remote platform.

remoteFormatstringOptional

The format of the data object as returned by the remote platform.

remoteKindstringOptional

The kind of the data object as returned by the remote platform.

remoteCreatedAtstring · date-timeOptional

The timestamp of the creation of the data object as returned by the remote platform.

remoteUpdatedAtstring · date-timeOptional

The timestamp of the last update of the data object as returned by the remote platform.

lastSyncedAtstring · date-timeRequired

The timestamp of the last sync of this data object.

connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
createdBystringRequired

The user or system account ID who created the data object.

createdAtstring · date-timeRequired

The date and time the data object was created.

updatedBystringRequired

The user or system account ID who updated the data object.

updatedAtstring · date-timeRequired

The date and time the data object was updated.

get
/api/connections/{connectionKey}/dataObjects/{id}

Delete a data object and all its descendants

delete

Delete a data object and all its descendants. Returns a task ID for tracking the asynchronous deletion process.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
idstringRequired

The unique, Immuta-generated identifier (UUID) for the data object.

Responses
delete
/api/connections/{connectionKey}/dataObjects/{id}

Update a data object by connection and ID

patch

Update a data object by connection and ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
idstringRequired

The unique, Immuta-generated identifier (UUID) for the data object.

Body

The request body for updating a data object.

Responses
chevron-right
200

Data object updated

application/json

The response schema for updating a data object. Returns the full data object.

idstringRequired

The unique, Immuta-generated identifier (UUID) for the data object.

namestring · min: 1Required

The name of the data object.

typestring · min: 1Required

The type of the data object.

normalizedTypestring · min: 1Required

The normalized type of the data object.

technologystring · min: 1Required

The technology of the data platform.

remoteIdstring · min: 1Required

The remote identifier for the data object.

remoteTypestringOptional

The type of the data object as returned by the remote platform.

remoteFormatstringOptional

The format of the data object as returned by the remote platform.

remoteKindstringOptional

The kind of the data object as returned by the remote platform.

remoteCreatedAtstring · date-timeOptional

The timestamp of the creation of the data object as returned by the remote platform.

remoteUpdatedAtstring · date-timeOptional

The timestamp of the last update of the data object as returned by the remote platform.

lastSyncedAtstring · date-timeRequired

The timestamp of the last sync of this data object.

connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
createdBystringRequired

The user or system account ID who created the data object.

createdAtstring · date-timeRequired

The date and time the data object was created.

updatedBystringRequired

The user or system account ID who updated the data object.

updatedAtstring · date-timeRequired

The date and time the data object was updated.

patch
/api/connections/{connectionKey}/dataObjects/{id}

Get the children of a data object by connection and ID

get

Get the children of a data object by connection and ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
idstringRequired

The unique, Immuta-generated identifier (UUID) for the data object.

Query parameters
page[limit]integer · min: 1 · max: 100Optional

Maximum number of items to return.

Default: 20Example: 20
page[cursor]stringOptional

The cursor to start from.

Example: eyJpZCI6IjEyMzQ1In0=
Responses
chevron-right
200

Data object children

application/json

The response schema for getting the children of a data object.

get
/api/connections/{connectionKey}/dataObjects/{id}/children

Get a task run by ID

get

Get a task run by ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
taskIdstring · uuidRequired

The task ID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$
runIdstring · uuidRequired

The run ID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$
Responses
chevron-right
200

Task run details

application/json

The get task run response schema.

runIdstring · uuidRequired

The run ID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$
statusstring · enumRequired

The task run status.

Possible values:
createdAtstring · date-timeRequired

When the task run was created.

updatedAtstring · date-timeRequired

When the task run was last updated.

startedAtstring · date-timeOptional

When the task run was started.

completedAtstring · date-timeOptional

When the task run was completed.

canceledBystring · min: 1Optional

The user or system account ID that canceled the task run.

get
/api/connections/{connectionKey}/tasks/{taskId}/runs/{runId}

Request to cancel a task run by ID

post

Request to cancel a task run by ID. This will not immediately cancel the task run, but will request the task run to be cancelled. To check the status of the task run, use the GET endpoint.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
taskIdstring · uuidRequired

The task ID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$
runIdstring · uuidRequired

The run ID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$
Responses
chevron-right
200

Task run cancelled response.

application/json

The cancel task run response schema.

runIdstring · uuidRequired

The run ID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$
messagestringRequired

The cancel task run response message.

post
/api/connections/{connectionKey}/tasks/{taskId}/runs/{runId}/_cancel

Get a list of tasks

get

Get a list of tasks for a connection.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
Query parameters
page[limit]integer · min: 1 · max: 100Optional

Maximum number of items to return.

Default: 20Example: 20
page[cursor]stringOptional

The cursor to start from.

Example: eyJpZCI6IjEyMzQ1In0=
filter[type]string · enumOptional

Filter by task type.

Possible values:
filter[status]string · enumOptional

Filter by task status.

Possible values:
filter[trigger]string · enumOptional

Filter by trigger type.

Possible values:
filter[createdBy]stringOptional

Filter by the creator of the task using user or system account ID.

filter[parentId]string · uuidOptional

Filter by parent task ID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$
Responses
chevron-right
200

Tasks list

application/json

The get tasks response schema.

tasksone of[]Required
or
or
or
or
or
or
get
/api/connections/{connectionKey}/tasks

Create a new task

post

Create a new task.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
Body

The create task request schema.

typeconst: DATA_OBJECT_SYNCRequired
Responses
chevron-right
200

Task created

application/json

The create task response schema.

taskIdstring · uuidRequired

The task ID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$
typeconst: DATA_OBJECT_SYNCRequired
statusstring · enumRequired

The task run status.

Possible values:
triggerstring · enumRequired

The task run trigger.

Possible values:
createdBystring · min: 1Required

The user or system account ID that created the task.

createdAtstring · date-timeRequired

When the task was created.

parentIdstring · uuidOptional

The parent task ID for hierarchical tasks.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$
post
/api/connections/{connectionKey}/tasks

Get a task by ID

get

Get a task by ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
taskIdstring · uuidRequired

The task ID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$
Responses
chevron-right
200

Task details

application/json
or
or
or
or
or
or
get
/api/connections/{connectionKey}/tasks/{taskId}

Get task runs for a task

get

Get task runs for a specific task.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
connectionKeystring · min: 1Required

A unique name for the connection. Connection key must contain only letters, numbers, hyphens, and underscores. Connection key cannot be one of the following reserved names: data, connection, object, crawl, search, settings, metadata, permission, sync, bulk, upgrade.

Example: my-connection
taskIdstring · uuidRequired

The task ID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$
Query parameters
page[limit]integer · min: 1 · max: 100Optional

Maximum number of items to return.

Default: 20Example: 20
page[cursor]stringOptional

The cursor to start from.

Example: eyJpZCI6IjEyMzQ1In0=
filter[status]string · enumOptional

Filter by task run status.

Possible values:
Responses
chevron-right
200

Task runs list

application/json

The get task runs response schema.

get
/api/connections/{connectionKey}/tasks/{taskId}/runs

Last updated

Was this helpful?