Skip to content

Commit b4f8ae3

Browse files
committed
feat(loops): expose internal and origin_product on the loop type
1 parent fd1f4b8 commit b4f8ae3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

packages/api-client/src/loops.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,12 @@ export namespace LoopSchemas {
155155
behaviors: LoopBehaviors;
156156
connectors: LoopConnectors;
157157
notifications: LoopNotifications;
158+
/** Backend-set: internal loops are hidden from the UI (never returned by the
159+
* list/detail API), so this is effectively always false for loops a client can see. */
160+
internal: boolean;
161+
/** What created this loop: "user_created" for loops a person made, other values for
162+
* loops created by a backend flow. Read-only. */
163+
origin_product: string;
158164
last_run_at: string | null;
159165
last_run_status: string | null;
160166
last_error: string | null;

0 commit comments

Comments
 (0)