Docs

Start here

List your collections

GET/v1/community/me/collectionson https://api.auray.ai/v1

Every collection you keep, private ones included, newest change first.

Every collection you keep, private ones included, newest change first. Takes a key holding community:write — Account offers it unticked — or the desktop's own session key. Spends nothing.

#Authentication

Authorization: Bearer auray_sk_… — community:write — Account offers it unticked; the desktop's session key holds it.

#Example request

curl https://api.auray.ai/v1/community/me/collections \
  -H "Authorization: Bearer $AURAY_API_KEY"

#Responses

#200 OK

OK. Every collection on one page.

FieldTypeRequiredDefaultDescription
objectstringyes—One of "list".
dataobject[]yes—
data[].idstringyes—
data[].titlestringyes—
data[].descriptionstringyes—May be null.
data[].publicbooleanyes—Shown on its owner's profile.
data[].itemsintegeryes—Works in it, shown or not.
data[].updated_atstringyes—
data[].minebooleanyes—
data[].coverobject[]yes—The newest shown work's files.
data[].cover[].rolestringyes—primary is the work as it was made; the rest are what the feeds draw: an image's thumbnail, a video's or a model's poster and thumbnail, a song's waveform (JSON: {version, peaks}). One of "primary", "poster", "preview", "thumbnail", "waveform".
data[].cover[].positionintegeryes—
data[].cover[].urlstringyes—Where to load it. Kept until its author unpublishes the work. A URL.
data[].cover[].content_typestringyes—
data[].cover[].widthintegeryes—May be null.
data[].cover[].heightintegeryes—May be null.
data[].cover[].duration_msintegeryes—May be null.
data[].cover[].suppliedbooleanyes—True for a poster, or its thumbnail, that the work's author supplied rather than one our services made: it is not what the model made, and the work's ai_generated does not describe it.
data[].ownerobject or nullno—
next_cursorstringyes—The cursor of the next page; null on the last. May be null.
request_idstringno—Mirrored in the X-Request-Id header.

Headers:

HeaderDescription
RateLimit-LimitBurst capacity.
RateLimit-Remaining
RateLimit-ResetSeconds until refill.
X-RateLimit-Limit
X-RateLimit-Remaining
X-RateLimit-ResetUnix seconds. The X- spelling is what client libraries read.
X-Request-Id

#401 Unauthorized

#403 Forbidden

#429 Too Many Requests

#503 Service Unavailable

#Status codes

StatusMeaning
200OK. Every collection on one page.
401Unauthorized
403Forbidden
429Too Many Requests
503Service Unavailable

Every refusal names its code, and every code is explained at Errors.

Start typing to search every page of the documentation.

Up arrow Down arrow to moveEnter to openEscape to close