GET
Read the strategy code your agent runs

Authorizations

Authorization
string
header
required

The authorization field takes the session bearer returned by sign-in, or an API key where the route allows keys. Paste the token itself into the authorization field.

Path Parameters

accountId
string
required
Minimum string length: 1
deploymentId
string
required
Required string length: 1 - 64

Response

Success

deploymentId
string
required
Pattern: ^agt_[0-9a-f]{32}$
strategySource
enum<string>
required
Available options:
strategy_lab
strategyCode
string
required

The exact Pine v5 source the agent runs, unchanged since it was deployed.

Required string length: 1 - 20000
strategyVersion
string
required

sha256 digest of strategyCode, the same strategyVersion the agent views carry.

Pattern: ^sha256:[0-9a-f]{64}$