Breathecode student api index

From breatheco-de/apiv2 · View interactive version

Breathecode student api index is an AI agent skill from the GitHub repository breatheco-de/apiv2. Load first for authenticated learner BreatheCode API work (user-scoped /me and user/me routes, public join/catalog where applicable). Maps requests to domain skills. Do NOT use for academy admin tasks requiring /academy/ or the Academy header — use breathecode-staff-api-index instead.

How to use this skill

Skill file

BreatheCode Student API Index

This skill is the entry point for learner-scoped BreatheCode API work. Its only job is to help you identify which domain skill(s) to load before taking any action. Do not attempt to call the API using only this skill — always load the relevant domain skill(s) first.

When to Use

Related index

If the task requires /academy/ routes, the Academy header, or staff capabilities, load CODE2 instead of this file.


Staff-first domains

These areas are primarily documented for academy staff in the staff index. If the user’s goal clearly belongs here, switch to CODE0: monitoring, marketing, talent development (/v1/talent/ academy paths).


Workflow

  1. Read the user's request.
  2. Identify the domain(s) from the table below.
  3. Load the corresponding skill(s) before proceeding.
  4. If the task spans multiple domains, load all relevant skills and check each one for cross-domain instructions before calling any endpoint.

Domain Map (learner scope)

| Domain | Covers (learner-facing) | Skill to Load |

|---|---|---|

| admissions | My cohorts, enrollment visibility, syllabus consumption as a student | bc-admissions-* |

| activity | My engagement, daily summaries, login streaks | bc-activity-* |

| assessment | My quizzes and attempts | bc-assessment-* |

| assignment | My tasks, submissions, final project, LearnPack telemetry ingestion | bc-assignment-*, CODE1 (for POST …/me/telemetry and related learner diagnostics) |

| authenticate | Login, token, hosted redirect, forgot/reset password, academy-scoped capabilities + academy-less permissions for the current user | bc-authenticate-*, CODE1 |

| career | Job listings and applications after graduation | bc-career-* |

| certificate | My issued certificates | bc-certificate-* |

| events | My workshops, RSVPs, check-ins, live class join; public events include optional event_group string (same string = same series) | bc-events-*, CODE2 (where it documents student-facing paths) |

| feedback | Surveys assigned to me, responses | bc-feedback-*, CODE1 |

| media | Media used in learning content | bc-media-* |

| mentorship | Book/join mentors via short links; my mentorship sessions | bc-mentorship-*, CODE1, CODE2 |

| notify | My notification hooks / subscriptions where exposed under user-scoped routes | bc-notify-* |

| payments | My plans, subscriptions, invoices, shop purchases | bc-payments-*, CODE1 |

| provisioning | My VPS, containers, or LiteLLM API keys / budget entitlement | bc-provisioning-*, CODE1, CODE2 |

| registry | Reading learning assets (lessons, exercises, projects) | bc-registry-* |


Common Cross-Domain Workflows (learner)

Some user requests touch multiple domains. Load ALL listed skills before proceeding.

| User Request | Skills to Load |

|---|---|

| Log in or connect a third-party app using hosted student auth (redirect + callback token) | CODE0 |

| Let a user reset a forgotten password | CODE0 (+ CODE1 to clear the revoked shared cookie) |

| Sign up a new user from a frontend form (account + plan/course, then log them in) | CODE0 + CODE1 (persist the returned access_token) |

| Keep a user logged in across 4Geeks subdomains (shared session cookie) | CODE0 + CODE1 (to obtain the token) |

| List, request, or deprovision my VPS | CODE0 + bc-authenticate-* (token) |

| List, create, or delete my LiteLLM API keys; check LLM budget entitlement or key spend | CODE0 + CODE1 |

| View or cancel my subscription (and optional refund flow when applicable) | CODE0 + bc-authenticate-* |

| See my events, join, check in, or live class | CODE0 + bc-authenticate-* (student-facing event paths) |

| Browse public workshops or register for a multi-day series | Public GET /v1/events/all (filter by time with ?start=&end= or ?ago=<ms>) / GET /v1/events/event/<slug> return event_group when applicable; learner POST /v1/events/me/event/<id>/checkin fans out PENDING to remaining sessions — use CODE7 for group concepts + bc-authenticate-* for /me/ |

| Send LearnPack / package telemetry as the current user | CODE0 + bc-authenticate-* |

| See my joined cohorts and progress (including self-paced never_ends) | CODE1 + bc-authenticate-* |

| Book or join a mentorship session | CODE0 + CODE1; on join credit failure also bc-payments-* |

| See my mentorship sessions | CODE0 (Path B — /user/me/session) + CODE2 |

Routing Rules

When only one domain is involved: Load the single matching skill and proceed.

When multiple domains are involved: Load all relevant skills, read each one fully, then identify any conflict or ordering constraint between them before calling any endpoint.

When no skill exists yet for the task: Fall back to the BreatheCode API documentation directly. Do not guess endpoint behavior — ask the user to confirm the correct endpoint or create a new skill for the use case.

When unsure which domain applies: Re-read the domain map above. If still ambiguous, ask the user to clarify before proceeding — do not assume.


API Conventions

Assume these conventions for all BreatheCode API endpoints unless a domain skill or endpoint docs say otherwise.

Pagination

Learner-scoped routing

Error responses

Language and translated errors


Checklist

  1. [ ] Confirmed the task is learner-scoped (not staff-only); otherwise switched to the staff index.
  2. [ ] Identified the domain(s) from the domain map.
  3. [ ] Loaded all relevant skill(s) before calling any endpoint.
  4. [ ] If cross-domain, checked the learner workflow table and loaded all required skills.
  5. [ ] If no skill exists for the task, flagged this to the user rather than guessing.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.