Archive a conversation
Archives one of the user's own awen conversations, as Archive does in awen: it leaves their active list, its messages and files stay, and restore_conversation brings it back. A person can have at most 100 active conversations in a project, so archiving one makes room for another. Ask the user before archiving, and name the conversation. A conversation whose reply is still being written is refused until it ends or cancel_turn stops it; generations that already started finish on their own.
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/archive_conversation' \ -H 'Content-Type: application/json' \ -d '{ "conversation_id": "string"}'{ "conversation_id": "string", "project_id": "string", "archived": true, "url": "string"}Who am I POST
Returns the awen user and the awen organisation this connection works in, what the connection may do, the organisation's plan, and the usage the user sees in awen. usage is null where the organisation hides it from members. plan or usage is null when awen can't read it right now. usage does not say whether a given request fits. Needs a key with any access. Costs 2 units of the key's rate limit.
Create a folder POST
Creates a folder in a project the user can edit. Pass parent_id "root" for the project root, or a folder's entry_id from list_folder or create_folder to create it inside that folder. Needs a key with awen:write. Costs 2 units of the key's rate limit.