---
title: "List past searches"
method: GET
path: "/linkedin/searches"
tags: ["LinkedIn — Searches"]
---

# List past searches

`GET /linkedin/searches`

## Request

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

Audit log of historical searches run by this tenant, newest first.

## Query parameters

- `limit` integer

## Response `200`

- object
  - `searches` 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

---

[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)
