> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.aventure.vc/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.aventure.vc/_mcp/server.

# Review news duplicate gates

POST https://api.aventure.vc/v1/news/duplicate-check
Content-Type: application/json

USE FOR: Deterministic duplicate-check identity gates before create or update. An empty page is not proof no article exists; when create returns 409, use that ProblemDetail.details.newsCandidate as the authoritative create decision surface. NOT FOR: General news/article browsing and list/search discovery flows.

Reference: https://docs.aventure.vc/api-reference/a-venture-api/news-v-1/duplicate-check-news-post

## Authentication

- `X-Client-Secret` header (required) — Client secret for read-only service-to-service access (no writes)

## Request

### Query parameters

- `page` (integer, optional) — Zero-based page index (0..N)
- `size` (integer, optional) — The size of the page to be returned; duplicate-check default 10, maximum 100.
- `sort` (list of string, optional) — Sorting is not supported

### Body (application/json)

- `excludeId` (string or integer, optional, nullable) — Exclude news id
- `externalId` (string, optional, nullable) — External identifier
- `publication` (string, optional, nullable) — Publication name
- `qwen4bFp16Embedding` (list of float, optional, nullable) — Embedding vector pinned to qwen-4b-fp16 (Qwen3-Embedding-4B-f16.gguf) from https://huggingface.co/Qwen/Qwen3-Embedding-4B-GGUF?show_file_info=Qwen3-Embedding-4B-f16.gguf; only this fp16 model is accepted and exactly 2560 floats are required
- `search` (string, optional, nullable) — Full-text search query
- `slug` (string, optional, nullable) — URL-safe identifier
- `title` (string, optional, nullable) — Article title
- `url` (string, optional, nullable) — Article URL
- `urlDomain` (string, optional, nullable) — URL domain match
- `urlMatchMode` (enum, optional, nullable) — URL match mode
  - Allowed values: `hostPath`, `domain`

## Response

### 200

OK

- `content` (list of object, optional)
  - `core` (object, required) — Canonical news owner for list and core semantics
    - `id` (integer, required) — Type-safe identifier for news articles
    - `title` (string, required) — Article headline; the headline field is title
    - `author` (string, optional, nullable)
    - `category` (string, optional, nullable)
    - `createdAt` (datetime, optional, nullable)
    - `excerpt` (string, optional, nullable) — Article summary from the source publication feed; null means the feed supplied no description (expected absence, not an error) — full text is NewsDetail.content
    - `externalNewsArticle` (boolean, optional, nullable)
    - `newsImageThumbnail` (string, optional, nullable)
    - `newsUrlOriginal` (string, optional, nullable)
    - `pendingApproval` (integer, optional, nullable)
    - `publication` (string, optional, nullable)
    - `publishedAt` (datetime, optional, nullable)
    - `slug` (string, optional, nullable) — Canonical lowercase URL slug for the resource
    - `updatedAt` (datetime, optional, nullable)
  - `entityMentionResolved` (list of object, required) — Resolved entity mentions — read-only display projections. News mutations attach entities only via flat entityJoinId values, never these nested objects.
    - `createdAt` (datetime, required)
    - `entityId` (string, required) — Canonical entity UUID
    - `internal` (boolean, required)
    - `updatedAt` (datetime, required)
    - `href` (string, optional, nullable)
    - `matchScore` (double, optional, nullable)
    - `matchType` (string, optional, nullable)
    - `mention` (string, optional, nullable)
    - `slug` (string, optional, nullable) — Canonical lowercase URL slug for the resource
    - `typeRecord` (enum, optional, nullable) — Canonical entity classification for the organization, product, and service records stored in the entity domain.
      - Allowed values: `Company`, `Investment Firm`, `Fund`, `Nonprofit`, `Government`, `Organization`, `Business Line`, `Product`, `Service`
  - `personMentionResolved` (list of object, required) — Resolved person mentions — read-only display projections. News mutations attach people only via flat personId/personSlug values, never these nested objects.
    - `createdAt` (datetime, required)
    - `personId` (string, required) — Canonical person UUID
    - `updatedAt` (datetime, required)
    - `href` (string, optional, nullable)
    - `matchScore` (double, optional, nullable)
    - `matchType` (string, optional, nullable)
    - `mention` (string, optional, nullable)
    - `slug` (string, optional, nullable) — Canonical lowercase URL slug for the resource
  - `content` (string, optional, nullable)
  - `externalId` (string, optional, nullable)
  - `linkedContent` (string, optional, nullable)
- `empty` (boolean, optional)
- `first` (boolean, optional)
- `last` (boolean, optional)
- `number` (integer, optional)
- `numberOfElements` (integer, optional)
- `pageable` (object, optional)
  - `offset` (long, optional)
  - `pageNumber` (integer, optional)
  - `pageSize` (integer, optional)
  - `paged` (boolean, optional)
  - `sort` (object, optional)
    - `empty` (boolean, optional)
    - `sorted` (boolean, optional)
    - `unsorted` (boolean, optional)
  - `unpaged` (boolean, optional)
- `size` (integer, optional)
- `sort` (object, optional)
  - `empty` (boolean, optional)
  - `sorted` (boolean, optional)
  - `unsorted` (boolean, optional)
- `totalElements` (long, optional)
- `totalPages` (integer, optional)

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "content": [
    {
      "core": {
        "id": 1,
        "title": "string",
        "author": "string",
        "category": "string",
        "createdAt": "2024-01-15T09:30:00Z",
        "excerpt": "string",
        "externalNewsArticle": true,
        "newsImageThumbnail": "string",
        "newsUrlOriginal": "string",
        "pendingApproval": 1,
        "publication": "string",
        "publishedAt": "2024-01-15T09:30:00Z",
        "slug": "aventure-vc",
        "updatedAt": "2024-01-15T09:30:00Z"
      },
      "entityMentionResolved": [
        {
          "createdAt": "2024-01-15T09:30:00Z",
          "entityId": "string",
          "internal": true,
          "updatedAt": "2024-01-15T09:30:00Z",
          "href": "string",
          "matchScore": 1.1,
          "matchType": "string",
          "mention": "string",
          "slug": "aventure-vc",
          "typeRecord": "Company"
        }
      ],
      "personMentionResolved": [
        {
          "createdAt": "2024-01-15T09:30:00Z",
          "personId": "string",
          "updatedAt": "2024-01-15T09:30:00Z",
          "href": "string",
          "matchScore": 1.1,
          "matchType": "string",
          "mention": "string",
          "slug": "aventure-vc"
        }
      ],
      "content": "string",
      "externalId": "string",
      "linkedContent": "string"
    }
  ],
  "empty": true,
  "first": true,
  "last": true,
  "number": 1,
  "numberOfElements": 1,
  "pageable": {
    "offset": 1,
    "pageNumber": 1,
    "pageSize": 1,
    "paged": true,
    "sort": {
      "empty": true,
      "sorted": true,
      "unsorted": true
    },
    "unpaged": true
  },
  "size": 1,
  "sort": {
    "empty": true,
    "sorted": true,
    "unsorted": true
  },
  "totalElements": 1,
  "totalPages": 1
}
```

**SDK Code**

```python
import requests

url = "https://api.aventure.vc/v1/news/duplicate-check"

querystring = {"page":"0","size":"10"}

payload = {}
headers = {
    "X-Client-Secret": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers, params=querystring)

print(response.json())
```

```javascript
const url = 'https://api.aventure.vc/v1/news/duplicate-check?page=0&size=10';
const options = {
  method: 'POST',
  headers: {'X-Client-Secret': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.aventure.vc/v1/news/duplicate-check?page=0&size=10"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("X-Client-Secret", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.aventure.vc/v1/news/duplicate-check?page=0&size=10")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-Client-Secret"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.aventure.vc/v1/news/duplicate-check?page=0&size=10")
  .header("X-Client-Secret", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.aventure.vc/v1/news/duplicate-check?page=0&size=10', [
  'body' => '{}',
  'headers' => [
    'Content-Type' => 'application/json',
    'X-Client-Secret' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.aventure.vc/v1/news/duplicate-check?page=0&size=10");
var request = new RestRequest(Method.POST);
request.AddHeader("X-Client-Secret", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "X-Client-Secret": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.aventure.vc/v1/news/duplicate-check?page=0&size=10")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```