V1Assets
Get assets by category
Returns assets grouped by date for the given category (all, image, video, favorite).
Returns assets grouped by date for the given category (all, image, video, favorite).
Authorization
cookieAuth better-auth.session_token<token>
Session cookie set by Better Auth. Login via the app to obtain.
In: cookie
Query Parameters
category?string
Default
"all"Response Body
application/json
curl -X GET "http://localhost:3002/v1/assets"[
{
"label": "string",
"assets": [
{
"id": "string",
"taskId": "string",
"mediaType": "string",
"url": "string",
"width": 0,
"height": 0,
"prompt": "string",
"model": "string",
"createdAt": "string"
}
]
}
]