v50

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-222763184.3 KB
collections

Classic Search

AI-optimized search.

post/collections/{readable_id}/search/classic

Path parameters

readable_idstring required

Request body

querystring required

Search query text.

limitinteger

Max results to return.

offsetinteger

Number of results to skip.

Response

Successful Response

Example response

{
  "results": [
    {
      "access": {},
      "airweave_system_metadata": {
        "chunk_index": 0,
        "entity_type": "NotionPageEntity",
        "original_entity_id": "page-abc123",
        "source_name": "notion",
        "sync_id": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f80",
        "sync_job_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
      },
      "breadcrumbs": [
        {
          "entity_id": "ws-1",
          "entity_type": "NotionWorkspaceEntity",
          "name": "Acme Workspace"
        },
        {
          "entity_id": "db-eng",
          "entity_type": "NotionDatabaseEntity",
          "name": "Engineering"
        }
      ],
      "created_at": "2025-02-10T09:15:00Z",
      "entity_id": "page-abc123",
      "name": "Production Deployment Guide",
      "raw_source_fields": {
        "archived": false,
        "icon": "🚀",
        "parent_type": "database_id"
      },
      "relevance_score": 0.94,
      "textual_representation": "# Production Deployment Guide\n\nThis document covers the standard deployment process for production releases.",
      "updated_at": "2025-03-18T16:30:00Z",
      "web_url": "https://notion.so/Deployment-Guide-abc123"
    },
    {
      "access": {},
      "airweave_system_metadata": {
        "chunk_index": 0,
        "entity_type": "SlackMessageEntity",
        "original_entity_id": "msg-def456",
        "source_name": "slack",
        "sync_id": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8091",
        "sync_job_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
      },
      "breadcrumbs": [
        {
          "entity_id": "team-1",
          "entity_type": "SlackWorkspaceEntity",
          "name": "Acme"
        },
        {
          "entity_id": "chan-eng",
          "entity_type": "SlackChannelEntity",
          "name": "#engineering"
        }
      ],
      "created_at": "2025-03-15T11:22:00Z",
      "entity_id": "msg-def456",
      "name": "Deployment checklist update",
      "raw_source_fields": {
        "channel_name": "#engineering",
        "username": "alice"
      },
      "relevance_score": 0.87,
      "textual_representation": "Updated the deployment checklist to include the new canary step. Make sure to verify metrics before promoting to 100%.",
      "updated_at": "2025-03-15T11:22:00Z",
      "web_url": "https://acme.slack.com/archives/C0123ABC/p1710500520"
    }
  ]
}