Unarchive a search
Changed onRestore a previously archived search result back to the active search history. The owner or any user the search was shared with can unarchive it.
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/search/{searchId}/unarchive
- Auth
- HTTP bearer
- or OAuth 2Authorization code: /api/v1/oauth2/authorizeClient credentialsToken URL: /api/v1/oauth2/token scopes: semantic:write
Path parameters
Unique search identifier
Query parameters
Validated, then dropped: a stored search has no title to match, so the search is unarchived whatever this says. More than 1000 characters, or HTML markup, is refused with 400.
Additional isShared filter. 'true' / '1' and 'false' / '0', case-insensitive; anything else is refused with 400. The search is only unarchived if it matches, otherwise 404.
ISO 8601 date or date-time lower bound for createdAt. The search is only unarchived if it was created on or after it, otherwise 404. A value JavaScript's Date cannot parse is refused with 400.
ISO 8601 date or date-time upper bound for createdAt. The search is only unarchived if it was created on or before it, otherwise 404. A value JavaScript's Date cannot parse is refused with 400.
Response
Search unarchived successfully
Example response
{
"id": "65f1c0a4e2b9c4d8f3a1b2c3",
"status": "unarchived",
"unarchivedBy": "65f1c0a4e2b9c4d8f3a1b2c4",
"unarchivedAt": "2026-05-10T12:34:56.789Z",
"meta": {
"requestId": "req_8f3a1b2c",
"timestamp": "2026-05-10T12:34:56.789Z",
"duration": 42
}
}Changes
- info
added the new optional
queryrequest parameterendDate - info
added the new optional
queryrequest parametersearch - info
added the new optional
queryrequest parametershared - info
added the new optional
queryrequest parameterstartDate - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- info