[{"data":1,"prerenderedAt":441},["ShallowReactive",2],{"docs-page-meta":3,"docs-page-\u002Fgetting-started\u002Fauthentication":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":434,"extension":435,"meta":436,"navigation":232,"path":437,"seo":438,"stem":439,"__hash__":440},"docs\u002Fgetting-started\u002Fauthentication.md","Authentication",{"type":36,"value":37,"toc":422},"minimark",[38,42,55,60,63,68,98,102,117,124,128,154,160,164,172,176,197,201,208,211,361,365,418],[39,40,34],"h1",{"id":41},"authentication",[43,44,45,46,50,51,54],"p",{},"To call the Flow API you need a ",[47,48,49],"strong",{},"Generio account"," and an ",[47,52,53],{},"API key"," from the account portal. The key is sent with every request so Generio can authorize your integration.",[56,57,59],"h2",{"id":58},"get-your-api-key","Get your API key",[43,61,62],{},"Follow these steps once. After that, use the same key (until it expires) for all Flow API requests.",[64,65,67],"h3",{"id":66},"_1-create-a-generio-account","1. Create a Generio account",[43,69,70,71,78,79,82,83,86,87,86,90,93,94,97],{},"Go to ",[72,73,77],"a",{"href":74,"rel":75},"https:\u002F\u002Faccount.generio.ai",[76],"nofollow","account.generio.ai",". Sign in or sign up with your ",[47,80,81],{},"Email",", or use an OAuth provider: ",[47,84,85],{},"Google",", ",[47,88,89],{},"Facebook",[47,91,92],{},"Discord",", or ",[47,95,96],{},"GitHub",".",[64,99,101],{"id":100},"_2-open-the-api-keys-tab","2. Open the API Keys tab",[43,103,104,105,108,109,112,113,116],{},"In the ",[47,106,107],{},"Sidebar",", click your Profile and select ",[47,110,111],{},"Account",". On the Account settings page, open the ",[47,114,115],{},"API Keys"," tab.",[43,118,119],{},[120,121],"img",{"alt":122,"src":123},"Step 2 - API Keys tab: Add Key and New API Key dialog","\u002Fimg\u002Fauthentication\u002Fstep-2.webp",[64,125,127],{"id":126},"_3-create-and-save-your-key","3. Create and save your key",[43,129,130,131,134,135,138,139,142,143,145,146,149,150,153],{},"Click ",[47,132,133],{},"Add key",", enter a ",[47,136,137],{},"name"," and ",[47,140,141],{},"expiry",", then confirm with ",[47,144,133],{},". A dialog shows the new key ",[47,147,148],{},"ONLY ONCE",". Copy it immediately and store it in a secure place. You will ",[47,151,152],{},"not"," be able to see the full key again after you close the dialog.",[43,155,156],{},[120,157],{"alt":158,"src":159},"Step 3 - Add key: name, expiry, and copy the secret","\u002Fimg\u002Fauthentication\u002Fstep-3.webp",[64,161,163],{"id":162},"api-key-format","API Key Format",[43,165,166,167,171],{},"Generio API keys are a single string: the prefix ",[168,169,170],"code",{},"api_generio."," followed by a random segment. Use the entire value as the Bearer token, do not trim or alter it.",[64,173,175],{"id":174},"example","Example",[177,178,183],"pre",{"className":179,"code":180,"language":181,"meta":182,"style":182},"language-sh shiki shiki-themes github-light github-light github-dark","api_generio.\u003Cexample-random-string>\n","sh","",[168,184,185],{"__ignoreMap":182},[186,187,190,193],"span",{"class":188,"line":189},"line",1,[186,191,170],{"class":192},"sgQzM",[186,194,196],{"class":195},"sVPnS","\u003Cexample-random-string>\n",[64,198,200],{"id":199},"authentication-method","Authentication Method",[43,202,203,204,207],{},"All API requests require a Bearer token in the ",[168,205,206],{},"Authorization"," header. Use your API key as the token.",[64,209,175],{"id":210},"example-1",[177,212,216],{"className":213,"code":214,"language":215,"meta":182,"style":182},"language-python shiki shiki-themes github-light github-light github-dark","import requests\n\n# Get your API key at: https:\u002F\u002Faccount.generio.ai -> API Keys tab\nAPI_KEY = \"your-api-key-here\"\nBASE_URL = \"https:\u002F\u002Fflows.generio.ai\"\n\n# Include this header with every request\nheaders = {\"Authorization\": f\"Bearer {API_KEY}\"}\n\n# Example request\nresponse = requests.post(f\"{BASE_URL}\u002Fflows\", headers=headers, json=payload)\n","python",[168,217,218,227,234,241,255,266,271,277,310,315,321],{"__ignoreMap":182},[186,219,220,224],{"class":188,"line":189},[186,221,223],{"class":222},"sDD9d","import",[186,225,226],{"class":195}," requests\n",[186,228,230],{"class":188,"line":229},2,[186,231,233],{"emptyLinePlaceholder":232},true,"\n",[186,235,237],{"class":188,"line":236},3,[186,238,240],{"class":239},"sqmzS","# Get your API key at: https:\u002F\u002Faccount.generio.ai -> API Keys tab\n",[186,242,244,248,251],{"class":188,"line":243},4,[186,245,247],{"class":246},"sUNQB","API_KEY",[186,249,250],{"class":222}," =",[186,252,254],{"class":253},"s-HEn"," \"your-api-key-here\"\n",[186,256,258,261,263],{"class":188,"line":257},5,[186,259,260],{"class":246},"BASE_URL",[186,262,250],{"class":222},[186,264,265],{"class":253}," \"https:\u002F\u002Fflows.generio.ai\"\n",[186,267,269],{"class":188,"line":268},6,[186,270,233],{"emptyLinePlaceholder":232},[186,272,274],{"class":188,"line":273},7,[186,275,276],{"class":239},"# Include this header with every request\n",[186,278,280,283,286,289,292,295,298,301,304,307],{"class":188,"line":279},8,[186,281,282],{"class":195},"headers ",[186,284,285],{"class":222},"=",[186,287,288],{"class":195}," {",[186,290,291],{"class":253},"\"Authorization\"",[186,293,294],{"class":195},": ",[186,296,297],{"class":222},"f",[186,299,300],{"class":253},"\"Bearer ",[186,302,303],{"class":246},"{API_KEY}",[186,305,306],{"class":253},"\"",[186,308,309],{"class":195},"}\n",[186,311,313],{"class":188,"line":312},9,[186,314,233],{"emptyLinePlaceholder":232},[186,316,318],{"class":188,"line":317},10,[186,319,320],{"class":239},"# Example request\n",[186,322,324,327,329,332,334,336,339,342,344,348,350,353,356,358],{"class":188,"line":323},11,[186,325,326],{"class":195},"response ",[186,328,285],{"class":222},[186,330,331],{"class":195}," requests.post(",[186,333,297],{"class":222},[186,335,306],{"class":253},[186,337,338],{"class":246},"{BASE_URL}",[186,340,341],{"class":253},"\u002Fflows\"",[186,343,86],{"class":195},[186,345,347],{"class":346},"sde8i","headers",[186,349,285],{"class":222},[186,351,352],{"class":195},"headers, ",[186,354,355],{"class":346},"json",[186,357,285],{"class":222},[186,359,360],{"class":195},"payload)\n",[64,362,364],{"id":363},"whats-next","What's Next?",[366,367,368,378,387,396,405],"ol",{},[369,370,371,372,97],"li",{},"You can find all available endpoints in ",[72,373,375],{"href":374},"\u002Fall-endpoints\u002Flist-templates",[47,376,377],{},"All Endpoints",[369,379,380,381,97],{},"Learn more about the core concepts in ",[72,382,384],{"href":383},"\u002Fgetting-started\u002Fflow",[47,385,386],{},"Flow",[369,388,389,390,97],{},"Review state transitions in ",[72,391,393],{"href":392},"\u002Fgetting-started\u002Fflow-lifecycle",[47,394,395],{},"Flow Lifecycle",[369,397,398,399,97],{},"Diagnose issues in ",[72,400,402],{"href":401},"\u002Fgetting-started\u002Ftroubleshooting",[47,403,404],{},"Troubleshooting",[369,406,407,408,413,414,97],{},"We appreciate your feedback! If you encounter any errors, bugs, or inconsistencies please reach out to us. Join our ",[72,409,412],{"href":410,"rel":411},"https:\u002F\u002Fdiscord.com\u002Finvite\u002F8hwcxmgkv3",[76],"Discord server"," or ",[72,415,417],{"href":416},"mailto:info@generio.ai","contact us",[419,420,421],"style",{},"html pre.shiki code .sgQzM, html code.shiki .sgQzM{--shiki-default:#6F42C1;--shiki-light:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sVPnS, html code.shiki .sVPnS{--shiki-default:#24292E;--shiki-light:#24292E;--shiki-dark:#E1E4E8}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 .sDD9d, html code.shiki .sDD9d{--shiki-default:#D73A49;--shiki-light:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sqmzS, html code.shiki .sqmzS{--shiki-default:#6A737D;--shiki-light:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sUNQB, html code.shiki .sUNQB{--shiki-default:#005CC5;--shiki-light:#005CC5;--shiki-dark:#79B8FF}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}",{"title":182,"searchDepth":229,"depth":229,"links":423},[424],{"id":58,"depth":229,"text":59,"children":425},[426,427,428,429,430,431,432,433],{"id":66,"depth":236,"text":67},{"id":100,"depth":236,"text":101},{"id":126,"depth":236,"text":127},{"id":162,"depth":236,"text":163},{"id":174,"depth":236,"text":175},{"id":199,"depth":236,"text":200},{"id":210,"depth":236,"text":175},{"id":363,"depth":236,"text":364},"Create a Generio Account, generate an API key, and use it with the Flow API.","md",{},"\u002Fgetting-started\u002Fauthentication",{"title":34,"description":434},"getting-started\u002Fauthentication","dMMQ-XOEQsMRl3h1uRrWlKuQXME0nobxqbvdUgqb2Fs",1786714762554]