# info

## Get Facts

<mark style="color:blue;">`GET`</mark> `https://api.elian.website/fact`

Please use a http requests to get your data&#x20;

#### Path Parameters

| Name | Type   | Description         |
| ---- | ------ | ------------------- |
| url  | string | URL is showed above |

{% tabs %}
{% tab title="200 Cake successfully retrieved." %}

```
{"fact": "some fact"}
```

{% endtab %}
{% endtabs %}

{% content-ref url="/pages/-MeSyE4t3hhJDJV1Vxwr" %}
[API Usage Python](/facts-api/api-usage.md)
{% endcontent-ref %}

Go to API Usage Python for examples

## Get Joke (BETA)

<mark style="color:blue;">`GET`</mark> `https://api.elian.websitejokes`

this can be used to get a random joke

#### Path Parameters

| Name | Type   | Description |
| ---- | ------ | ----------- |
|      | string |             |

{% tabs %}
{% tab title="200 " %}

```
{"joke": "some funny joke"}
```

{% endtab %}
{% endtabs %}

{% hint style="danger" %}
Feature is down
{% endhint %}


---

# 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://elian-1.gitbook.io/facts-api/master.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.
