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".
Pinned to revision 6d1ad55caa27, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/croct-use-api/SKILL.md
- skills/croct-use-api/references/authentication.md
- skills/croct-use-api/references/content-api.md
- skills/croct-use-api/references/data-export-api.md
- skills/croct-use-api/references/errors.md
- skills/croct-use-api/references/evaluation-api.md
- skills/croct-use-api/references/event-tracking-api.md
Every link opens the file at its source, pinned to the revision this page describes.