Skip to content

Record a palette search

POST
/v1/home/recent-searches
curl --request POST \
--url https://shareout.site/v1/home/recent-searches \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "q": "example" }'

Records q as the newest search. A repeat (any case or accents) moves to the top; the list keeps 20.

workspace
string

Workspace id; omit for personal / all pages. Each scope keeps its own list.

Media typeapplication/json
object
q
required
string
<= 200 characters
Examplegenerated
{
"q": "example"
}

The recent searches in the scope, newest first

Media typeapplication/json
object
searches
Array<object>
object
q
string
at
string format: date-time
Examplegenerated
{
"searches": [
{
"q": "example",
"at": "2026-04-15T12:00:00Z"
}
]
}

Invalid request

Media typeapplication/json
object
success
required
boolean
error
required

Human-readable message.

string
code
required

Machine-readable error code.

string
request_id

Correlation id (also the X-Request-Id header). Quote it in support tickets.

string
reason

Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.

string
hint

What to do next, in plain words.

string
suggestion
string
param

The request field at fault.

string
docs

Doc page for this error.

string
redirect_url
string
support

Present on 5xx — how to reach a human.

object
how
string
include
Array<string>
Example
{
"success": false,
"support": {
"how": "POST /v1/support/tickets",
"include": [
"request_id"
]
}
}

Authentication required

Media typeapplication/json
object
success
required
boolean
error
required

Human-readable message.

string
code
required

Machine-readable error code.

string
request_id

Correlation id (also the X-Request-Id header). Quote it in support tickets.

string
reason

Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.

string
hint

What to do next, in plain words.

string
suggestion
string
param

The request field at fault.

string
docs

Doc page for this error.

string
redirect_url
string
support

Present on 5xx — how to reach a human.

object
how
string
include
Array<string>
Example
{
"success": false,
"support": {
"how": "POST /v1/support/tickets",
"include": [
"request_id"
]
}
}