Skip to content
Navigation

Search a space

Semantic search over every file in the space. Files uploaded to a space are indexed as they are parsed, which is what makes this work — files in the default hidden workspace are not.

q is the query in plain words; limit caps the matches (1–100, default 20). Each match carries where it came from: the file, and the page, box or timecode span when the file was indexed with grounding.

Learn more: Spaces

GET
https://api.cloudraker.com/v1/spaces/{spaceId}/search
Try it
Path parameters
Query parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required

Query parameters

  • q
    string
    required
    minLength: 1
  • limit
    optional
    integer
    maximum: 100 · minimum: 1

Returns

200

Ranked matches.

JSON
  • matches
    array of
    object
    required

    Ranked by relevance. No cursor.

    • id
      string
      required

      Chunk id of the match.

    • namespace
      string
      required
    • tags
      array of
      string
      required
    • score
      number
      required

      Relevance; higher is closer.

    • metadata
      optional
      map of
      unknown

      File grounding when the source was indexed with it: file id, page, bbox, and/or audio timecode.

400

Invalid request (invalid_request).

404

Unknown, archived or expired space.

429

Rate limited. The /v1 API allows at least 67 requests per minute per organization (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the Retry-After interval and retry — the error is retryable.
JSON
  • code
    rate_limited
    required
  • message
    string
    required
  • retryable
    true
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close