Phone Harness
phone_harnessPhone Harness provides cloud Android phone sessions for automated lifecycle management, observation, and ADB access.
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ónCreate 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.
PHONE_HARNESS_CREATE_API_KEYAcciónCreate 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
labelstringOptional 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create SessionPHONE_HARNESS_CREATE_SESSIONAcciónStart 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.
PHONE_HARNESS_CREATE_SESSIONAcciónStart 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_idstringSaved Android emulator profile ID from PHONE_HARNESS_GET_ACCOUNT. Omit to use a temporary Android emulator.
timeout_secondsintegerPositive 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Enable ADBPHONE_HARNESS_ENABLE_ADBAcciónEnable or re-enable ADB access for a ready Android session and return its current connection endpoint and sensitive unlock code. Repeated calls are idempotent.
PHONE_HARNESS_ENABLE_ADBAcciónEnable 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_idstringObligatorioReady Android session ID for which to enable ADB.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
End SessionPHONE_HARNESS_END_SESSIONAcciónRequest 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.
PHONE_HARNESS_END_SESSIONAcciónRequest 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_idstringObligatorioSession 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get AccountPHONE_HARNESS_GET_ACCOUNTAcciónGet the connected account's identity, balance, Android profile choices, active-session capacity, and whether a new session can be started.
PHONE_HARNESS_GET_ACCOUNTAcciónGet 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ADBPHONE_HARNESS_GET_ADBAcciónGet the current ADB state for an Android session. Returns exactly a disabled result or the enabled connection endpoint and sensitive unlock credential.
PHONE_HARNESS_GET_ADBAcciónGet 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_idstringObligatorioAndroid session ID whose ADB state should be read.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get API HealthPHONE_HARNESS_GET_HEALTHAcciónCheck public Phone Harness API-process liveness only. This does not certify phone availability, credits, capacity, video, or successful provisioning.
PHONE_HARNESS_GET_HEALTHAcciónCheck 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Owner ViewerPHONE_HARNESS_GET_OWNER_VIEWERAcciónCreate 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.
PHONE_HARNESS_GET_OWNER_VIEWERAcciónCreate 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_idstringObligatorioSession ID for which to create an interactive owner viewer capability.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Recent HistoryPHONE_HARNESS_GET_RECENT_HISTORYAcciónReturn up to 100 finished sessions ordered by creation time descending. Use LIST_HISTORY instead when complete cursor-based traversal is needed.
PHONE_HARNESS_GET_RECENT_HISTORYAcciónReturn 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get SessionPHONE_HARNESS_GET_SESSIONAcciónGet 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.
PHONE_HARNESS_GET_SESSIONAcciónGet 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_idstringObligatorioSession ID returned by PHONE_HARNESS_CREATE_SESSION or another session read.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get SnapshotPHONE_HARNESS_GET_SNAPSHOTAcciónDownload 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.
PHONE_HARNESS_GET_SNAPSHOTAcciónDownload 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_idstringObligatorioReady session ID whose current screen image should be downloaded. The ID is URL-encoded as one path segment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create View-Only LinkPHONE_HARNESS_GET_VIEWERAcciónCreate 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.
PHONE_HARNESS_GET_VIEWERAcciónCreate 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_idstringObligatorioSession ID for which to create a view-only link to give an intended viewer.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List API KeysPHONE_HARNESS_LIST_API_KEYSAcciónList metadata for the connected account's API keys, including hashes, labels, hints, creation times, and revocation times. This action never returns raw bearer keys.
PHONE_HARNESS_LIST_API_KEYSAcciónList 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List HistoryPHONE_HARNESS_LIST_HISTORYAcciónReturn one cursor-paginated page of finished-session history in newest-first order, with a next cursor for complete traversal.
PHONE_HARNESS_LIST_HISTORYAcciónReturn one cursor-paginated page of finished-session history in newest-first order, with a next cursor for complete traversal.
Parámetros de entrada
limitintegerMaximum finished sessions to return in this page (1-100).
cursorstringOpaque next_cursor from a previous response. Pass it unchanged; omit it for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List SessionsPHONE_HARNESS_LIST_SESSIONSAcciónList all active account sessions, including provisioning, terminal-error, closing, and cleanup-pending entries.
PHONE_HARNESS_LIST_SESSIONSAcciónList all active account sessions, including provisioning, terminal-error, closing, and cleanup-pending entries.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Recover Create RequestPHONE_HARNESS_RECOVER_CREATE_REQUESTAcciónRead the durable receipt for an idempotent session create to resolve an ambiguous create result or confirm asynchronous release cleanup.
PHONE_HARNESS_RECOVER_CREATE_REQUESTAcciónRead the durable receipt for an idempotent session create to resolve an ambiguous create result or confirm asynchronous release cleanup.
Parámetros de entrada
request_keystringObligatorioIdempotency key returned by PHONE_HARNESS_CREATE_SESSION. Pass it unchanged to recover the durable create receipt.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Reset ADB CodePHONE_HARNESS_RESET_ADB_CODEAcciónRotate 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.
PHONE_HARNESS_RESET_ADB_CODEAcciónRotate 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_idstringObligatorioAndroid session ID whose ADB unlock code should be rotated.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Reset DevicePHONE_HARNESS_RESET_DEVICEAcciónIrreversibly 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.
PHONE_HARNESS_RESET_DEVICEAcciónIrreversibly 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_idstringObligatorioiPhone device ID from PHONE_HARNESS_GET_ACCOUNT available profiles.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Reset ProfilePHONE_HARNESS_RESET_PROFILEAcciónIrreversibly 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.
PHONE_HARNESS_RESET_PROFILEAcciónIrreversibly 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Revoke ADBPHONE_HARNESS_REVOKE_ADBAcciónRevoke ADB access for an Android session. This changes only ADB access: the phone session remains active and session billing continues unaffected.
PHONE_HARNESS_REVOKE_ADBAcciónRevoke 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_idstringObligatorioAndroid session ID whose ADB access should be revoked. Pass the opaque ID returned by Phone Harness unchanged.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Revoke API KeyPHONE_HARNESS_REVOKE_API_KEYAcciónIdempotently 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.
PHONE_HARNESS_REVOKE_API_KEYAcciónIdempotently 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_hashstringObligatorioExact 64-character lowercase hexadecimal hash of the API key to revoke.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not