Skip to content

Add Global search resource #14

@evanvolgas

Description

@evanvolgas

Summary

The core tessera API has a global search endpoint that the SDK doesn't expose yet.

Core API endpoints to support

  • GET /search - Search across all entity types

Parameters

  • q - Search query string
  • types - Filter by entity types (assets, teams, contracts, etc.)
  • limit / offset - Pagination

Response model

class SearchResult(BaseModel):
    entity_type: str
    id: UUID
    name: str
    fqn: str | None  # For assets
    snippet: str | None  # Matched text context
    score: float

class SearchResponse(BaseModel):
    results: list[SearchResult]
    total: int
    limit: int
    offset: int

Resource methods

  • search.query(q, types=None, limit=20, offset=0)

Use case

Quick lookup across the entire catalog without knowing which entity type you're looking for.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions