You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See [MCP Streamable HTTP Specification](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports) for protocol details.
374
374
375
+
## REST API
376
+
377
+
When running in HTTP transport mode, the server also exposes a RESTful HTTP API for vCon operations, designed for programmatic integration with external systems.
378
+
379
+
### Endpoints
380
+
381
+
| Method | Endpoint | Description |
382
+
|--------|----------|-------------|
383
+
|`GET`|`/api/v1/health`| Health check (no auth required) |
384
+
|`POST`|`/api/v1/vcons`| Create/ingest a single vCon |
385
+
|`POST`|`/api/v1/vcons/batch`| Batch ingest up to 100 vCons |
386
+
|`GET`|`/api/v1/vcons`| List recent vCons |
387
+
|`GET`|`/api/v1/vcons/:uuid`| Get a vCon by UUID |
388
+
|`DELETE`|`/api/v1/vcons/:uuid`| Delete a vCon |
389
+
390
+
### Configuration
391
+
392
+
```bash
393
+
# REST API settings (optional - defaults work for most cases)
394
+
REST_API_BASE_PATH=/api/v1 # Base path for endpoints
395
+
REST_API_ENABLED=true # Enable/disable REST API
396
+
397
+
# API Key Authentication
398
+
VCON_API_KEYS=key1,key2 # Comma-separated valid API keys
399
+
API_AUTH_REQUIRED=true # Set to false to disable auth
0 commit comments