> For the complete documentation index, see [llms.txt](https://docs.usemoon.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.usemoon.ai/sdks/kotlin/defaultapi.md).

# DefaultApi

## DefaultApi

All URIs are relative to *<https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app>*

| Method                        | HTTP request  | Description |
| ----------------------------- | ------------- | ----------- |
| [**getMessage**](#getMessage) | **GET** /ping |             |

## **getMessage**

> PingResponse getMessage()

#### Example

```kotlin
// Import classes:
//import org.usemoonai.moonsdk.infrastructure.*
//import org.usemoonai.moonsdk.models.*

val apiInstance = DefaultApi()
try {
    val result : PingResponse = apiInstance.getMessage()
    println(result)
} catch (e: ClientException) {
    println("4xx response calling DefaultApi#getMessage")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling DefaultApi#getMessage")
    e.printStackTrace()
}
```

#### Parameters

This endpoint does not need any parameter.

#### Return type

[**PingResponse**](/sdks/kotlin/pingresponse.md)

#### Authorization

No authorization required

#### HTTP request headers

* **Content-Type**: Not defined
* **Accept**: application/json
