List a folder
Lists the folders and files directly inside a project folder, in name order, 50 at a time. Omit folder_id for the project root. Each item names its Drive entry (entry_id), its content (media_id) and its saved bytes (revision_id); pass its id to fetch to read it. Pass next_cursor back as cursor for the next page.
Needs a key with awen:read. Costs 1 unit 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
project_id*stringThe project's project_id, from list_projects or search.
^[A-Za-z0-9_-]+$1 <= length <= 128folder_id?stringA folder's entry_id; omit for the project root.
^[A-Za-z0-9_-]+$1 <= length <= 128cursor?string1 <= length <= 32768The operation's answer.
application/json- response
project_id*stringproject_name*stringfolder_id*string|nullfolder_name*string|nullpath*stringitems*array<>total_count*integer0 <= value <= 9007199254740991next_cursor*string|nullcurl -X POST 'https://app.awen.ai/api/v1/list_folder' \ -H 'Content-Type: application/json' \ -d '{ "project_id": "string"}'{ "project_id": "string", "project_name": "string", "folder_id": "string", "folder_name": "string", "path": "string", "items": [ { "id": "string", "entry_id": "string", "kind": "folder", "name": "string", "media_id": "string", "revision_id": "string", "item_count": 0, "url": "string" } ], "total_count": 0, "next_cursor": "string"}List library files POST
Lists the images, videos, 3D models and canvases of the user's awen Library, newest first, 50 at a time: every project shared with them, or one project. Pass a file's id to fetch to read its description, prompt and download link. Pass next_cursor back as cursor for the next page. Needs a key with awen:read. Costs 2 units of the key's rate limit.
List memories POST
Lists the awen memories the user can use: folders of instructions and files that awen's own assistant follows, 50 at a time, with whether the user turned each on or off. Pass a memory's id to fetch to read its instructions and files. Pass next_cursor back as cursor for the next page. Needs a key with awen:read. Costs 1 unit of the key's rate limit.