---
title: "Content internal links"
method: POST
path: "/content/internal-links"
---

# Content internal links

`POST /content/internal-links`

## Request

- Base URL: `https://www.agentseo.dev/api/v1`
- URL: `https://www.agentseo.dev/api/v1/content/internal-links`
- Auth: API key in header `x-api-key`

Find internal link opportunities from a source URL or markdown page to supplied target pages. Costs 2 credits.

## Query parameters

- `sync` boolean

## Headers

- `x-project-id` string
- `x-workflow-id` string

## Request body

- ContentInternalLinksParams
  - `source_url` string, uri: Source page URL to scrape. Either source_url or source_markdown is required.
  - `source_markdown` string: Source page markdown when a URL is not available.
  - `keyword` string: Optional source page target keyword for anchor review.
  - `target` string: Optional target brand, domain, or product.
  - `max_suggestions` integer
  - `target_pages` object[], required
    - `url` string, uri, required
    - `title` string, required
    - `description` string
    - `keywords` string[]

## Response `200`

Completed content internal links workflow with agent_workflow

- ContentInternalLinksResponse
  - `source` object
  - `internal_links` object
  - `agent_workflow` AgentWorkflow
    - `summary` string
    - `decision` 'ready' | 'act_now' | 'monitor' | 'blocker'
    - `confidence` number
    - `recommended_actions` AgentWorkflowAction[]
      - `priority` 'critical' | 'high' | 'medium' | 'low'
      - `action` string
      - `why` string
    - `evidence` AgentWorkflowEvidence[]
      - `finding` string
      - `detail` string
      - `severity` 'critical' | 'high' | 'medium' | 'low'
    - `limitations` string[]
    - `next_calls` AgentWorkflowNextCall[]
      - `endpoint` string
      - `reason` string
  - `markdown_summary` string

## Other responses

- `202`: Job queued or still processing

---

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