">
The Onboarding Buddy File Search API enables developers to perform AI-driven semantic searches for documents, images, and videos. Leveraging Retrieval-Augmented Generation (RAG), this API enhances onboarding, compliance, and data management workflows by quickly locating relevant files.
Sign Up for File Search APISearch files intelligently to streamline onboarding, ensure compliance, and optimize data workflows. The Onboarding Buddy API uses AI-powered semantic search and RAG to find files based on content, context, and metadata, making it ideal for KYC, user verification, and content management applications.
| Endpoint | Method | Purpose |
|---|---|---|
POST /file-service/search |
POST | Performs a semantic search for files based on a query and returns matching file metadata. |
POST /file-service/search/advanced |
POST | Performs an advanced semantic search with filters (e.g., file type, date) and returns matching file metadata. |
GET /file-service/search/{searchId} |
GET | Retrieves the results of a previous semantic search using the search ID. |
Use the POST /file-service/search endpoint to perform a semantic search for files. Include your API credentials in the headers for secure access.
curl -X POST https://api.onboardingbuddy.co/file-service/search \
-H "ob-app-key: your-app-key" \
-H "ob-api-key: your-api-key" \
-H "ob-api-secret: your-api-secret" \
-H "Content-Type: application/json" \
-d '{"query": "KYC documents for user verification"}'
Example Response:
{
"searchId": "search-12345",
"results": [
{
"fileId": "file-12346",
"fileName": "user_id_document.pdf",
"fileType": "document",
"metadata": {
"classification": "KYC document",
"uploadedAt": "2025-09-09T17:56:00Z",
"storagePath": "gs://onboarding-buddy-files/file-12346"
},
"relevanceScore": 0.95
},
{
"fileId": "file-12347",
"fileName": "verification_form.pdf",
"fileType": "document",
"metadata": {
"classification": "KYC document",
"uploadedAt": "2025-09-10T10:30:00Z",
"storagePath": "gs://onboarding-buddy-files/file-12347"
},
"relevanceScore": 0.90
}
]
}
Use the POST /file-service/search/advanced endpoint to perform a semantic search with filters (e.g., file type, date).
curl -X POST https://api.onboardingbuddy.co/file-service/search/advanced \
-H "ob-app-key: your-app-key" \
-H "ob-api-key: your-api-key" \
-H "ob-api-secret: your-api-secret" \
-H "Content-Type: application/json" \
-d '{"query": "KYC documents", "filters": {"fileType": "document", "uploadedAfter": "2025-09-01"}}'
Example Response:
{
"searchId": "search-12346",
"results": [
{
"fileId": "file-12346",
"fileName": "user_id_document.pdf",
"fileType": "document",
"metadata": {
"classification": "KYC document",
"uploadedAt": "2025-09-09T17:56:00Z",
"storagePath": "gs://onboarding-buddy-files/file-12346"
},
"relevanceScore": 0.95
}
]
}
Retrieve the results of a previous semantic search using the GET /file-service/search/{searchId} endpoint.
curl -X GET https://api.onboardingbuddy.co/file-service/search/search-12346 \
-H "ob-app-key: your-app-key" \
-H "ob-api-key: your-api-key" \
-H "ob-api-secret: your-api-secret"
Example Response:
{
"searchId": "search-12346",
"results": [
{
"fileId": "file-12346",
"fileName": "user_id_document.pdf",
"fileType": "document",
"metadata": {
"classification": "KYC document",
"uploadedAt": "2025-09-09T17:56:00Z",
"storagePath": "gs://onboarding-buddy-files/file-12346"
},
"relevanceScore": 0.95
}
]
}
The Onboarding Buddy File Search API is ideal for:
Get started with the Onboarding Buddy File Search API today. Sign up to obtain your API credentials, explore the full API documentation, or discover other use cases like file upload or email validation. For technical details, view all API endpoints.
Start Searching Files Now