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/settings#credits)
Confirmation of variable storage
The response is of type object.
object