Skip to main content

Module app

Module app 

Source
Expand description

App resource types and methods mirroring the JS SDK’s resources/app.ts.

Structs§

App
Top-level application information.
AppLogParams
Parameters for POST /log.
AppPath
Filesystem paths used by the application.
AppProvidersResponse
Response from GET /config/providers.
AppResource
Provides access to the App-related API endpoints.
AppTime
Timing metadata.
CostCache
Cache cost information.
CostExperimentalOver200K
Experimental cost tier for over 200K context.
Mode
An operational mode with associated tools and optional model override.
ModeModel
Model reference used inside a Mode.
Model
A language-model definition exposed by a provider.
ModelApi
API endpoint information for a model.
ModelCapabilities
Model capabilities.
ModelCost
Per-token cost information for a Model.
ModelLimit
Token limits for a Model.
ModelMediaCapabilities
Media capabilities (input or output).
Provider
An LLM provider definition.

Enums§

LogLevel
Log level for AppLogParams.
ModelStatus
Model lifecycle status.
ProviderSource
Provider source type.

Type Aliases§

AppInitResponse
Type alias for POST /app/init response.
AppLogResponse
Type alias for POST /log response.
AppModesResponse
Type alias for GET /mode response.