Types
All TypeScript types exported by@castari/sdk.
Agent
Represents a Castari agent.AgentStatus
Possible agent statuses.AgentSourceType
Source type for agent code.InvocationResponse
Response from invoking an agent.InvokeOptions
Options for invoking an agent.CreateAgentOptions
Options for creating an agent.UploadResponse
Response from uploading code.Secret
Represents a secret (metadata only — values are never returned).CastariClientOptions
Options for creating a client.CastariError
Error thrown by SDK operations.
Example:
Storage v2 Types
The SDK includes types for managed file storage (Storage v2):ManagedFile— File metadata (id, filename, size, scope, tags, status)FileUploadResponse— Upload resultManagedFileList— Paginated file list with metadataStorageUsage— Quota information (total files, bytes, limits)PresignedUpload— Presigned URL for large file uploadsAgentFile— File attached to an agentAgentFileList— List of agent-attached files
Importing Types
All types are exported from the main package:See Also
- CastariClient — Client setup
- Agents API — Agent methods
- Secrets API — Secrets methods
- Auth API — Authentication methods
- Usage API — Usage statistics
- Storage API — Cloud bucket storage
- Mounts API — Agent mounts
- Files API — Managed file storage