> For the complete documentation index, see [llms.txt](https://docs.euno.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.euno.ai/sources/transformation-etl/stitch-integration/stitch-integration-discovered-resources.md).

# Stitch Integration Discovered Resources

The Euno-Stitch integration discovers the following resources:

* Stitch destinations
* Stitch sources
* Stitch streams
* Warehouse tables referenced by Stitch streams and sources

Supported destination services for Stitch-to-warehouse table links: **Snowflake** and **BigQuery**.

{% hint style="info" %}
Stitch warehouse tables are observed by reference. Stitch can define that a source or stream writes a table, but the warehouse integration, such as Snowflake or BigQuery, remains the source of truth for the physical table lifecycle and rich table metadata.
{% endhint %}

## Stitch Destination

A Stitch destination represents the warehouse or destination system that receives replicated source data.

| Property            | Value                                                              |
| ------------------- | ------------------------------------------------------------------ |
| `name`              | Destination name in Stitch                                         |
| `type`              | `stitch_destination`                                               |
| `subtype`           | Destination type reported by Stitch, such as Snowflake or BigQuery |
| `native_id`         | Destination ID in the Stitch account                               |
| `container_type`    | `pure_container`                                                   |
| `is_active`         | `true` when the Stitch destination is active; otherwise `false`    |
| `created_at`        | Destination creation timestamp, when Stitch provides it            |
| `updated_at`        | Destination update timestamp, when Stitch provides it              |
| `description`       | Destination description or display name, when available            |
| `native_raw_object` | Redacted Stitch destination payload                                |

## Stitch Source

A Stitch source represents a Stitch integration that extracts data from an upstream SaaS, database, or other source system.

| Property                            | Value                                                                                                                                      |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `name`                              | Source display name in Stitch, when available; otherwise the Stitch source name                                                            |
| `type`                              | `stitch_source`                                                                                                                            |
| `subtype`                           | Source type reported by Stitch                                                                                                             |
| `native_id`                         | Source ID in the Stitch account                                                                                                            |
| `parent_container`                  | URI of the Stitch destination for this source, when Stitch maps the source to a destination                                                |
| `is_active`                         | `true` when the Stitch source is active; otherwise `false`                                                                                 |
| `stitch_source_type`                | Stitch source type, such as `platform.salesforce`                                                                                          |
| `created_at`                        | Source creation timestamp, when Stitch provides it                                                                                         |
| `updated_at`                        | Source update timestamp, when Stitch provides it                                                                                           |
| `description`                       | Source description, when available                                                                                                         |
| `external_links`                    | Link to the source in Stitch, when available                                                                                               |
| `stitch_schedule_interval`          | Replication schedule interval, when Stitch provides it                                                                                     |
| `stitch_schedule_unit`              | Replication schedule unit, when Stitch provides it                                                                                         |
| `stitch_replication_schedule_type`  | Replication schedule type, when Stitch provides it                                                                                         |
| `stitch_last_successful_extraction` | Latest successful extraction timestamp in the configured lookback window, when history observation is enabled and Stitch provides the data |
| `stitch_last_successful_load`       | Latest successful load timestamp in the configured lookback window, when history observation is enabled and Stitch provides the data       |
| `defines`                           | Warehouse table URIs this source writes through selected streams, when table resolution is available                                       |
| `native_raw_object`                 | Redacted Stitch source payload                                                                                                             |

Sources without selected streams, supported destination metadata, or resolvable destination tables may have an empty `defines` list.

## Stitch Stream

A Stitch stream represents selected stream or table metadata inside a Stitch source. Euno observes streams when **Observe streams** is enabled, which is the default, and Stitch stream metadata is available.

| Property                    | Value                                                                                    |
| --------------------------- | ---------------------------------------------------------------------------------------- |
| `name`                      | Stream name in Stitch                                                                    |
| `type`                      | `stitch_stream`                                                                          |
| `subtype`                   | Replication method, when Stitch provides it                                              |
| `native_id`                 | Stream ID in Stitch                                                                      |
| `parent_container`          | URI of the Stitch source that contains this stream                                       |
| `parent_container_name`     | Name of the Stitch source that contains this stream                                      |
| `is_active`                 | `true` when the Stitch stream is active; otherwise `false`                               |
| `stitch_is_selected`        | `true` when the stream is selected for replication in Stitch                             |
| `stitch_tap_stream_id`      | Tap stream ID reported by Stitch, when available                                         |
| `stitch_replication_method` | Replication method reported by Stitch, when available                                    |
| `stitch_replication_key`    | Replication key reported by Stitch, when available                                       |
| `stitch_selected_fields`    | Selected field names, when Stitch stream detail is available                             |
| `defines`                   | Warehouse table URIs written by this selected stream, when table resolution is available |
| `native_raw_object`         | Redacted Stitch stream payload                                                           |

## Destination Tables (by reference)

For each selected Stitch stream with a supported destination, the crawler may emit a non-authoritative `table` observation so Euno can resolve defined-by relationships before or alongside the warehouse integration.

| Property              | Value                                                                  |
| --------------------- | ---------------------------------------------------------------------- |
| `name`                | Destination table name                                                 |
| `type`                | `table`                                                                |
| `subtype`             | `base_table`                                                           |
| `database_schema`     | Destination schema or dataset name derived from the Stitch source name |
| `database_database`   | Snowflake database name or BigQuery project identifier                 |
| `database_technology` | `snowflake` or `bigquery`                                              |
| `defined_by`          | `stitch`                                                               |
| `platform_uri_prefix` | Warehouse platform URI prefix used by Euno                             |
| `utl`                 | Euno URI for the destination warehouse table                           |

### Destination Table Resolution

Euno resolves Stitch destination tables for supported destination types:

* **Snowflake**: Euno uses the Stitch destination host and database. If Stitch and Euno use different identifiers for the same Snowflake account, configure **Database mapping** from the Stitch host to the Snowflake identifier Euno observes.
* **BigQuery**: Euno uses the Stitch project ID. If Stitch and Euno use different project identifiers, configure **Database mapping** from the Stitch project identifier to the BigQuery project identifier Euno observes.

Other Stitch destination types are still discovered as Stitch metadata, but destination warehouse table references are not currently supported for them.

## Relationships

| Source type(s)       | Relationship         | Target type(s)                   | Notes                                                                                                                        |
| -------------------- | -------------------- | -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `stitch_destination` | has child            | `stitch_source`                  | Sources belong to Stitch destinations when Stitch maps them to a destination                                                 |
| `stitch_source`      | defines              | `table`                          | Destination warehouse tables the source writes through selected streams                                                      |
| `stitch_source`      | has child            | `stitch_stream`                  | Streams belong to their Stitch source when stream observation is enabled                                                     |
| `stitch_stream`      | defines              | `table`                          | Destination warehouse tables written by selected streams                                                                     |
| `table`              | has definer          | `stitch_source`, `stitch_stream` | Inverse of **defines**; Stitch is the definer, not the lifecycle owner                                                       |
| `table`              | has upstream         | `salesforce_object`              | Only for Stitch Salesforce sources when Salesforce metadata and authoritative warehouse table metadata are present           |
| `column`             | has upstream\_fields | `salesforce_field`               | Only when Stitch selected-field evidence, Salesforce field metadata, and authoritative warehouse column metadata are present |

{% hint style="info" %}
Defined-by relationships answer which Stitch source or stream writes a warehouse table. They use **defines** and **has definer**.

Dependency lineage answers which upstream data object a downstream table or column depends on. Stitch dependency lineage is currently documented only for Salesforce sources, where replicated warehouse tables can have upstream Salesforce objects and replicated warehouse columns can have upstream Salesforce fields.
{% endhint %}

## Salesforce Lineage

For Stitch Salesforce sources, Euno can connect replicated warehouse tables back to Salesforce objects and fields.

This lineage requires:

* A Stitch source whose source type is Salesforce.
* **Observe streams** enabled for the Stitch source, which is the default.
* Selected Stitch streams with destination table links.
* A Salesforce source in Euno that has crawled the Salesforce org metadata.
* A warehouse source in Euno, such as Snowflake or BigQuery, that has crawled the destination tables and columns.
* A destination table name that matches the Salesforce object represented by the Stitch stream.
* Selected-field evidence from Stitch for column-level lineage.

When all required evidence is present, Euno can show:

* `table` **has upstream** `salesforce_object`
* `column` **has upstream\_fields** `salesforce_field`

Euno avoids guessing when Salesforce objects or fields are missing or ambiguous. Non-Salesforce Stitch sources are visible as Stitch metadata, but they do not produce source-system lineage in this version.

## Known Limitations

* Destination warehouse table resolution is supported for Snowflake and BigQuery only.
* Stitch does not create or own `database`, `schema`, or `column` placeholders for the destination warehouse.
* Stitch does not own destination warehouse table lifecycle in Euno.
* Source-system lineage is currently supported only for Stitch Salesforce sources.
* Row-count metrics, rolling success-rate metrics, and rolling error-count metrics are not currently supported.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.euno.ai/sources/transformation-etl/stitch-integration/stitch-integration-discovered-resources.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
