API Reference
Complete documentation for the X1 API
Authentication
Error Handling
Scene Management
Physical Analysis
Real-time Streaming
AUTH
Authorization: Bearer <api_key>
API Keys
Authenticate requests using your API key
Example Request
curl -X POST https://api.xyzai.com/v1/scenes \
-H "Authorization: Bearer xyz_key_123..." \
-H "Content-Type: application/json" \
-d '{"dimensions": [10, 10, 3]}'
Example Response
// Successful response
{
"scene_id": "sc_123xyz"
}
// Invalid API key
{
"error": {
"code": "unauthorized",
"message": "Invalid API key provided"
}
}