[{"data":1,"prerenderedAt":829},["ShallowReactive",2],{"docs-page-meta":3,"docs-page-\u002Fall-endpoints\u002Fget-flow":32},{"pageMeta":4,"generatedAt":31},{"\u002Fall-endpoints\u002Fcreate-flow":5,"\u002Fall-endpoints\u002Fdelete-flow":7,"\u002Fall-endpoints\u002Fget-flow-input":8,"\u002Fall-endpoints\u002Fget-flow-output":9,"\u002Fall-endpoints\u002Fget-flow":10,"\u002Fall-endpoints\u002Fget-template":11,"\u002Fall-endpoints\u002Flist-flow-inputs":12,"\u002Fall-endpoints\u002Flist-flow-outputs":13,"\u002Fall-endpoints\u002Flist-flows":14,"\u002Fall-endpoints\u002Flist-templates":15,"\u002Fall-endpoints\u002Fstart-abort-flow":16,"\u002Fall-endpoints\u002Fupload-flow-input":17,"\u002Fgetting-started\u002Fauthentication":18,"\u002Fgetting-started\u002Fflow-lifecycle":19,"\u002Fgetting-started\u002Fflow":21,"\u002Fgetting-started\u002Fopenapi":22,"\u002Fgetting-started\u002Fplans-and-policies":23,"\u002Fgetting-started\u002Fquickstart":24,"\u002Fgetting-started\u002Ftemplate-helpers":25,"\u002Fgetting-started\u002Ftemplate-image-to-3d":26,"\u002Fgetting-started\u002Ftemplate-optimize-model":27,"\u002Fgetting-started\u002Ftemplate-text-to-3d":28,"\u002Fgetting-started\u002Ftemplates":29,"\u002Fgetting-started\u002Ftroubleshooting":30},{"lastUpdated":6},"2026-08-14T13:36:05.144Z",{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":20},"2026-08-14T13:36:05.145Z",{"lastUpdated":20},{"lastUpdated":20},{"lastUpdated":20},{"lastUpdated":20},{"lastUpdated":20},{"lastUpdated":20},{"lastUpdated":20},{"lastUpdated":20},{"lastUpdated":20},{"lastUpdated":20},"2026-08-14T13:38:49.206Z",{"id":33,"title":34,"body":35,"description":822,"extension":823,"meta":824,"navigation":419,"path":825,"seo":826,"stem":827,"__hash__":828},"docs\u002Fall-endpoints\u002Fget-flow.md","Get a Flow by ID",{"type":36,"value":37,"toc":810},"minimark",[38,42,46,52,74,85,90,252,258,263,271,275,283,297,301,305,308,312,315,319,326,806],[39,40,34],"h1",{"id":41},"get-a-flow-by-id",[43,44,45],"p",{},"Retrieve detailed information about a specific flow by its ID.",[43,47,48],{},[49,50,51],"strong",{},"Response includes:",[53,54,55,59,62,65,68,71],"ul",{},[56,57,58],"li",{},"Flow ID and associated template",[56,60,61],{},"Current execution state (created, starting, running, completed, aborted, failed)",[56,63,64],{},"Progress value (0.0 = processing, 1.0 = finished)",[56,66,67],{},"Timestamps: created_at, started_at, finished_at",[56,69,70],{},"Configured parameters",[56,72,73],{},"Additional custom metadata",[43,75,76,79,80,84],{},[49,77,78],{},"Polling Pattern:","\nPoll this endpoint regularly (e.g., every 5 seconds) to monitor flow execution. Check the ",[81,82,83],"code",{},"state"," field to determine when processing is complete. Once state is 'completed', 'failed', or 'aborted', stop polling and retrieve outputs.",[43,86,87],{},[49,88,89],{},"Example Usage:",[91,92,97],"pre",{"className":93,"code":94,"language":95,"meta":96,"style":96},"language-python shiki shiki-themes github-light github-light github-dark","while True:\n    response = requests.get(f'{'{'}BASE_URL{'}'}\u002Fflows\u002F{'{'}flow_id{'}'}', headers=headers)\n    status = response.json()\n    if status['state'] in ['completed', 'failed', 'aborted']:\n        break\n    time.sleep(5)\n","python","",[81,98,99,116,186,197,234,240],{"__ignoreMap":96},[100,101,104,108,112],"span",{"class":102,"line":103},"line",1,[100,105,107],{"class":106},"sDD9d","while",[100,109,111],{"class":110},"sUNQB"," True",[100,113,115],{"class":114},"sVPnS",":\n",[100,117,119,122,125,128,131,135,138,141,144,147,149,152,154,157,159,161,163,166,168,170,172,174,177,181,183],{"class":102,"line":118},2,[100,120,121],{"class":114},"    response ",[100,123,124],{"class":106},"=",[100,126,127],{"class":114}," requests.get(",[100,129,130],{"class":106},"f",[100,132,134],{"class":133},"s-HEn","'",[100,136,137],{"class":110},"{",[100,139,140],{"class":133},"'{'",[100,142,143],{"class":110},"}",[100,145,146],{"class":133},"BASE_URL",[100,148,137],{"class":110},[100,150,151],{"class":133},"'}'",[100,153,143],{"class":110},[100,155,156],{"class":133},"\u002Fflows\u002F",[100,158,137],{"class":110},[100,160,140],{"class":133},[100,162,143],{"class":110},[100,164,165],{"class":133},"flow_id",[100,167,137],{"class":110},[100,169,151],{"class":133},[100,171,143],{"class":110},[100,173,134],{"class":133},[100,175,176],{"class":114},", ",[100,178,180],{"class":179},"sde8i","headers",[100,182,124],{"class":106},[100,184,185],{"class":114},"headers)\n",[100,187,189,192,194],{"class":102,"line":188},3,[100,190,191],{"class":114},"    status ",[100,193,124],{"class":106},[100,195,196],{"class":114}," response.json()\n",[100,198,200,203,206,209,212,215,218,221,223,226,228,231],{"class":102,"line":199},4,[100,201,202],{"class":106},"    if",[100,204,205],{"class":114}," status[",[100,207,208],{"class":133},"'state'",[100,210,211],{"class":114},"] ",[100,213,214],{"class":106},"in",[100,216,217],{"class":114}," [",[100,219,220],{"class":133},"'completed'",[100,222,176],{"class":114},[100,224,225],{"class":133},"'failed'",[100,227,176],{"class":114},[100,229,230],{"class":133},"'aborted'",[100,232,233],{"class":114},"]:\n",[100,235,237],{"class":102,"line":236},5,[100,238,239],{"class":106},"        break\n",[100,241,243,246,249],{"class":102,"line":242},6,[100,244,245],{"class":114},"    time.sleep(",[100,247,248],{"class":110},"5",[100,250,251],{"class":114},")\n",[253,254,255],"docs-info",{},[43,256,257],{},"This endpoint allows you to get flow details.",[259,260,262],"h2",{"id":261},"endpoint","Endpoint",[91,264,269],{"className":265,"code":267,"language":268},[266],"language-text","GET https:\u002F\u002Fflows.generio.ai\u002Fflows\u002F{flow_id}\n","text",[81,270,267],{"__ignoreMap":96},[259,272,274],{"id":273},"parameters","Parameters",[276,277,279,280],"h3",{"id":278},"flow_id-required","flow_id ",[49,281,282],{},"(required)",[53,284,285,291],{},[56,286,287,290],{},[49,288,289],{},"Location",": path",[56,292,293,296],{},[49,294,295],{},"Type",": string",[259,298,300],{"id":299},"responses","Responses",[276,302,304],{"id":303},"_200","200",[43,306,307],{},"Successful Response",[276,309,311],{"id":310},"_422","422",[43,313,314],{},"Validation Error",[259,316,318],{"id":317},"code-examples","Code Examples",[43,320,321,322,325],{},"Copy and run these examples in your terminal or code editor. Make sure to replace ",[81,323,324],{},"YOUR_TOKEN"," with your actual authentication token.",[327,328,329,372,401,508,658],"docs-code-group",{},[91,330,335],{"className":331,"code":332,"filename":333,"language":334,"meta":96,"style":96},"language-bash shiki shiki-themes github-light github-light github-dark","curl -X GET \"https:\u002F\u002Fflows.generio.ai\u002Fflows\u002F{flow_id}\" \\\n  -H \"Authorization: Bearer YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\"\n","cURL","bash",[81,336,337,355,365],{"__ignoreMap":96},[100,338,339,343,346,349,352],{"class":102,"line":103},[100,340,342],{"class":341},"sgQzM","curl",[100,344,345],{"class":110}," -X",[100,347,348],{"class":133}," GET",[100,350,351],{"class":133}," \"https:\u002F\u002Fflows.generio.ai\u002Fflows\u002F{flow_id}\"",[100,353,354],{"class":110}," \\\n",[100,356,357,360,363],{"class":102,"line":118},[100,358,359],{"class":110},"  -H",[100,361,362],{"class":133}," \"Authorization: Bearer YOUR_TOKEN\"",[100,364,354],{"class":110},[100,366,367,369],{"class":102,"line":188},[100,368,359],{"class":110},[100,370,371],{"class":133}," \"Content-Type: application\u002Fjson\"\n",[91,373,376],{"className":331,"code":374,"filename":375,"language":334,"meta":96,"style":96},"wget --header=\"Authorization: Bearer YOUR_TOKEN\" \\\n  \"https:\u002F\u002Fflows.generio.ai\u002Fflows\u002F{flow_id}\" -O -\n","wget",[81,377,378,390],{"__ignoreMap":96},[100,379,380,382,385,388],{"class":102,"line":103},[100,381,375],{"class":341},[100,383,384],{"class":110}," --header=",[100,386,387],{"class":133},"\"Authorization: Bearer YOUR_TOKEN\"",[100,389,354],{"class":110},[100,391,392,395,398],{"class":102,"line":118},[100,393,394],{"class":133},"  \"https:\u002F\u002Fflows.generio.ai\u002Fflows\u002F{flow_id}\"",[100,396,397],{"class":110}," -O",[100,399,400],{"class":133}," -\n",[91,402,405],{"className":93,"code":403,"filename":404,"language":95,"meta":96,"style":96},"import requests\n\nurl = \"https:\u002F\u002Fflows.generio.ai\u002Fflows\u002F{flow_id}\"\nheaders = {\n    \"Authorization\": \"Bearer YOUR_TOKEN\",\n    \"Content-Type\": \"application\u002Fjson\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())\n","Python",[81,406,407,415,421,437,447,461,471,477,482,499],{"__ignoreMap":96},[100,408,409,412],{"class":102,"line":103},[100,410,411],{"class":106},"import",[100,413,414],{"class":114}," requests\n",[100,416,417],{"class":102,"line":118},[100,418,420],{"emptyLinePlaceholder":419},true,"\n",[100,422,423,426,428,431,434],{"class":102,"line":188},[100,424,425],{"class":114},"url ",[100,427,124],{"class":106},[100,429,430],{"class":133}," \"https:\u002F\u002Fflows.generio.ai\u002Fflows\u002F",[100,432,433],{"class":110},"{flow_id}",[100,435,436],{"class":133},"\"\n",[100,438,439,442,444],{"class":102,"line":199},[100,440,441],{"class":114},"headers ",[100,443,124],{"class":106},[100,445,446],{"class":114}," {\n",[100,448,449,452,455,458],{"class":102,"line":236},[100,450,451],{"class":133},"    \"Authorization\"",[100,453,454],{"class":114},": ",[100,456,457],{"class":133},"\"Bearer YOUR_TOKEN\"",[100,459,460],{"class":114},",\n",[100,462,463,466,468],{"class":102,"line":242},[100,464,465],{"class":133},"    \"Content-Type\"",[100,467,454],{"class":114},[100,469,470],{"class":133},"\"application\u002Fjson\"\n",[100,472,474],{"class":102,"line":473},7,[100,475,476],{"class":114},"}\n",[100,478,480],{"class":102,"line":479},8,[100,481,420],{"emptyLinePlaceholder":419},[100,483,485,488,490,493,495,497],{"class":102,"line":484},9,[100,486,487],{"class":114},"response ",[100,489,124],{"class":106},[100,491,492],{"class":114}," requests.get(url, ",[100,494,180],{"class":179},[100,496,124],{"class":106},[100,498,185],{"class":114},[100,500,502,505],{"class":102,"line":501},10,[100,503,504],{"class":110},"print",[100,506,507],{"class":114},"(response.json())\n",[91,509,514],{"className":510,"code":511,"filename":512,"language":513,"meta":96,"style":96},"language-javascript shiki shiki-themes github-light github-light github-dark","const url = \"https:\u002F\u002Fflows.generio.ai\u002Fflows\u002F{flow_id}\";\nfetch(url, {\n  method: \"GET\",\n  headers: {\n    \"Authorization\": \"Bearer YOUR_TOKEN\",\n    \"Content-Type\": \"application\u002Fjson\"\n  }\n})\n  .then(response => response.json())\n  .then(data => console.log(data))\n  .catch(error => console.error(\"Error:\", error));\n","JavaScript","javascript",[81,515,516,532,540,550,555,565,573,578,583,609,631],{"__ignoreMap":96},[100,517,518,521,524,527,529],{"class":102,"line":103},[100,519,520],{"class":106},"const",[100,522,523],{"class":110}," url",[100,525,526],{"class":106}," =",[100,528,351],{"class":133},[100,530,531],{"class":114},";\n",[100,533,534,537],{"class":102,"line":118},[100,535,536],{"class":341},"fetch",[100,538,539],{"class":114},"(url, {\n",[100,541,542,545,548],{"class":102,"line":188},[100,543,544],{"class":114},"  method: ",[100,546,547],{"class":133},"\"GET\"",[100,549,460],{"class":114},[100,551,552],{"class":102,"line":199},[100,553,554],{"class":114},"  headers: {\n",[100,556,557,559,561,563],{"class":102,"line":236},[100,558,451],{"class":133},[100,560,454],{"class":114},[100,562,457],{"class":133},[100,564,460],{"class":114},[100,566,567,569,571],{"class":102,"line":242},[100,568,465],{"class":133},[100,570,454],{"class":114},[100,572,470],{"class":133},[100,574,575],{"class":102,"line":473},[100,576,577],{"class":114},"  }\n",[100,579,580],{"class":102,"line":479},[100,581,582],{"class":114},"})\n",[100,584,585,588,591,594,597,600,603,606],{"class":102,"line":484},[100,586,587],{"class":114},"  .",[100,589,590],{"class":341},"then",[100,592,593],{"class":114},"(",[100,595,596],{"class":179},"response",[100,598,599],{"class":106}," =>",[100,601,602],{"class":114}," response.",[100,604,605],{"class":341},"json",[100,607,608],{"class":114},"())\n",[100,610,611,613,615,617,620,622,625,628],{"class":102,"line":501},[100,612,587],{"class":114},[100,614,590],{"class":341},[100,616,593],{"class":114},[100,618,619],{"class":179},"data",[100,621,599],{"class":106},[100,623,624],{"class":114}," console.",[100,626,627],{"class":341},"log",[100,629,630],{"class":114},"(data))\n",[100,632,634,636,639,641,644,646,648,650,652,655],{"class":102,"line":633},11,[100,635,587],{"class":114},[100,637,638],{"class":341},"catch",[100,640,593],{"class":114},[100,642,643],{"class":179},"error",[100,645,599],{"class":106},[100,647,624],{"class":114},[100,649,643],{"class":341},[100,651,593],{"class":114},[100,653,654],{"class":133},"\"Error:\"",[100,656,657],{"class":114},", error));\n",[91,659,664],{"className":660,"code":661,"filename":662,"language":663,"meta":96,"style":96},"language-php shiki shiki-themes github-light github-light github-dark","\u003C?php\n$url = \"https:\u002F\u002Fflows.generio.ai\u002Fflows\u002F{flow_id}\";\n$ch = curl_init($url);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\ncurl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, [\n    \"Authorization: Bearer YOUR_TOKEN\",\n    \"Content-Type: application\u002Fjson\"\n]);\n\n$response = curl_exec($ch);\ncurl_close($ch);\n\necho $response;\n?>\n","PHP","php",[81,665,666,674,685,698,717,732,744,751,756,761,765,778,786,791,800],{"__ignoreMap":96},[100,667,668,671],{"class":102,"line":103},[100,669,670],{"class":106},"\u003C?",[100,672,673],{"class":110},"php\n",[100,675,676,679,681,683],{"class":102,"line":118},[100,677,678],{"class":114},"$url ",[100,680,124],{"class":106},[100,682,351],{"class":133},[100,684,531],{"class":114},[100,686,687,690,692,695],{"class":102,"line":188},[100,688,689],{"class":114},"$ch ",[100,691,124],{"class":106},[100,693,694],{"class":110}," curl_init",[100,696,697],{"class":114},"($url);\n",[100,699,700,703,706,709,711,714],{"class":102,"line":199},[100,701,702],{"class":110},"curl_setopt",[100,704,705],{"class":114},"($ch, ",[100,707,708],{"class":110},"CURLOPT_RETURNTRANSFER",[100,710,176],{"class":114},[100,712,713],{"class":110},"true",[100,715,716],{"class":114},");\n",[100,718,719,721,723,726,728,730],{"class":102,"line":236},[100,720,702],{"class":110},[100,722,705],{"class":114},[100,724,725],{"class":110},"CURLOPT_CUSTOMREQUEST",[100,727,176],{"class":114},[100,729,547],{"class":133},[100,731,716],{"class":114},[100,733,734,736,738,741],{"class":102,"line":242},[100,735,702],{"class":110},[100,737,705],{"class":114},[100,739,740],{"class":110},"CURLOPT_HTTPHEADER",[100,742,743],{"class":114},", [\n",[100,745,746,749],{"class":102,"line":473},[100,747,748],{"class":133},"    \"Authorization: Bearer YOUR_TOKEN\"",[100,750,460],{"class":114},[100,752,753],{"class":102,"line":479},[100,754,755],{"class":133},"    \"Content-Type: application\u002Fjson\"\n",[100,757,758],{"class":102,"line":484},[100,759,760],{"class":114},"]);\n",[100,762,763],{"class":102,"line":501},[100,764,420],{"emptyLinePlaceholder":419},[100,766,767,770,772,775],{"class":102,"line":633},[100,768,769],{"class":114},"$response ",[100,771,124],{"class":106},[100,773,774],{"class":110}," curl_exec",[100,776,777],{"class":114},"($ch);\n",[100,779,781,784],{"class":102,"line":780},12,[100,782,783],{"class":110},"curl_close",[100,785,777],{"class":114},[100,787,789],{"class":102,"line":788},13,[100,790,420],{"emptyLinePlaceholder":419},[100,792,794,797],{"class":102,"line":793},14,[100,795,796],{"class":110},"echo",[100,798,799],{"class":114}," $response;\n",[100,801,803],{"class":102,"line":802},15,[100,804,805],{"class":106},"?>\n",[807,808,809],"style",{},"html pre.shiki code .sDD9d, html code.shiki .sDD9d{--shiki-default:#D73A49;--shiki-light:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sUNQB, html code.shiki .sUNQB{--shiki-default:#005CC5;--shiki-light:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sVPnS, html code.shiki .sVPnS{--shiki-default:#24292E;--shiki-light:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s-HEn, html code.shiki .s-HEn{--shiki-default:#032F62;--shiki-light:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sde8i, html code.shiki .sde8i{--shiki-default:#E36209;--shiki-light:#E36209;--shiki-dark:#FFAB70}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sgQzM, html code.shiki .sgQzM{--shiki-default:#6F42C1;--shiki-light:#6F42C1;--shiki-dark:#B392F0}",{"title":96,"searchDepth":118,"depth":118,"links":811},[812,813,817,821],{"id":261,"depth":118,"text":262},{"id":273,"depth":118,"text":274,"children":814},[815],{"id":278,"depth":188,"text":816},"flow_id (required)",{"id":299,"depth":118,"text":300,"children":818},[819,820],{"id":303,"depth":188,"text":304},{"id":310,"depth":188,"text":311},{"id":317,"depth":118,"text":318},null,"md",{},"\u002Fall-endpoints\u002Fget-flow",{"title":34},"all-endpoints\u002Fget-flow","EaEiat5y_u4xwHFKpPjMDISDHWRMWVOFi7vYEhLaBMk",1786714761591]