---
title: Source
slug: data-platform/connect-platform/app-sdk-api-reference-interfaces-source
docTags: 
createdAt: 2026-08-05T20:06:35.251Z
---

[OCP App SDK](docId\:gxEU_0AA37IEZJK-uoVcT)

***

[OCP App SDK](docId\:gxEU_0AA37IEZJK-uoVcT) / Source

# Interface: Source

Defined in: [src/sources/Source.ts:18](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/sources/Source.ts#L18)

Interface to interact with sources

## Methods

### emit()

:::BlockQuote
**emit**\<`T`>(`data`): `Promise`\<[`` `SourceResponse` ``](docId\:y36XICrzqjEW7PFGiT1Bo)>
:::

Defined in: [src/sources/Source.ts:26](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/sources/Source.ts#L26)

Emit data to be processed and send to the destination.

### Type Parameters

### T

`T` *extends* `object`

### Parameters

### data

[`` `SourceData` ``](docId:1dm9In9bEsK8UhOq8MAri)\<`T`>

SourceData the data to be emitted

### Returns

`Promise`\<[`` `SourceResponse` ``](docId\:y36XICrzqjEW7PFGiT1Bo)>

A SourceResponse with success/failure and optional message in case
of failure.
