grid_view

Swiss System Control Plane

SYSTEM ONLINE
ADMINexpand_more
Control Planechevron_rightIntegration Guide v2.4.0
01

API Authentication

All requests to the Swiss System Control Plane must be authenticated via the X-API-Key header. Unauthorized requests will return a 401 Static Failure.

Header Key
X-API-Key
Value Format
UUIDv4 (e.g., 550e8400-e29b-41d4-a716-446655440000)
02

File Upload

Upload files directly via multipart/form-data. The system creates ingestion jobs automatically and returns job IDs for tracking.

POST/api/v1/upload

Request Body (multipart/form-data)

FieldTypeRequiredDescription
filesFile[]YesFiles to upload (can be multiple)
prioritystringNolow, normal (default), or high
pipeline_idstringNoPipeline configuration UUID
metadatastring (JSON)NoCustom metadata as JSON string
cURL Example
curl -X POST "http://localhost:8000/api/v1/upload" \
  -H "X-API-Key: your-api-key" \
  -F "files=@document.pdf" \
  -F "files=@image.png" \
  -F "priority=high" \
  -F 'metadata={"department":"finance"}'
04

Endpoint Mapping

Use the following mapping to connect your UI controllers to the appropriate Antigravity REST resources.

UI Module / ComponentMethodResource Endpoint
List JobsGET/api/v1/jobs
Create JobPOST/api/v1/jobs
Upload FilesPOST/api/v1/upload
Ingest from URLPOST/api/v1/upload/url
RAG CalibrationPOST/api/v1/search/hybrid
Vector InspectorGET/api/v1/jobs/{id}/chunks
Pipeline ConfigPOST/api/v1/pipelines
05

Real-time Updates

The System Live status indicator uses a hybrid polling mechanism. For high-frequency telemetry, establish a WebSocket connection to the stream endpoint.

sensors

Polling Interval

Recommended 5000ms jitter-controlled polling for heartbeat verification.

sync_alt

WebSocket Stream

wss://api.antigravity.sys/v1/telemetry/live

03

Code Snippet

Typescript / Fetch
async function performHybridSearch(query: string) {const response = await fetch('https://api.antigravity.sys/v1/search/hybrid', { method: 'POST', headers: {'Content-Type': 'application/json','X-API-Key': '550e8400-e29b-41d4-a716-446655440000'}, body: JSON.stringify({ query: query, alpha: 0.5, limit: 10, filters: { status: 'active'} }) });if (!response.ok) {throw new Error('ANTIGRAVITY_SYNC_ERR'); }return await response.json(); }

Technical Flow Diagram

desktop_windowsUI Control
JSON Payloadarrow_right_alt
hubAntigravity Gateway
Auth Verified
Request Stream
warning

Rate Limiting Alert

Production keys are restricted to 500 requests/sec. Contact Swiss System OPS for high-throughput clearance or to request a dedicated pipeline instance.