CreateBotRunnerInput
CreateBotRunnerInput is used for create BotRunner object. Input was generated by ent.
input CreateBotRunnerInput {
public: Boolean
deletedAt: Time
encryptionMode: BotRunnerEncryptionMode
keyCustodyBackend: BotRunnerKeyCustodyBackend
keyID: String
keyVersion: Int
algorithm: BotRunnerEncryptionAlgorithm
encryptedAt: Time
name: String!
type: BotRunnerRunnerType
config: Map
dataIsReady: Boolean
dataLastUpdated: Time
dataDownloadStatus: BotRunnerDataDownloadStatus
dataDownloadStartedAt: Time
dataErrorMessage: String
dataDownloadConfig: Map
backupGracePeriodSeconds: Int
s3Config: Map
s3DataKey: String
s3DataUploadedAt: Time
ownerID: String!
billingEnabled: Boolean
cpuPricePerCoreHour: Float
memoryPricePerGBHour: Float
networkPricePerGB: Float
storagePricePerGB: Float
createdAt: Time
updatedAt: Time
botIDs: [ID!]
backtestIDs: [ID!]
hyperoptIDs: [ID!]
}
Fields
CreateBotRunnerInput.public ● Boolean scalar
Whether this resource is publicly visible to all authenticated users
CreateBotRunnerInput.deletedAt ● Time scalar
Soft-delete timestamp. If set, record is considered deleted.
CreateBotRunnerInput.encryptionMode ● BotRunnerEncryptionMode enum
Trust-ladder encryption mode for this row's sensitive fields. Set at create time; immutable after. Defaults to 'legacy_server' for all rows created before the trust ladder shipped.
CreateBotRunnerInput.keyCustodyBackend ● BotRunnerKeyCustodyBackend enum
KeyCustodyBackend implementation that produced the wrapping key. Pinned at write time alongside encryption_mode.
CreateBotRunnerInput.keyID ● String scalar
Opaque identifier of the wrapping key, backend-specific. Null for legacy_server rows that use the global process key.
CreateBotRunnerInput.keyVersion ● Int scalar
Rotation counter for the wrapping key. Null for legacy_server rows; populated when the row is rewrapped under a versioned key.
CreateBotRunnerInput.algorithm ● BotRunnerEncryptionAlgorithm enum
Symmetric algorithm protecting the row's sensitive fields. Stored alongside the ciphertext so future migrations can retire algorithms without re-encrypting existing rows.
CreateBotRunnerInput.encryptedAt ● Time scalar
Timestamp the row's sensitive fields were last encrypted with the current key_id/key_version. Null for legacy_server rows.
CreateBotRunnerInput.name ● String! non-null scalar
Runner display name
CreateBotRunnerInput.type ● BotRunnerRunnerType enum
Runner environment type (docker, kubernetes, local)
CreateBotRunnerInput.config ● Map scalar
Runner connection configuration (host, port, credentials, etc.)
CreateBotRunnerInput.dataIsReady ● Boolean scalar
Whether runner has downloaded historical data for backtesting
CreateBotRunnerInput.dataLastUpdated ● Time scalar
When data was last refreshed
CreateBotRunnerInput.dataDownloadStatus ● BotRunnerDataDownloadStatus enum
Current data download status (idle, downloading, completed, failed)
CreateBotRunnerInput.dataDownloadStartedAt ● Time scalar
When the current data download started (for stuck detection)
CreateBotRunnerInput.dataErrorMessage ● String scalar
Error message if data download failed
CreateBotRunnerInput.dataDownloadConfig ● Map scalar
Data download configuration: {exchanges: [{name, enabled, timeframes, pairs_pattern, days, trading_mode}]}
CreateBotRunnerInput.backupGracePeriodSeconds ● Int scalar
Seconds k8s waits for pod termination so a final backup can complete. Defaults to 60; bots with large DBs on slow networks may need more.
CreateBotRunnerInput.s3Config ● Map scalar
S3 config: {endpoint, bucket, accessKeyId, secretAccessKey, region, forcePathStyle, useSSL}
CreateBotRunnerInput.s3DataKey ● String scalar
S3 object key: runners/data/{runnerId}.zip
CreateBotRunnerInput.s3DataUploadedAt ● Time scalar
When data was last uploaded to S3
CreateBotRunnerInput.ownerID ● String! non-null scalar
Group ID (organization) that owns this bot runner
CreateBotRunnerInput.billingEnabled ● Boolean scalar
Whether usage tracking and billing is enabled for this runner
CreateBotRunnerInput.cpuPricePerCoreHour ● Float scalar
Price per core-hour in USD (only used if billing_enabled)
CreateBotRunnerInput.memoryPricePerGBHour ● Float scalar
Price per GB-hour in USD (only used if billing_enabled)
CreateBotRunnerInput.networkPricePerGB ● Float scalar
Price per GB of network transfer in USD (only used if billing_enabled)
CreateBotRunnerInput.storagePricePerGB ● Float scalar
Price per GB of disk I/O in USD (only used if billing_enabled)
CreateBotRunnerInput.createdAt ● Time scalar
CreateBotRunnerInput.updatedAt ● Time scalar
CreateBotRunnerInput.botIDs ● [ID!] list scalar
CreateBotRunnerInput.backtestIDs ● [ID!] list scalar
CreateBotRunnerInput.hyperoptIDs ● [ID!] list scalar
Member Of
createBotRunner mutation ● createBotRunnerWithPassphrase mutation