Skip to main content
GET
Get recent history

Authorizations

Authorization
string
header
required

Phone Harness account API key (pck_…). The dashboard may use a Clerk session JWT with the same header. Never put an account key in a URL.

Response

Recent history array.

sid
string
required

Session ID; history uses sid rather than id.

uid
string
required
provider
string
required
device
string | null
required
phone
string | null
required
created
number
required

Session admission. Unix time in seconds.

ready
number | null
required

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

last
number
required

Last recorded API activity. Unix time in seconds.

ended
number
required

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

end_reason
string | null
required
billing_mode
enum<string>
required
Available options:
metered,
disabled
cost_cents
integer
required

Recorded credit debits for this session in US cents.

usage_minutes
integer
required

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

billable_minutes
integer
required

Usage minutes for metered sessions; zero for disabled billing.