Export Formats

Export Formats

This page documents the file format for each resource export type. All JSON exports include a standard envelope with export_type, software_version, account_id, and exported_at fields. JSONL exports contain one record per line. CSV exports use the same fields as column headers.

Export files can be downloaded from the UI or via the API and MCP tools.

Governance Policies

Exports all governance policies for the account, including scope assignments, thresholds, and linked knowledge bases.

Formats: JSON, JSONL.

Available filters:

  • category — Policy category (e.g. content_safety, pii).
  • enabled — Only enabled (true) or disabled (false) policies.
  • account_wide_only — Exclude agent/source-scoped overrides.

Envelope Fields

FieldTypeDescription
export_typestringResource type identifier (e.g. governance_policies, knowledge_base).
software_versionstringApplication version that produced this export.
account_idstringUUID of the account that owns the exported data.
exported_atstringISO-8601 timestamp of when the export was generated.
policy_countintegerTotal number of policies in this export.
policiesarray of GovernancePolicyRecordArray of policy records.

Record Fields

FieldTypeDescription
idstringUUID of the policy.
policy_namestringHuman-readable policy name.
policy_textstringFull policy text evaluated by the AI screener.
categorystring or nullPolicy category (content_safety, pii, bias, legal, brand).
enabledbooleanWhether the policy is currently active.
flag_thresholdnumberScore at or above which content is flagged for review (0.0–1.0).
block_thresholdnumberScore at or above which content is blocked (0.0–1.0).
review_inputbooleanWhether this policy screens agent inputs.
review_outputbooleanWhether this policy screens agent/step outputs.
enforcement_levelstring or nullHow child scopes can modify this policy (flexible, required, locked).
inheritance_modestring or nullHow a scoped policy relates to its parent (inherit, merge, disable). Null for account-level policies.
knowledge_base_namesarray of string or nullNames of linked knowledge bases used for evidence-based evaluation.
agent_idstring or nullUUID of the agent this policy is scoped to, or null for account-wide.
agent_step_idstring or nullAgent step ID this policy is scoped to.
source_connection_idstring or nullUUID of the source connection this policy is scoped to.
created_atstringISO-8601 creation timestamp.
updated_atstringISO-8601 last-update timestamp.

Governance Evaluations

Exports governance evaluation records — the screening results generated when content is checked against governance policies.

Formats: JSON, JSONL, CSV.

Available filters:

  • agent_id — Scope to a specific agent.
  • source_connection_id — Scope to a specific content source.
  • policy_id — Filter by governance policy.
  • verdict — pass, flag, or block.
  • screening_point — source_content, agent_input, step_output, or policy_test.
  • unresolved_only — Only unresolved evaluations.

Envelope Fields

FieldTypeDescription
export_typestringResource type identifier (e.g. governance_policies, knowledge_base).
software_versionstringApplication version that produced this export.
account_idstringUUID of the account that owns the exported data.
exported_atstringISO-8601 timestamp of when the export was generated.
item_countintegerTotal number of evaluation records in this export.
itemsarray of GovernanceEvalRecordArray of evaluation records.

Record Fields

FieldTypeDescription
idstringUUID of the evaluation.
policy_idstringUUID of the governance policy that was evaluated.
policy_namestring or nullHuman-readable name of the policy.
screening_pointstringWhere the evaluation occurred (source_content, agent_input, step_output, policy_test).
verdictstringEvaluation verdict (pass, flag, block).
scorenumberAI confidence score (0.0–1.0).
flag_threshold_usednumberFlag threshold applied for this evaluation.
block_threshold_usednumberBlock threshold applied for this evaluation.
explanationstring or nullAI-generated explanation of why the content matched (or didn't match) the policy.
content_excerptstring or nullExcerpt of the evaluated content.
agent_idstring or nullUUID of the agent (if the evaluation was on agent input/output).
agent_run_idstring or nullUUID of the agent run.
source_connection_idstring or nullUUID of the source connection (if the evaluation was on source content).
content_version_idstring or nullUUID of the content version that was evaluated.
resolved_atstring or nullISO-8601 timestamp when the evaluation was resolved, or null.
resolved_bystring or nullUUID of the user who resolved the evaluation.
resolution_notestring or nullNote left by the reviewer when resolving.
created_atstringISO-8601 creation timestamp.

Knowledge Base

Exports a knowledge base with all linked sources and their content items, including full text.

Formats: JSON only (nested structure).

Available filters:

  • from_date — Only content published after this ISO-8601 date.
  • to_date — Only content published before this ISO-8601 date.

Envelope Fields

FieldTypeDescription
export_typestringResource type identifier (e.g. governance_policies, knowledge_base).
software_versionstringApplication version that produced this export.
account_idstringUUID of the account that owns the exported data.
exported_atstringISO-8601 timestamp of when the export was generated.
knowledge_baseKBMetadataKnowledge base configuration.
source_countintegerNumber of content sources.
total_content_itemsintegerTotal content items across all sources.
sourcesarray of KBSourceRecordArray of sources with content items.

Knowledge base metadata

FieldTypeDescription
idstringUUID of the knowledge base.
namestringKnowledge base name.
descriptionstring or nullOptional description.
reranker_modelstring or nullReranker model used for search result scoring.
default_top_ninteger or nullMaximum results from the initial vector search.
default_top_kinteger or nullResults kept after reranking.
default_score_thresholdnumber or nullMinimum relevance score for results (0.0–1.0).
created_atstring or nullISO-8601 creation timestamp.
updated_atstring or nullISO-8601 last-update timestamp.

Source record

FieldTypeDescription
source_connection_idstringUUID of the source connection.
source_namestring or nullHuman-readable source name.
source_urlstring or nullThe source's URL (RSS feed or website).
pollingstring or nullPolling frequency (e.g. hourly, daily).
polling_actionstring or nullWhat to do on poll (add, replace).
polling_max_itemsinteger or nullMaximum items to fetch per poll.
seedstring or nullSeed strategy for initial content.
retention_daysinteger or nullContent retention period in days.
crawl_limitinteger or nullMaximum pages to crawl (websites only).
crawl_depthinteger or nullMaximum crawl depth (websites only).
content_item_countintegerNumber of content items from this source.
content_itemsarray of KBContentItemArray of content items.

Content item

FieldTypeDescription
idstringUUID of the content version.
titlestring or nullContent title (e.g. article headline).
textstring or nullFull text content (read from storage).
urlstring or nullSource URL of the content item.
statusstring or nullIndexing status (indexed, pending, failed).
word_countinteger or nullNumber of words in the content.
token_countinteger or nullNumber of tokens in the content.
published_atstring or nullISO-8601 publication timestamp.
created_atstring or nullISO-8601 creation timestamp.

Memory Bank

Exports a memory bank with its configuration (compaction settings, embedding config) and all entries.

Formats: JSON only (nested structure).

Envelope Fields

FieldTypeDescription
export_typestringResource type identifier (e.g. governance_policies, knowledge_base).
software_versionstringApplication version that produced this export.
account_idstringUUID of the account that owns the exported data.
exported_atstringISO-8601 timestamp of when the export was generated.
memory_bankMemoryBankMetadataMemory bank configuration.
entry_countintegerTotal number of entries.
entriesarray of MemoryBankEntryArray of memory bank entries.

Memory bank metadata

FieldTypeDescription
idstringUUID of the memory bank.
namestringMemory bank name.
descriptionstring or nullOptional description.
typestring or nullBank type (conversation or general).
modestring or nullEmbedding mode (fast_cheap, balanced, slow_thorough, custom).
compaction_promptstring or nullPrompt used to summarize entries during compaction.
max_age_daysinteger or nullCompaction trigger: compact entries older than this.
max_size_tokensinteger or nullCompaction trigger: compact when total tokens exceed this.
max_turnsinteger or nullCompaction trigger: compact when entry count exceeds this.
embedding_modelstring or nullEmbedding model identifier.
dimensionsinteger or nullVector embedding dimensions.
chunk_sizeinteger or nullText chunk size for embedding.
chunk_overlapinteger or nullOverlap between text chunks.
created_atstring or nullISO-8601 creation timestamp.
updated_atstring or nullISO-8601 last-update timestamp.

Entry record

FieldTypeDescription
idstringUUID of the content version.
titlestring or nullEntry title.
textstring or nullFull text content.
published_atstring or nullISO-8601 publication timestamp.
created_atstring or nullISO-8601 creation timestamp.
metadataobject or nullSource-connection metadata (may include key, speaker for conversation banks).
content_metadataobject or nullContent-version metadata.

Solution

Exports a solution with all linked agents, knowledge bases, content sources, and memory banks. Optionally includes full content.

Formats: JSON only (nested structure).

Available filters:

  • include_content — When true, embeds full content items for sources and memory bank entries alongside the resource metadata. Default false (configuration only).

Envelope Fields

FieldTypeDescription
export_typestringResource type identifier (e.g. governance_policies, knowledge_base).
software_versionstringApplication version that produced this export.
account_idstringUUID of the account that owns the exported data.
exported_atstringISO-8601 timestamp of when the export was generated.
solutionSolutionMetadataSolution configuration.
agentsarray of SolutionAgentRecordAgents in the solution.
knowledge_basesarray of SolutionKBRecordKnowledge bases in the solution.
source_connectionsarray of SolutionSourceRecordContent sources in the solution.
memory_banksarray of SolutionMemoryBankRecordMemory banks in the solution.

Solution metadata

FieldTypeDescription
idstringUUID of the solution.
namestringSolution name.
descriptionstring or nullDescription.
created_atstring or nullISO-8601 creation timestamp.
updated_atstring or nullISO-8601 last-update timestamp.

Agent record

FieldTypeDescription
idstringUUID of the agent.
namestringAgent name.
descriptionstring or nullAgent description.
evaluation_modestring or nullEvaluation mode (if configured).
default_evaluation_tierstring or nullDefault governance evaluation tier.
max_retriesinteger or nullMaximum evaluation retries.
created_atstring or nullISO-8601 creation timestamp.
updated_atstring or nullISO-8601 last-update timestamp.

Knowledge base record

FieldTypeDescription
idstringUUID of the knowledge base.
namestringKnowledge base name.
descriptionstring or nullDescription.
reranker_modelstring or nullReranker model.
default_top_ninteger or nullTop N initial search results.
default_top_kinteger or nullTop K after reranking.
default_score_thresholdnumber or nullMinimum relevance score (0.0–1.0).
created_atstring or nullISO-8601 creation timestamp.
updated_atstring or nullISO-8601 last-update timestamp.

Source connection record

FieldTypeDescription
idstringUUID of the source connection.
namestring or nullSource name.
source_urlstring or nullSource URL.
pollingstring or nullPolling frequency.
polling_actionstring or nullPolling action.
polling_max_itemsinteger or nullMaximum items per poll.
seedstring or nullSeed strategy.
retention_daysinteger or nullRetention period in days.
crawl_limitinteger or nullMaximum pages to crawl.
crawl_depthinteger or nullMaximum crawl depth.
created_atstring or nullISO-8601 creation timestamp.
updated_atstring or nullISO-8601 last-update timestamp.
content_itemsarray of object or nullContent items (only when include_content is true). Each item has id, title, text, url, published_at.

Memory bank record

FieldTypeDescription
idstringUUID of the memory bank.
namestringMemory bank name.
descriptionstring or nullDescription.
typestring or nullBank type (conversation or general).
modestring or nullEmbedding mode.
compaction_promptstring or nullCompaction prompt.
max_age_daysinteger or nullCompaction trigger: max age in days.
max_size_tokensinteger or nullCompaction trigger: max tokens.
max_turnsinteger or nullCompaction trigger: max turns.
embedding_modelstring or nullEmbedding model.
dimensionsinteger or nullVector dimensions.
chunk_sizeinteger or nullChunk size.
chunk_overlapinteger or nullChunk overlap.
created_atstring or nullISO-8601 creation timestamp.
updated_atstring or nullISO-8601 last-update timestamp.
entriesarray of object or nullMemory bank entries (only when include_content is true). Each entry has id, title, text, published_at, and optional metadata.

Agent Traces

Exports agent run traces with step-level execution detail, including inputs, outputs, attempts, timing, and error information.

Formats: JSON, JSONL.

Available filters:

  • status — Filter runs by status (e.g. completed, failed).
  • limit — Maximum number of runs to export.
  • include_step_io — Include step input/output content (default true).

Envelope Fields

FieldTypeDescription
export_typestringResource type identifier (e.g. governance_policies, knowledge_base).
software_versionstringApplication version that produced this export.
account_idstringUUID of the account that owns the exported data.
exported_atstringISO-8601 timestamp of when the export was generated.
item_countintegerTotal number of agent run traces.
itemsarray of AgentTraceRecordArray of agent run traces.

Record Fields

FieldTypeDescription
idstringUUID of the agent run.
statusstring or nullRun status (completed, failed, pending, processing).
error_countinteger or nullTotal errors across all steps.
priorityinteger or nullRun priority.
call_depthinteger or nullNesting depth for sub-agent calls.
created_atstring or nullISO-8601 creation timestamp.
updated_atstring or nullISO-8601 last-update timestamp.
step_countintegerNumber of step runs.
stepsarray of AgentStepRunRecordStep-level execution records.
usagesarray of objectCredit usage records for this run.

Step run record

FieldTypeDescription
idstringUUID of the step run.
step_idstringStep identifier within the agent definition.
step_typestring or nullStep type (e.g. prompt_call, retrieval, gate).
statusstring or nullStep run status (completed, failed, pending).
error_countinteger or nullNumber of errors encountered.
input_checksumstring or nullChecksum of the step input.
output_content_typestring or nullMIME type of the step output.
created_atstring or nullISO-8601 creation timestamp.
attemptsarray of AgentStepAttemptExecution attempts for this step.
inputstring or nullStep input content (when include_step_io is true).
outputstring or nullStep output content (when include_step_io is true).

Step attempt record

FieldTypeDescription
idstringUUID of the attempt.
statusstring or nullAttempt status (completed, failed).
started_atstring or nullISO-8601 start timestamp.
ended_atstring or nullISO-8601 end timestamp.
durationnumber or nullDuration in seconds.
errorstring or nullError message (if failed).
cache_statsobject or nullCache statistics for this attempt.

Agent Evaluations

Exports agent evaluation results with criteria metadata. Each record joins a criteria definition to its evaluation result.

Formats: JSON, JSONL, CSV.

Available filters:

  • criteria_id — Export results for a single criteria.
  • status — Filter results by status (passed, failed, error).

Envelope Fields

FieldTypeDescription
export_typestringResource type identifier (e.g. governance_policies, knowledge_base).
software_versionstringApplication version that produced this export.
account_idstringUUID of the account that owns the exported data.
exported_atstringISO-8601 timestamp of when the export was generated.
item_countintegerTotal number of evaluation results.
itemsarray of AgentEvalRecordArray of evaluation results.

Record Fields

FieldTypeDescription
criteria_idstringUUID of the evaluation criteria.
criteria_step_idstringAgent step ID targeted by the criteria.
criteria_modestring or nullEvaluation mode (output_expectation, eval_and_retry, sample_and_flag).
criteria_enabledbooleanWhether the criteria is currently enabled.
criteria_pass_thresholdnumber or nullMinimum score to pass (0.0–1.0).
result_idstringUUID of the evaluation result.
agent_run_idstringUUID of the agent run that was evaluated.
agent_step_run_idstring or nullUUID of the specific step run.
statusstring or nullResult status (passed, failed, pending, skipped, error).
scorenumber or nullEvaluation score (0.0–1.0).
detailsobject or nullEvaluation-specific details (JSON).
retry_triggeredboolean or nullWhether this result triggered a retry.
retry_countinteger or nullNumber of retries attempted so far.
flaggedboolean or nullWhether the run was flagged for review.
evaluated_atstring or nullISO-8601 timestamp of the evaluation.
created_atstring or nullISO-8601 creation timestamp.

Common Envelope Fields

Every JSON export file includes these top-level fields:

FieldTypeDescription
export_typestringResource type identifier (e.g. governance_policies, knowledge_base).
software_versionstringApplication version that produced this export.
account_idstringUUID of the account that owns the exported data.
exported_atstringISO-8601 timestamp of when the export was generated.

JSONL and CSV exports do not include envelope fields — each line or row contains only record-level data.