Skip to main content
POST
/
agents
/
actions
/
{action_id}
/
versions
/
{version}
/
restore
Restore action version
curl --request POST \
  --url https://api.trymaitai.ai/api/v1/agents/actions/{action_id}/versions/{version}/restore \
  --header 'X-Maitai-Api-Key: <api-key>'
{
  "data": {
    "id": 200,
    "action_name": "Lookup Order",
    "drafted_from_version": "1.1.0"
  }
}

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Path Parameters

action_id
integer
required
version
string
required

Response

200 - application/json

Restore action version.

data
any