History

Get recent history

Return up to 100 finished sessions, ordered by creation time descending. This endpoint has no pagination parameters. Prefer GET /history/page for a complete history.

get/history

Request

  • Base URL
    https://api.phone-harness.com
  • Auth
    HTTP bearer

Response

Recent history array.

sidstring required

Session ID; history uses sid rather than id.

uidstring required
platform'android' | 'ios'

What the phone is: android or ios.

kind'emulator' | 'device'

How it runs: an emulator, or a real device (your own phone on a host).

devicestring nullable required

Display label in plain words ("Android emulator", "iPhone"); not a device connection address.

phonestring nullable required
creatednumber required

Session admission. Unix time in seconds.

readynumber nullable required

Readiness. Null if the session never became ready. Unix time in seconds.

lastnumber required

Last recorded API activity. Unix time in seconds.

endednumber required

Recorded end of the session, not proof of physical cleanup completion. Unix time in seconds.

end_reasonstring nullable required
billing_mode'metered' | 'disabled' required
cost_centsinteger required

Recorded credit debits for this session in US cents.

usage_minutesinteger required

Ready-to-ended time rounded up to whole minutes.

billable_minutesinteger required

Usage minutes for metered sessions; zero for disabled billing.

Changes

No recorded changes to this operation across all 1 revision of this API.