AgentPrompt
Editable instructions for one AI agent, scoped to the current product. Only the guidance/rubric portion is editable; the JSON output-protocol contract and the dynamic-injection blocks (ICP rows, topic, enum lists) stay code-owned and compose around the guidance at render time.
type AgentPrompt {
agent_type: String!
agent_label: String!
current_version: Int
default_guidance: String!
published_guidance: String!
assembled_preview: String!
published_revision: AgentPromptRevision
revisions: [AgentPromptRevision!]!
}
Fields
AgentPrompt.agent_type ● String! non-null scalar
AiUsageType case name, e.g. GTM_ICP_CLASSIFIER.
AgentPrompt.agent_label ● String! non-null scalar
Human label, e.g. "GTM ICP Classifier".
AgentPrompt.current_version ● Int scalar
Published version number (null when nothing is published yet).
AgentPrompt.default_guidance ● String! non-null scalar
The code-owned default guidance (for reference / reset).
AgentPrompt.published_guidance ● String! non-null scalar
The guidance currently in effect (published, or default when none).
AgentPrompt.assembled_preview ● String! non-null scalar
Full assembled prompt with dynamic blocks shown as placeholders (read-only).
AgentPrompt.published_revision ● AgentPromptRevision object
AgentPrompt.revisions ● [AgentPromptRevision!]! non-null object
Full revision history, newest first — the changelog.
Returned By
agentPrompt query


