Get this agent's configured system prompt
Return the agent’s configured system prompt, or null if none is set.
null is a REAL state, not an error: system_prompt is optional at
creation. It is produced in exactly three cases — the agent exists but has
no agent row (pre-migration-059), there is no agent_prompt row, or the
row’s effective pointer is NULL (never set, or cleared by
DELETE /{agent_name}/prompt). Every version-scoped field is null
alongside it.
Returns the prompt ONLY. There is no combined /config route: skills are
auto-injected and already served by GET /{agent_name}/skills, and merging
the two would tempt the SDK into auto-injecting the prompt too.
Authorizations
Enter your API key (e.g. dai_sk_test_key_001)
Path Parameters
Query Parameters
Return this historical version instead of the effective one.
x >= 1Cookies
Response
Successful Response