Community

Search the Community

Works in the public feeds whose title, description, model or shown prompt holds every word of q as a prefix, best match first — or, with scope=creators, public profiles whose handle starts with q o…

GET
/v1/community/search
GET
/v1/community/search
Search the Community
Works in the public feeds whose title, description, model or shown prompt holds every word of q as a prefix, best match first — or, with scope=creators, public profiles whose handle starts with q o…
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
qstringrequired
One to 100 characters, with a letter or a digit. 0 to 100 characters.
scopestring
One of "works", "creators".
kindstring
Only works of this kind. One of "image", "video", "audio", "model3d", "project".
cursorstring
The next_cursor the previous page answered, unchanged, with the same filters. None for the first page. 0 to 200 characters.
limitinteger
How many on a page. 1 to 60.
Search the Community
curl --request GET \
  --url 'https://api.auray.ai/v1/community/search' \
  --header 'Authorization: Bearer <api-key>'
{
  "object": "<string>",
  "scope": "<string>",
  "data": {},
  "next_cursor": "<string>",
  "request_id": "<string>"
}
Search the Community
curl "https://api.auray.ai/v1/community/search?q=lighthouse"
{
  "object": "<string>",
  "scope": "<string>",
  "data": {},
  "next_cursor": "<string>",
  "request_id": "<string>"
}

Works in the public feeds whose title, description, model or shown prompt holds every word of q as a prefix, best match first — or, with scope=creators, public profiles whose handle starts with q or whose name holds it, most followed first. Takes no key. A key that holds community:write reads as its account — its likes and follows filled in — and any other key reads what a stranger reads; either way a request with a key is answered for itself alone and kept in no shared cache. An answer without a key is the same for every reader, its request_id included — which names the request that filled the edge's copy — and carries no RateLimit-* headers, since they would describe that request's sender. Cached at the edge for thirty seconds with two minutes of stale service. While our team has paused the feeds, search answers 503 feeds_paused as well.

Authorizations

No key needed. A key that holds community:write is read as its account — its likes and follows filled in — and is answered private, no-store. Paced per address, and cached at the edge for thirty seconds.

Query Parameters

qstringrequired
One to 100 characters, with a letter or a digit. 0 to 100 characters.
scopestring
One of "works", "creators".
kindstring
Only works of this kind. One of "image", "video", "audio", "model3d", "project".
cursorstring
The next_cursor the previous page answered, unchanged, with the same filters. None for the first page. 0 to 200 characters.
limitinteger
How many on a page. 1 to 60.

Response

application/json

OK. data holds cards for works, profile rows for creators.

objectstringrequired
One of "list".
scopestring
One of "works", "creators".
dataobject or object[]required
next_cursorstringrequired
The cursor of the next page; null on the last. May be null.
request_idstring
Mirrored in the X-Request-Id header. On an answer without a key it names the request that filled the edge's copy, so readers served from that copy are handed the same one.

Headers:

HeaderDescription
Cache-Controlpublic, s-maxage=30, stale-while-revalidate=120 with no key; private, no-store with one.
VaryAuthorization.
RateLimit-LimitBurst capacity, per key, on an answer to a key. An answer without one is cached at the edge and carries none of the RateLimit-* headers; a refusal without one, which is never cached, carries its address's.
RateLimit-Remaining
RateLimit-ResetSeconds until refill.
X-Request-Id

Was this page helpful?

Search the Community
curl "https://api.auray.ai/v1/community/search?q=lighthouse"
{
  "object": "<string>",
  "scope": "<string>",
  "data": {},
  "next_cursor": "<string>",
  "request_id": "<string>"
}

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close search.