Skip to main content
POST
Claim the next permitted action

Authorizations

X-API-Key
string
header
required

Body

application/json
lease_nonce
string
required

This browser's lease identity; only the holder is handed work.

Required string length: 8 - 64
checkpoint
boolean | null

True when LinkedIn is challenging the account; no work is handed out while it stands. False clears it; null leaves it untouched.

claim_request_id
string | null

This browser's name for this ask, kept until the answer is saved. Asked again under the same name, because the first answer never arrived, the browser gets the step it was handed rather than a second one beside it. Older builds leave it out.

Required string length: 8 - 64
Pattern: ^[A-Za-z0-9_-]+$
extension_version
string
default:""
Maximum string length: 32
held_back_by
enum<string> | null

The gate in this browser its last pass stopped at before asking for work: signed_out (signed out of LinkedIn), reopen_paused (the working tab was closed twice and the side panel's Resume was not pressed), no_window (no Chrome window is open) or chrome_stalled (Chrome stopped answering the extension). Null once a pass got past every gate. Read on /heartbeat/ only and kept on the browser's session, which the sender's LinkedIn tab shows; left out by older builds, which leave what the session showed as it is.

Available options:
signed_out,
reopen_paused,
no_window,
chrome_stalled
held_back_for_seconds
integer | null

How long the browser has been stopped at held_back_by without a break, in whole seconds of wall time; read on /heartbeat/ only, with held_back_by. The session keeps the start of a gate that goes on, so only a new one reads it.

Required range: x >= 0
held_for_seconds
integer | null

How long this step's check-ins have been answered held without a break, in whole seconds of wall time: from the first of them, null after any other answer. Read on /heartbeat/ only, with running_for_seconds. A browser held for 15 minutes or more runs in bursts for good, and the step is taken back from it (running_claim lost).

Required range: x >= 0
member_urn
string | null

Who the browser is currently signed in as, for the mismatch guard.

Maximum string length: 128
running_action_id
string<uuid> | null

The step this browser is running right now, sent on the check-ins it makes while it runs; with running_claimed_at it keeps that step's claim from lapsing under a browser still working on it, including one waking from sleep. Null between steps.

running_claimed_at
string<date-time> | null

When the running step was claimed, as the claim handed it out.

running_for_seconds
integer | null

How long the browser has run since it last stood still (a gap of 5 s or more between its 1 s ticks), in whole seconds; read on /heartbeat/ only, with running_action_id. Under 10 the browser only just woke or runs in short bursts: the claim is neither renewed nor the browser counted seen, and running_claim answers held, so the step waits for the browser as for one asleep. Absent from older builds, whose check-ins renew as before.

Required range: x >= 0
running_phase
enum<string> | null

How far the running step got, from a build that resumes steps (resume:v1). Reported to the team for a step that never ends (read on /heartbeat/ only), and not kept: the commit grant, not the phase, says whether anything may have changed on LinkedIn.

Available options:
claimed,
navigated,
dispatched,
committing,
committed
running_ticks
AgentRunningTicksSchema · object | null

What the browser's 1 s ticks did since its last check-in about the running step; read on /heartbeat/ only, with running_action_id, and logged, never kept or acted on. Starved ticks read as few ticks and no stalls, a browser standing still between bursts as stalls.

running_wait
AgentRunningWaitSchema · object | null

What the running step is waiting on right now; read on /heartbeat/ only, and not kept. One wait past every ceiling (twice the longest a whole step can take) is one nothing will end: the step's claim is taken back, counted against the step as a lapse is, and running_claim answers lost. Reported to the team, as is a step that goes on after it was told its claim is gone.

sent_by
enum<string> | null

What sent a check-in about a running step: its interval timer, or a jump in the wall clock (the machine waking, or the worker blocked). Logged with running_ticks.

Available options:
timer,
wake
supported_kinds
string[] | null

The step kinds this build can run, and the capabilities it has beyond them (such as profile_view:read_relationship). Nothing is handed to a browser that it cannot run. Leave it out (an older build) and the browser runs the kinds that existed before builds said. Sent on every check-in: a check-in without it reads as such a build.

Maximum array length: 64
Required string length: 1 - 64
timezone
string | null

The browser's IANA timezone (Intl.DateTimeFormat().resolvedOptions().timeZone). It fills the sender's timezone when the sender has none: their daily limits reset at its midnight and sequences send in its hours. A timezone the sender has is never moved by it. Taken only from the browser driving the account.

Maximum string length: 64
unmetered_only
boolean
default:false

Hand out only a step that waits for no gap between steps (one the Oneprofile team fired to test the sender), or nothing: the ask a build makes inside its own gap when the check-in says one is waiting (unpaced_waiting). Older builds leave it out.

Response

Successful Response

action
LinkedInActionReadSchema · object | null
required

One LinkedIn step, in the shape the dashboard and every extension build read.

A step is queued only once it may run (its approval, when one was asked for, happened on Tasks before it was queued), so every step reads approved_at as the moment it was queued and requires_approval false: the extension's store builds draw "Approve tasks" from exactly these two fields, and no step in the line waits for a person. hold is kept for the same builds and is always null: whether a step is out of the line is held.

deferred_reason
string | null
required
earliest_next_action_at
string<date-time> | null
required
queued_count
integer
required
verification
AgentVerificationSchema · object | null

Set when the step handed out may already have touched LinkedIn (it stopped and was put back, or a press was granted to an earlier attempt): look on LinkedIn before acting, and a change already there is the step done. Only builds that resume steps (resume:v1) are handed such a step.