Skip to Content

KPIs API

API for managing KPIs resources.

Fields

interface KPIs { name: string; goals?: any; }

API Endpoints

GET /api/kpis

Retrieves a list of KPIs with pagination.

Query Parameters

  • limit: Maximum number of items to return (default: 10)
  • page: Page number for pagination (default: 1)
  • sort: Field to sort by (default: createdAt)
  • where: JSON query for filtering results

GET /api/kpis/:id

Retrieves a single KPIs by ID.

POST /api/kpis

Creates a new KPIs.

PATCH /api/kpis/:id

Updates an existing KPIs.

DELETE /api/kpis/:id

Deletes a KPIs.

Last updated on