# Interface: SyncExecutionContext\<SyncContinuationT, IncrementalCheckpointContinuationT, IncrementalSyncContinuationT>

Defined in: [api_types.ts:1288](https://github.com/coda/packs-sdk/blob/d917a83bb3a3e815d6a7947f7c25cf0e1952d12b/api_types.ts#L1288)

Sub-class of [ExecutionContext](../ExecutionContext/) that is passed to the `execute` function of every sync formula invocation. The only different is that the presence of the `sync` property

## Extends

- [`ExecutionContext`](../ExecutionContext/)

## Extended by

- [`PropertyOptionsExecutionContext`](../PropertyOptionsExecutionContext/)

## Type Parameters

| Type Parameter | Default type | | --- | --- | | `SyncContinuationT` | [`Continuation`](../Continuation/) | | `IncrementalCheckpointContinuationT` | `SyncContinuationT` | | `IncrementalSyncContinuationT` | `SyncContinuationT` |

## Properties

### endpoint?

> `readonly` `optional` **endpoint**: `string`

Defined in: [api_types.ts:1241](https://github.com/coda/packs-sdk/blob/d917a83bb3a3e815d6a7947f7c25cf0e1952d12b/api_types.ts#L1241)

The base endpoint URL for the user's account, only if applicable. See [core.BaseAuthentication.requiresEndpointUrl](../BaseAuthentication/#requiresendpointurl).

If the API URLs are variable based on the user account, you will need this endpoint to construct URLs to use with the fetcher. Alternatively, you can use relative URLs (e.g. "/api/entity") and the platform will include the endpoint for you automatically.

#### Inherited from

[`ExecutionContext`](../ExecutionContext/).[`endpoint`](../ExecutionContext/#endpoint)

______________________________________________________________________

### fetcher

> `readonly` **fetcher**: [`Fetcher`](../Fetcher/)

Defined in: [api_types.ts:1227](https://github.com/coda/packs-sdk/blob/d917a83bb3a3e815d6a7947f7c25cf0e1952d12b/api_types.ts#L1227)

The [core.Fetcher](../Fetcher/) used for making HTTP requests.

#### Inherited from

[`ExecutionContext`](../ExecutionContext/).[`fetcher`](../ExecutionContext/#fetcher)

______________________________________________________________________

### invocationLocation

> `readonly` **invocationLocation**: [`InvocationLocation`](../InvocationLocation/)

Defined in: [api_types.ts:1246](https://github.com/coda/packs-sdk/blob/d917a83bb3a3e815d6a7947f7c25cf0e1952d12b/api_types.ts#L1246)

Information about the environment and doc this formula was invoked from. This is mostly for internal use and we do not recommend relying on it.

#### Inherited from

[`ExecutionContext`](../ExecutionContext/).[`invocationLocation`](../ExecutionContext/#invocationlocation)

______________________________________________________________________

### invocationToken

> `readonly` **invocationToken**: `string`

Defined in: [api_types.ts:1257](https://github.com/coda/packs-sdk/blob/d917a83bb3a3e815d6a7947f7c25cf0e1952d12b/api_types.ts#L1257)

A random token scoped to only this request invocation. This is a unique identifier for the invocation, and in particular used with [core.AuthenticationType.Custom](../../enumerations/AuthenticationType/#custom) for naming template parameters that will be replaced by the fetcher in secure way.

#### Inherited from

[`ExecutionContext`](../ExecutionContext/).[`invocationToken`](../ExecutionContext/#invocationtoken)

______________________________________________________________________

### previousAttemptError?

> `readonly` `optional` **previousAttemptError**: [`InvocationError`](../../type-aliases/InvocationError/)

Defined in: [api_types.ts:1281](https://github.com/coda/packs-sdk/blob/d917a83bb3a3e815d6a7947f7c25cf0e1952d12b/api_types.ts#L1281)

If this invocation is a retry, this will be populated with information about what went wrong during the previous attempt. If an error occurs while indexing a sync table, it will retried again later. This field is only applicable for sync tables used within Superhuman Go.

#### Inherited from

[`ExecutionContext`](../ExecutionContext/).[`previousAttemptError`](../ExecutionContext/#previousattempterror)

______________________________________________________________________

### sync

> `readonly` **sync**: [`Sync`](../../type-aliases/Sync/)\<`SyncContinuationT`, `IncrementalCheckpointContinuationT`, `IncrementalSyncContinuationT`>

Defined in: [api_types.ts:1296](https://github.com/coda/packs-sdk/blob/d917a83bb3a3e815d6a7947f7c25cf0e1952d12b/api_types.ts#L1296)

Information about state of the current sync.

#### Overrides

[`ExecutionContext`](../ExecutionContext/).[`sync`](../ExecutionContext/#sync)

______________________________________________________________________

### temporaryBlobStorage

> `readonly` **temporaryBlobStorage**: [`TemporaryBlobStorage`](../TemporaryBlobStorage/)

Defined in: [api_types.ts:1232](https://github.com/coda/packs-sdk/blob/d917a83bb3a3e815d6a7947f7c25cf0e1952d12b/api_types.ts#L1232)

A utility to fetch and store files and images that either require the pack user's authentication or are too large to return inline. See [core.TemporaryBlobStorage](../TemporaryBlobStorage/).

#### Inherited from

[`ExecutionContext`](../ExecutionContext/).[`temporaryBlobStorage`](../ExecutionContext/#temporaryblobstorage)

______________________________________________________________________

### timezone

> `readonly` **timezone**: `string`

Defined in: [api_types.ts:1250](https://github.com/coda/packs-sdk/blob/d917a83bb3a3e815d6a7947f7c25cf0e1952d12b/api_types.ts#L1250)

The timezone of the doc from which this formula was invoked.

#### Inherited from

[`ExecutionContext`](../ExecutionContext/).[`timezone`](../ExecutionContext/#timezone)
