Skip to main content
GET
Go (SDK)

Authorizations

Authorization
string
header
required

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Path Parameters

id
string
required

Parent prompt identifier

version
integer
required

Version number to retrieve

Required range: -9007199254740991 <= x <= 9007199254740991

Response

200 - application/json

OK

id
string
required

Unique version identifier

prompt_id
string
required

Parent prompt identifier

version
integer
required

Version number

Required range: -9007199254740991 <= x <= 9007199254740991
object
any
required

Object type

template
string
required

The prompt template text with {{variable}} placeholders

created_at
string<date-time>
required

Timestamp when this version was created