KLIQ|Developers

KLIQ AI Developer Docs

Computer vision APIs for retail shelf monitoring, building inspection, and field data collection. Submit a photo, get structured results.

Quick Start

import { KliqClient } from '@kliq-ai/sdk';

const kliq = new KliqClient({ apiKey: process.env.KLIQ_API_KEY! });
const tenant = kliq.forTenant('your-tenant-id');

// Submit a shelf photo
const obs = await tenant.observations.create({
  locationId: 'loc_abc123',
  imageUrl: 'https://your-bucket.com/shelf.jpg',
});

// Run computer vision
const job = await tenant.cv.start({ observationId: obs.id });
const result = await tenant.cv.waitForCompletion(job.id);

console.log(result.detections);
// [{ objectName: "Coca-Cola 330ml", confidence: 0.97, facings: 4 }, ...]