---
id: flows-instances-retrieve
title: "flows_instances_retrieve"
description: "Flow Viewset"
sidebar_label: "flows_instances_retrieve"
hide_title: true
hide_table_of_contents: true
api: eJytV1tv2zYU/iuEsIcNc6wg7YAuTwsaNwiQrEWT5mFZJtDSscSaIlWScuIY+u87h5QcybesQ58k3s7143cOV5GuwHAntLrMotNoJvWjTYSyjqsUbGLAGQELiEZRBjY1oqKtuPEDbmR3Ah4tOFysuOElODA2Or1fRYK2VNwVuKRwAUdW1jmObFpAyaPTVeSWlZ9HBSrfkn8nrJhKYEIxVwD78vlqHDWjyMC3WhhAU52poXkYRY7npDNYHuGEhbQ2wi29IbzG08qJOY4eaLsBW2llwZIJJ8fH9Em1criJfnlVSZH6eMRfLVmy2jZZT79C6naH5AaM4FI8g6GoGIquE0FbNd/l9kybkqPuqK5FFpGBPPuo5DJ4iP4JJ6GT7vdgGCqNVi6nQmUopNQZyKRyJsHF79bQdBnaPIgLPmf/K1WjqORPV6ByhMDpb8cEEIfooO3/3B/xo+ezo7+Oj35PHn79iRS1Tr6m6abQj4px6/Xc0hlS6iNT8RyshwgeEbni4QhmVMqPM48FUHVJSOkwEdKMSmhCG/HcjYVaYAqzbgjKaClLQsgoqtVgaCDVCzBLQjYiERLE0kzkdbhSBMdNj/r5PH8xdULGEUCHHp9DKnCGPRbcodfCBm/xW1vIGKZ2zD5ow+CJl5WEkY/M2cBBNmtP4LXBq5OiHI3yAAOpWK2OeuFAiSjWsAVm1Fm2vjw+rlOeznOja7UTZEOzL8B1WCBt9PtynIkSIzVmlzO/QOgj82IMIFrB0Bv8M6j/UbiCFc5VfyvhggeuNgqt5PZI2F1Q9kmwPQO5MZyyIxyU9vXb0eyQ6S+b+NFSU460gnCpA/G0AgQyUe65Yzugfi/TM+aPZiww3j6DlwnePqEgIXogDWv4S0mYV8tD6PzkRUy8hGsSQBbrEm+xmAqJ7LoW20qYai2Bqy3DJ4oTNwzOMjo7wquboulIxRurPu0Vt/ZRm4yVXGFKjWWI5FLjFmAZLETa3nZ4qrRxSW3kf0Nl2O+BiTnyMdwVQsmXunb9sCGy0jkQf7blIpEwc72hEXlBY4sXdspNt9wNw/IrhHDl1QYuIOuVgCzh6X4uK8HalnacUDXV6XaqtcxPHtB67nWcpQc46H1LaRBYyBa6lhkrsFQihwQiCRzj7UXaSDE5lu4993Ti87RBujudUVpBtK7xyYCYevO12rdiayy3pLI3h/GstD0Y+SFf7onC57bzYBLbIUnXcOgSsmnGBpXERyDEIgQIAzFoYe77nDpkhGEZG8C8rdcj6id65HSoKRitu69Aj53rD0P0oXnNptuUu7c/tE26W9dWNjFGb/dJCINkJkBmCdD6d/Bu41kq29XMEASzTJBaLj/19b20Hz3TgmV74/HmB8bjAhT2jCk7+3S5JyAZOC528NtBb/swawX00t0qPeBmQ0yCaKZXQd72+NTMRbGvO/H6jRCvCFxNTPACs+ieAJ6Ro5hXIl68if2F6jrzG4pMcK3Xn6+doIrfvRR8aQFuwHiLhJppv7N14+X4KCLNwfiT45O343fjk61QX/M5hmfz4lpBrdO4JUxkW0/7pQ95VICU+o9cv/RCQlPgMd2AzwiP1/DAub68pf7Qu00u2NM4zrGU1dMx1re4JyJ++ZtKPY1RlYqvLt9P/ryZeDeJsLDu9YT7mLN1zNm+d1kPlZtPtDa6Dp5cXElUSW60dTOktntEUZxbRfh/2nIHwacgJsV9q9UUC/cXI5uGpr/V1ALjCwuzwPH9M6XkIAYyYekfITTj0sIBW3/u6PUXts/UjgIUEQA26DWN8HcOy+552TzgvgJrOcKF9IelM+TgyvUObd1WAuca7BeT2/ZN0G9vAgZH3Q9J32kQRsbvuNVzUBidzj5HYzKwaf4FaPFjBA==
sidebar_class_name: "get api-method"
info_path: docs/developer-docs/api/reference/authentik
custom_edit_url: null
hide_send_button: true
---

import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"flows_instances_retrieve"}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/flows/instances/{slug}/"}
>
  
</MethodEndpoint>



Flow Viewset

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<details
  style={{"marginBottom":"1rem"}}
  className={"openapi-markdown__details"}
  data-collapsed={false}
  open={true}
>
  <summary
    style={{}}
  >
    <h3
      className={"openapi-markdown__details-summary-header-params"}
    >
      Path Parameters
    </h3>
  </summary><div>
    <ul>
      <ParamsItem
        className={"paramsItem"}
        param={{"in":"path","name":"slug","schema":{"type":"string","description":"Visible in the URL."},"required":true}}
      >
        
      </ParamsItem>
    </ul>
  </div>
</details><div>
  <div>
    <ApiTabs
      label={undefined}
      id={undefined}
    >
      <TabItem
        label={"200"}
        value={"200"}
      >
        <div>
          
          
          
          
          
        </div><div>
          <MimeTabs
            className={"openapi-tabs__mime"}
            schemaType={"response"}
          >
            <TabItem
              label={"application/json"}
              value={"application/json"}
            >
              <SchemaTabs
                className={"openapi-tabs__schema"}
              >
                <TabItem
                  label={"Schema"}
                  value={"Schema"}
                >
                  <details
                    style={{}}
                    className={"openapi-markdown__details response"}
                    data-collapsed={false}
                    open={true}
                  >
                    <summary
                      style={{}}
                      className={"openapi-markdown__details-summary-response"}
                    >
                      <strong>
                        Schema
                      </strong>
                    </summary><div
                      style={{"textAlign":"left","marginLeft":"1rem"}}
                    >
                      
                    </div><ul
                      style={{"marginLeft":"1rem"}}
                    >
                      <SchemaItem
                        collapsible={false}
                        name={"pk"}
                        required={true}
                        schemaName={"uuid"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","format":"uuid","readOnly":true,"title":"Flow uuid"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"policybindingmodel_ptr_id"}
                        required={true}
                        schemaName={"uuid"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","format":"uuid","readOnly":true}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"name"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"slug"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={"**Possible values:** `<= 50 characters`, Value must match regular expression `^[-a-zA-Z0-9_]+$`"}
                        schema={{"type":"string","description":"Visible in the URL.","maxLength":50,"pattern":"^[-a-zA-Z0-9_]+$"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"title"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","description":"Shown as the Title in Flow pages."}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"designation"}
                        required={true}
                        schemaName={"FlowDesignationEnum (string)"}
                        qualifierMessage={"**Possible values:** [`authentication`, `authorization`, `invalidation`, `enrollment`, `unenrollment`, `recovery`, `stage_configuration`]"}
                        schema={{"enum":["authentication","authorization","invalidation","enrollment","unenrollment","recovery","stage_configuration"],"type":"string","title":"FlowDesignationEnum"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"background"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","description":"Get the URL to the background image. If the name is /static or starts with http\nit is returned as-is","readOnly":true}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"stages"}
                        required={true}
                        schemaName={"uuid[]"}
                        qualifierMessage={undefined}
                        schema={{"type":"array","items":{"type":"string","format":"uuid"},"readOnly":true}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"policies"}
                        required={true}
                        schemaName={"uuid[]"}
                        qualifierMessage={undefined}
                        schema={{"type":"array","items":{"type":"string","format":"uuid"},"readOnly":true}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"cache_count"}
                        required={true}
                        schemaName={"integer"}
                        qualifierMessage={undefined}
                        schema={{"type":"integer","description":"Get count of cached flows","readOnly":true}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"policy_engine_mode"}
                        required={false}
                        schemaName={"PolicyEngineMode (string)"}
                        qualifierMessage={"**Possible values:** [`all`, `any`]"}
                        schema={{"enum":["all","any"],"type":"string","title":"PolicyEngineMode"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"compatibility_mode"}
                        required={false}
                        schemaName={"boolean"}
                        qualifierMessage={undefined}
                        schema={{"type":"boolean","description":"Enable compatibility mode, increases compatibility with password managers on mobile devices."}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"export_url"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string","description":"Get export URL for flow","readOnly":true}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"layout"}
                        required={false}
                        schemaName={"FlowLayoutEnum (string)"}
                        qualifierMessage={"**Possible values:** [`stacked`, `content_left`, `content_right`, `sidebar_left`, `sidebar_right`]"}
                        schema={{"enum":["stacked","content_left","content_right","sidebar_left","sidebar_right"],"type":"string","title":"FlowLayoutEnum"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"denied_action"}
                        required={false}
                        schemaName={"DeniedActionEnum (string)"}
                        qualifierMessage={"**Possible values:** [`message_continue`, `message`, `continue`]"}
                        schema={{"enum":["message_continue","message","continue"],"type":"string","title":"DeniedActionEnum"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"authentication"}
                        required={false}
                        schemaName={"AuthenticationEnum (string)"}
                        qualifierMessage={"**Possible values:** [`none`, `require_authenticated`, `require_unauthenticated`, `require_superuser`, `require_outpost`]"}
                        schema={{"enum":["none","require_authenticated","require_unauthenticated","require_superuser","require_outpost"],"type":"string","title":"AuthenticationEnum"}}
                      >
                        
                      </SchemaItem>
                    </ul>
                  </details>
                </TabItem><TabItem
                  label={"Example (from schema)"}
                  value={"Example (from schema)"}
                >
                  <ResponseSamples
                    responseExample={"{\n  \"pk\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"policybindingmodel_ptr_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"name\": \"string\",\n  \"slug\": \"string\",\n  \"title\": \"string\",\n  \"designation\": \"authentication\",\n  \"background\": \"string\",\n  \"stages\": [\n    \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n  ],\n  \"policies\": [\n    \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n  ],\n  \"cache_count\": 0,\n  \"policy_engine_mode\": \"all\",\n  \"compatibility_mode\": true,\n  \"export_url\": \"string\",\n  \"layout\": \"stacked\",\n  \"denied_action\": \"message_continue\",\n  \"authentication\": \"none\"\n}"}
                    language={"json"}
                  >
                    
                  </ResponseSamples>
                </TabItem>
              </SchemaTabs>
            </TabItem>
          </MimeTabs>
        </div>
      </TabItem><TabItem
        label={"400"}
        value={"400"}
      >
        <div>
          
          
          
          
          
        </div><div>
          <MimeTabs
            className={"openapi-tabs__mime"}
            schemaType={"response"}
          >
            <TabItem
              label={"application/json"}
              value={"application/json"}
            >
              <SchemaTabs
                className={"openapi-tabs__schema"}
              >
                <TabItem
                  label={"Schema"}
                  value={"Schema"}
                >
                  <details
                    style={{}}
                    className={"openapi-markdown__details response"}
                    data-collapsed={false}
                    open={true}
                  >
                    <summary
                      style={{}}
                      className={"openapi-markdown__details-summary-response"}
                    >
                      <strong>
                        Schema
                      </strong>
                    </summary><div
                      style={{"textAlign":"left","marginLeft":"1rem"}}
                    >
                      
                    </div><ul
                      style={{"marginLeft":"1rem"}}
                    >
                      <SchemaItem
                        collapsible={false}
                        name={"non_field_errors"}
                        required={false}
                        schemaName={"string[]"}
                        qualifierMessage={undefined}
                        schema={{"type":"array","items":{"type":"string"}}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"code"}
                        required={false}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        name={"property name*"}
                        required={false}
                        schemaName={"any"}
                        qualifierMessage={undefined}
                        schema={{"type":"object","description":"Validation Error","properties":{"non_field_errors":{"type":"array","items":{"type":"string"}},"code":{"type":"string"}},"additionalProperties":{},"title":"ValidationError"}}
                        collapsible={false}
                        discriminator={false}
                      >
                        
                      </SchemaItem>
                    </ul>
                  </details>
                </TabItem><TabItem
                  label={"Example (from schema)"}
                  value={"Example (from schema)"}
                >
                  <ResponseSamples
                    responseExample={"{\n  \"non_field_errors\": [\n    \"string\"\n  ],\n  \"code\": \"string\"\n}"}
                    language={"json"}
                  >
                    
                  </ResponseSamples>
                </TabItem>
              </SchemaTabs>
            </TabItem>
          </MimeTabs>
        </div>
      </TabItem><TabItem
        label={"403"}
        value={"403"}
      >
        <div>
          
          
          
          
          
        </div><div>
          <MimeTabs
            className={"openapi-tabs__mime"}
            schemaType={"response"}
          >
            <TabItem
              label={"application/json"}
              value={"application/json"}
            >
              <SchemaTabs
                className={"openapi-tabs__schema"}
              >
                <TabItem
                  label={"Schema"}
                  value={"Schema"}
                >
                  <details
                    style={{}}
                    className={"openapi-markdown__details response"}
                    data-collapsed={false}
                    open={true}
                  >
                    <summary
                      style={{}}
                      className={"openapi-markdown__details-summary-response"}
                    >
                      <strong>
                        Schema
                      </strong>
                    </summary><div
                      style={{"textAlign":"left","marginLeft":"1rem"}}
                    >
                      
                    </div><ul
                      style={{"marginLeft":"1rem"}}
                    >
                      <SchemaItem
                        collapsible={false}
                        name={"detail"}
                        required={true}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string"}}
                      >
                        
                      </SchemaItem><SchemaItem
                        collapsible={false}
                        name={"code"}
                        required={false}
                        schemaName={"string"}
                        qualifierMessage={undefined}
                        schema={{"type":"string"}}
                      >
                        
                      </SchemaItem>
                    </ul>
                  </details>
                </TabItem><TabItem
                  label={"Example (from schema)"}
                  value={"Example (from schema)"}
                >
                  <ResponseSamples
                    responseExample={"{\n  \"detail\": \"string\",\n  \"code\": \"string\"\n}"}
                    language={"json"}
                  >
                    
                  </ResponseSamples>
                </TabItem>
              </SchemaTabs>
            </TabItem>
          </MimeTabs>
        </div>
      </TabItem>
    </ApiTabs>
  </div>
</div>
      