Restore a conversation
Restores one of the user's archived awen conversations to their active list, as Restore does in awen. A person can have at most 100 active conversations in a project: at the limit this is refused until one is archived.
Needs a key with awen:write. Costs 2 units of the key's rate limit.
apiKeyAuthorizationBearer <token>An API key from Settings → Connected apps → API keys, sent as Authorization: Bearer awen_sk_…. Keep it on a server: a request from a web page is refused.
application/json- body
conversation_id*stringThe conversation's conversation_id, from list_conversations, start_conversation or create_with_awen.
^[A-Za-z0-9_-]+$1 <= length <= 128The operation's answer.
application/json- response
conversation_id*stringproject_id*stringarchived*booleanurl*stringcurl -X POST 'https://app.awen.ai/api/v1/restore_conversation' \ -H 'Content-Type: application/json' \ -d '{ "conversation_id": "string"}'{ "conversation_id": "string", "project_id": "string", "archived": true, "url": "string"}Rename a file or a folder POST
Renames a file or a folder in a project the user can edit; a file's name applies to its Drive entry and its content. Pass the entry_id from list_folder, never a media_id. Two folders side by side can't share a name, and a memory's folder can't take the name of another of the user's memories. A memory reads its instructions from its Memory.md: that file keeps its name, and no other file in a memory can be named Memory.md; the user edits a memory's instructions in awen. Needs a key with awen:write. Costs 2 units of the key's rate limit.
Restore files and folders from the trash POST
Brings files and folders of a project the user can edit back from its Trash, with everything that was trashed inside the folders, as Restore in awen does. Pass the entry_ids trash_entries returned, within 30 days. Each comes back in its folder, or at the project root when that folder is gone. A folder is refused when another folder of its name now sits in the same place, and a memory when another of the user's memories took its name: rename that one first. Needs a key with awen:write. Costs 2 units of the key's rate limit.