---
title: "Run Pipeline"
method: POST
path: "/api/linkedin/pipeline"
tags: ["LinkedIn Pipeline"]
---

# Run Pipeline

`POST /api/linkedin/pipeline`

## Request

- Base URL: `https://api.ruzora.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ruzora.com/api/linkedin/pipeline`
- Auth: HTTP bearer

Execute the complete LinkedIn automation pipeline.

Flow:
1. Search LinkedIn for candidates
2. Score all candidates (rule-based)
3. Save to database with overall_score
4. Filter by score >= 70
5. Send outreach messages (if enabled)

Args:
    request: Pipeline configuration

Returns:
    PipelineResponse with execution stats

Example:
    POST /api/linkedin/pipeline
    {
        "category": "devops",
        "limit": 25,
        "outreach_limit": 10,
        "dry_run": false
    }

## Request body

- PipelineRequest: Request model for pipeline execution
  - `category` string, required
  - `limit` integer
  - `outreach_limit` integer
  - `message_type` string
  - `template_id` string, nullable
  - `location` string, nullable
  - `dry_run` boolean
  - `skip_outreach` boolean

## Response `200`

Successful Response

- PipelineResponse: Response model for pipeline execution
  - `success` boolean, required
  - `searched` integer, required
  - `scored` integer, required
  - `saved` integer, required
  - `qualified` integer, required
  - `contacted` integer, required
  - `skipped` integer, required
  - `errors` string[], required
  - `dry_run` boolean, required

## Other responses

- `422`: Validation Error

---

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