POST
/
{id}
curl --request POST \
--url https://runchat.app/api/v1/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"runchat_instance_id": "existing-instance-uuid",
"inputs": {
"prompt_xyz123": "Generate a story about a robot.",
"maxTokens_abc456": [
100
]
}
}'
{
  "metadata": "<string>",
  "runchat_instance_id": "<string>",
  "data": [
    {
      "id": "<string>",
      "label": "<string>",
      "type": "string",
      "description": "<string>",
      "data": [
        {}
      ]
    }
  ]
}

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 flow.

Body

application/json

Input data for the Runchat execution. Provide runchat_instance_id to continue an existing execution. The inputs object structure should match the parameters defined in the Runchat API schema, keyed by paramId_nodeId. Alternatively, send raw data for webhook-triggered flows.

Request body for executing a Runchat flow.

Response

200
application/json

Successful execution of the Runchat flow.

The response is of type object.