Record CLI usage telemetry

Records tenant-scoped, opt-in CLI invocation telemetry: one event, or an array of up to 50 events the CLI spooled locally (one invalid event rejects the batch). The CLI sends this asynchronously and does not depend on its success. Fields this API does not recognize are ignored rather than rejected, so a newer CLI never loses its event.

post/api/v1/data/cli-usage

Request

  • Base URL
    https://moda.dev
  • Auth
    API key in header x-api-key

Request body

OR

Response

Telemetry accepted.

acceptedtrue required
countinteger

Events stored, for a batch.

Changes

No recorded changes to this operation across all 1 revision of this API.