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

# Get scenario schema

> GET /v1/pulso/scenarios/\{slug}/schema

Read a published scenario's input and result schemas, hashes, and compatibility data. Without version, the active version is used.

> [!NOTE]
>
> Scope: `pulso.calls.read`. [Authentication](https://docs.nottoad.com/en/api/authentication.md).

## Headers

**X-Api-Key** `string` *required*

Customer API key. Keep it on your server.

## Path parameters

**slug** `string` *required*

Stable published scenario slug.

## Query parameters

**version** `integer`

Optional published version, at least 1.

## Response · 200

**scenario** `string`

Stable scenario slug.

**version** `integer`

Published scenario version.

**input** `object`

Input JSON Schema for this version.

**result** `object`

Result JSON Schema for this version.

**inputSchemaHash** `string`

SHA-256 hash of the input schema.

**resultSchemaHash** `string`

SHA-256 hash of the result schema.

**compat** `object`

Compatibility class, changes, and previousVersion.

```bash cURL theme={null}
curl -X GET 'https://console.nurrel.io/v1/pulso/scenarios/appointment-demo/schema' \
  -H 'X-Api-Key: YOUR_CUSTOMER_KEY'
```

```javascript JavaScript theme={null}
const response = await fetch('https://console.nurrel.io/v1/pulso/scenarios/appointment-demo/schema', {
  method: 'GET',
  headers: { 'X-Api-Key': process.env.NURREL_API_KEY },
});
```

```python Python theme={null}
import os, requests
response = requests.request('GET', 'https://console.nurrel.io/v1/pulso/scenarios/appointment-demo/schema',
    headers={ 'X-Api-Key': os.environ['NURREL_API_KEY'] })
```

## Next

[Explore the PULSO API overview](https://docs.nottoad.com/en/api/pulso-calls.md) or [events and webhooks](https://docs.nottoad.com/en/api/pulso-events.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.