REST API Overview
The Interstitial REST API provides direct HTTP access to services and data.
Base URL
http://localhost:3001/api/v1Endpoints
Services
GET /services- List all available servicesGET /services/:id- Get service metadataGET /services/:id/health- Check service healthPOST /services/:id/mcp- MCP protocol endpoint
Sensors
GET /sensors- List sensorsGET /sensors/:id- Get sensor detailsPOST /sensors/:id/mcp- Sensor-specific MCP endpoint
Projects
GET /projects- List projects/feedsGET /projects/:id- Get project detailsPOST /projects/:id/mcp- Project-specific MCP endpoint
Authentication
All endpoints require an API key in the x-api-key header.
Response Format
All responses are JSON. Errors follow this format:
{
"error": "Error message",
"code": "ERROR_CODE"
}Rate Limits
Rate limits are applied per API key. Check response headers for limit information.