---
title: "Check the api key and see what it can do"
method: GET
path: "/v1/ping"
tags: ["Public API"]
---

# Check the api key and see what it can do

`GET /v1/ping`

## Request

- Base URL: `https://otprun.com`
- URL: `https://otprun.com/v1/ping`
- Auth: HTTP bearer

## Response `200`

OK

- PingBody
  - `chat_access` 'all' | 'own', required: own: this caller reads only the chats it wrote to itself
  - `project_id` integer, required
  - `scopes` string[], nullable, required
  - `workspace_id` integer, required

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/otprun/apis/otp-run-api.md) · [All operations](https://skmtc.dev/otprun/apis/otp-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/otprun/apis/otp-run-api/revisions/43d40d5f4050?raw)
