> For the complete documentation index, see [llms.txt](https://lern.sunbird.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lern.sunbird.org/use/developer-guide/lms-service/architecture/code-flow.md).

# Code Flow

The below diagram represents the code flow of **LMS** service.

<figure><img src="/files/AnJnESOxlqV1eBsIu14d" alt=""><figcaption><p>code flow</p></figcaption></figure>

<div data-full-width="true"><figure><img src="/files/hGOaeLbC5JSO6DcWr7Sl" alt=""><figcaption><p>LMS Service Code Flow</p></figcaption></figure></div>

{% embed url="<https://youtu.be/Vh7DSJhsHFw?list=PLUrm4D0K_7nxlaZZYirokpx5Mo-jMd64M&t=163>" %}
LMS service Highlevel Architecture
{% endembed %}

### Repository

#### LMS service

{% embed url="<https://github.com/Sunbird-Lern/lms-service>" %}
LMS Service
{% endembed %}

LMS Service APIs

{% embed url="<https://lern.sunbird.org/learn/product-and-developer-guide/lms-service/apis>" %}
LMS Service APIs
{% endembed %}

#### Flink Jobs

{% embed url="<https://github.com/Sunbird-Lern/data-pipeline/tree/master/lms-jobs>" %}
LMS data-pipeline
{% endembed %}

{% embed url="<https://lern.sunbird.org/learn/product-and-developer-guide/lms-service/lms-flink-jobs>" %}
LMS Flink Jobs
{% endembed %}

#### Reports

{% embed url="<https://github.com/Sunbird-Lern/data-products/tree/master/lern-data-products/src/main/scala/org/sunbird/lms>" %}
LMS data-product
{% endembed %}

{% embed url="<https://lern.sunbird.org/learn/product-and-developer-guide/lms-service/reports>" %}
LMS Reports
{% endembed %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://lern.sunbird.org/use/developer-guide/lms-service/architecture/code-flow.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
