List conversations
Lists the user's own awen conversations in a project, or across their projects without project_id, most recently updated first, archived ones included, 50 at a time. Pass a conversation's id to fetch to read it. active_turn_id names the turn running in a conversation, or still making its files, for get_turn: null means nothing runs there. It can lag get_turn by a few seconds, and get_turn decides. A page leaves out conversations in projects the user can no longer open, so it can hold fewer than 50, or none: keep passing next_cursor back as cursor until it is null.
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. Leave it out to find recent work, or what is still running, in any project.
^[A-Za-z0-9_-]+$1 <= length <= 128cursor?string1 <= length <= 512The operation's answer.
application/json- response
conversations*array<>next_cursor*string|nullcurl -X POST 'https://app.awen.ai/api/v1/list_conversations' \ -H 'Content-Type: application/json' \ -d '{}'{ "conversations": [ { "id": "string", "conversation_id": "string", "title": "string", "project_id": "string", "updated_at": "string", "archived": true, "active_turn_id": "string", "url": "string", "project_name": "string" } ], "next_cursor": "string"}Follow several turns POST
Follows up to 10 turns create_with_awen started, in one call. Each turn reads as get_turn reads it: status, task_counts, files, more_tasks, failure, cost_usd and its reply's text, with the same meanings. The call waits up to wait_seconds (0 to 30, default 15) and answers as soon as any turn changes, or at once when none can change any more, so call it again at once while a turn is working, with no other pause. Pass the last cursor back with the same turn_ids, so a change between two calls is not missed: a turn's text is then left out when it has not changed since that answer. A turn that is not found answers error and no other field. Call get_turn for a turn's tasks and why each failed, and with include_downloads for its files' download links. Needs a key with awen:read. Costs 2 units of the key's rate limit.
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.