cURL
curl --request POST \ --url https://api-lr.agent.ai/v1/action/store_variable_to_database \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "variable": "<string>" } '
{ "status": 123, "response": {} }
Store a variable in the agent’s database
Bearer token from your account (https://agent.ai/user/integrations#api)
The variable to store.
Confirmation of variable storage
HTTP status code of the action response
Response data from the action