POST /v2/sessions/collaborative
POST /v2/analysis/pattern-recognition
POST /v2/dowsing/batch
GET /v2/sessions/templates
POST /v2/sessions/{id}/merge
{
"session_id": "sess_123456789",
"status": "completed",
"confidence_score": 0.92,
"statistical_validation": {
"p_value": 0.001,
"confidence_interval": [0.88, 0.96],
"sample_size": 150
},
"collaborative_insights": [
{
"analyst_id": "analyst_456",
"contribution_weight": 0.35,
"key_insights": ["urban environment", "water proximity"]
}
]
}
mindpeeker sessions collaborative create --template missing_person
mindpeeker sessions collaborative invite --analyst analyst_456 --role lead
mindpeeker dowsing batch --file queries.json --parallel 5
mindpeeker analysis patterns --session-ids sess_1,sess_2,sess_3
GET /v2/analytics/dashboard
POST /v2/reports/generate
GET /v2/webhooks/events/replay
POST /v2/mobile/sessions/create
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid session parameters",
"details": {
"field": "duration_minutes",
"issue": "Value must be between 5 and 180",
"suggested_value": 30
},
"request_id": "req_123456789",
"help_url": "https://docs.mindpeeker.com/errors/validation"
}
}
// New testing utilities
import { MindPeekerTestClient } from '@mindpeeker/testing';
const testClient = new MindPeekerTestClient({
mockResponses: true,
latencySimulation: true,
errorSimulation: true
});
// Test with simulated network conditions
await testClient.simulateLatency(1000); // 1 second delay
await testClient.simulateError('rate_limit', 0.1); // 10% error rate
mindpeeker config set debug true
mindpeeker sessions create --debug --target "Test session"
GET /v2/history/patterns
POST /v2/history/similarity-search
GET /v2/enterprise/organizations
POST /v2/dowsing/heatmap
GET /v2/dowsing/temporal-analysis
{
"data": [...],
"pagination": {
"page": 1,
"per_page": 20,
"total": 156,
"total_pages": 8,
"has_next": true,
"has_prev": false,
"next_cursor": "eyJpZCI6IjEyMyJ9"
}
}
project:
name: "my-psychic-app"
version: "1.0.0"
environments:
development:
api_key: "${MINDPEEKER_DEV_API_KEY}"
api_url: "https://dev-api.mindpeeker.com/v2"
production:
api_key: "${MINDPEEKER_PROD_API_KEY}"
api_url: "https://api.mindpeeker.com/v2"
retry_attempts: 3
timeout: 30000
features:
webhooks: true
analytics: true
historical_analysis: true
mindpeeker env use development
mindpeeker env use production
mindpeeker sessions create --env development
// Real-time session updates
const ws = new WebSocket('wss://api.mindpeeker.com/v2/sessions/ws');
ws.onmessage = (event) => {
const data = JSON.parse(event.data);
switch (data.type) {
case 'session.progress':
updateProgressBar(data.progress);
break;
case 'session.completed':
displayResults(data.results);
break;
case 'session.error':
handleError(data.error);
break;
}
};
GET /v2/sessions?status=completed&confidence_score>0.8&created_after=2024-07-01&analyst_id=analyst_456
mindpeeker mobile init --platform react-native
mindpeeker mobile build --platform ios
mindpeeker mobile test --platform android
mindpeeker mobile test-device --device-id iPhone-12
mindpeeker profile --endpoint sessions/create --iterations 100
mindpeeker profile memory --duration 300
POST /v1/sessions
GET /v1/sessions/:id
POST /v2/sessions/create
GET /v2/sessions/{id}
POST /v2/sessions/{id}/results
// Old authentication (deprecated)
const client = new MindPeekerClient('api_key_here');
// New authentication
const client = new MindPeekerClient({
apiKey: 'api_key_here',
apiVersion: 'v2',
environment: 'production'
});
mindpeeker migrate --from-version 1.0 --to-version 2.0
mindpeeker migrate validate
import { MigrationAssistant } from '@mindpeeker/migration';
const assistant = new MigrationAssistant({
fromVersion: '1.0',
toVersion: '2.0',
autoFix: true
});
// Migrate code automatically
const migratedCode = await assistant.migrateFile('./src/sessions.js');
mindpeeker compatibility check --version 2.0
mindpeeker compatibility recommendations
POST /v1/dowsing/multi-point
POST /v1/dowsing/energy-map
POST /v1/dowsing/depth-analysis
POST /v1/dowsing/material-identification
{
"query_id": "dowse_123456789",
"result": {
"locations": [
{
"coordinates": { "lat": 40.7128, "lng": -74.0060 },
"confidence": 0.92,
"confidence_interval": [0.88, 0.96],
"energy_signature": "high_positive",
"depth_meters": 15.5,
"material_composition": ["iron", "copper", "quartz"]
}
],
"statistical_significance": {
"p_value": 0.001,
"effect_size": 0.85,
"sample_size": 50
}
}
}
POST /v1/webhooks
GET /v1/webhooks
PUT /v1/webhooks/{id}
DELETE /v1/webhooks/{id}
POST /v1/webhooks/{id}/test
POST /v1/batch/sessions
POST /v1/batch/analysis
GET /v1/batch/{batch_id}/status
GET /v1/batch/{batch_id}/results
mindpeeker webhooks create --url https://example.com/webhook
mindpeeker webhooks list
mindpeeker webhooks test webhook_123
mindpeeker batch create --file sessions.json
mindpeeker batch status batch_456
GET /v1/history/search
GET /v1/history/similar
GET /v1/history/analytics
GET /v1/history/trends
POST /v1/analysis/submit
GET /v1/analysis/{id}/results
POST /v1/analysis/batch
GET /v1/analytics/performance
POST /v1/dowsing/query
POST /v1/dowsing/chart-analysis
POST /v1/dowsing/location-finding
POST /v1/dowsing/energy-detection
npm install -g @mindpeeker/cli
mindpeeker auth login
mindpeeker sessions create
mindpeeker dowsing query
POST /v1/sessions
GET /v1/sessions/{id}
GET /v1/sessions/{id}/results
GET /v1/sessions