Run a historical search
https://myagentmail.com/linkedin/searchesSynchronous keyword search across the past 24 hours, week, or month. Returns the full hit list inline. Use this for one-shot lookups; for continuous monitoring use POST /v1/linkedin/signals.
Request body
Content-Type: application/json
sessionIdstring | Omit or send null to auto-distribute. Pass a session id to pin. |
queryrequired string | |
lookback"past-24h" | "past-week" | "past-month" | enum: "past-24h" | "past-week" | "past-month" default: "past-week" |
minIntent"low" | "medium" | "high" | Filter results below this intent level. Omit for unfiltered. enum: "low" | "medium" | "high" |
intentDescriptionrequired string | Plain-English firing rule the LLM classifier treats as the authoritative definition of what should fire (same semantics as on signals). The keyword is a coarse pre-filter; this rule decides engage and the cited reason on every result. |
limitinteger | default: 50 |
Responses
searchobject | |
idrequired string | |
sessionIdstring | The LinkedIn session that actually ran the search (the router's pick when the caller didn't pin). |
queryrequired string | |
lookbackrequired "past-24h" | "past-week" | "past-month" | enum: "past-24h" | "past-week" | "past-month" |
minIntent"low" | "medium" | "high" | enum: "low" | "medium" | "high" |
intentDescriptionrequired string | Plain-English firing rule used by the classifier (same semantics as on signals). |
resultCountrequired integer | |
tookMsinteger | |
errorCodestring | Set on partial failure (e.g. LINKEDIN_RATE_LIMITED). Search row is still persisted. |
errorMessagestring | |
createdAtrequired string | format: date-time |
resultsobject[] | |
postUrlstring | |
postExcerptstring | |
postedAtstring | format: date-time |
authorobject | |
namestring | |
profileUrlstring | |
headlinestring | |
rolestring | |
companystring | |
classificationobject | |
engageboolean | |
intent"low" | "medium" | "high" | enum: "low" | "medium" | "high" |
reasonstring | |
triageScoreinteger | |
rankinteger | Original position in LinkedIn's ranked result list (0 = top). |
Authentication
Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.