Guides

Small programs you can build on the Bike4Mind API in an afternoon. Every request on these pages was run against the live API on the date shown, and the responses are the real ones, trimmed.

You need an API key: in the Bike4Mind app, open your profile, then API Keys, then Create API Key. Each guide lists the scopes it needs. For every endpoint, see the API explorer.

  1. Build a code review assistant

    Pipe a git diff into the Bike4Mind completions API and get back structured findings, each with a severity, the file, and a suggested fix, that a script or CI job can act on.

    curl, TypeScript · GET /api/v1/models, POST /api/ai/v1/completions

    Run against the live API on

  2. Answer questions from your own docs (RAG)

    Embed a folder of Markdown docs with the Bike4Mind embeddings API, retrieve the closest sections for a question, and have a model answer only from them, with citations and a log of the questions your docs could not answer.

    Python, curl · POST /api/v1/embeddings, POST /api/ai/v1/completions

    Run against the live API on

  3. Plan a project with structured output

    Have a model break a project into tasks, each with an objective, checkable acceptance criteria, dependencies, and an estimate, as JSON you can sort and check, then save the plan as a Bike4Mind project.

    curl · POST /api/ai/v1/completions, POST /api/v1/projects, DELETE /api/v1/projects/{id}

    Run against the live API on