# Hello World

#### "Hello World" endpoint

The most simple endpoint that can be created with Diagram is one that simply returns some static data.

![](/files/-MhuMBLbSYraJY7WmOOA)

To create one:

1. Head to [*https://www.ondiagram.com/app*](https://www.ondiagram.com/app) and click "New Endpoint". The newly created endpoint only has a request node.
2. Click on the "+" button in the bottom left corner to open the nodes panel. Then drag a response node and drop it in the canvas.
3. To connect the two nodes, click and drag on the "Params" port from the request node and drag the link to the "Source" port of the response node.&#x20;
4. Then, click on the response node to access its settings and toggle the "Static" parameter to true and add a property "hello" with the value of "world". That will ignore the parameters received in the node and always return the object {"hello": "world"}
5. Next, click on the "Debug" button on the top right corner. That will bring the debug panel. The endpoint we created requires no parameters so just click "Run" and it will return the object {"hello": "world"} we set earlier.
6. To call the endpoint from your frontend or from another nocode app you can click the clipboard icon next to the API url or copy the url directly.

####


---

# Agent Instructions: 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:

```
GET https://docs.ondiagram.com/get-started/getting-started.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
