Skip to main content

Authentication

All write operations require an API token passed in the X-QSC-Token request header.

X-QSC-Token: <your-token>

Token Types​

QSC uses three tokens. They share the same header name — pick the one that matches the endpoint group:

TokenUsed forSourceRequired permission
Admin tokenSchema updates (/api/v1/searchapp/*)QSC Admin → Security → API TokensWRITE on the tenant
Feeding tokenData operations and scheduling (/api/v1/data/*, /api/v1/job/*)QSC Admin → Security → API TokensWRITE on the tenant
Agent tokenAgent Chat (/api/v1/agent/chat/*)Agent-server AUTH_TOKEN—

Search endpoints (/api/v1/search/*) require no authentication.

The agent token is separate from the per-tenant admin and feeding tokens. Details for chat calls are on the Chat API page.

Where to Find Your Tokens​

Admin and feeding tokens are managed in the QSC Admin UI under Security → API Tokens.

The agent token is the agent-server AUTH_TOKEN.

Examples​

Admin token (schema)

curl -X PUT https://qsc.quasiris.de/api/v1/searchapp/schema/demo/trendware \
-H "Content-Type: application/json" \
-H "X-QSC-Token: <your-admin-token>" \
-d '{...}'

Feeding token (data)

PUT /api/v1/data/bulk/qsc/demo/trendware
X-QSC-Token: <your-feeding-token>
Content-Type: application/json

Agent token (chat)

POST /api/v1/agent/chat/demo/support-bot
X-QSC-Token: <your-agent-token>
Content-Type: application/json

Status Codes​

CodeDescription
401Missing or invalid token
403Token does not have the required permission on the tenant