Hello,
I have a website’s backend that calls the API successfully to my ai agents, but I can’t get the output to show up in my iframe. I use supabase and an edge function where the report is supposed to be stored in the db, and then called into the iframe in the website for the user to download. the output is a pdf. In the request log in mindstudio it says this: running: false. I don’t know if it has an influence. Any help appreciated.
here is the api log
{“success”:true,“threadId”:“7d6ed0af-fac5-4813-a420-0341a725449e”,“thread”:{“id”:“7d6ed0af-fac5-4813-a420-0341a725449e”,“appId”:“dcb5854e-df93-4e6d-b2d5-c4259e44cd18”,“organizationId”:“792680d0-999c-4de6-9803-637aa6e77704”,“userId”:“6f420b65-fdc3-4bbc-87aa-e71623a12ff2”,“entryWorkflowId”:“2abb9617-10a3-44cb-899e-2942b36d6152”,“sourceThreadId”:null,“source”:“api”,“parentThreadId”:null,“name”:“”,“variables”:{},“currentContinuationAction”:{“token”:“2abb9617-10a3-44cb-899e-2942b36d6152::8ac887de-5c73-4580-9257-9937d2112495”,“step”:{“id”:“8ac887de-5c73-4580-9257-9937d2112495”,“type”:“userInput”,“userInput”:{“prompts”:[{“promptId”:“9706fa4b-76e9-4430-85b1-8a8b997b8478”,“required”:true},{“promptId”:“a0ecdfc1-328d-4bb7-bbb1-60bf86482a37”,“required”:true},{“promptId”:“ed6d1a05-286b-4865-9682-fed20f5c2f16”,“required”:true},{“promptId”:“b63285ad-9797-4eca-8f8e-f5f93fe1668b”,“required”:true},{“promptId”:“13f42c48-31ab-45d7-8b3f-cb9334917439”,“required”:true},{“promptId”:“5ad4e1b9-2934-4cfe-b069-060ef90adf20”,“required”:true},{“promptId”:“590f8c70-40b4-41d0-b6aa-1ec454eae413”,“required”:true}]},“__editingData”:{“top”:“0px”,“left”:“-107.25px”},“defaultTransitionId”:“32e6330a-099f-4d3e-80a4-8df74f682171”},“isFinal”:false,“multiModelEnabled”:true,“underlyingModel”:{“isUnderlying”:true,“model”:“grok-3-latest”,“temperature”:0.5,“maxResponseTokens”:8192}},“isRunning”:false,“hasContent”:false,“isFinished”:false,“isUnread”:false,“notifyOnComplete”:false,“dateCreated”:“2025-06-16T03:07:54.164Z”,“dateLastMessage”:“2025-06-16T03:07:54.364Z”,“error”:null,“posts”:[{“id”:“12504ea9-8dd9-4af0-b062-d986ea322ed9”,“source”:{“workflowId”:“2abb9617-10a3-44cb-899e-2942b36d6152”,“stepId”:“9cd878cd-ca97-47f6-a6c8-7f4d5d1d0260”,“logId”:null,“idempotencyKey”:null},“type”:“debugLog”,“dateCreated”:“2025-06-16T03:07:54.199646+00:00”,“dateLastUpdated”:“2025-06-16T03:07:54.199646+00:00”,“selectedVariantId”:null,“debugLog”:{“logs”:[{“value”:“New run with ID "7d6ed0af-fac5-4813-a420-0341a725449e"”,“timestampMs”:1750043274146},{“value”:“Preparing launch variables”,“timestampMs”:1750043274161},{“value”:“Running workflow Main.flow”,“timestampMs”:1750043274162},{“value”:“Setting {{currentDate}} to "Jun 16, 2025 3:07 AM"”,“timestampMs”:1750043274195},{“value”:“Setting {{global}} to "{\n "userId": "6f420b65-fdc3-4bbc-87aa-e71623a12ff2",\n "threadId": "7d6ed0af-fac5-4813-a420-0341a725449e",\n "username": "Richard F.",\n "companyName": "Digital Acumen AI, LLC"\n}"”,“timestampMs”:1750043274196},{“value”:“Setting {{$launchVariables->url}} to "www.notion.com"”,“timestampMs”:1750043274196},{“value”:“Setting {{$launchVariables->industry}} to "tech saas"”,“timestampMs”:1750043274196},{“value”:“Setting {{$launchVariables->vertical}} to "prod software"”,“timestampMs”:1750043274196},{“value”:“Setting {{$launchVariables->company_name}} to "Notion"”,“timestampMs”:1750043274196},{“value”:“Setting {{$launchVariables->competitor_1}} to "asana"”,“timestampMs”:1750043274196},{“value”:“Setting {{$launchVariables->competitor_2}} to "trello"”,“timestampMs”:1750043274197},{“value”:“Setting {{$launchVariables->competitor_3}} to "clickup"”,“timestampMs”:1750043274197},{“value”:“Dispatching run request to Agent Runner”,“timestampMs”:1750043274197},{“value”:“Action completed”,“timestampMs”:1750043274197}],“name”:“Run Started”,“status”:“success”,“stateSnapshot”:{“threadId”:“7d6ed0af-fac5-4813-a420-0341a725449e”,“variables”:{“$launchVariables->url”:{“value”:“www.notion.com”},“$launchVariables->industry”:{“value”:“tech saas”},“$launchVariables->vertical”:{“value”:“prod software”},“$launchVariables->company_name”:{“value”:“Notion”},“$launchVariables->competitor_1”:{“value”:“asana”},“$launchVariables->competitor_2”:{“value”:“trello”},“$launchVariables->competitor_3”:{“value”:“clickup”}},“timestampMs”:1750043274197,“continuationToken”:“2abb9617-10a3-44cb-899e-2942b36d6152::9cd878cd-ca97-47f6-a6c8-7f4d5d1d0260”},“endedTimestampMs”:1750043274197,“startedTimestampMs”:1750043274146},“billingEvents”:,“metadata”:{“instanceId”:“mindstudio-api-58f9bb4c56-l2lmf”,“instanceRole”:“api”}}],“assets”:}}