Skip to main content

Rasa Action Server HTTP API

Rasa SDK - Action Server Endpoint (0.0.0)

Download OpenAPI specification:Download

HTTP API of the action server which is used by Rasa to execute custom actions.

Core request to execute a custom action

Rasa Core sends a request to the action server to execute a certain custom action. As a response to the action call from Core, you can modify the tracker, e.g. by setting slots and send responses back to the user.

Request Body schema: application/json
required

Describes the action to be called and provides information on the current state of the conversation.

next_action
string

The name of the action which should be executed.

sender_id
string

Unique id of the user who is having the current conversation.

object (Tracker)

Conversation tracker which stores the conversation state.

object (Domain)

The bot's domain.

Responses

Request samples

Content type
application/json
{
  • "next_action": "string",
  • "sender_id": "string",
  • "tracker": {
    },
  • "domain": {
    }
}

Response samples

Content type
application/json
{
  • "events": [
    ],
  • "responses": [
    ]
}