> ## Documentation Index
> Fetch the complete documentation index at: https://docs.riza.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Welcome to the Riza API.

<Tip>
  New here? The Riza API executes untrusted Python, JavaScript, TypeScript, PHP and Ruby in
  a secure sandbox.
</Tip>

The Riza API is small but mighty. Endpoints accept
[JSON-encoded](https://www.json.org/json-en.html) requests and return
JSON-encoded responses. Standard HTTP codes are used to indicate success or
failure.

## API Libraries

We offer API libraries for Python, Node.js and Go, with more on the way.  These
libraries are generated and built using
[Stainless](https://www.stainlessapi.com/). Check them out!

<CardGroup cols={3}>
  <Card title="riza-api-python" icon="python" href="https://github.com/riza-io/riza-api-python">
    Access the Riza API from any Python 3.7+ application.
  </Card>

  <Card title="riza-api-node" icon="node" href="https://github.com/riza-io/riza-api-node">
    Access the Riza API from server-side TypeScript or JavaScript.
  </Card>

  <Card title="riza-api-go" icon="golang" href="https://github.com/riza-io/riza-api-go">
    Access the Riza API from Go.
  </Card>
</CardGroup>

## OpenAPI

The Riza API is also documented via a public [OpenAPI spec](https://api.riza.io/openapi).

## Connecting

The Riza API accepts HTTPS requests at `api.riza.io`.

## Authentication

The Riza API uses API keys to authenticate requests. Include
an API key in the `Authorization` header with a `Bearer` prefix.

```
Authorization: Bearer <api-key>
```

Manage your API keys using the [Riza Dashboard](https://dashboard.riza.io).

## Errors

The Riza API uses HTTP status codes to indicate success or failure.
If a request fails, the response body will contain a JSON document with a `message` key:

```json theme={null}
{
  "message": "<description of the error>"
}
```
