Versions in this module Expand all Collapse all v0 v0.1.0 Jul 17, 2026 Changes in this version + type Asset struct + ContentType string + ExpiresAt string + SizeBytes *int64 + URL string + type BulkErrItem struct + Code string + Message string + Pin string + RequestID string + type BulkResult struct + Errors []BulkErrItem + Pins []*PinFull + func (r BulkResult) AllFailed() bool + func (r BulkResult) FirstFailureExitCode() int + type Client struct + func New(apiURL, token, userAgent string, sleeper seams.Sleeper, doer seams.HTTPDoer, ...) *Client + func (c *Client) GetPinByNumber(ctx context.Context, sessionRef ref.SessionRef, pinNumber int64, ...) (*PinFull, error) + func (c *Client) GetPinsBulk(ctx context.Context, items []ref.PinFetch) BulkResult + func (c *Client) GetSession(ctx context.Context, sessionRef ref.SessionRef) (*SessionDetail, error) + func (c *Client) ListSessions(ctx context.Context, p *ListSessionsParams) (*ListSessionsResponse, error) + func (c *Client) Me(ctx context.Context) (*Me, error) + func (c *Client) MeCached(ctx context.Context) (*Me, error) + func (c *Client) RequireCapability(ctx context.Context, want string) error + func (c *Client) ResolveReplay(ctx context.Context, pin *PinFull, sessionNumber, pinNumber int64) (*PinFullResolved, error) + func (c *Client) RevokeToken(ctx context.Context) error + func (c *Client) SearchPins(ctx context.Context, p *SearchParams) (*SearchPinsResponse, error) + func (c *Client) SearchSessions(ctx context.Context, p *SearchParams) (*SearchSessionsResponse, error) + type ListSessionsParams struct + CreatedAtAfter string + CreatedAtBefore string + Cursor string + Limit int + Project string + Status string + type ListSessionsResponse struct + Count int + FreeTierTruncated bool + NextCursor *string + Results []SessionSummary + type Me struct + APIVersion string + AgentName string + Capabilities []string + CreatedByEmail string + LastUsedAt string + Team string + TeamSlug string + TokenPrefix string + func (m *Me) HasCapability(name string) bool + type PinFull struct + Console []map[string]any + Events []map[string]any + Network []map[string]any + Screenshot *Asset + SessionReplay *Asset + VideoRecording *Asset + VoiceNote *Asset + type PinFullResolved struct + Console []map[string]any + Events []map[string]any + Network []map[string]any + Screenshot *Asset + SessionReplay *ReplayFile + VideoRecording *Asset + VoiceNote *Asset + type PinLite struct + ElementInfo map[string]any + Feedback string + Metadata map[string]any + Number int64 + Selector *string + URL *string + type Project struct + ID int64 + Name string + Slug string + type ReplayFile struct + DurationMs int + EventCount int + Path string + SizeBytes int64 + func DownloadReplay(ctx context.Context, asset *Asset, sessionID int64, pinNumber int64) (*ReplayFile, error) + type Reporter struct + DisplayName string + Email string + type SearchParams struct + Limit int + Query string + Scope string + type SearchPinsHit struct + Pin PinLite + Session SessionSummary + type SearchPinsResponse struct + Results []SearchPinsHit + Total int + type SearchSessionsResponse struct + Results []SessionSummary + Total int + type SessionDetail struct + Pins []PinLite + Project *Project + ProjectSessionNumber int64 + ReportURL string + Reporter *Reporter + Status string + TeamSlug string + URL string + UpdatedAt string + type SessionSummary struct + CreatedAt string + FirstPinFeedback string + FreeTierLocked bool + PinCount int + Project *Project + ProjectSessionNumber int64 + ReportURL string + Reporter *Reporter + Status string + TeamSlug string + URL string + UpdatedAt string + func (s SessionSummary) ScopedID() string + func (s SessionSummary) SessionRef() (ref.SessionRef, error)