Skip to content

croct-tech/croct

v1.0.0MIT

Agent skills for building with Croct: SDK integration, CLI, content modeling, CQL audiences, event tracking, personalization, and A/B testing.

croct-use-api

Use when calling Croct's HTTP APIs directly instead of an SDK: from a backend, edge function, serverless handler, script, data pipeline, or custom client. Covers the Content API (/client/web/content, /external/web/content, static-content), Evaluation API (/client/web/evaluate, /external/web/evaluate), Event Tracking API (/client/web/track), and Data Export API (/export/events, /export/session, /export/user, @croct/export, croct-export-client). Triggers: api.croct.io; headers X-App-Id, X-Api-Key, X-Client-Id, X-Token, X-Client-Ip, X-Suspension-Reason; API key permissions; signed user tokens; trusted origins and CORS errors; nextCursor pagination; 202 Accepted with no body; Problem Details errors under croct.help/api/ like missing-client-id, forbidden-origin, unsigned-token, invalid-query, invalid-payload; "fetch Croct content with curl", "export Croct events to a warehouse", "evaluate CQL from my server".

Read SKILL.md at the source

Pinned to revision 6d1ad55caa27, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.