Volver al catálogo

Phone Harness

phone_harness

Phone Harness provides cloud Android phone sessions for automated lifecycle management, observation, and ADB access.

Acciones
21
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (21)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Create API KeyPHONE_HARNESS_CREATE_API_KEYAcción

Create an account-wide API bearer key that can manage API keys. The raw key is shown only once; store it securely and never log it.

Parámetros de entrada

  • labelstring

    Optional human-readable label for the new key. Omit for the provider default, or pass null to create an explicitly unlabeled key.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create SessionPHONE_HARNESS_CREATE_SESSIONAcción

Start a temporary or saved Android emulator session and return its admitted session data plus the internally generated idempotency key. If the initial POST has an ambiguous transport failure, this action recovers or safely replays that same keyed request once. A provisioning result is not ready; poll PHONE_HARNESS_GET_SESSION until state is ready or terminal error.

Parámetros de entrada

  • profile_idstring

    Saved Android emulator profile ID from PHONE_HARNESS_GET_ACCOUNT. Omit to use a temporary Android emulator.

  • timeout_secondsinteger

    Positive finite session duration in seconds, including provisioning. Defaults to 300; the provider rejects values too large to form a supported absolute timestamp.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enable ADBPHONE_HARNESS_ENABLE_ADBAcción

Enable or re-enable ADB access for a ready Android session and return its current connection endpoint and sensitive unlock code. Repeated calls are idempotent.

Parámetros de entrada

  • session_idstringObligatorio

    Ready Android session ID for which to enable ADB.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

End SessionPHONE_HARNESS_END_SESSIONAcción

Request that a Phone Harness session end and billing closure be recorded. A cleanup_pending result is asynchronous and continues to consume capacity; use the durable create receipt to confirm cleanup_complete. Repeating cleanup after the session is gone can return session_not_found; that outcome does not prove release or cleanup, even on a repeated call.

Parámetros de entrada

  • session_idstringObligatorio

    Session ID to end. The ID is URL-encoded as one path segment. Obtain it from a Phone Harness session create or read action.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get AccountPHONE_HARNESS_GET_ACCOUNTAcción

Get the connected account's identity, balance, Android profile choices, active-session capacity, and whether a new session can be started.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ADBPHONE_HARNESS_GET_ADBAcción

Get the current ADB state for an Android session. Returns exactly a disabled result or the enabled connection endpoint and sensitive unlock credential.

Parámetros de entrada

  • session_idstringObligatorio

    Android session ID whose ADB state should be read.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get API HealthPHONE_HARNESS_GET_HEALTHAcción

Check public Phone Harness API-process liveness only. This does not certify phone availability, credits, capacity, video, or successful provisioning.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Owner ViewerPHONE_HARNESS_GET_OWNER_VIEWERAcción

Create a secret, short-lived capability for interactive owner control of a ready session. Embedding is restricted to the configured Phone Harness dashboard origin, not arbitrary third-party origins. Reconnecting does not extend the phone deadline. Return it only for secure handoff to the intended account owner; never log, persist, or publish it.

Parámetros de entrada

  • session_idstringObligatorio

    Session ID for which to create an interactive owner viewer capability.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Recent HistoryPHONE_HARNESS_GET_RECENT_HISTORYAcción

Return up to 100 finished sessions ordered by creation time descending. Use LIST_HISTORY instead when complete cursor-based traversal is needed.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SessionPHONE_HARNESS_GET_SESSIONAcción

Get one session's current lifecycle state, deadline, screen geometry, and ADB details. Use it to poll provisioning; state=error is a terminal startup failure, not success.

Parámetros de entrada

  • session_idstringObligatorio

    Session ID returned by PHONE_HARNESS_CREATE_SESSION or another session read.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SnapshotPHONE_HARNESS_GET_SNAPSHOTAcción

Download the latest still image from a ready Phone Harness session as a file. The image is PNG or JPEG. A no-frame-yet response is retryable after the session is ready and has rendered a frame.

Parámetros de entrada

  • session_idstringObligatorio

    Ready session ID whose current screen image should be downloaded. The ID is URL-encoded as one path segment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create View-Only LinkPHONE_HARNESS_GET_VIEWERAcción

Create a short-lived view-only link for an intended person to watch a live session. Return the link for secure handoff; it grants no interactive owner control and must not be logged or published.

Parámetros de entrada

  • session_idstringObligatorio

    Session ID for which to create a view-only link to give an intended viewer.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List API KeysPHONE_HARNESS_LIST_API_KEYSAcción

List metadata for the connected account's API keys, including hashes, labels, hints, creation times, and revocation times. This action never returns raw bearer keys.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List HistoryPHONE_HARNESS_LIST_HISTORYAcción

Return one cursor-paginated page of finished-session history in newest-first order, with a next cursor for complete traversal.

Parámetros de entrada

  • limitinteger

    Maximum finished sessions to return in this page (1-100).

  • cursorstring

    Opaque next_cursor from a previous response. Pass it unchanged; omit it for the first page.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List SessionsPHONE_HARNESS_LIST_SESSIONSAcción

List all active account sessions, including provisioning, terminal-error, closing, and cleanup-pending entries.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Recover Create RequestPHONE_HARNESS_RECOVER_CREATE_REQUESTAcción

Read the durable receipt for an idempotent session create to resolve an ambiguous create result or confirm asynchronous release cleanup.

Parámetros de entrada

  • request_keystringObligatorio

    Idempotency key returned by PHONE_HARNESS_CREATE_SESSION. Pass it unchanged to recover the durable create receipt.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Reset ADB CodePHONE_HARNESS_RESET_ADB_CODEAcción

Rotate the ADB unlock code for an Android session, invalidate the previous code, and close all existing ADB connections. Returns sensitive replacement connection details that must be used for subsequent connections.

Parámetros de entrada

  • session_idstringObligatorio

    Android session ID whose ADB unlock code should be rotated.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Reset DevicePHONE_HARNESS_RESET_DEVICEAcción

Irreversibly erase and reprovision an assigned iPhone, deleting its apps, accounts, and data. The reset takes a few minutes; poll PHONE_HARNESS_GET_ACCOUNT until the device state is available before starting it again. Phone Harness refuses the reset while a session holds the device.

Parámetros de entrada

  • device_idstringObligatorio

    iPhone device ID from PHONE_HARNESS_GET_ACCOUNT available profiles.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Reset ProfilePHONE_HARNESS_RESET_PROFILEAcción

Irreversibly delete the saved Android profile's apps, logins, and data. The next session using its profile ID starts with a fresh phone. Phone Harness refuses the reset while a live session holds the profile phone.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Revoke ADBPHONE_HARNESS_REVOKE_ADBAcción

Revoke ADB access for an Android session. This changes only ADB access: the phone session remains active and session billing continues unaffected.

Parámetros de entrada

  • session_idstringObligatorio

    Android session ID whose ADB access should be revoked. Pass the opaque ID returned by Phone Harness unchanged.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Revoke API KeyPHONE_HARNESS_REVOKE_API_KEYAcción

Idempotently revoke an API key by its hash. Identifier existence is not proven by a successful response, and active phone sessions are unaffected. Do not revoke the key used by the current connection if continued Phone Harness access is needed.

Parámetros de entrada

  • key_hashstringObligatorio

    Exact 64-character lowercase hexadecimal hash of the API key to revoke.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not