Dokumentation / Laufzeit / Endpunkt
POST

/api/v1/profiles/{id}/start

Profil starten: Relay, Proxy-Prüfung, Kern-Start; optional ohne API-Steuerung

Anfrage#

POSIX-Shell · curl
curl --fail-with-body --request POST \
  "$ADBR_API_URL/api/v1/profiles/{id}/start" \
  -H "Authorization: Bearer $ADBR_API_TOKEN" \
  -H "Content-Type: application/json" \
  --data @request.json

Verwende lokale Adresse und Token aus API & MCP. Ersetze Pfadplatzhalter wie {id} durch tatsächliche IDs. Erstelle request.json anhand des folgenden Körperschemas, bevor du den Befehl ausführst.

Authentifizierung und Rechte#

Authentifizierung: Bearer-Token

Scopes: runtime:control

Alle aufgeführten Scopes sind erforderlich; admin erfüllt Scope-Prüfungen. Kontorechte, Anfrageinhalt, Tresorzustand und Ressourcenrechte können weitere Voraussetzungen setzen.

Parameter#

ParameterOrtPflichtBeschreibung
idpathJa
Vollständige Parameterschemas
OpenAPI JSON
[
  {
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "in": "path",
    "name": "id",
    "required": true
  }
]

Anfragekörper#

Erforderlich.

FeldTypPflichtBeschreibung
headlessbooleanNeinProfil nur für diesen Start ohne sichtbares Fenster öffnen; gespeicherte Startargumente bleiben erhalten.
automationbooleanNeinAPI-Steuerung aktivieren (Standard: true); false öffnet ein normales Windows-Profilfenster ohne Debug-Endpunkt.
info_page_languageunionNein
skip_proxy_checkbooleanNein
urlsarrayNein
Vollständiges Körperschema
OpenAPI JSON
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "headless": {
            "type": "boolean",
            "description": "Profil nur für diesen Start ohne sichtbares Fenster öffnen; gespeicherte Startargumente bleiben erhalten."
          },
          "automation": {
            "type": "boolean",
            "description": "API-Steuerung aktivieren (Standard: true); false öffnet ein normales Windows-Profilfenster ohne Debug-Endpunkt."
          },
          "info_page_language": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "de"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "en"
                ]
              }
            ]
          },
          "skip_proxy_check": {
            "type": "boolean"
          },
          "urls": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 4096
            },
            "maxItems": 50
          }
        },
        "additionalProperties": false
      }
    }
  }
}

Antworten#

200 · Standardantwort
OpenAPI JSON
{
  "description": "Default Response",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "profile_id",
          "profile_no",
          "session_id",
          "pid",
          "debug_port",
          "ws_endpoint",
          "http",
          "webdriver",
          "kernel",
          "relay_port",
          "exit_ip",
          "proxy_country",
          "timezone",
          "languages",
          "started_at"
        ],
        "properties": {
          "profile_id": {
            "type": "string"
          },
          "profile_no": {
            "type": "integer"
          },
          "session_id": {
            "type": "string"
          },
          "pid": {
            "type": "integer"
          },
          "debug_port": {
            "type": "integer",
            "description": "Debug-Port; 0 bei normalem Profilfenster ohne API-Steuerung."
          },
          "ws_endpoint": {
            "type": "string",
            "description": "DevTools-Endpunkt; leer bei normalem Profilfenster ohne API-Steuerung."
          },
          "http": {
            "type": "string"
          },
          "webdriver": {
            "type": [
              "null",
              "string"
            ]
          },
          "kernel": {
            "type": "object",
            "required": [
              "engine",
              "version",
              "build",
              "source"
            ],
            "properties": {
              "engine": {
                "type": "string"
              },
              "version": {
                "type": "string"
              },
              "build": {
                "type": "string"
              },
              "source": {
                "type": "string"
              }
            }
          },
          "relay_port": {
            "type": [
              "null",
              "integer"
            ]
          },
          "exit_ip": {
            "type": [
              "null",
              "string"
            ]
          },
          "proxy_country": {
            "type": [
              "null",
              "string"
            ]
          },
          "timezone": {
            "type": [
              "null",
              "string"
            ]
          },
          "languages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "started_at": {
            "type": "integer"
          },
          "timings": {
            "type": "object",
            "required": [
              "request_id",
              "profile_id",
              "pid",
              "outcome",
              "total_ms",
              "phases"
            ],
            "properties": {
              "request_id": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "profile_id": {
                "type": "string"
              },
              "pid": {
                "type": [
                  "null",
                  "integer"
                ]
              },
              "outcome": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "started"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "failed"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "cancelled"
                    ]
                  }
                ]
              },
              "total_ms": {
                "type": "integer",
                "minimum": 0
              },
              "phases": {
                "type": "object",
                "properties": {
                  "api_request": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "waiting_for_data": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "waiting_for_capacity": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "queued": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "checking_account": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "preparing_profile": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "unlocking_profile": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "preparing_browser": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "maintenance_session": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "checking_connection": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "authorizing_start": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "launching_browser": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "connecting_debugger": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "finalizing_start": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "cleanup": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "response": {
                    "type": "integer",
                    "minimum": 0
                  }
                },
                "additionalProperties": false
              },
              "failed_phase": {
                "type": "string"
              },
              "error_code": {
                "type": "string"
              }
            },
            "description": "Monotone Dauer je Startphase in Millisekunden für diesen Startaufruf. Nur erreichte Phasen sind enthalten."
          }
        }
      }
    }
  }
}
default · HTTP-Fehlerhülle. Status und error.code bezeichnen den Fehler.
OpenAPI JSON
{
  "description": "HTTP error envelope. The status and error.code identify the failure.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}

Allgemeine Authentifizierungs- und Transportfehler können zusätzlich zu den dokumentierten Antworten auftreten.

OpenAPI-Definition#

Vollständige Operationsdefinition
OpenAPI JSON
{
  "summary": "Profil starten: Relay, Proxy-Prüfung, Kern-Start; optional ohne API-Steuerung",
  "tags": [
    "Laufzeit"
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "headless": {
              "type": "boolean",
              "description": "Profil nur für diesen Start ohne sichtbares Fenster öffnen; gespeicherte Startargumente bleiben erhalten."
            },
            "automation": {
              "type": "boolean",
              "description": "API-Steuerung aktivieren (Standard: true); false öffnet ein normales Windows-Profilfenster ohne Debug-Endpunkt."
            },
            "info_page_language": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "de"
                  ]
                },
                {
                  "type": "string",
                  "enum": [
                    "en"
                  ]
                }
              ]
            },
            "skip_proxy_check": {
              "type": "boolean"
            },
            "urls": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 4096
              },
              "maxItems": 50
            }
          },
          "additionalProperties": false
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64
      },
      "in": "path",
      "name": "id",
      "required": true
    }
  ],
  "x-required-scopes": [
    "runtime:control"
  ],
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "profile_id",
              "profile_no",
              "session_id",
              "pid",
              "debug_port",
              "ws_endpoint",
              "http",
              "webdriver",
              "kernel",
              "relay_port",
              "exit_ip",
              "proxy_country",
              "timezone",
              "languages",
              "started_at"
            ],
            "properties": {
              "profile_id": {
                "type": "string"
              },
              "profile_no": {
                "type": "integer"
              },
              "session_id": {
                "type": "string"
              },
              "pid": {
                "type": "integer"
              },
              "debug_port": {
                "type": "integer",
                "description": "Debug-Port; 0 bei normalem Profilfenster ohne API-Steuerung."
              },
              "ws_endpoint": {
                "type": "string",
                "description": "DevTools-Endpunkt; leer bei normalem Profilfenster ohne API-Steuerung."
              },
              "http": {
                "type": "string"
              },
              "webdriver": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "kernel": {
                "type": "object",
                "required": [
                  "engine",
                  "version",
                  "build",
                  "source"
                ],
                "properties": {
                  "engine": {
                    "type": "string"
                  },
                  "version": {
                    "type": "string"
                  },
                  "build": {
                    "type": "string"
                  },
                  "source": {
                    "type": "string"
                  }
                }
              },
              "relay_port": {
                "type": [
                  "null",
                  "integer"
                ]
              },
              "exit_ip": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "proxy_country": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "timezone": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "languages": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "started_at": {
                "type": "integer"
              },
              "timings": {
                "type": "object",
                "required": [
                  "request_id",
                  "profile_id",
                  "pid",
                  "outcome",
                  "total_ms",
                  "phases"
                ],
                "properties": {
                  "request_id": {
                    "type": [
                      "null",
                      "string"
                    ]
                  },
                  "profile_id": {
                    "type": "string"
                  },
                  "pid": {
                    "type": [
                      "null",
                      "integer"
                    ]
                  },
                  "outcome": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "started"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "failed"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "cancelled"
                        ]
                      }
                    ]
                  },
                  "total_ms": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "phases": {
                    "type": "object",
                    "properties": {
                      "api_request": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "waiting_for_data": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "waiting_for_capacity": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "queued": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "checking_account": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "preparing_profile": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "unlocking_profile": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "preparing_browser": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "maintenance_session": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "checking_connection": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "authorizing_start": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "launching_browser": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "connecting_debugger": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "finalizing_start": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "cleanup": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "response": {
                        "type": "integer",
                        "minimum": 0
                      }
                    },
                    "additionalProperties": false
                  },
                  "failed_phase": {
                    "type": "string"
                  },
                  "error_code": {
                    "type": "string"
                  }
                },
                "description": "Monotone Dauer je Startphase in Millisekunden für diesen Startaufruf. Nur erreichte Phasen sind enthalten."
              }
            }
          }
        }
      }
    },
    "default": {
      "description": "HTTP error envelope. The status and error.code identify the failure.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    }
  }
}

Suche nach Headless, MCP, Cookies oder einem API-Endpunkt.

↑ ↓ NavigierenEnter ÖffnenEsc Schließen