cURL
curl --request POST \ --url https://api.trymaitai.ai/api/v1/agents/actions/{action_id}/publish \ --header 'Content-Type: application/json' \ --header 'X-Maitai-Api-Key: <api-key>' \ --data ' { "increment": "patch", "version_notes": "Fixed timeout handling" } '
{ "data": { "version": "1.0.2", "action_id": 200, "version_notes": "Fixed timeout handling", "date_created": 1706200000 } }
Publish the current action configuration as a new versioned snapshot.
Your Maitai API key from the Portal.
Publish action version.
An immutable snapshot of an agent's configuration at a point in time.
Show child attributes
Was this page helpful?