v10

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-0582185581.9 KB
Semantic Search

Archive a search

Archive a specific search result. Archived searches are hidden from the default search history view but remain retrievable via the archive-aware listing endpoints.

patch/search/{searchId}/archive

Path parameters

searchIdstring objectId required

Unique search identifier

Response

Search archived successfully

idstring objectId required

Unique identifier of the archived search.

status'archived' required

Resulting status of the search after the operation.

archivedBystring objectId required

User ID of the user who archived the search.

archivedAtstring date-time required

Timestamp when the search was archived.

Example response

{
  "id": "65f1c0a4e2b9c4d8f3a1b2c3",
  "status": "archived",
  "archivedBy": "65f1c0a4e2b9c4d8f3a1b2c4",
  "archivedAt": "2026-05-10T12:34:56.789Z",
  "meta": {
    "requestId": "req_8f3a1b2c",
    "timestamp": "2026-05-10T12:34:56.789Z",
    "duration": 42
  }
}