Skip to Content
Docs
ReferenceRead

Search awen

POST
/search

Searches what the user can see in awen: project names, the Library's images, videos, 3D models and canvases (by name, tags, description and prompt), folder and document names, the user's own conversation titles, and their memories. Returns up to 5 results of each kind; pass a result's id to fetch to read it. Use short keywords; list_projects, list_files and list_folder browse everything.

Needs a key with awen:read. Costs 2 units of the key's rate limit.

Authorization

apiKey
headerAuthorizationBearer <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.

Request Body

application/json
  1. body
query*string

Keywords to look for.

Match^[^\x00-\x1F\x7F-\x9F]*$
Length2 <= length <= 200

Response Body

The operation's answer.

application/json
  1. response
results*array<>
Example Request
curl -X POST 'https://app.awen.ai/api/v1/search' \  -H 'Content-Type: application/json' \  -d '{  "query": "string"}'
Example Response
{  "results": [    {      "id": "string",      "title": "string",      "url": "string"    }  ]}