GET
/
{id}
/
schema
Get Runchat Schema
curl --request GET \
  --url https://runchat.app/api/v1/{id}/schema \
  --header 'Authorization: Bearer <token>'
{
  "inputs": [
    {
      "id": "<string>",
      "label": "<string>",
      "type": "string",
      "description": "<string>",
      "data": [
        {}
      ]
    }
  ],
  "outputs": [
    {
      "id": "<string>",
      "label": "<string>",
      "type": "string",
      "description": "<string>",
      "data": [
        {}
      ]
    }
  ],
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication using Runchat API key. API keys can be created from the account menu

Path Parameters

runchat_id
string
required

The unique identifier for the Runchat. The Runchat ID can be found in the id parameter of the URL when open in the editor.

Response

200
application/json

Successful retrieval of the Runchat schema.

The response is of type object.