Skip to main content
PUT
Update agent launch draft

Headers

Authorization
string
required
Example:

"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

privy-id-token
string
required

Privy identity token from the client SDK (getIdentityToken()). Required to resolve the linked Ethereum wallet address.

Example:

"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9..."

Path Parameters

draftId
string
required
Pattern: ^draft_[0-9a-f-]{36}$
Example:

"draft_550e8400-e29b-41d4-a716-446655440000"

Body

application/json
identity
object
strategy
string
Required string length: 1 - 8192
botFrequency
enum<string>

Bot run frequency: 1h (hourly) or 1d (daily). Minute/second values are not supported.

Available options:
1h,
1d
Example:

"1h"

Response

Draft updated

draftId
string
required
owner
string
required
Pattern: ^0x[a-fA-F0-9]{40}$
vaultAddress
string
required
Pattern: ^0x[a-fA-F0-9]{40}$
strategy
string | null
required
botFrequency
enum<string> | null
required

Bot run frequency: 1h (hourly) or 1d (daily). Minute/second values are not supported.

Available options:
1h,
1d,
null
Example:

"1h"

createdAt
string
required
updatedAt
string
required
identity
object