Start Dynamic Auth Flow
Starts (or restarts) a dynamic auth flow in an existing browser session.
session_id is required in the path. Advances until the next presentation
(decision, form, detection_failed, authenticated, or failed).
If the response is detection_failed with retryable: true, or the request
times out, keep polling GET /v1/identities/dynamic/state/{session_id} —
some login steps take longer than a single start/resolve call. If
detection_failed and retryable is false, open live_view_url to finish
signing in. Do not treat a timeout as a hard stop until view.type is
failed or detection_failed and retryable is false.
Authorizations
API key passed in the header
Path Parameters
Active browser session that will drive the login.
Body
Response
First presentation of the auth flow
- decision
- form
- detection_failed
- authenticated
- failed
Presentation returned by start/resolve. GET /state nests the same object as
view when there is something to show. Discriminated on type. Call /resolve
only for decision or form.
Hostname the flow was started for.
Human-readable label of the current login step.
Identifier of the current login step.
CDP websocket URL of the session driving the login.
URL to watch or take over the session in a browser.
decision Each item is { step_id, label, automatable }.
POST /resolve with { "choice": "<step_id>" }.
Set when automatic step detection hit an error. A partial flow may still be presented.

