---
title: "Fetch a past search + its results"
method: GET
path: "/linkedin/searches/{id}"
tags: ["LinkedIn — Searches"]
---

# Fetch a past search + its results

`GET /linkedin/searches/{id}`

## Request

- Base URL: `https://anjal.app`
- URL: `https://anjal.app/linkedin/searches/{id}`
- Auth: API key in header `X-API-Key`

Re-open a persisted search without spending another LinkedIn quota.

## Path parameters

- `id` string, required

## Response `200`

- object
  - `search` LinkedInSearch
    - `id` string, required
    - `sessionId` string, nullable: The LinkedIn session that actually ran the search (the router's pick when the caller didn't pin).
    - `query` string, required
    - `lookback` 'past-24h' | 'past-week' | 'past-month', required
    - `minIntent` 'low' | 'medium' | 'high', nullable
    - `intentDescription` string, required: Plain-English firing rule used by the classifier (same semantics as on signals).
    - `resultCount` integer, required
    - `tookMs` integer, nullable
    - `errorCode` string, nullable: Set on partial failure (e.g. LINKEDIN_RATE_LIMITED). Search row is still persisted.
    - `errorMessage` string, nullable
    - `createdAt` string, date-time, required
  - `results` LinkedInSearchResult[]
    - `postUrl` string
    - `postExcerpt` string
    - `postedAt` string, date-time, nullable
    - `author` object
      - `name` string
      - `profileUrl` string
      - `headline` string, nullable
      - `role` string, nullable
      - `company` string, nullable
    - `classification` object
      - `engage` boolean
      - `intent` 'low' | 'medium' | 'high'
      - `reason` string
    - `triageScore` integer, nullable
    - `rank` integer: Original position in LinkedIn's ranked result list (0 = top).

## Other responses

- `404`: Not found.

---

[API](https://skmtc.dev/anjal/apis/anjal-api.md) · [All operations](https://skmtc.dev/anjal/apis/anjal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anjal/apis/anjal-api/revisions/a4044778e294?raw)
