Expand description
API client for Memvid control plane
This module provides HTTP client functionality for interacting with the Memvid control plane API, specifically for ticket synchronization and application.
Structs§
- Apply
Ticket Request - OrgInfo
- Organisation information
- OrgTicket
- Organisation-level signed ticket from the dashboard
- OrgTicket
Response - Response from the /api/ticket endpoint
- Plan
Info - Plan information from the ticket response
- Plan
Limits - Plan limits
- Query
Tracking Response - Response from the /api/v1/query endpoint
- Register
File Request - Register
File Response - Response from file registration
- Subscription
Info - Subscription status information
- Ticket
Sync Data - Wrapper for ticket data in sync response
- Ticket
Sync Payload - Payload for ticket synchronization from the control plane
- Ticket
Sync Response
Functions§
- apply_
ticket - fetch_
org_ ticket - Fetch an org-level ticket from the dashboard API
- fetch_
ticket - register_
file - Register a file with the dashboard
- track_
query_ usage - Track a query against the user’s plan quota.