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!
parts: [AgentPromptPart!]!
is_default: Boolean!
published_revision: AgentPromptRevision
revisions: [AgentPromptRevision!]!
history: [AgentPromptRevision!]!
}
Fields
AgentPrompt.agent_type ● String! non-null scalar
AiUsageType case name, e.g. ACCOUNT_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.parts ● [AgentPromptPart!]! non-null object
The assembled prompt as labelled parts, in the order the agent reads them.
AgentPrompt.is_default ● Boolean! non-null scalar
True when the guidance in effect is the Paminga default: nothing is published, or the current revision is a default.
AgentPrompt.published_revision ● AgentPromptRevision object
AgentPrompt.revisions ● [AgentPromptRevision!]! non-null object
Full revision history, newest first — the changelog.
AgentPrompt.history ● [AgentPromptRevision!]! non-null object
The revisions that are or were in use (PUBLISHED or SUPERSEDED), newest version first. Drafts are left out.
Returned By
agentPrompt query


