Get your chatbot output trusted now!

Accurix

Accurix Validation API

API endpoint for validating queries and responses

Base URL

https://accurix.ai

Authentication

All requests require an API key passed in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Endpoints

Health Check

GET/webhook/validate

Check if the API service is running and database is connected.

Example cURL:

curl --location 'https://accurix.ai/webhook/validate'

Validate Query/Response

POST/webhook/validate

Validate a query and response against a project's knowledge base.

Headers:

Content-Type: application/json

Authorization: Bearer YOUR_API_KEY

Request Body:

{
  "project_id": "6958ffae6197f667bc408e17",
  "query": "when is Golden Age",
  "response": "Hi there",
  "share_citations": false,
  "share_highlighted_response": true
}

Error Responses

401

Unauthorized

Missing or invalid API key

403

Forbidden

API key is inactive or expired

400

Bad Request

Missing required fields or invalid format

404

Not Found

Project doesn't exist or access denied

500

Internal Server Error

Validation processing failed

503

Service Unavailable

Database connection failed

Rate Limiting

Rate limits apply per API key. Contact support if you need higher limits.

Getting Started

1

Obtain an API Key

Contact the Accurix team or generate one from your dashboard

2

Create a Project

Set up a project with an associated knowledge base

3

Make Your First Request

Use the example above with your API key and project ID