Consuming Endpoints From Client Code

Wire a Flind endpoint into a client app or SDK. Covers fetching the OpenAPI spec, generating a typed client with openapi-generator or @hey-api/openapi-ts, sending the right auth header, shaping the variables payload (HogQL code_name vs insight breakdown property), handling rate-limit and materialised-endpoint error responses. Use when the user says "how do I call my endpoint", "generate a client for this", or "what auth header do I use".

TheHalfMoon Updated

File contents

TheHalfMoon/Flind commit 3e7f2614af

Frequently asked questions

npx get-skill add thehalfmoon/consuming-endpoints-from-client-code