Files
GEWU/web/src/generated/api.ts
T

4579 lines
128 KiB
TypeScript
Raw Normal View History

/**
* This file was auto-generated by openapi-typescript.
* Do not make direct changes to the file.
*/
export interface paths {
"/auth/owner-session": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/** Create Owner Session */
post: operations["owner_session_create"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/health": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Health */
get: operations["health"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/admin/credentials": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Credentials */
get: operations["admin_list_credentials"];
put?: never;
/** Create */
post: operations["admin_create_credential"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/admin/credentials/{credential_id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
post?: never;
/** Revoke */
delete: operations["admin_revoke_credential"];
options?: never;
head?: never;
/** Update Credential */
patch: operations["admin_update_credential"];
trace?: never;
};
"/v1/admin/events": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Events */
get: operations["admin_list_events"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/admin/projects": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Admin List Projects */
get: operations["admin_list_projects"];
put?: never;
/** Project Create */
post: operations["project_create"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/admin/projects/{project_id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
/** Project Update Content */
patch: operations["project_update_content"];
trace?: never;
};
"/v1/admin/projects/{project_id}/archive": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/** Project Archive */
post: operations["project_archive"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/admin/users": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Users */
get: operations["admin_list_accounts"];
put?: never;
/** Create User */
post: operations["admin_create_account"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/admin/users/{username}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
post?: never;
/** Disable User */
delete: operations["admin_disable_account"];
options?: never;
head?: never;
/** Update User */
patch: operations["admin_update_account"];
trace?: never;
};
"/v1/diagnostics": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Diagnostics */
get: operations["diagnostics"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/me": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Me */
get: operations["account_current"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/me/agent-credentials": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Agents */
get: operations["account_list_agent_credentials"];
put?: never;
/** Create Agent */
post: operations["account_create_agent_credential"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/me/agent-credentials/{credential_id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
post?: never;
/** Revoke Agent */
delete: operations["account_revoke_agent_credential"];
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/me/password": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/** Change Password */
post: operations["account_change_password"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/neighbors": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/** Neighbors */
post: operations["neighbors"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/projects": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** List Projects */
get: operations["list_projects"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/projects/{project_id}/nodes/{node_id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Get Node */
get: operations["get_node"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/projects/{project_id}/nodes/{node_id}/history": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Get Node History */
get: operations["node_history"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/projects/{project_id}/sources/{revision_id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Get Source */
get: operations["get_source"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/projects/{project_id}/sources/{revision_id}/artifact": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Get Source Artifact */
get: operations["get_source_artifact"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/projects/{project_id}/sources/{revision_id}/extractions/{extraction_id}/blocks/{block_id}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Get Source Location */
get: operations["get_source_location"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/search": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/** Search */
post: operations["search"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/session": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Restore Browser Session */
get: operations["browser_session_restore"];
put?: never;
/** Create Browser Session */
post: operations["browser_session_create"];
/** Revoke Browser Session */
delete: operations["browser_session_revoke"];
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/sources": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/** List Sources */
post: operations["list_sources"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/users/session": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/** Login */
post: operations["account_login"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
}
export type webhooks = Record<string, never>;
export interface components {
schemas: {
/** AcceptanceManifest */
AcceptanceManifest: {
/**
* Accepted Node Ids
* @default []
*/
accepted_node_ids: string[];
/** Actor Id */
actor_id: string;
/** Before Revision */
before_revision: string;
/** Changed Files */
changed_files: components["schemas"]["AcceptanceManifest__ChangedFile"][];
/** Credential Id */
credential_id: string;
/**
* Decided At
* Format: date-time
*/
decided_at: string;
/**
* Owner Decisions
* @default []
*/
owner_decisions: components["schemas"]["AcceptanceManifest__OwnerDecisionReference"][];
/** Payload Digest */
payload_digest: string;
/** Policy Bindings */
policy_bindings: components["schemas"]["AcceptanceManifest__PolicyBinding"][];
/** Proposal Id */
proposal_id: string;
/** Proposal Revision */
proposal_revision: number;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** ChangedFile */
AcceptanceManifest__ChangedFile: {
/** Content Sha256 */
content_sha256: string;
/** Path */
path: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** OwnerDecisionReference */
AcceptanceManifest__OwnerDecisionReference: {
/** Challenge Id */
challenge_id: string;
/**
* Decided At
* Format: date-time
*/
decided_at: string;
/**
* Decision
* @default authorize
* @constant
*/
decision: "authorize";
/** Decision Digest */
decision_digest: string;
/** Domains */
domains: string[];
/** Grant Version */
grant_version: number;
/** Owner Principal Id */
owner_principal_id: string;
/** Owner Session Id */
owner_session_id: string;
/** Rationale */
rationale: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** PolicyBinding */
AcceptanceManifest__PolicyBinding: {
/** Policy Id */
policy_id: string;
/** Policy Version */
policy_version: number;
/** Project Id */
project_id: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** AccountCreateBody */
AccountCreateBody: {
/** Password */
password: string;
/** Project Ids */
project_ids?: string[];
/**
* Role
* @default editor
* @enum {string}
*/
role: "viewer" | "editor" | "admin";
/** Username */
username: string;
};
/** AccountSummary */
AccountSummary: {
/** Active */
active: boolean;
/** Principal Id */
principal_id: string;
/** Project Ids */
project_ids: string[];
/** Role */
role: string;
/** Username */
username: string;
};
/** AccountUpdateBody */
AccountUpdateBody: {
/** Project Ids */
project_ids?: string[];
/**
* Role
* @enum {string}
*/
role: "viewer" | "editor" | "admin";
};
/** AdminEvent */
AdminEvent: {
/** Action */
action: string;
/** Actor */
actor: string;
/** Credential Id */
credential_id: string;
/** Event Id */
event_id: number;
/** Occurred At */
occurred_at: string;
};
/** AgentCreateBody */
AgentCreateBody: {
/** Name */
name: string;
/** Project Ids */
project_ids: string[];
};
/** AutoAcceptPolicy */
AutoAcceptPolicy: {
/**
* Automatic Edge Types
* @default []
*/
automatic_edge_types: ("solves" | "addresses" | "causes" | "supports" | "contradicts" | "instance_of" | "part_of" | "precedes" | "supersedes" | "compared_with" | "derived_from" | "applies_to")[];
/**
* Automatic Node Types
* @default []
*/
automatic_node_types: ("finding" | "problem" | "technique" | "case" | "entity" | "event" | "concept" | "datapoint" | "synthesis")[];
/**
* Automatic Source Registration
* @default false
*/
automatic_source_registration: boolean;
/** Policy Id */
policy_id: string;
/** Policy Version */
policy_version: number;
/** Project Id */
project_id: string;
/**
* Require Owner Decision For
* @default [
* "delete",
* "merge",
* "promote",
* "intent",
* "policy"
* ]
*/
require_owner_decision_for: ("delete" | "merge" | "promote" | "intent" | "policy")[];
/**
* Require Supported Assessment
* @default true
*/
require_supported_assessment: boolean;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** BudgetProfile */
BudgetProfile: {
/** Encoding */
encoding: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Tokenizer */
tokenizer: string;
};
/**
* Confidence
* @enum {string}
*/
Confidence: "low" | "medium" | "high";
/** CredentialCreateBody */
CredentialCreateBody: {
/** Credential Id */
credential_id: string;
/** Principal Id */
principal_id: string;
/** Project Ids */
project_ids?: string[];
/**
* Role
* @enum {string}
*/
role: "viewer" | "editor" | "agent" | "admin";
};
/** CredentialSummary */
CredentialSummary: {
/** Credential Id */
credential_id: string;
/** Owner Principal Id */
owner_principal_id?: string | null;
/** Principal Id */
principal_id: string;
/** Project Ids */
project_ids: string[];
/** Revoked */
revoked: boolean;
/** Roles */
roles: string[];
};
/** CredentialUpdateBody */
CredentialUpdateBody: {
/** Project Ids */
project_ids?: string[];
/**
* Role
* @enum {string}
*/
role: "viewer" | "editor" | "agent" | "admin";
};
/** CurrentUser */
CurrentUser: {
/** Password Account */
password_account: boolean;
/** Principal Id */
principal_id: string;
/** Project Ids */
project_ids: string[];
/** Roles */
roles: string[];
};
/** DomainError */
DomainError: {
code: components["schemas"]["DomainError__ErrorCode"];
/**
* Findings
* @default []
*/
findings: components["schemas"]["DomainError__Finding"][];
/** Message */
message: string;
/** Request Id */
request_id: string;
/** Retryable */
retryable: boolean;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/**
* ErrorCode
* @enum {string}
*/
DomainError__ErrorCode: "SCOPE_REQUIRED" | "OUT_OF_SCOPE" | "UNAUTHORIZED" | "OWNER_DECISION_REQUIRED" | "POLICY_MISSING" | "EVIDENCE_MISMATCH" | "SUPPORT_UNAVAILABLE" | "BASE_CONFLICT" | "IDEMPOTENCY_CONFLICT" | "BUDGET_TOO_SMALL" | "UPLOAD_EXPIRED" | "BUSY" | "RECOVERY_REQUIRED";
/** Finding */
DomainError__Finding: {
/** Code */
code: string;
/** Message */
message: string;
/**
* Path
* @default null
*/
path: string | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** EvidenceReference */
EvidenceReference: {
/** Assertion Digest */
assertion_digest: string;
/** Assertion Path */
assertion_path: string;
/** Extraction Id */
extraction_id: string;
locator: components["schemas"]["Locator"];
/**
* Normalization Profile
* @constant
*/
normalization_profile: "unicode-nfc-lf-v1";
/** Quote */
quote: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Source Revision Id */
source_revision_id: string;
};
/** ExtractionRecord */
ExtractionRecord: {
/** Blocks */
blocks: components["schemas"]["ExtractionRecord__ExtractionBlock"][];
/** Extraction Id */
extraction_id: string;
/**
* Normalization Profile
* @constant
*/
normalization_profile: "unicode-nfc-lf-v1";
/** Parser Config Sha256 */
parser_config_sha256: string;
/** Parser Name */
parser_name: string;
/** Parser Version */
parser_version: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Source Revision Id */
source_revision_id: string;
/**
* Status
* @enum {string}
*/
status: "complete" | "partial" | "unavailable";
/**
* Warnings
* @default []
*/
warnings: string[];
};
/** ExtractionBlock */
ExtractionRecord__ExtractionBlock: {
/** Block Id */
block_id: string;
/** Normalization Map */
normalization_map: [
number,
number
][];
/** Normalized Text */
normalized_text: string;
/** Ordinal */
ordinal: number;
/** Original Text */
original_text: string;
/**
* Page
* @default null
*/
page: number | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/**
* Time End Ms
* @default null
*/
time_end_ms: number | null;
/**
* Time Start Ms
* @default null
*/
time_start_ms: number | null;
};
/** Finding */
Finding: {
/** Code */
code: string;
/** Message */
message: string;
/** Path */
path?: string | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** HTTPValidationError */
HTTPValidationError: {
/** Detail */
detail?: components["schemas"]["ValidationError"][];
};
/** IssuedCredential */
IssuedCredential: {
/** Credential Id */
credential_id: string;
/** Token */
token: string;
};
/** KnowledgeNode */
KnowledgeNode: {
/** Agent Id */
agent_id: string;
/**
* Aliases
* @default []
*/
aliases: string[];
/**
* As Of
* @default null
*/
as_of: string | null;
/**
* Assumptions
* @default []
*/
assumptions: components["schemas"]["KnowledgeNode__Claim"][];
/**
* Audience
* @default []
*/
audience: string[];
/**
* Claim Support
* @enum {string}
*/
claim_support: "pending" | "supported" | "unsupported";
/** Claims */
claims: components["schemas"]["KnowledgeNode__Claim"][];
confidence: components["schemas"]["KnowledgeNode__Confidence"];
/**
* Created
* Format: date-time
*/
created: string;
/**
* Demographic
* @default null
*/
demographic: string | null;
/**
* Domain
* @default []
*/
domain: string[];
/** Lens Fit */
lens_fit?: {
[key: string]: components["schemas"]["KnowledgeNode__LensFit"];
};
lifecycle: components["schemas"]["KnowledgeNode__Lifecycle"];
/**
* Limitations
* @default []
*/
limitations: components["schemas"]["KnowledgeNode__Claim"][];
/**
* Merged From
* @default []
*/
merged_from: string[];
/** Model Id */
model_id: string;
/** Node Id */
node_id: string;
node_type: components["schemas"]["KnowledgeNode__NodeType"];
/** Project Id */
project_id: string;
/**
* Reporting Year
* @default null
*/
reporting_year: number | null;
review_state: components["schemas"]["KnowledgeNode__ReviewState"];
/** Run Id */
run_id: string;
/**
* Sample Size
* @default null
*/
sample_size: number | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/**
* Stale After
* @default null
*/
stale_after: string | null;
/** Summary */
summary: string;
/**
* Superseded By
* @default []
*/
superseded_by: string[];
/**
* Supersedes
* @default []
*/
supersedes: string[];
/**
* Tags
* @default []
*/
tags: string[];
/** Title */
title: string;
/**
* Unit
* @default null
*/
unit: string | null;
/**
* Updated
* Format: date-time
*/
updated: string;
/**
* Use For
* @default []
*/
use_for: string[];
/**
* Value
* @default null
*/
value: number | null;
};
/** Claim */
KnowledgeNode__Claim: {
assessment: components["schemas"]["KnowledgeNode__SupportAssessment"];
/** Claim Id */
claim_id: string;
/** Evidence */
evidence: components["schemas"]["KnowledgeNode__EvidenceReference"][];
/**
* Evidence Type
* @enum {string}
*/
evidence_type: "measured" | "reported" | "opinion" | "vendor_marketing";
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Text */
text: string;
};
/**
* Confidence
* @enum {string}
*/
KnowledgeNode__Confidence: "low" | "medium" | "high";
/** EvidenceReference */
KnowledgeNode__EvidenceReference: {
/** Assertion Digest */
assertion_digest: string;
/** Assertion Path */
assertion_path: string;
/** Extraction Id */
extraction_id: string;
locator: components["schemas"]["KnowledgeNode__Locator"];
/**
* Normalization Profile
* @constant
*/
normalization_profile: "unicode-nfc-lf-v1";
/** Quote */
quote: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Source Revision Id */
source_revision_id: string;
};
/** LensFit */
KnowledgeNode__LensFit: {
/**
* Horizon
* @enum {string}
*/
horizon: "H1" | "H2" | "H3";
/**
* Key Question
* @default null
*/
key_question: string | null;
/** Reason */
reason: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Score */
score: number;
};
/**
* Lifecycle
* @enum {string}
*/
KnowledgeNode__Lifecycle: "active" | "superseded";
/** Locator */
KnowledgeNode__Locator: {
/** Block Id */
block_id: string;
/** End */
end: number;
/**
* Kind
* @enum {string}
*/
kind: "text_span" | "pdf_page_span" | "transcript_timestamp_span";
/**
* Page
* @default null
*/
page: number | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Start */
start: number;
/**
* Time End Ms
* @default null
*/
time_end_ms: number | null;
/**
* Time Start Ms
* @default null
*/
time_start_ms: number | null;
};
/**
* NodeType
* @enum {string}
*/
KnowledgeNode__NodeType: "finding" | "problem" | "technique" | "case" | "entity" | "event" | "concept" | "datapoint" | "synthesis";
/**
* ReviewState
* @enum {string}
*/
KnowledgeNode__ReviewState: "draft" | "reviewed";
/** SupportAssessment */
KnowledgeNode__SupportAssessment: {
/** Assertion Digest */
assertion_digest: string;
/** Assessment Id */
assessment_id: string;
/** Assessor Id */
assessor_id: string;
/** Evidence Digests */
evidence_digests: string[];
/** Method */
method: string;
/** Rationale */
rationale: string;
/** Run Id */
run_id: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
status: components["schemas"]["KnowledgeNode__SupportStatus"];
};
/**
* SupportStatus
* @enum {string}
*/
KnowledgeNode__SupportStatus: "supported" | "unsupported" | "unavailable";
/** Locator */
Locator: {
/** Block Id */
block_id: string;
/** End */
end: number;
/**
* Kind
* @enum {string}
*/
kind: "text_span" | "pdf_page_span" | "transcript_timestamp_span";
/** Page */
page?: number | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Start */
start: number;
/** Time End Ms */
time_end_ms?: number | null;
/** Time Start Ms */
time_start_ms?: number | null;
};
/** LoginBody */
LoginBody: {
/** Password */
password: string;
/** Username */
username: string;
};
/** NeighborRequest */
NeighborRequest: {
/** Budget Tokens */
budget_tokens: number;
/**
* Cursor
* @default null
*/
cursor: string | null;
/**
* Edge Types
* @default []
*/
edge_types: ("solves" | "addresses" | "causes" | "supports" | "contradicts" | "instance_of" | "part_of" | "precedes" | "supersedes" | "compared_with" | "derived_from" | "applies_to")[];
/**
* Limit
* @default 20
*/
limit: number;
/** Node Id */
node_id: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
scope: components["schemas"]["NeighborRequest__Scope"];
};
/** NeighborRequestBody */
NeighborRequestBody: {
/** Budget Tokens */
budget_tokens: number;
/** Cursor */
cursor?: string | null;
/** Edge Types */
edge_types?: string[];
/**
* Limit
* @default 20
*/
limit: number;
/** Node Id */
node_id: string;
scope: components["schemas"]["SearchScopeBody"];
};
/**
* Scope
* @description Project context plus optional project includes; all-project access is deliberate.
*/
NeighborRequest__Scope: {
/**
* All Projects
* @default false
*/
all_projects: boolean;
/**
* Include Projects
* @default null
*/
include_projects: string[] | null;
/**
* Include Shared
* @default true
*/
include_shared: boolean;
/** Projects */
projects: string[];
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/**
* OwnerSessionRequestBody
* @description Short-lived owner authentication inputs; never accepted as a normal session.
*/
OwnerSessionRequestBody: {
/** Challenge Id */
challenge_id: string;
/** Password */
password: string;
/** Principal Id */
principal_id: string;
/** Totp Code */
totp_code: string;
};
/** PasswordChangeBody */
PasswordChangeBody: {
/** Current Password */
current_password: string;
/** New Password */
new_password: string;
};
/**
* ProjectContentUpdateBody
* @description Editable human-authored project intent fields.
*/
ProjectContentUpdateBody: {
/** Description */
description: string;
/** Key Questions */
key_questions: string[];
/** North Star */
north_star: string;
};
/**
* ProjectCreateBody
* @description An administrator supplies the human-owned project lens and its initial policy.
*/
ProjectCreateBody: {
policy: components["schemas"]["AutoAcceptPolicy"];
project: components["schemas"]["ProjectRecord"];
};
/** ProjectRecord */
ProjectRecord: {
/** Autonomy Policy Id */
autonomy_policy_id: string;
/**
* Default Includes
* @default [
* "shared"
* ]
*/
default_includes: string[];
/**
* Description
* @default
*/
description: string;
/** Key Questions */
key_questions: string[];
/** North Star */
north_star: string;
/**
* Owners
* @default []
*/
owners: string[];
/** Project Id */
project_id: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
status: components["schemas"]["ProjectStatus"];
/** Taxonomy Extensions */
taxonomy_extensions?: {
[key: string]: string[];
};
/** Title */
title: string;
/**
* Watch List
* @default []
*/
watch_list: string[];
};
/**
* ProjectStatus
* @enum {string}
*/
ProjectRecord__ProjectStatus: "active" | "paused" | "archived";
/**
* ProjectStatus
* @enum {string}
*/
ProjectStatus: "active" | "paused" | "archived";
/** ProposalReceipt */
ProposalReceipt: {
/**
* Accepted Node Ids
* @default []
*/
accepted_node_ids: string[];
/**
* Commit Id
* @default null
*/
commit_id: string | null;
/**
* Decided At
* @default null
*/
decided_at: string | null;
/**
* Findings
* @default []
*/
findings: components["schemas"]["ProposalReceipt__Finding"][];
/**
* Outcome
* @enum {string}
*/
outcome: "accepted" | "held" | "rejected" | "validation-failed";
/** Payload Digest */
payload_digest: string;
/** Proposal Id */
proposal_id: string;
/** Revision */
revision: number;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
state: components["schemas"]["ProposalReceipt__ProposalState"];
};
/** Finding */
ProposalReceipt__Finding: {
/** Code */
code: string;
/** Message */
message: string;
/**
* Path
* @default null
*/
path: string | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/**
* ProposalState
* @enum {string}
*/
ProposalReceipt__ProposalState: "staged" | "validating" | "needs-review" | "accepted" | "rejected" | "withdrawn";
/** ProposalRevision */
ProposalRevision: {
/** Base Commit */
base_commit: string;
/** Initiating Project Id */
initiating_project_id: string;
/** Operations */
operations: components["schemas"]["ProposalRevision__ProposalOperation"][];
/** Payload Digest */
payload_digest: string;
/** Proposal Id */
proposal_id: string;
/** Proposer Id */
proposer_id: string;
/** Revision */
revision: number;
/** Run Id */
run_id: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
scope: components["schemas"]["ProposalRevision__Scope"];
};
/** Claim */
ProposalRevision__Claim: {
assessment: components["schemas"]["ProposalRevision__SupportAssessment"];
/** Claim Id */
claim_id: string;
/** Evidence */
evidence: components["schemas"]["ProposalRevision__EvidenceReference"][];
/**
* Evidence Type
* @enum {string}
*/
evidence_type: "measured" | "reported" | "opinion" | "vendor_marketing";
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Text */
text: string;
};
/**
* Confidence
* @enum {string}
*/
ProposalRevision__Confidence: "low" | "medium" | "high";
/** EdgeEndpoint */
ProposalRevision__EdgeEndpoint: {
/** Id */
id: string;
/**
* Kind
* @enum {string}
*/
kind: "node" | "source" | "project";
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** EvidenceReference */
ProposalRevision__EvidenceReference: {
/** Assertion Digest */
assertion_digest: string;
/** Assertion Path */
assertion_path: string;
/** Extraction Id */
extraction_id: string;
locator: components["schemas"]["ProposalRevision__Locator"];
/**
* Normalization Profile
* @constant
*/
normalization_profile: "unicode-nfc-lf-v1";
/** Quote */
quote: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Source Revision Id */
source_revision_id: string;
};
/** KnowledgeNode */
ProposalRevision__KnowledgeNode: {
/** Agent Id */
agent_id: string;
/**
* Aliases
* @default []
*/
aliases: string[];
/**
* As Of
* @default null
*/
as_of: string | null;
/**
* Assumptions
* @default []
*/
assumptions: components["schemas"]["ProposalRevision__Claim"][];
/**
* Audience
* @default []
*/
audience: string[];
/**
* Claim Support
* @enum {string}
*/
claim_support: "pending" | "supported" | "unsupported";
/** Claims */
claims: components["schemas"]["ProposalRevision__Claim"][];
confidence: components["schemas"]["ProposalRevision__Confidence"];
/**
* Created
* Format: date-time
*/
created: string;
/**
* Demographic
* @default null
*/
demographic: string | null;
/**
* Domain
* @default []
*/
domain: string[];
/** Lens Fit */
lens_fit?: {
[key: string]: components["schemas"]["ProposalRevision__LensFit"];
};
lifecycle: components["schemas"]["ProposalRevision__Lifecycle"];
/**
* Limitations
* @default []
*/
limitations: components["schemas"]["ProposalRevision__Claim"][];
/**
* Merged From
* @default []
*/
merged_from: string[];
/** Model Id */
model_id: string;
/** Node Id */
node_id: string;
node_type: components["schemas"]["ProposalRevision__NodeType"];
/** Project Id */
project_id: string;
/**
* Reporting Year
* @default null
*/
reporting_year: number | null;
review_state: components["schemas"]["ProposalRevision__ReviewState"];
/** Run Id */
run_id: string;
/**
* Sample Size
* @default null
*/
sample_size: number | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/**
* Stale After
* @default null
*/
stale_after: string | null;
/** Summary */
summary: string;
/**
* Superseded By
* @default []
*/
superseded_by: string[];
/**
* Supersedes
* @default []
*/
supersedes: string[];
/**
* Tags
* @default []
*/
tags: string[];
/** Title */
title: string;
/**
* Unit
* @default null
*/
unit: string | null;
/**
* Updated
* Format: date-time
*/
updated: string;
/**
* Use For
* @default []
*/
use_for: string[];
/**
* Value
* @default null
*/
value: number | null;
};
/** LensFit */
ProposalRevision__LensFit: {
/**
* Horizon
* @enum {string}
*/
horizon: "H1" | "H2" | "H3";
/**
* Key Question
* @default null
*/
key_question: string | null;
/** Reason */
reason: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Score */
score: number;
};
/**
* Lifecycle
* @enum {string}
*/
ProposalRevision__Lifecycle: "active" | "superseded";
/** Locator */
ProposalRevision__Locator: {
/** Block Id */
block_id: string;
/** End */
end: number;
/**
* Kind
* @enum {string}
*/
kind: "text_span" | "pdf_page_span" | "transcript_timestamp_span";
/**
* Page
* @default null
*/
page: number | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Start */
start: number;
/**
* Time End Ms
* @default null
*/
time_end_ms: number | null;
/**
* Time Start Ms
* @default null
*/
time_start_ms: number | null;
};
/**
* NodeType
* @enum {string}
*/
ProposalRevision__NodeType: "finding" | "problem" | "technique" | "case" | "entity" | "event" | "concept" | "datapoint" | "synthesis";
/** ProposalOperation */
ProposalRevision__ProposalOperation: {
/** @default null */
edge: components["schemas"]["ProposalRevision__TypedEdge"] | null;
/** @default null */
node: components["schemas"]["ProposalRevision__KnowledgeNode"] | null;
/**
* Operation
* @enum {string}
*/
operation: "register_source" | "upsert_node" | "add_edge" | "flag_stale";
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** @default null */
source: components["schemas"]["ProposalRevision__SourceRevisionRecord"] | null;
/**
* Target Id
* @default null
*/
target_id: string | null;
};
/**
* ReliabilityGrade
* @enum {string}
*/
ProposalRevision__ReliabilityGrade: "low" | "medium" | "high";
/**
* ReviewState
* @enum {string}
*/
ProposalRevision__ReviewState: "draft" | "reviewed";
/**
* Scope
* @description Project context plus optional project includes; all-project access is deliberate.
*/
ProposalRevision__Scope: {
/**
* All Projects
* @default false
*/
all_projects: boolean;
/**
* Include Projects
* @default null
*/
include_projects: string[] | null;
/**
* Include Shared
* @default true
*/
include_shared: boolean;
/** Projects */
projects: string[];
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** SourceRevisionRecord */
ProposalRevision__SourceRevisionRecord: {
/**
* Archive Status
* @enum {string}
*/
archive_status: "archived" | "reference-only" | "capture-failed";
/**
* Artifact Sha256
* @default null
*/
artifact_sha256: string | null;
/**
* Authors
* @default []
*/
authors: string[];
/** Byte Length */
byte_length: number;
/**
* Capture Method
* @default unspecified
* @enum {string}
*/
capture_method: "unspecified" | "local-file" | "url-fetch" | "pasted-text" | "notebooklm-export" | "transcript";
/**
* Captured At
* Format: date-time
*/
captured_at: string;
/**
* Final Url
* @default null
*/
final_url: string | null;
/** Ingested For */
ingested_for: string[];
/** License */
license: string;
/** Media Type */
media_type: string;
/**
* Original Url
* @default null
*/
original_url: string | null;
/**
* Publication Date
* @default null
*/
publication_date: string | null;
/**
* Publisher
* @default null
*/
publisher: string | null;
reliability_grade: components["schemas"]["ProposalRevision__ReliabilityGrade"];
/** Revision Id */
revision_id: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Source Id */
source_id: string;
/**
* Source Type
* @enum {string}
*/
source_type: "paper" | "review" | "press" | "vendor" | "internal" | "talk" | "export" | "other";
/** Title */
title: string;
};
/** SupportAssessment */
ProposalRevision__SupportAssessment: {
/** Assertion Digest */
assertion_digest: string;
/** Assessment Id */
assessment_id: string;
/** Assessor Id */
assessor_id: string;
/** Evidence Digests */
evidence_digests: string[];
/** Method */
method: string;
/** Rationale */
rationale: string;
/** Run Id */
run_id: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
status: components["schemas"]["ProposalRevision__SupportStatus"];
};
/**
* SupportStatus
* @enum {string}
*/
ProposalRevision__SupportStatus: "supported" | "unsupported" | "unavailable";
/** TypedEdge */
ProposalRevision__TypedEdge: {
/**
* Conditions
* @default null
*/
conditions: string | null;
/** Edge Id */
edge_id: string;
/**
* Edge Type
* @enum {string}
*/
edge_type: "solves" | "addresses" | "causes" | "supports" | "contradicts" | "instance_of" | "part_of" | "precedes" | "supersedes" | "compared_with" | "derived_from" | "applies_to";
/**
* Evidence
* @default []
*/
evidence: components["schemas"]["ProposalRevision__EvidenceReference"][];
/**
* Interpretation Rationale
* @default null
*/
interpretation_rationale: string | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
source: components["schemas"]["ProposalRevision__EdgeEndpoint"];
target: components["schemas"]["ProposalRevision__EdgeEndpoint"];
};
/** ProposalStatus */
ProposalStatus: {
/**
* Canonical Revision
* @default null
*/
canonical_revision: string | null;
/**
* Eligible For Auto Accept
* @default null
*/
eligible_for_auto_accept: boolean | null;
/**
* Findings
* @default []
*/
findings: components["schemas"]["ProposalStatus__Finding"][];
/**
* Lifecycle
* @enum {string}
*/
lifecycle: "staged" | "evaluated" | "publishing" | "published-unreconciled" | "accepted" | "withdrawn";
/** Proposal Id */
proposal_id: string;
/** @default null */
receipt: components["schemas"]["ProposalStatus__ProposalReceipt"] | null;
/** Revision */
revision: number;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/**
* Validation Status
* @default null
*/
validation_status: ("eligible" | "needs-review" | "invalid" | "conflict") | null;
};
/** Finding */
ProposalStatus__Finding: {
/** Code */
code: string;
/** Message */
message: string;
/**
* Path
* @default null
*/
path: string | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** ProposalReceipt */
ProposalStatus__ProposalReceipt: {
/**
* Accepted Node Ids
* @default []
*/
accepted_node_ids: string[];
/**
* Commit Id
* @default null
*/
commit_id: string | null;
/**
* Decided At
* @default null
*/
decided_at: string | null;
/**
* Findings
* @default []
*/
findings: components["schemas"]["ProposalStatus__Finding"][];
/**
* Outcome
* @enum {string}
*/
outcome: "accepted" | "held" | "rejected" | "validation-failed";
/** Payload Digest */
payload_digest: string;
/** Proposal Id */
proposal_id: string;
/** Revision */
revision: number;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
state: components["schemas"]["ProposalStatus__ProposalState"];
};
/**
* ProposalState
* @enum {string}
*/
ProposalStatus__ProposalState: "staged" | "validating" | "needs-review" | "accepted" | "rejected" | "withdrawn";
/** ReadEnvelope */
ReadEnvelope: {
/**
* Api Version
* @default v1
* @constant
*/
api_version: "v1";
budget_profile: components["schemas"]["BudgetProfile"];
/** Canonical Revision */
canonical_revision: string | null;
/**
* Citations
* @default []
*/
citations: components["schemas"]["EvidenceReference"][];
/** Data */
data: {
[key: string]: unknown;
}[];
/** Index Revision */
index_revision: string | null;
/** Next Cursor */
next_cursor?: string | null;
/**
* Omissions
* @default []
*/
omissions: components["schemas"]["Finding"][];
/** Request Id */
request_id: string;
resolved_scope: components["schemas"]["Scope"];
/**
* Retrieval Mode
* @enum {string}
*/
retrieval_mode: "keyword" | "hybrid" | "canonical";
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Tokens Used */
tokens_used: number;
/**
* Warnings
* @default []
*/
warnings: components["schemas"]["Finding"][];
};
/** BudgetProfile */
ReadEnvelope__BudgetProfile: {
/** Encoding */
encoding: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Tokenizer */
tokenizer: string;
};
/** EvidenceReference */
ReadEnvelope__EvidenceReference: {
/** Assertion Digest */
assertion_digest: string;
/** Assertion Path */
assertion_path: string;
/** Extraction Id */
extraction_id: string;
locator: components["schemas"]["ReadEnvelope__Locator"];
/**
* Normalization Profile
* @constant
*/
normalization_profile: "unicode-nfc-lf-v1";
/** Quote */
quote: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Source Revision Id */
source_revision_id: string;
};
/** Finding */
ReadEnvelope__Finding: {
/** Code */
code: string;
/** Message */
message: string;
/**
* Path
* @default null
*/
path: string | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** Locator */
ReadEnvelope__Locator: {
/** Block Id */
block_id: string;
/** End */
end: number;
/**
* Kind
* @enum {string}
*/
kind: "text_span" | "pdf_page_span" | "transcript_timestamp_span";
/**
* Page
* @default null
*/
page: number | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Start */
start: number;
/**
* Time End Ms
* @default null
*/
time_end_ms: number | null;
/**
* Time Start Ms
* @default null
*/
time_start_ms: number | null;
};
/**
* Scope
* @description Project context plus optional project includes; all-project access is deliberate.
*/
ReadEnvelope__Scope: {
/**
* All Projects
* @default false
*/
all_projects: boolean;
/**
* Include Projects
* @default null
*/
include_projects: string[] | null;
/**
* Include Shared
* @default true
*/
include_shared: boolean;
/** Projects */
projects: string[];
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** RunCheckpointRequest */
RunCheckpointRequest: {
/** Budgets */
budgets?: {
[key: string]: number;
};
coverage?: components["schemas"]["RunCheckpointRequest__RunCoverage"];
/** Expected Revision */
expected_revision: number;
/**
* Output Hashes
* @default []
*/
output_hashes: string[];
/**
* Pending Operations
* @default []
*/
pending_operations: components["schemas"]["RunCheckpointRequest__RunOperationReference"][];
/**
* Proposals
* @default []
*/
proposals: components["schemas"]["RunCheckpointRequest__RunProposalReference"][];
/** Run Id */
run_id: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/**
* Sources
* @default []
*/
sources: components["schemas"]["RunCheckpointRequest__RunSourceReference"][];
/** Stage */
stage: string;
/** @default active */
state: components["schemas"]["RunCheckpointRequest__RunState"];
};
/** Finding */
RunCheckpointRequest__Finding: {
/** Code */
code: string;
/** Message */
message: string;
/**
* Path
* @default null
*/
path: string | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** ProposalReceipt */
RunCheckpointRequest__ProposalReceipt: {
/**
* Accepted Node Ids
* @default []
*/
accepted_node_ids: string[];
/**
* Commit Id
* @default null
*/
commit_id: string | null;
/**
* Decided At
* @default null
*/
decided_at: string | null;
/**
* Findings
* @default []
*/
findings: components["schemas"]["RunCheckpointRequest__Finding"][];
/**
* Outcome
* @enum {string}
*/
outcome: "accepted" | "held" | "rejected" | "validation-failed";
/** Payload Digest */
payload_digest: string;
/** Proposal Id */
proposal_id: string;
/** Revision */
revision: number;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
state: components["schemas"]["RunCheckpointRequest__ProposalState"];
};
/**
* ProposalState
* @enum {string}
*/
RunCheckpointRequest__ProposalState: "staged" | "validating" | "needs-review" | "accepted" | "rejected" | "withdrawn";
/** RunCoverage */
RunCheckpointRequest__RunCoverage: {
/**
* Excluded
* @default []
*/
excluded: components["schemas"]["RunCheckpointRequest__RunCoverageItem"][];
/**
* Included
* @default []
*/
included: string[];
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/**
* Selected
* @default []
*/
selected: string[];
/**
* Skipped
* @default []
*/
skipped: components["schemas"]["RunCheckpointRequest__RunCoverageItem"][];
};
/** RunCoverageItem */
RunCheckpointRequest__RunCoverageItem: {
/** Item */
item: string;
/** Reason */
reason: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** RunOperationReference */
RunCheckpointRequest__RunOperationReference: {
/** Input Sha256 */
input_sha256: string;
/** Operation Id */
operation_id: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/**
* Status
* @enum {string}
*/
status: "pending" | "uncertain" | "complete" | "failed";
/** Tool Name */
tool_name: string;
};
/** RunProposalReference */
RunCheckpointRequest__RunProposalReference: {
/** Proposal Id */
proposal_id: string;
/** @default null */
receipt: components["schemas"]["RunCheckpointRequest__ProposalReceipt"] | null;
/** Revision */
revision: number;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/**
* Status
* @enum {string}
*/
status: "staged" | "evaluated" | "eligible" | "needs-review" | "invalid" | "conflict" | "publishing" | "accepted" | "rejected" | "withdrawn" | "uncertain";
};
/** RunSourceReference */
RunCheckpointRequest__RunSourceReference: {
/**
* Artifact Sha256
* @default null
*/
artifact_sha256: string | null;
/**
* Extraction Id
* @default null
*/
extraction_id: string | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Source Revision Id */
source_revision_id: string;
/**
* Status
* @enum {string}
*/
status: "selected" | "captured" | "extracted" | "unavailable" | "failed";
};
/**
* RunState
* @enum {string}
*/
RunCheckpointRequest__RunState: "active" | "completed" | "blocked";
/** RunCreateRequest */
RunCreateRequest: {
/** Lens */
lens: string;
/** Module Pins */
module_pins: components["schemas"]["RunCreateRequest__RunModulePin"][];
/** Objective */
objective: string;
/** Pack Id */
pack_id: string;
/** Pack Snapshot Digest */
pack_snapshot_digest: string;
/** Pack Version */
pack_version: string;
/** Run Id */
run_id: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
scope: components["schemas"]["RunCreateRequest__Scope"];
};
/** RunModulePin */
RunCreateRequest__RunModulePin: {
/** Implementation Version */
implementation_version: string;
/** Module Id */
module_id: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Sha256 */
sha256: string;
};
/**
* Scope
* @description Project context plus optional project includes; all-project access is deliberate.
*/
RunCreateRequest__Scope: {
/**
* All Projects
* @default false
*/
all_projects: boolean;
/**
* Include Projects
* @default null
*/
include_projects: string[] | null;
/**
* Include Shared
* @default true
*/
include_shared: boolean;
/** Projects */
projects: string[];
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** RunRecord */
RunRecord: {
/** Budgets */
budgets?: {
[key: string]: number;
};
/**
* Checkpoint Digest
* @default null
*/
checkpoint_digest: string | null;
coverage?: components["schemas"]["RunRecord__RunCoverage"];
/**
* Created At
* Format: date-time
*/
created_at: string;
/** Lens */
lens: string;
/** Module Pins */
module_pins: components["schemas"]["RunRecord__RunModulePin"][];
/** Objective */
objective: string;
/**
* Output Hashes
* @default []
*/
output_hashes: string[];
/** Pack Id */
pack_id: string;
/** Pack Snapshot Digest */
pack_snapshot_digest: string;
/** Pack Version */
pack_version: string;
/**
* Pending Operations
* @default []
*/
pending_operations: components["schemas"]["RunRecord__RunOperationReference"][];
/**
* Proposals
* @default []
*/
proposals: components["schemas"]["RunRecord__RunProposalReference"][];
/** Revision */
revision: number;
/** Run Id */
run_id: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
scope: components["schemas"]["RunRecord__Scope"];
/**
* Sources
* @default []
*/
sources: components["schemas"]["RunRecord__RunSourceReference"][];
/** Stage */
stage: string;
state: components["schemas"]["RunRecord__RunState"];
/**
* Updated At
* Format: date-time
*/
updated_at: string;
};
/** Finding */
RunRecord__Finding: {
/** Code */
code: string;
/** Message */
message: string;
/**
* Path
* @default null
*/
path: string | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** ProposalReceipt */
RunRecord__ProposalReceipt: {
/**
* Accepted Node Ids
* @default []
*/
accepted_node_ids: string[];
/**
* Commit Id
* @default null
*/
commit_id: string | null;
/**
* Decided At
* @default null
*/
decided_at: string | null;
/**
* Findings
* @default []
*/
findings: components["schemas"]["RunRecord__Finding"][];
/**
* Outcome
* @enum {string}
*/
outcome: "accepted" | "held" | "rejected" | "validation-failed";
/** Payload Digest */
payload_digest: string;
/** Proposal Id */
proposal_id: string;
/** Revision */
revision: number;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
state: components["schemas"]["RunRecord__ProposalState"];
};
/**
* ProposalState
* @enum {string}
*/
RunRecord__ProposalState: "staged" | "validating" | "needs-review" | "accepted" | "rejected" | "withdrawn";
/** RunCoverage */
RunRecord__RunCoverage: {
/**
* Excluded
* @default []
*/
excluded: components["schemas"]["RunRecord__RunCoverageItem"][];
/**
* Included
* @default []
*/
included: string[];
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/**
* Selected
* @default []
*/
selected: string[];
/**
* Skipped
* @default []
*/
skipped: components["schemas"]["RunRecord__RunCoverageItem"][];
};
/** RunCoverageItem */
RunRecord__RunCoverageItem: {
/** Item */
item: string;
/** Reason */
reason: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** RunModulePin */
RunRecord__RunModulePin: {
/** Implementation Version */
implementation_version: string;
/** Module Id */
module_id: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Sha256 */
sha256: string;
};
/** RunOperationReference */
RunRecord__RunOperationReference: {
/** Input Sha256 */
input_sha256: string;
/** Operation Id */
operation_id: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/**
* Status
* @enum {string}
*/
status: "pending" | "uncertain" | "complete" | "failed";
/** Tool Name */
tool_name: string;
};
/** RunProposalReference */
RunRecord__RunProposalReference: {
/** Proposal Id */
proposal_id: string;
/** @default null */
receipt: components["schemas"]["RunRecord__ProposalReceipt"] | null;
/** Revision */
revision: number;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/**
* Status
* @enum {string}
*/
status: "staged" | "evaluated" | "eligible" | "needs-review" | "invalid" | "conflict" | "publishing" | "accepted" | "rejected" | "withdrawn" | "uncertain";
};
/** RunSourceReference */
RunRecord__RunSourceReference: {
/**
* Artifact Sha256
* @default null
*/
artifact_sha256: string | null;
/**
* Extraction Id
* @default null
*/
extraction_id: string | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Source Revision Id */
source_revision_id: string;
/**
* Status
* @enum {string}
*/
status: "selected" | "captured" | "extracted" | "unavailable" | "failed";
};
/**
* RunState
* @enum {string}
*/
RunRecord__RunState: "active" | "completed" | "blocked";
/**
* Scope
* @description Project context plus optional project includes; all-project access is deliberate.
*/
RunRecord__Scope: {
/**
* All Projects
* @default false
*/
all_projects: boolean;
/**
* Include Projects
* @default null
*/
include_projects: string[] | null;
/**
* Include Shared
* @default true
*/
include_shared: boolean;
/** Projects */
projects: string[];
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/**
* Scope
* @description Project context plus optional project includes; all-project access is deliberate.
*/
Scope: {
/**
* All Projects
* @default false
*/
all_projects: boolean;
/** Include Projects */
include_projects?: string[] | null;
/**
* Include Shared
* @default true
*/
include_shared: boolean;
/** Projects */
projects: string[];
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** SearchRequest */
SearchRequest: {
/**
* As Of From
* @default null
*/
as_of_from: string | null;
/**
* As Of To
* @default null
*/
as_of_to: string | null;
/**
* Audience
* @default []
*/
audience: string[];
/** Budget Tokens */
budget_tokens: number;
/**
* Confidences
* @default []
*/
confidences: components["schemas"]["SearchRequest__Confidence"][];
/**
* Cursor
* @default null
*/
cursor: string | null;
/**
* Domain
* @default []
*/
domain: string[];
/**
* Limit
* @default 20
*/
limit: number;
/**
* Node Types
* @default []
*/
node_types: components["schemas"]["SearchRequest__NodeType"][];
/**
* Query
* @default
*/
query: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
scope: components["schemas"]["SearchRequest__Scope"];
/**
* Stale Only
* @default false
*/
stale_only: boolean;
/**
* Tags
* @default []
*/
tags: string[];
/**
* Use For
* @default []
*/
use_for: string[];
};
/** SearchRequestBody */
SearchRequestBody: {
/** As Of From */
as_of_from?: string | null;
/** As Of To */
as_of_to?: string | null;
/** Audience */
audience?: string[];
/** Budget Tokens */
budget_tokens: number;
/** Confidences */
confidences?: components["schemas"]["Confidence"][];
/** Cursor */
cursor?: string | null;
/** Domain */
domain?: string[];
/**
* Limit
* @default 20
*/
limit: number;
/** Node Types */
node_types?: string[];
/**
* Query
* @default
*/
query: string;
scope: components["schemas"]["SearchScopeBody"];
/**
* Stale Only
* @default false
*/
stale_only: boolean;
/** Tags */
tags?: string[];
/** Use For */
use_for?: string[];
};
/**
* Confidence
* @enum {string}
*/
SearchRequest__Confidence: "low" | "medium" | "high";
/**
* NodeType
* @enum {string}
*/
SearchRequest__NodeType: "finding" | "problem" | "technique" | "case" | "entity" | "event" | "concept" | "datapoint" | "synthesis";
/**
* Scope
* @description Project context plus optional project includes; all-project access is deliberate.
*/
SearchRequest__Scope: {
/**
* All Projects
* @default false
*/
all_projects: boolean;
/**
* Include Projects
* @default null
*/
include_projects: string[] | null;
/**
* Include Shared
* @default true
*/
include_shared: boolean;
/** Projects */
projects: string[];
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** SearchScopeBody */
SearchScopeBody: {
/**
* All Projects
* @default false
*/
all_projects: boolean;
/** Include Projects */
include_projects?: string[] | null;
/**
* Include Shared
* @default true
*/
include_shared: boolean;
/** Projects */
projects: string[];
};
/** ServiceDiagnostics */
ServiceDiagnostics: {
/**
* Api Version
* @default v1
* @constant
*/
api_version: "v1";
/**
* Authentication
* @enum {string}
*/
authentication: "bearer" | "browser_session";
/**
* Authorized Operations
* @default []
*/
authorized_operations: string[];
/**
* Authorized Projects
* @default []
*/
authorized_projects: string[];
/** Canonical Revision */
canonical_revision: string;
/**
* Capabilities
* @default []
*/
capabilities: string[];
/** Catalog Sha256 */
catalog_sha256: string;
/**
* Connection Status
* @default authenticated
* @constant
*/
connection_status: "authenticated";
/** Index Revision */
index_revision?: string | null;
/** Index Schema Version */
index_schema_version?: number | null;
/**
* Index State
* @enum {string}
*/
index_state: "current" | "lagging" | "not_built" | "not_configured" | "unavailable";
/** Max Upload Bytes */
max_upload_bytes: number;
/**
* Roles
* @default []
*/
roles: string[];
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
selected_scope?: components["schemas"]["Scope"] | null;
/** Service Version */
service_version: string;
/**
* Supported Media Types
* @default []
*/
supported_media_types: string[];
/**
* Transport
* @enum {string}
*/
transport: "http" | "mcp";
/** Upload Chunk Bytes */
upload_chunk_bytes: number;
/**
* Workflow Status
* @default not_verified
* @constant
*/
workflow_status: "not_verified";
};
/**
* Scope
* @description Project context plus optional project includes; all-project access is deliberate.
*/
ServiceDiagnostics__Scope: {
/**
* All Projects
* @default false
*/
all_projects: boolean;
/**
* Include Projects
* @default null
*/
include_projects: string[] | null;
/**
* Include Shared
* @default true
*/
include_shared: boolean;
/** Projects */
projects: string[];
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** SourceListRequestBody */
SourceListRequestBody: {
/** Budget Tokens */
budget_tokens: number;
/** Cursor */
cursor?: string | null;
/**
* Limit
* @default 20
*/
limit: number;
scope: components["schemas"]["SearchScopeBody"];
};
/** SourceRevisionRecord */
SourceRevisionRecord: {
/**
* Archive Status
* @enum {string}
*/
archive_status: "archived" | "reference-only" | "capture-failed";
/**
* Artifact Sha256
* @default null
*/
artifact_sha256: string | null;
/**
* Authors
* @default []
*/
authors: string[];
/** Byte Length */
byte_length: number;
/**
* Capture Method
* @default unspecified
* @enum {string}
*/
capture_method: "unspecified" | "local-file" | "url-fetch" | "pasted-text" | "notebooklm-export" | "transcript";
/**
* Captured At
* Format: date-time
*/
captured_at: string;
/**
* Final Url
* @default null
*/
final_url: string | null;
/** Ingested For */
ingested_for: string[];
/** License */
license: string;
/** Media Type */
media_type: string;
/**
* Original Url
* @default null
*/
original_url: string | null;
/**
* Publication Date
* @default null
*/
publication_date: string | null;
/**
* Publisher
* @default null
*/
publisher: string | null;
reliability_grade: components["schemas"]["SourceRevisionRecord__ReliabilityGrade"];
/** Revision Id */
revision_id: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Source Id */
source_id: string;
/**
* Source Type
* @enum {string}
*/
source_type: "paper" | "review" | "press" | "vendor" | "internal" | "talk" | "export" | "other";
/** Title */
title: string;
};
/**
* ReliabilityGrade
* @enum {string}
*/
SourceRevisionRecord__ReliabilityGrade: "low" | "medium" | "high";
/** TypedEdge */
TypedEdge: {
/**
* Conditions
* @default null
*/
conditions: string | null;
/** Edge Id */
edge_id: string;
/**
* Edge Type
* @enum {string}
*/
edge_type: "solves" | "addresses" | "causes" | "supports" | "contradicts" | "instance_of" | "part_of" | "precedes" | "supersedes" | "compared_with" | "derived_from" | "applies_to";
/**
* Evidence
* @default []
*/
evidence: components["schemas"]["TypedEdge__EvidenceReference"][];
/**
* Interpretation Rationale
* @default null
*/
interpretation_rationale: string | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
source: components["schemas"]["TypedEdge__EdgeEndpoint"];
target: components["schemas"]["TypedEdge__EdgeEndpoint"];
};
/** EdgeEndpoint */
TypedEdge__EdgeEndpoint: {
/** Id */
id: string;
/**
* Kind
* @enum {string}
*/
kind: "node" | "source" | "project";
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
};
/** EvidenceReference */
TypedEdge__EvidenceReference: {
/** Assertion Digest */
assertion_digest: string;
/** Assertion Path */
assertion_path: string;
/** Extraction Id */
extraction_id: string;
locator: components["schemas"]["TypedEdge__Locator"];
/**
* Normalization Profile
* @constant
*/
normalization_profile: "unicode-nfc-lf-v1";
/** Quote */
quote: string;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Source Revision Id */
source_revision_id: string;
};
/** Locator */
TypedEdge__Locator: {
/** Block Id */
block_id: string;
/** End */
end: number;
/**
* Kind
* @enum {string}
*/
kind: "text_span" | "pdf_page_span" | "transcript_timestamp_span";
/**
* Page
* @default null
*/
page: number | null;
/**
* Schema Version
* @default 1
* @constant
*/
schema_version: 1;
/** Start */
start: number;
/**
* Time End Ms
* @default null
*/
time_end_ms: number | null;
/**
* Time Start Ms
* @default null
*/
time_start_ms: number | null;
};
/** ValidationError */
ValidationError: {
/** Context */
ctx?: Record<string, never>;
/** Input */
input?: unknown;
/** Location */
loc: (string | number)[];
/** Message */
msg: string;
/** Error Type */
type: string;
};
};
responses: never;
parameters: never;
requestBodies: never;
headers: never;
pathItems: never;
}
export type $defs = Record<string, never>;
export interface operations {
owner_session_create: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": components["schemas"]["OwnerSessionRequestBody"];
};
};
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
[key: string]: string;
};
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
health: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
[key: string]: string;
};
};
};
};
};
admin_list_credentials: {
parameters: {
query?: {
limit?: number;
offset?: number;
};
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["CredentialSummary"][];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
admin_create_credential: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody: {
content: {
"application/json": components["schemas"]["CredentialCreateBody"];
};
};
responses: {
/** @description Successful Response */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["IssuedCredential"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
admin_revoke_credential: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path: {
credential_id: string;
};
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
[key: string]: string;
};
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
admin_update_credential: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path: {
credential_id: string;
};
cookie?: {
gewu_session?: string | null;
};
};
requestBody: {
content: {
"application/json": components["schemas"]["CredentialUpdateBody"];
};
};
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["CredentialSummary"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
admin_list_events: {
parameters: {
query?: {
limit?: number;
};
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["AdminEvent"][];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
admin_list_projects: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ProjectRecord"][];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
project_create: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody: {
content: {
"application/json": components["schemas"]["ProjectCreateBody"];
};
};
responses: {
/** @description Successful Response */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ProjectRecord"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
project_update_content: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path: {
project_id: string;
};
cookie?: {
gewu_session?: string | null;
};
};
requestBody: {
content: {
"application/json": components["schemas"]["ProjectContentUpdateBody"];
};
};
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ProjectRecord"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
project_archive: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path: {
project_id: string;
};
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ProjectRecord"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
admin_list_accounts: {
parameters: {
query?: {
limit?: number;
offset?: number;
};
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["AccountSummary"][];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
admin_create_account: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody: {
content: {
"application/json": components["schemas"]["AccountCreateBody"];
};
};
responses: {
/** @description Successful Response */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["AccountSummary"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
admin_disable_account: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path: {
username: string;
};
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
[key: string]: string;
};
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
admin_update_account: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path: {
username: string;
};
cookie?: {
gewu_session?: string | null;
};
};
requestBody: {
content: {
"application/json": components["schemas"]["AccountUpdateBody"];
};
};
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["AccountSummary"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
diagnostics: {
parameters: {
query?: {
projects?: string[] | null;
include_shared?: boolean;
};
header?: {
authorization?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ServiceDiagnostics"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
account_current: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["CurrentUser"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
account_list_agent_credentials: {
parameters: {
query?: {
limit?: number;
offset?: number;
};
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["CredentialSummary"][];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
account_create_agent_credential: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody: {
content: {
"application/json": components["schemas"]["AgentCreateBody"];
};
};
responses: {
/** @description Successful Response */
201: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["IssuedCredential"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
account_revoke_agent_credential: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path: {
credential_id: string;
};
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
[key: string]: string;
};
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
account_change_password: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody: {
content: {
"application/json": components["schemas"]["PasswordChangeBody"];
};
};
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
[key: string]: string;
};
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
neighbors: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody: {
content: {
"application/json": components["schemas"]["NeighborRequestBody"];
};
};
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ReadEnvelope"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
list_projects: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": string[];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
get_node: {
parameters: {
query?: {
revision?: string | null;
};
header?: {
authorization?: string | null;
};
path: {
project_id: string;
node_id: string;
};
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ReadEnvelope"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
node_history: {
parameters: {
query?: {
limit?: number;
};
header?: {
authorization?: string | null;
};
path: {
project_id: string;
node_id: string;
};
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ReadEnvelope"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
get_source: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
};
path: {
project_id: string;
revision_id: string;
};
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ReadEnvelope"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
get_source_artifact: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
};
path: {
project_id: string;
revision_id: string;
};
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": unknown;
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
get_source_location: {
parameters: {
query: {
offset: number;
length: number;
};
header?: {
authorization?: string | null;
};
path: {
project_id: string;
revision_id: string;
extraction_id: string;
block_id: string;
};
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
[key: string]: unknown;
};
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
search: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody: {
content: {
"application/json": components["schemas"]["SearchRequestBody"];
};
};
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ReadEnvelope"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
browser_session_restore: {
parameters: {
query?: never;
header?: {
"X-GEWU-Session"?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
[key: string]: string | boolean;
};
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
browser_session_create: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
};
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
[key: string]: string;
};
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
browser_session_revoke: {
parameters: {
query?: never;
header?: {
"X-GEWU-CSRF"?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
[key: string]: string;
};
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
list_sources: {
parameters: {
query?: never;
header?: {
authorization?: string | null;
"X-GEWU-CSRF"?: string | null;
};
path?: never;
cookie?: {
gewu_session?: string | null;
};
};
requestBody: {
content: {
"application/json": components["schemas"]["SourceListRequestBody"];
};
};
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["ReadEnvelope"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
account_login: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": components["schemas"]["LoginBody"];
};
};
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
[key: string]: string;
};
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
}