POST /search-federator/upload-source to register the repositoryPOST /search-federator/upload-products calls to keep the index currentNote — Write access (Upload Source, Upload Products permissions) is required to contribute content. Querying the federated index is available to any authenticated client regardless of whether they have contributed content.
POST /classify endpoint is a standalone service. Calling it returns classification results — taxonomy tags, confidence scores, and AI-generated reasoning — directly to the caller and does not automatically push results to the GGKP federated index or modify any shared data.Integration pattern — If you want to classify content and contribute it to the federated index, the recommended workflow is: 1.Submit the PDF to POST /classifyto obtain taxonomy tags2.Use the returned tags as classification metadata 3.Submit POST /search-federator/upload-productswith those tags includedThe two steps are independent and can be orchestrated by your own system.
| Field | Required | Description |
|---|---|---|
title | Yes | Human-readable title of the document |
url | Yes | Canonical URL pointing to the document or landing page |
description | No | Abstract or descriptive text; improves search relevance significantly |
tags | No | Array of taxonomy term strings; drives classification-based filtering |
image | No | URL to a cover or thumbnail image; empty string if unavailable |
POST /upload-products endpoint accepts metadata fields — not a PDF binary. Full document text is not directly indexed via product upload.POST /classify does accept a PDF binary, extracts its full text, and returns taxonomy classifications based on that content. The recommended workflow when you want document content to inform indexing is:POST /classify → receive taxonomy tags from PDF analysis
POST /upload-products → submit product record with those tags as metadata