{ "components": { "schemas": { "AcceptedOrchestrationPlan": { "additionalProperties": false, "properties": { "branch": { "type": [ "string", "null" ] }, "role_plan": { "type": [ "string", "null" ] }, "summary": { "type": "string" }, "worktree": { "type": [ "string", "null" ] } }, "required": [ "summary" ], "type": "object" }, "ActivationCodeResponse": { "additionalProperties": false, "description": "The only response allowed to disclose an activation code. Clients must keep it\nout of URLs, persistent browser storage and diagnostics. A lost response is\nrecovered by reissuing, which invalidates the previous code and its ceremonies.", "properties": { "code": { "type": "string" }, "expires_at": { "type": "string" }, "user": { "$ref": "#/components/schemas/AuthenticatedUser" } }, "required": [ "user", "code", "expires_at" ], "type": "object" }, "ActivationOptionsRequest": { "additionalProperties": false, "description": "Proof for a pending account's initial passkey ceremony, never a bearer token\nor browser session. No caller-selected account ID or enrollment purpose is accepted.", "properties": { "browser_origin": { "type": [ "string", "null" ] }, "code": { "type": "string" }, "handle": { "type": "string" } }, "required": [ "handle", "code" ], "type": "object" }, "ActorAuthMethod": { "description": "Authentication method that established the current request actor.", "enum": [ "browser_session", "api_token" ], "type": "string" }, "Array_of_FlowSourceRecord": { "items": { "$ref": "#/components/schemas/FlowSourceRecord" }, "type": "array" }, "Array_of_MergeRequestThreadEvent": { "items": { "$ref": "#/components/schemas/MergeRequestThreadEvent" }, "type": "array" }, "Array_of_OrchestrationPlanRecord": { "items": { "$ref": "#/components/schemas/OrchestrationPlanRecord" }, "type": "array" }, "Array_of_RepositorySshCredential": { "items": { "$ref": "#/components/schemas/RepositorySshCredential" }, "type": "array" }, "Array_of_RepositorySshHostTrust": { "items": { "$ref": "#/components/schemas/RepositorySshHostTrust" }, "type": "array" }, "Array_of_TicketAssignmentTrackingProjection": { "items": { "$ref": "#/components/schemas/TicketAssignmentTrackingProjection" }, "type": "array" }, "Array_of_TicketRelation": { "items": { "$ref": "#/components/schemas/TicketRelation" }, "type": "array" }, "Array_of_TicketSummary": { "items": { "$ref": "#/components/schemas/TicketSummary" }, "type": "array" }, "Array_of_WorkspaceTag": { "items": { "$ref": "#/components/schemas/WorkspaceTag" }, "type": "array" }, "AttachmentUploadCancelResponse": { "additionalProperties": false, "properties": { "cancelled": { "type": "boolean" } }, "required": [ "cancelled" ], "type": "object" }, "AttachmentUploadGrantResponse": { "additionalProperties": false, "properties": { "expires_at_ms": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "upload_id": { "type": "string" } }, "required": [ "upload_id", "expires_at_ms" ], "type": "object" }, "AuditEvent": { "oneOf": [ { "$ref": "#/components/schemas/WorkerLifecycleAudit", "properties": { "event": { "const": "worker_lifecycle", "type": "string" } }, "required": [ "event" ], "type": "object" }, { "$ref": "#/components/schemas/RecordOperationAudit", "properties": { "event": { "const": "record_operation", "type": "string" } }, "required": [ "event" ], "type": "object" }, { "$ref": "#/components/schemas/RecordUsageAudit", "properties": { "event": { "const": "record_usage", "type": "string" } }, "required": [ "event" ], "type": "object" } ], "properties": { "id": { "type": "string" }, "occurred_at": { "type": "string" } }, "required": [ "id", "occurred_at" ], "type": "object" }, "AuditStatus": { "enum": [ "success", "failed", "skipped" ], "type": "string" }, "AuditTrigger": { "enum": [ "session_end", "turn_threshold", "token_threshold", "staging_backlog", "idle", "manual", "startup_recovery", "unknown" ], "type": "string" }, "AuditWorker": { "enum": [ "memory_extract", "memory_consolidation" ], "type": "string" }, "AuthBootstrapUserRequest": { "additionalProperties": false, "properties": { "display_name": { "type": [ "string", "null" ] }, "handle": { "type": "string" } }, "required": [ "handle" ], "type": "object" }, "AuthPublicConfig": { "additionalProperties": false, "description": "Public browser-authentication configuration.", "properties": { "cookie_name": { "type": "string" }, "origin": { "type": "string" }, "public_base_url": { "type": "string" }, "rp_id": { "type": "string" } }, "required": [ "rp_id", "origin", "public_base_url", "cookie_name" ], "type": "object" }, "AuthUserResponse": { "additionalProperties": false, "properties": { "user": { "$ref": "#/components/schemas/AuthenticatedUser" } }, "required": [ "user" ], "type": "object" }, "AuthenticatedUser": { "additionalProperties": false, "description": "Public user identity returned by authentication operations.", "properties": { "account_id": { "type": "string" }, "display_name": { "type": "string" }, "handle": { "type": "string" }, "user_id": { "type": "string" } }, "required": [ "user_id", "account_id", "handle", "display_name" ], "type": "object" }, "BrowserAppendTicketEventRequest": { "additionalProperties": false, "properties": { "author": { "type": [ "string", "null" ] }, "body": { "type": "string" }, "role": { "$ref": "#/components/schemas/BrowserTicketThreadRole" } }, "required": [ "role", "body" ], "type": "object" }, "BrowserCreateWorkerResponse": { "additionalProperties": false, "properties": { "console_href": { "type": "string" }, "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "runtime_id": { "type": "string" }, "worker": { "$ref": "#/components/schemas/WorkerLaunchWorkerSummary" }, "worker_id": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "runtime_id", "worker_id", "console_href", "worker", "diagnostics" ], "type": "object" }, "BrowserEditTicketRequest": { "additionalProperties": false, "properties": { "author": { "type": [ "string", "null" ] }, "body": { "type": [ "string", "null" ] }, "new_string": { "type": [ "string", "null" ] }, "old_string": { "type": [ "string", "null" ] }, "replace_all": { "default": false, "type": "boolean" }, "target": { "anyOf": [ { "$ref": "#/components/schemas/BrowserTicketTargetEdit" }, { "type": "null" } ] }, "title": { "type": [ "string", "null" ] } }, "type": "object" }, "BrowserQueueTicketRequest": { "additionalProperties": false, "type": "object" }, "BrowserSessionState": { "description": "Browser navigation evidence, not an authorization grant or a generic 401 classification.", "oneOf": [ { "additionalProperties": false, "properties": { "kind": { "const": "anonymous", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "expires_at": { "type": [ "string", "null" ] }, "kind": { "const": "authenticated", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "kind": { "const": "expired", "type": "string" } }, "required": [ "kind" ], "type": "object" } ] }, "BrowserTicketState": { "enum": [ "open", "closed" ], "type": "string" }, "BrowserTicketTargetEdit": { "oneOf": [ { "additionalProperties": false, "properties": { "action": { "const": "set", "type": "string" }, "targets": { "items": { "$ref": "#/components/schemas/TicketTarget" }, "type": "array" } }, "required": [ "action", "targets" ], "type": "object" }, { "additionalProperties": false, "properties": { "action": { "const": "clear", "type": "string" } }, "required": [ "action" ], "type": "object" } ] }, "BrowserTicketThreadRole": { "enum": [ "comment", "plan", "decision", "implementation_report" ], "type": "string" }, "BrowserWorkerWorkingDirectorySelection": { "additionalProperties": false, "properties": { "alias": { "description": "Stable Worker-local routing alias.", "type": "string" }, "relative_cwd": { "default": null, "type": [ "string", "null" ] }, "working_directory_id": { "type": "string" } }, "required": [ "alias", "working_directory_id" ], "type": "object" }, "BrowserWorkspaceOrchestratorResponse": { "additionalProperties": false, "properties": { "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "disposition": { "type": "string" }, "online": { "type": "boolean" }, "worker": { "anyOf": [ { "$ref": "#/components/schemas/WorkerLaunchWorkerSummary" }, { "type": "null" } ] }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "online", "disposition", "diagnostics" ], "type": "object" }, "CancelTicketImplementationRequest": { "additionalProperties": false, "properties": { "assignment_id": { "type": "string" }, "operation_id": { "type": "string" }, "reason": { "type": "string" } }, "required": [ "operation_id", "assignment_id", "reason" ], "type": "object" }, "CandidateKind": { "description": "Candidate kinds that extract is allowed to stage.", "enum": [ "preference", "working_assumption", "constraint", "decision", "open_question", "lesson" ], "type": "string" }, "CleanupTargetKind": { "enum": [ "worker_delete", "workdir_clean_cleanup", "workdir_dirty_discard", "workdir_record_delete" ], "type": "string" }, "CleanupWorkdirCandidate": { "additionalProperties": false, "properties": { "action": { "$ref": "#/components/schemas/CleanupTargetKind" }, "blocking_reason": { "type": [ "string", "null" ] }, "cleanliness": { "$ref": "#/components/schemas/CleanupWorkdirCleanliness" }, "estimated_reclaim_bytes": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "file_status": { "$ref": "#/components/schemas/CleanupWorkdirFileStatus" }, "linked_running_worker_ids": { "items": { "type": "string" }, "type": "array" }, "linked_worker_ids": { "items": { "type": "string" }, "type": "array" }, "pinned_linked": { "type": "boolean" }, "reason": { "type": "string" }, "repository_key": { "type": "string" }, "running_linked": { "type": "boolean" }, "runtime_id": { "type": "string" }, "target_id": { "type": "string" }, "workdir_id": { "type": "string" } }, "required": [ "target_id", "action", "workdir_id", "runtime_id", "repository_key", "reason", "linked_worker_ids", "linked_running_worker_ids", "running_linked", "pinned_linked", "file_status", "cleanliness" ], "type": "object" }, "CleanupWorkdirCleanliness": { "enum": [ "clean", "dirty", "unknown" ], "type": "string" }, "CleanupWorkdirFileStatus": { "enum": [ "pending", "present", "active", "cleanup_pending", "not_found", "corrupted", "failed", "unknown" ], "type": "string" }, "CleanupWorkerCandidate": { "additionalProperties": false, "properties": { "action": { "$ref": "#/components/schemas/CleanupTargetKind" }, "blocking_reason": { "type": [ "string", "null" ] }, "estimated_reclaim_bytes": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "linked_workdir_ids": { "items": { "type": "string" }, "type": "array" }, "pinned": { "type": "boolean" }, "reason": { "type": "string" }, "retention_state": { "type": "string" }, "running_linked": { "type": "boolean" }, "runtime_id": { "type": "string" }, "runtime_worker_id": { "type": "string" }, "target_id": { "type": "string" }, "worker_id": { "type": "string" } }, "required": [ "target_id", "action", "worker_id", "runtime_worker_id", "runtime_id", "reason", "pinned", "retention_state", "linked_workdir_ids", "running_linked" ], "type": "object" }, "ClearTicketRoleAssignmentQuery": { "additionalProperties": false, "properties": { "assignment_id": { "type": [ "string", "null" ] }, "operation_id": { "type": [ "string", "null" ] } }, "type": "object" }, "CompanionCancelRequest": { "additionalProperties": false, "description": "Public Workspace Companion cancellation request.", "properties": { "reason": { "type": [ "string", "null" ] } }, "type": "object" }, "CompanionLifecycleState": { "description": "Public lifecycle projection for the Workspace Companion endpoint.", "enum": [ "idle", "running", "stopped" ], "type": "string" }, "CompanionMessageDisposition": { "description": "Public outcome of a Companion message submission.", "enum": [ "accepted", "rejected" ], "type": "string" }, "CompanionMessageRequest": { "additionalProperties": false, "description": "Public Workspace Companion message request.", "properties": { "content": { "type": "string" } }, "required": [ "content" ], "type": "object" }, "CompanionMessageResponse": { "additionalProperties": false, "description": "Public Workspace Companion message response.", "properties": { "message": { "type": "string" }, "state": { "$ref": "#/components/schemas/CompanionMessageDisposition" } }, "required": [ "state", "message" ], "type": "object" }, "CompanionStatusResponse": { "additionalProperties": false, "description": "Public Workspace Companion status response.", "properties": { "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "state": { "$ref": "#/components/schemas/CompanionLifecycleState" }, "transport": { "$ref": "#/components/schemas/CompanionTransportSummary" }, "worker": { "anyOf": [ { "$ref": "#/components/schemas/WorkspaceWorkerDiscoveryItem" }, { "type": "null" } ] } }, "required": [ "state", "transport" ], "type": "object" }, "CompanionTranscriptItem": { "additionalProperties": false, "description": "One allowlisted, user-visible Companion transcript item.", "properties": { "content": { "type": "string" }, "created_at": { "type": "string" }, "role": { "$ref": "#/components/schemas/CompanionTranscriptRole" }, "sequence": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "sequence", "role", "content", "created_at" ], "type": "object" }, "CompanionTranscriptProjection": { "additionalProperties": false, "description": "Bounded public Companion transcript projection.", "properties": { "items": { "items": { "$ref": "#/components/schemas/CompanionTranscriptItem" }, "type": "array" }, "limit": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "next": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "start": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "state": { "$ref": "#/components/schemas/CompanionLifecycleState" }, "total": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "state", "start", "limit", "total", "items" ], "type": "object" }, "CompanionTranscriptQuery": { "additionalProperties": false, "properties": { "limit": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "start": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] } }, "type": "object" }, "CompanionTranscriptRole": { "description": "User-visible role accepted in the public Companion transcript.", "enum": [ "user", "assistant" ], "type": "string" }, "CompanionTransportSummary": { "additionalProperties": false, "description": "Public, bounded transport metadata for Companion status.", "properties": { "available": { "type": "boolean" }, "mode": { "type": "string" } }, "required": [ "mode", "available" ], "type": "object" }, "CompiledFlowDefinition": { "additionalProperties": false, "properties": { "content_digest": { "type": "string" }, "initial": { "type": "string" }, "name": { "type": "string" }, "schema_version": { "format": "uint32", "minimum": 0, "type": "integer" }, "states": { "additionalProperties": { "$ref": "#/components/schemas/CompiledFlowState" }, "type": "object" } }, "required": [ "schema_version", "name", "initial", "states", "content_digest" ], "type": "object" }, "CompiledFlowState": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "instructions": { "type": "string" }, "terminal": { "type": "boolean" }, "transitions": { "items": { "$ref": "#/components/schemas/CompiledFlowTransition" }, "type": "array" } }, "required": [ "id", "instructions", "terminal", "transitions" ], "type": "object" }, "CompiledFlowTransition": { "additionalProperties": false, "properties": { "condition": { "type": "string" }, "id": { "type": "string" }, "synthetic": { "type": "boolean" }, "target": { "type": "string" } }, "required": [ "id", "target", "condition", "synthetic" ], "type": "object" }, "CompletionContext": { "properties": { "argument": { "type": [ "string", "null" ] }, "invocation": { "$ref": "#/components/schemas/FeatureInvocationIdentity" } }, "required": [ "invocation" ], "type": "object" }, "CompletionEntry": { "description": "One completion candidate for a prefix query.", "properties": { "description": { "type": [ "string", "null" ] }, "invocation": { "anyOf": [ { "$ref": "#/components/schemas/FeatureInvocationDescriptor" }, { "type": "null" } ] }, "is_dir": { "default": false, "type": "boolean" }, "usage": { "type": [ "string", "null" ] }, "value": { "type": "string" } }, "required": [ "value" ], "type": "object" }, "CompletionKind": { "description": "Kind of completion requested by `Method::ListCompletions`.\n\n`File` is the existing `@` path lane. `Feature` lists installed chat\ninvocations. `FeatureArgument` resolves a declared argument using the\nsource-qualified [`CompletionContext`].", "enum": [ "file", "feature", "feature_argument" ], "type": "string" }, "ConfigCommitRequest": { "additionalProperties": false, "description": "Compare-and-swap request for applying a complete set of source-tree changes.", "properties": { "base_digest": { "type": "string" }, "changes": { "items": { "$ref": "#/components/schemas/ConfigTreeChange" }, "type": "array" }, "entrypoints": { "items": { "type": "string" }, "type": "array" } }, "required": [ "base_digest", "changes", "entrypoints" ], "type": "object" }, "ConfigContentType": { "description": "Source content kinds accepted by the Workspace configuration tree.", "enum": [ "decodal", "text" ], "type": "string" }, "ConfigEntry": { "additionalProperties": false, "description": "One source entry in the Workspace configuration tree.", "properties": { "content": { "type": "string" }, "content_digest": { "type": "string" }, "content_type": { "$ref": "#/components/schemas/ConfigContentType" }, "path": { "type": "string" } }, "required": [ "path", "content_type", "content", "content_digest" ], "type": "object" }, "ConfigProjectionValidator": { "oneOf": [ { "properties": { "key_aliases": { "additionalProperties": { "type": "string" }, "type": "object" }, "kind": { "const": "static_template_catalog", "type": "string" }, "namespace": { "type": "string" } }, "required": [ "kind", "namespace" ], "type": "object" } ] }, "ConfigSchemaContribution": { "additionalProperties": false, "properties": { "authoring_source": { "description": "Completion-only shape for partial values; never materialized as defaults.", "type": [ "string", "null" ] }, "namespace": { "type": "string" }, "projection_validator": { "anyOf": [ { "$ref": "#/components/schemas/ConfigProjectionValidator" }, { "type": "null" } ] }, "provider_id": { "type": "string" }, "source": { "type": "string" }, "source_digest": { "type": "string" }, "version": { "type": "string" } }, "required": [ "provider_id", "namespace", "version", "source", "source_digest" ], "type": "object" }, "ConfigTreeChange": { "description": "Base-relative change applied by a Workspace configuration commit.", "oneOf": [ { "properties": { "content": { "type": "string" }, "content_type": { "$ref": "#/components/schemas/ConfigContentType" }, "kind": { "const": "create", "type": "string" }, "path": { "type": "string" } }, "required": [ "kind", "path", "content_type", "content" ], "type": "object" }, { "properties": { "content": { "type": "string" }, "expected_digest": { "type": "string" }, "kind": { "const": "update", "type": "string" }, "path": { "type": "string" } }, "required": [ "kind", "path", "expected_digest", "content" ], "type": "object" }, { "properties": { "expected_digest": { "type": "string" }, "from": { "type": "string" }, "kind": { "const": "rename", "type": "string" }, "to": { "type": "string" } }, "required": [ "kind", "from", "to", "expected_digest" ], "type": "object" }, { "properties": { "expected_digest": { "type": "string" }, "kind": { "const": "delete", "type": "string" }, "path": { "type": "string" } }, "required": [ "kind", "path", "expected_digest" ], "type": "object" } ] }, "ConfigTreeSnapshot": { "additionalProperties": false, "description": "Immutable Workspace configuration tree snapshot.", "properties": { "digest": { "type": "string" }, "entries": { "additionalProperties": { "$ref": "#/components/schemas/ConfigEntry" }, "type": "object" } }, "required": [ "digest", "entries" ], "type": "object" }, "ConfirmRepositorySshHostTrustRequest": { "additionalProperties": false, "properties": { "expected_host_key_fingerprint": { "type": [ "string", "null" ] }, "host_key": { "type": "string" }, "operation_id": { "type": "string" }, "runtime_id": { "type": "string" } }, "required": [ "operation_id", "runtime_id", "host_key" ], "type": "object" }, "ConflictResolution": { "enum": [ "none", "clean", "conflicts_resolved" ], "type": "string" }, "ConsolidationAudit": { "properties": { "consumed_staging_ids": { "items": { "type": "string" }, "type": "array" }, "invalid_staging_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "operations": { "$ref": "#/components/schemas/OperationCounts", "default": { "delete": 0, "drop": 0, "edit": 0, "merge": 0, "trim": 0, "write": 0 } }, "staging_bytes": { "default": 0, "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "staging_count": { "default": 0, "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "type": "object" }, "CreateRemoteRuntimeRequest": { "additionalProperties": false, "properties": { "display_name": { "type": [ "string", "null" ] }, "endpoint": { "type": "string" }, "expected_binding_id": { "type": [ "string", "null" ] }, "public_bundle": { "$ref": "#/components/schemas/RuntimePublicIdentityBundle" } }, "required": [ "public_bundle", "endpoint" ], "type": "object" }, "CreateRepositorySshCredentialRequest": { "additionalProperties": false, "properties": { "credential_id": { "type": "string" }, "name": { "type": "string" }, "operation_id": { "type": "string" }, "passphrase": { "default": null, "type": [ "string", "null" ] }, "private_key": { "type": "string" } }, "required": [ "operation_id", "credential_id", "name", "private_key" ], "type": "object" }, "CreateWorkspaceRepositoryRequest": { "additionalProperties": false, "description": "Browser/user intent for registering one Repository in a Workspace.\n\nThe Server parses and canonicalizes `source`; callers cannot assert a\ntransport classification or supply credential material through this DTO.", "properties": { "default_ref": { "default": null, "type": [ "string", "null" ] }, "repository_key": { "type": "string" }, "source": { "type": "string" } }, "required": [ "repository_key", "source" ], "type": "object" }, "CreateWorkspaceRepositoryResponse": { "properties": { "replayed": { "type": "boolean" }, "repository_key": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "repository_key", "replayed" ], "type": "object" }, "CreateWorkspaceWorkerRequest": { "additionalProperties": false, "properties": { "control_operation_id": { "default": null, "description": "Backend idempotency key used only for authenticated Worker-owned spawn/control.", "type": [ "string", "null" ] }, "display_name": { "type": "string" }, "execution_grant": { "anyOf": [ { "$ref": "#/components/schemas/WorkerDelegationRequest" }, { "type": "null" } ], "default": null, "description": "Requested least-authority child permissions. Host derives the origin; this\ninput cannot assert Subject identity or create a body/singleton attachment." }, "feature_connections": { "$ref": "#/components/schemas/WorkspaceWorkerFeatureConnectionsRequest", "description": "Explicit product Feature connections. Backend validation turns these into\ntrusted host attachments; Runtime and Profile inputs cannot self-attest them." }, "initial_submit": { "default": [], "items": { "$ref": "#/components/schemas/Segment" }, "type": "array" }, "profile": { "default": null, "type": [ "string", "null" ] }, "runtime_id": { "type": "string" }, "singleton_key": { "default": null, "description": "Opaque Workspace-scoped singleton identity. Possession does not grant Worker access.", "type": [ "string", "null" ] }, "ticket_assignment": { "anyOf": [ { "$ref": "#/components/schemas/CreateWorkspaceWorkerTicketAssignmentRequest" }, { "type": "null" } ], "default": null }, "workdir_attachments": { "default": [], "items": { "$ref": "#/components/schemas/BrowserWorkerWorkingDirectorySelection" }, "type": "array" } }, "required": [ "runtime_id", "display_name", "feature_connections" ], "type": "object" }, "CreateWorkspaceWorkerTicketAssignmentRequest": { "additionalProperties": false, "properties": { "operation_id": { "type": "string" }, "orchestrator_assignment_id": { "description": "Observed delegation required for Orchestrator Ticket starts; manual starts omit it.", "type": [ "string", "null" ] }, "ticket_id": { "type": "string" } }, "required": [ "ticket_id", "operation_id" ], "type": "object" }, "DefaultIntakeReadyBodyRequest": { "additionalProperties": false, "properties": { "from": { "type": "string" } }, "required": [ "from" ], "type": "object" }, "DeleteRepositorySshCredentialRequest": { "additionalProperties": false, "properties": { "expected_public_key_fingerprint": { "type": "string" }, "operation_id": { "type": "string" } }, "required": [ "operation_id", "expected_public_key_fingerprint" ], "type": "object" }, "DeleteRepositorySshHostTrustRequest": { "additionalProperties": false, "properties": { "expected_fingerprint": { "type": "string" }, "operation_id": { "type": "string" } }, "required": [ "operation_id", "expected_fingerprint" ], "type": "object" }, "DerivedTicketRelation": { "properties": { "at": { "type": "string" }, "author": { "type": "string" }, "forward_kind": { "$ref": "#/components/schemas/TicketRelationKind" }, "inverse_kind": { "type": "string" }, "note": { "type": [ "string", "null" ] }, "source_ticket": { "type": "string" } }, "required": [ "source_ticket", "inverse_kind", "forward_kind", "author", "at" ], "type": "object" }, "DeviceAccessTokenType": { "enum": [ "Bearer" ], "type": "string" }, "DeviceLoginApprovalStatus": { "enum": [ "approved" ], "type": "string" }, "DeviceLoginApproveRequest": { "additionalProperties": false, "properties": { "user_code": { "type": "string" } }, "required": [ "user_code" ], "type": "object" }, "DeviceLoginApproveResponse": { "additionalProperties": false, "properties": { "status": { "$ref": "#/components/schemas/DeviceLoginApprovalStatus" }, "user": { "$ref": "#/components/schemas/AuthenticatedUser" } }, "required": [ "status", "user" ], "type": "object" }, "DeviceLoginPollRequest": { "additionalProperties": false, "properties": { "device_code": { "type": "string" } }, "required": [ "device_code" ], "type": "object" }, "DeviceLoginPollResponse": { "additionalProperties": false, "properties": { "access_token": { "type": [ "string", "null" ] }, "status": { "$ref": "#/components/schemas/DeviceLoginPollStatus" }, "token_type": { "anyOf": [ { "$ref": "#/components/schemas/DeviceAccessTokenType" }, { "type": "null" } ] } }, "required": [ "status" ], "type": "object" }, "DeviceLoginPollStatus": { "enum": [ "pending", "approved", "expired", "denied", "consumed" ], "type": "string" }, "DeviceLoginStartRequest": { "additionalProperties": false, "properties": { "client_name": { "type": [ "string", "null" ] } }, "type": "object" }, "DeviceLoginStartResponse": { "additionalProperties": false, "properties": { "device_code": { "type": "string" }, "expires_in": { "format": "uint64", "maximum": 86400, "minimum": 1, "type": "integer" }, "interval": { "format": "uint64", "maximum": 60, "minimum": 1, "type": "integer" }, "user_code": { "type": "string" }, "verification_uri": { "type": "string" }, "verification_uri_complete": { "type": "string" } }, "required": [ "device_code", "user_code", "verification_uri", "verification_uri_complete", "expires_in", "interval" ], "type": "object" }, "Diagnostic": { "additionalProperties": false, "properties": { "code": { "type": "string" }, "message": { "type": "string" }, "severity": { "$ref": "#/components/schemas/DiagnosticSeverity" } }, "required": [ "code", "severity", "message" ], "type": "object" }, "DiagnosticSeverity": { "enum": [ "info", "warning", "error" ], "type": "string" }, "DriveAccess": { "enum": [ "read_only", "read_write" ], "type": "string" }, "DriveApiError": { "additionalProperties": false, "properties": { "classification": { "$ref": "#/components/schemas/DriveFailureClassification" }, "code": { "$ref": "#/components/schemas/DriveApiErrorCode" }, "message": { "type": "string" } }, "required": [ "code", "classification", "message" ], "type": "object" }, "DriveApiErrorCode": { "enum": [ "denied", "not_found", "conflict", "invalid", "limit", "storage_unavailable", "outcome_unknown" ], "type": "string" }, "DriveCapabilities": { "additionalProperties": false, "description": "Current caller's advisory publication ceiling, never a grant or execution credential.", "properties": { "write": { "type": "boolean" } }, "required": [ "write" ], "type": "object" }, "DriveDownloadQuery": { "additionalProperties": false, "properties": { "entry_workspace_id": { "type": "string" }, "expected_mutation_id": { "default": null, "type": [ "string", "null" ] }, "id": { "pattern": "^[1-9][0-9]*$", "type": "string" } }, "required": [ "entry_workspace_id", "id" ], "type": "object" }, "DriveEntry": { "additionalProperties": false, "description": "Metadata only: content is returned through bounded text or binary routes.", "properties": { "content_type": { "type": [ "string", "null" ] }, "entry": { "$ref": "#/components/schemas/DriveEntryRef" }, "kind": { "$ref": "#/components/schemas/DriveEntryKind" }, "last_mutation_id": { "description": "Request ID of the last committed mutation, or empty for the immutable root.", "maxLength": 128, "type": "string" }, "latest_url": { "description": "Stable relative authenticated URL in this same Workspace. No bearer token\nor cross-Workspace link is embedded in this metadata.", "type": "string" }, "name": { "type": "string" }, "parent": { "anyOf": [ { "$ref": "#/components/schemas/DriveEntryRef" }, { "type": "null" } ] }, "size": { "description": "File length in bytes; absent for folders.", "format": "uint32", "maximum": 16777216, "minimum": 0, "type": [ "integer", "null" ] }, "updated_at": { "description": "Timestamp projected from storage's updated_at_ms; not a creation time.", "type": "string" }, "updated_by": { "type": "string" } }, "required": [ "entry", "name", "kind", "last_mutation_id", "updated_by", "updated_at", "latest_url" ], "type": "object" }, "DriveEntryKind": { "enum": [ "folder", "file" ], "type": "string" }, "DriveEntryQuery": { "additionalProperties": false, "properties": { "entry_workspace_id": { "type": "string" }, "id": { "pattern": "^[1-9][0-9]*$", "type": "string" } }, "required": [ "entry_workspace_id", "id" ], "type": "object" }, "DriveEntryRef": { "additionalProperties": false, "description": "Numeric node IDs alone are not public references: the referenced Workspace\nmust match the route Workspace before the service resolves the node.", "properties": { "node_id": { "pattern": "^[1-9][0-9]*$", "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "node_id" ], "type": "object" }, "DriveFailureClassification": { "enum": [ "not_committed", "unknown" ], "type": "string" }, "DriveGrantCreateRequest": { "additionalProperties": false, "properties": { "access": { "$ref": "#/components/schemas/DriveAccess" }, "runtime_id": { "type": "string" }, "worker_id": { "type": "string" } }, "required": [ "runtime_id", "worker_id", "access" ], "type": "object" }, "DriveGrantListQuery": { "additionalProperties": false, "properties": { "after": { "default": null, "description": "Canonical grant ID cursor within this Workspace.", "type": [ "string", "null" ] }, "limit": { "default": null, "format": "uint32", "maximum": 200, "minimum": 1, "type": [ "integer", "null" ] } }, "type": "object" }, "DriveGrantListResponse": { "additionalProperties": false, "properties": { "grants": { "items": { "$ref": "#/components/schemas/DriveGrantResponse" }, "type": "array" }, "next_after": { "type": [ "string", "null" ] } }, "required": [ "grants" ], "type": "object" }, "DriveGrantResponse": { "additionalProperties": false, "properties": { "access": { "$ref": "#/components/schemas/DriveAccess" }, "created_at": { "type": "string" }, "created_by": { "type": "string" }, "grant_id": { "pattern": "^[1-9][0-9]*$", "type": "string" }, "revoked": { "type": "boolean" }, "revoked_at": { "type": [ "string", "null" ] }, "revoked_by": { "type": [ "string", "null" ] }, "runtime_id": { "type": "string" }, "worker_id": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "grant_id", "workspace_id", "runtime_id", "worker_id", "access", "revoked", "created_by", "created_at" ], "type": "object" }, "DriveListQuery": { "additionalProperties": false, "properties": { "after": { "default": null, "description": "Opaque service-issued page cursor, not a bare node ID.", "type": [ "string", "null" ] }, "entry_workspace_id": { "type": "string" }, "id": { "description": "Folder to list.", "pattern": "^[1-9][0-9]*$", "type": "string" }, "limit": { "default": null, "format": "uint32", "maximum": 200, "minimum": 1, "type": [ "integer", "null" ] } }, "required": [ "entry_workspace_id", "id" ], "type": "object" }, "DriveListResponse": { "additionalProperties": false, "properties": { "entries": { "items": { "$ref": "#/components/schemas/DriveEntry" }, "type": "array" }, "next_after": { "type": [ "string", "null" ] } }, "required": [ "entries" ], "type": "object" }, "DriveMutation": { "description": "JSON can mutate bounded UTF-8 TEXT only. Arbitrary file bytes use drive_upload.", "oneOf": [ { "additionalProperties": false, "properties": { "name": { "type": "string" }, "operation": { "const": "create_folder", "type": "string" }, "parent": { "$ref": "#/components/schemas/DriveEntryRef" } }, "required": [ "operation", "parent", "name" ], "type": "object" }, { "additionalProperties": false, "properties": { "content_type": { "type": "string" }, "name": { "type": "string" }, "operation": { "const": "create_text", "type": "string" }, "parent": { "$ref": "#/components/schemas/DriveEntryRef" }, "text": { "type": "string" } }, "required": [ "operation", "parent", "name", "text", "content_type" ], "type": "object" }, { "additionalProperties": false, "properties": { "content_type": { "type": "string" }, "expected_mutation_id": { "maxLength": 128, "type": "string" }, "id": { "$ref": "#/components/schemas/DriveEntryRef" }, "operation": { "const": "update_text", "type": "string" }, "text": { "type": "string" } }, "required": [ "operation", "id", "expected_mutation_id", "text", "content_type" ], "type": "object" }, { "additionalProperties": false, "properties": { "expected_mutation_id": { "maxLength": 128, "type": "string" }, "id": { "$ref": "#/components/schemas/DriveEntryRef" }, "name": { "type": "string" }, "operation": { "const": "relocate", "type": "string" }, "parent": { "$ref": "#/components/schemas/DriveEntryRef" } }, "required": [ "operation", "id", "expected_mutation_id", "parent", "name" ], "type": "object" }, { "additionalProperties": false, "properties": { "expected_mutation_id": { "maxLength": 128, "type": "string" }, "id": { "$ref": "#/components/schemas/DriveEntryRef" }, "operation": { "const": "delete", "type": "string" } }, "required": [ "operation", "id", "expected_mutation_id" ], "type": "object" } ] }, "DriveMutationRequest": { "additionalProperties": false, "properties": { "mutation": { "$ref": "#/components/schemas/DriveMutation" }, "request_id": { "type": "string" } }, "required": [ "request_id", "mutation" ], "type": "object" }, "DriveMutationResponse": { "additionalProperties": false, "properties": { "entry": { "anyOf": [ { "$ref": "#/components/schemas/DriveEntry" }, { "type": "null" } ], "description": "A deleted entry has no live metadata." }, "request_id": { "type": "string" } }, "required": [ "request_id" ], "type": "object" }, "DriveReadChunkQuery": { "additionalProperties": false, "properties": { "entry_workspace_id": { "type": "string" }, "expected_mutation_id": { "description": "Require each chunk to match the same committed mutation observed in metadata.", "maxLength": 128, "type": "string" }, "id": { "pattern": "^[1-9][0-9]*$", "type": "string" }, "length": { "default": 65536, "format": "uint32", "maximum": 65536, "minimum": 1, "type": "integer" }, "offset": { "format": "uint32", "maximum": 16777216, "minimum": 0, "type": "integer" } }, "required": [ "entry_workspace_id", "id", "expected_mutation_id", "offset" ], "type": "object" }, "DriveReadTextQuery": { "additionalProperties": false, "properties": { "entry_workspace_id": { "type": "string" }, "id": { "pattern": "^[1-9][0-9]*$", "type": "string" }, "max_bytes": { "default": 65536, "format": "uint32", "maximum": 65536, "minimum": 1, "type": "integer" } }, "required": [ "entry_workspace_id", "id" ], "type": "object" }, "DriveReadTextResponse": { "additionalProperties": false, "properties": { "entry": { "$ref": "#/components/schemas/DriveEntry" }, "text": { "type": "string" }, "truncated": { "type": "boolean" } }, "required": [ "entry", "text", "truncated" ], "type": "object" }, "DriveRequestState": { "oneOf": [ { "enum": [ "committed" ], "type": "string" }, { "const": "uncommitted", "description": "No commit record exists at the observation snapshot. An in-flight request\ncan still commit afterward; this is not proof of a final failed outcome.", "type": "string" } ] }, "DriveRequestStatusResponse": { "additionalProperties": false, "properties": { "request_id": { "type": "string" }, "response": { "anyOf": [ { "$ref": "#/components/schemas/DriveMutationResponse" }, { "type": "null" } ] }, "state": { "$ref": "#/components/schemas/DriveRequestState" } }, "required": [ "request_id", "state" ], "type": "object" }, "DriveSearchQuery": { "additionalProperties": false, "properties": { "after": { "default": null, "type": [ "string", "null" ] }, "include_text": { "default": false, "description": "Search file text as well as names only when explicitly requested.", "type": "boolean" }, "limit": { "default": null, "format": "uint32", "maximum": 128, "minimum": 1, "type": [ "integer", "null" ] }, "query": { "type": "string" } }, "required": [ "query" ], "type": "object" }, "DriveUploadOperation": { "enum": [ "create", "update" ], "type": "string" }, "DriveUploadQuery": { "additionalProperties": false, "description": "Flat query metadata accompanies the binary body. The service rejects invalid\ncombinations: create requires parent_id/name and forbids id/expected_mutation_id;\nupdate requires id/expected_mutation_id and forbids parent_id/name. Both targets\nare bound by entry_workspace_id; declared size and SHA256 must match the body.", "properties": { "content_type": { "type": "string" }, "entry_workspace_id": { "type": "string" }, "expected_mutation_id": { "default": null, "type": [ "string", "null" ] }, "id": { "default": null, "type": [ "string", "null" ] }, "name": { "default": null, "type": [ "string", "null" ] }, "operation": { "$ref": "#/components/schemas/DriveUploadOperation" }, "parent_id": { "default": null, "type": [ "string", "null" ] }, "request_id": { "type": "string" }, "sha256": { "type": "string" }, "size": { "description": "Values above the file limit still decode as u32 so the service returns\ntyped Limit rather than a generic request-decoding error.", "format": "uint32", "maximum": 16777216, "minimum": 0, "type": "integer" } }, "required": [ "operation", "request_id", "entry_workspace_id", "content_type", "size", "sha256" ], "type": "object" }, "EffectivePromptCatalog": { "additionalProperties": false, "properties": { "catalog_digest": { "type": "string" }, "schema_fingerprint": { "type": "string" }, "source_digest": { "type": "string" }, "templates": { "additionalProperties": { "type": "string" }, "type": "object" }, "toolchain_fingerprint": { "type": "string" } }, "required": [ "templates", "schema_fingerprint", "toolchain_fingerprint", "catalog_digest" ], "type": "object" }, "EvidenceKind": { "description": "Extensible evidence kind tag used by staging source anchors.\n\nKnown values include `message`, `tool_call`, `tool_result`, `file_ref`,\n`ticket_ref`, and `objective_ref`, but callers may use newer bounded tags\nwithout changing the schema.", "type": "string" }, "EvidenceOrigin": { "additionalProperties": false, "description": "Bounded origin snapshot attached to extraction evidence. This is audit\nmetadata only and cannot authorize Workspace operations.", "properties": { "account_id": { "type": [ "string", "null" ] }, "flow_definition_fingerprint": { "description": "SHA-256 of the exact pinned Flow definition content, when available.\nHistorical origins without captured definition content leave this absent.", "type": [ "string", "null" ] }, "flow_definition_id": { "type": [ "string", "null" ] }, "flow_selector": { "type": [ "string", "null" ] }, "kind": { "$ref": "#/components/schemas/EvidenceOriginKind" }, "runtime_id": { "type": [ "string", "null" ] }, "worker_id": { "type": [ "string", "null" ] }, "workspace_id": { "type": [ "string", "null" ] } }, "required": [ "kind" ], "type": "object" }, "EvidenceOriginKind": { "enum": [ "human_input", "worker_input", "flow_instruction", "backend_instruction", "model_output", "tool_output", "derived_summary", "legacy_unknown" ], "type": "string" }, "ExecuteRuntimeCleanupRequest": { "additionalProperties": false, "properties": { "confirm_dirty_discard_target_ids": { "default": [], "items": { "type": "string" }, "type": "array" }, "expected_plan_digest": { "type": "string" }, "workdir_target_ids": { "default": [], "items": { "type": "string" }, "type": "array" }, "worker_target_ids": { "default": [], "items": { "type": "string" }, "type": "array" } }, "required": [ "expected_plan_digest" ], "type": "object" }, "ExtensibleTicketStatus": { "oneOf": [ { "enum": [ "Open", "Closed" ], "type": "string" }, { "additionalProperties": false, "properties": { "Other": { "type": "string" } }, "required": [ "Other" ], "type": "object" } ] }, "ExternalWorkdirGrantCreateRequest": { "additionalProperties": false, "properties": { "display_name": { "type": "string" }, "permissions": { "$ref": "#/components/schemas/ExternalWorkdirPermissions" }, "provider_instance_id": { "type": "string" }, "ttl_seconds": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] } }, "required": [ "provider_instance_id", "display_name", "permissions" ], "type": "object" }, "ExternalWorkdirGrantResponse": { "additionalProperties": false, "properties": { "display_name": { "type": "string" }, "expires_at": { "description": "`None` means the grant has no automatic expiry. It remains bounded by\nexplicit revoke, provider disconnect, and provider shutdown cleanup.", "type": [ "string", "null" ] }, "generation": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "grant_id": { "type": "string" }, "permissions": { "$ref": "#/components/schemas/ExternalWorkdirPermissions" }, "provider_instance_id": { "type": "string" }, "status": { "type": "string" }, "working_directory_id": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "grant_id", "workspace_id", "working_directory_id", "provider_instance_id", "display_name", "permissions", "generation", "status" ], "type": "object" }, "ExternalWorkdirPermissions": { "additionalProperties": false, "properties": { "command": { "description": "Execute commands as the sharing CLI user on the provider host. COMMAND\nincludes WRITE and READ, remains explicit, and is not sandboxed.", "type": "boolean" }, "read": { "description": "Read files and use read-only discovery operations such as Glob and Grep.\nEvery supported External Workdir permission level enables this field.", "type": "boolean" }, "write": { "description": "Create or update files with Write and Edit. WRITE includes READ so callers\ncan satisfy the read-before-write contract.", "type": "boolean" } }, "required": [ "read", "write", "command" ], "type": "object" }, "ExtractAudit": { "properties": { "entry_range": { "items": { "$ref": "#/components/schemas/MemoryJsonSafeU64" }, "maxItems": 2, "minItems": 2, "type": [ "array", "null" ] }, "history_range": { "items": { "$ref": "#/components/schemas/MemoryJsonSafeU64" }, "maxItems": 2, "minItems": 2, "type": [ "array", "null" ] }, "segment_id": { "type": [ "string", "null" ] }, "session_id": { "type": [ "string", "null" ] }, "staging_count": { "default": 0, "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "staging_ids": { "items": { "type": "string" }, "type": "array" }, "staging_paths": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "ExtractedCandidate": { "description": "Model-submitted candidate before host-side staging metadata is attached.", "properties": { "claim": { "description": "Concise candidate claim.", "type": "string" }, "evidence_ids": { "description": "Evidence ids selected by the extract worker. The transitional\n`write_extracted` path may leave this empty until `session-explore`\nprovides host-issued evidence ids.", "items": { "type": "string" }, "type": "array" }, "kind": { "$ref": "#/components/schemas/CandidateKind", "description": "Kind of candidate. This is intentionally a narrow taxonomy, not an\nactivity-log category." }, "staleness": { "description": "Optional invalidation / staleness hint.", "type": [ "string", "null" ] }, "why_useful": { "description": "Why this may be useful for future work or consolidation.", "type": "string" } }, "required": [ "kind", "claim", "why_useful" ], "type": "object" }, "ExtractedPayload": { "description": "Transitional extract output: zero or more flat candidates.", "properties": { "candidates": { "default": [], "items": { "$ref": "#/components/schemas/ExtractedCandidate" }, "type": "array" } }, "type": "object" }, "FeatureInvocation": { "properties": { "arguments": { "items": { "$ref": "#/components/schemas/InvocationArgumentValue" }, "type": "array" }, "identity": { "$ref": "#/components/schemas/FeatureInvocationIdentity" }, "invocation_id": { "description": "Stable client-generated id retained across queueing and transport retry.", "type": "string" }, "name": { "description": "Selected public name, retained for exact draft/history restoration. Host\nresolution is always by `identity`.", "type": "string" } }, "required": [ "invocation_id", "identity", "name", "arguments" ], "type": "object" }, "FeatureInvocationDescriptor": { "properties": { "aliases": { "default": [], "items": { "type": "string" }, "type": "array" }, "arguments": { "default": [], "items": { "$ref": "#/components/schemas/InvocationArgumentDescriptor" }, "type": "array" }, "client_adapter": { "anyOf": [ { "$ref": "#/components/schemas/InvocationClientAdapter" }, { "type": "null" } ] }, "description": { "type": "string" }, "display_name": { "type": "string" }, "identity": { "$ref": "#/components/schemas/FeatureInvocationIdentity" }, "name": { "type": "string" }, "syntax": { "$ref": "#/components/schemas/FeatureInvocationSyntax" } }, "required": [ "identity", "name", "display_name", "description", "syntax" ], "type": "object" }, "FeatureInvocationIdentity": { "description": "Source-qualified identity of one invocation contribution, for example\n`builtin:attachments/attach`. Display names and aliases are never authority.", "type": "string" }, "FeatureInvocationSyntax": { "oneOf": [ { "const": "parenthesized", "description": "`/name(value, key=value)` with JSON-style quoted strings and `)` as the\nexplicit boundary before following natural language.", "type": "string" } ] }, "FindingSeverity": { "enum": [ "blocker", "major", "minor", "note" ], "type": "string" }, "FlowSourceKind": { "enum": [ "builtin", "workspace" ], "type": "string" }, "FlowSourceRecord": { "additionalProperties": false, "description": "Current source record for one Workspace-authored Flow.", "properties": { "content": { "type": "string" }, "content_digest": { "type": "string" }, "created_at": { "type": "string" }, "flow_id": { "type": "string" }, "name": { "type": "string" }, "path": { "type": "string" }, "source_kind": { "$ref": "#/components/schemas/FlowSourceKind" }, "updated_at": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "flow_id", "source_kind", "name", "path", "content", "content_digest", "created_at", "updated_at" ], "type": "object" }, "FlowSourceResolveRequest": { "additionalProperties": false, "properties": { "selector": { "type": "string" } }, "required": [ "selector" ], "type": "object" }, "GenerateRepositorySshCredentialRequest": { "additionalProperties": false, "properties": { "credential_id": { "type": "string" }, "name": { "type": "string" }, "operation_id": { "type": "string" } }, "required": [ "operation_id", "credential_id", "name" ], "type": "object" }, "GitCommitSummary": { "additionalProperties": false, "properties": { "author_date": { "type": "string" }, "author_email": { "type": "string" }, "author_name": { "type": "string" }, "hash": { "type": "string" }, "parents": { "items": { "type": "string" }, "type": "array" }, "refs": { "items": { "type": "string" }, "type": "array" }, "short_hash": { "type": "string" }, "summary": { "type": "string" } }, "required": [ "hash", "short_hash", "summary", "author_name", "author_email", "author_date", "parents", "refs" ], "type": "object" }, "GitRemoteSummary": { "additionalProperties": false, "properties": { "fetch_url": { "type": "string" }, "name": { "type": "string" } }, "required": [ "name", "fetch_url" ], "type": "object" }, "GitRepositorySummary": { "additionalProperties": false, "properties": { "branch": { "type": [ "string", "null" ] }, "dirty": { "type": "boolean" }, "head": { "type": [ "string", "null" ] }, "remotes": { "items": { "$ref": "#/components/schemas/GitRemoteSummary" }, "type": "array" }, "status": { "type": "string" } }, "required": [ "status", "dirty", "remotes" ], "type": "object" }, "HealthResponse": { "additionalProperties": false, "properties": { "status": { "type": "string" } }, "required": [ "status" ], "type": "object" }, "HostListResponse": { "additionalProperties": false, "properties": { "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "items": { "items": { "$ref": "#/components/schemas/HostSummary" }, "type": "array" }, "limit": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "source": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "limit", "items", "source", "diagnostics" ], "type": "object" }, "HostSummary": { "additionalProperties": false, "properties": { "arch": { "type": "string" }, "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "host_id": { "type": "string" }, "kind": { "type": "string" }, "label": { "type": "string" }, "last_seen_at": { "type": [ "string", "null" ] }, "observed_at": { "type": "string" }, "os": { "type": "string" }, "runtime_id": { "type": "string" }, "status": { "type": "string" } }, "required": [ "runtime_id", "host_id", "label", "kind", "status", "observed_at", "os", "arch", "diagnostics" ], "type": "object" }, "HostWorkerListResponse": { "additionalProperties": false, "properties": { "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "items": { "items": { "$ref": "#/components/schemas/WorkerSummary" }, "type": "array" }, "limit": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "source": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "limit", "items", "source", "diagnostics" ], "type": "object" }, "HostingAccess": { "additionalProperties": false, "description": "Hosting authority for the current authenticated human, not Workspace permissions.", "properties": { "is_admin": { "type": "boolean" } }, "required": [ "is_admin" ], "type": "object" }, "HostingSettings": { "additionalProperties": false, "description": "The only public registration policy. No administrator identities or host secrets are exposed.", "properties": { "self_registration_enabled": { "type": "boolean" } }, "required": [ "self_registration_enabled" ], "type": "object" }, "InitialRepositoryIntent": { "additionalProperties": false, "description": "Initial Repository registration intent for Workspace creation.", "properties": { "default_ref": { "default": null, "type": [ "string", "null" ] }, "repository_key": { "type": "string" }, "uri": { "type": "string" } }, "required": [ "repository_key", "uri" ], "type": "object" }, "InvalidProjectRecord": { "additionalProperties": false, "description": "One malformed project record reported by a bounded list projection.", "properties": { "label": { "type": "string" }, "reason": { "type": "string" } }, "required": [ "label", "reason" ], "type": "object" }, "InvocationArgumentDescriptor": { "properties": { "completion": { "$ref": "#/components/schemas/InvocationCompletion", "default": { "kind": "none" } }, "description": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "position": { "description": "Zero-based positional index. `None` means named-only. A positional\nargument may also be supplied by name; this makes chip editing stable.", "format": "uint16", "maximum": 65535, "minimum": 0, "type": [ "integer", "null" ] }, "required": { "default": false, "type": "boolean" }, "value_type": { "$ref": "#/components/schemas/InvocationArgumentType" } }, "required": [ "name", "value_type" ], "type": "object" }, "InvocationArgumentType": { "oneOf": [ { "properties": { "kind": { "const": "string", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "properties": { "kind": { "const": "integer", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "properties": { "kind": { "const": "boolean", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "properties": { "kind": { "const": "enum", "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "required": [ "kind", "values" ], "type": "object" }, { "description": "A Worker-readable path. This does not grant filesystem authority.", "properties": { "kind": { "const": "worker_file", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "description": "A resource selected and staged by the client. It must never be resolved\nas a path on the Worker host.", "properties": { "kind": { "const": "client_file", "type": "string" } }, "required": [ "kind" ], "type": "object" } ] }, "InvocationArgumentValue": { "properties": { "name": { "type": "string" }, "value": { "$ref": "#/components/schemas/InvocationValue" } }, "required": [ "name", "value" ], "type": "object" }, "InvocationClientAdapter": { "oneOf": [ { "const": "attachment", "description": "The client stages a local file and replaces the draft invocation with an\n`UploadedFile` chip. Local paths are not sent to or persisted by Worker.", "type": "string" } ] }, "InvocationCompletion": { "oneOf": [ { "properties": { "kind": { "const": "none", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "properties": { "kind": { "const": "static", "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "required": [ "kind", "values" ], "type": "object" }, { "properties": { "kind": { "const": "worker_file", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "properties": { "kind": { "const": "client_file", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "description": "Host-owned provider selected by source-qualified id. Metadata lookup is\nside-effect free; implementations never cross this wire boundary.", "properties": { "kind": { "const": "provider", "type": "string" }, "provider": { "type": "string" } }, "required": [ "kind", "provider" ], "type": "object" } ] }, "InvocationValue": { "oneOf": [ { "properties": { "kind": { "const": "string", "type": "string" }, "value": { "type": "string" } }, "required": [ "kind", "value" ], "type": "object" }, { "properties": { "kind": { "const": "integer", "type": "string" }, "value": { "format": "int32", "type": "integer" } }, "required": [ "kind", "value" ], "type": "object" }, { "properties": { "kind": { "const": "boolean", "type": "string" }, "value": { "type": "boolean" } }, "required": [ "kind", "value" ], "type": "object" } ] }, "LegacyMemoryResetRequest": { "additionalProperties": false, "description": "Explicit destructive reset request. The confirmation must exactly equal\n`RESET LEGACY MEMORY ` for the Workspace named in the route.", "properties": { "confirmation": { "maxLength": 256, "type": "string" } }, "required": [ "confirmation" ], "type": "object" }, "LegacyMemoryResetResponse": { "additionalProperties": false, "properties": { "documents_deleted": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "staging_records_deleted": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "staging_resolutions_deleted": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "documents_deleted", "staging_records_deleted", "staging_resolutions_deleted" ], "type": "object" }, "LogoutResponse": { "additionalProperties": false, "properties": { "status": { "$ref": "#/components/schemas/LogoutStatus" } }, "required": [ "status" ], "type": "object" }, "LogoutStatus": { "enum": [ "logged_out" ], "type": "string" }, "MarkdownText": { "type": "string" }, "MemoryAppendAuditOperation": { "properties": { "event": { "$ref": "#/components/schemas/AuditEvent" } }, "required": [ "event" ], "type": "object" }, "MemoryBackendAckOutput": { "properties": { "summary": { "type": "string" } }, "required": [ "summary" ], "type": "object" }, "MemoryBackendHttpResponse": { "oneOf": [ { "properties": { "result": { "$ref": "#/components/schemas/MemoryBackendOperationResult" }, "status": { "const": "ok", "type": "string" } }, "required": [ "status", "result" ], "type": "object" }, { "properties": { "message": { "type": "string" }, "status": { "const": "error", "type": "string" } }, "required": [ "status", "message" ], "type": "object" } ] }, "MemoryBackendOperation": { "oneOf": [ { "$ref": "#/components/schemas/MemoryQueryOperation", "properties": { "operation": { "const": "query", "type": "string" } }, "required": [ "operation" ], "type": "object" }, { "$ref": "#/components/schemas/MemoryDocumentReadOperation", "properties": { "operation": { "const": "read_document", "type": "string" } }, "required": [ "operation" ], "type": "object" }, { "$ref": "#/components/schemas/MemoryDocumentUpdateOperation", "properties": { "operation": { "const": "update_document", "type": "string" } }, "required": [ "operation" ], "type": "object" }, { "$ref": "#/components/schemas/MemoryResidentSummaryOperation", "properties": { "operation": { "const": "resident_summary", "type": "string" } }, "required": [ "operation" ], "type": "object" }, { "$ref": "#/components/schemas/MemoryAppendAuditOperation", "properties": { "operation": { "const": "append_audit", "type": "string" } }, "required": [ "operation" ], "type": "object" }, { "$ref": "#/components/schemas/MemoryStageCandidateOperation", "properties": { "operation": { "const": "stage_candidate", "type": "string" } }, "required": [ "operation" ], "type": "object" }, { "$ref": "#/components/schemas/MemoryStageExtractedOperation", "properties": { "operation": { "const": "stage_extracted", "type": "string" } }, "required": [ "operation" ], "type": "object" }, { "$ref": "#/components/schemas/MemoryStagingListOperation", "properties": { "operation": { "const": "staging_list", "type": "string" } }, "required": [ "operation" ], "type": "object" }, { "$ref": "#/components/schemas/MemoryStagingReadOperation", "properties": { "operation": { "const": "staging_read", "type": "string" } }, "required": [ "operation" ], "type": "object" }, { "$ref": "#/components/schemas/MemoryStagingCloseOperation", "properties": { "operation": { "const": "staging_close", "type": "string" } }, "required": [ "operation" ], "type": "object" } ] }, "MemoryBackendOperationResult": { "oneOf": [ { "$ref": "#/components/schemas/MemoryToolOutput", "properties": { "kind": { "const": "tool_output", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "$ref": "#/components/schemas/MemoryResidentSummaryOutput", "properties": { "kind": { "const": "resident_summary", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "$ref": "#/components/schemas/MemoryBackendAckOutput", "properties": { "kind": { "const": "acknowledged", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "$ref": "#/components/schemas/MemoryStagingWriteOutput", "properties": { "kind": { "const": "staging_written", "type": "string" } }, "required": [ "kind" ], "type": "object" } ] }, "MemoryBackendRequest": { "$ref": "#/components/schemas/MemoryBackendOperation", "description": "Public wrapper retaining the established tagged Memory backend wire shape." }, "MemoryBackendResponse": { "$ref": "#/components/schemas/MemoryBackendHttpResponse", "description": "Public wrapper retaining the established tagged Memory backend response shape." }, "MemoryCandidateKind": { "description": "Candidate kinds exposed by the Memory staging resource.", "enum": [ "preference", "working_assumption", "constraint", "decision", "open_question", "lesson" ], "type": "string" }, "MemoryConsolidateStagingRequest": { "additionalProperties": false, "properties": { "force": { "default": false, "type": "boolean" } }, "type": "object" }, "MemoryConsolidationResponse": { "additionalProperties": false, "properties": { "candidate_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "status": { "type": "string" }, "summary": { "type": "string" }, "total_bytes": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "status", "summary", "candidate_count", "total_bytes" ], "type": "object" }, "MemoryDocumentReadOperation": { "properties": { "limit": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "offset": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] } }, "type": "object" }, "MemoryDocumentResponse": { "additionalProperties": false, "description": "Public Workspace Memory document projection.", "properties": { "body_md": { "type": "string" }, "bytes": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "created_at": { "type": "string" }, "record_source": { "type": "string" }, "updated_at": { "type": "string" } }, "required": [ "body_md", "created_at", "updated_at", "bytes", "record_source" ], "type": "object" }, "MemoryDocumentUpdateOperation": { "properties": { "new_string": { "type": "string" }, "old_string": { "type": "string" }, "replace_all": { "default": false, "type": "boolean" } }, "required": [ "old_string", "new_string" ], "type": "object" }, "MemoryEvidenceOrigin": { "additionalProperties": false, "description": "Bounded origin metadata copied from one typed Memory evidence anchor.\n\nThis is provenance only. It carries no message body, prompt, reasoning,\nsecret, tool output, or authorization authority.", "properties": { "account_id": { "type": [ "string", "null" ] }, "flow_definition_fingerprint": { "type": [ "string", "null" ] }, "flow_definition_id": { "type": [ "string", "null" ] }, "flow_selector": { "type": [ "string", "null" ] }, "kind": { "$ref": "#/components/schemas/MemoryEvidenceOriginKind" }, "runtime_id": { "type": [ "string", "null" ] }, "worker_id": { "type": [ "string", "null" ] }, "workspace_id": { "type": [ "string", "null" ] } }, "required": [ "kind" ], "type": "object" }, "MemoryEvidenceOriginKind": { "description": "Typed, bounded provenance classification for public Memory evidence anchors.", "enum": [ "human_input", "worker_input", "flow_instruction", "backend_instruction", "model_output", "tool_output", "derived_summary", "legacy_unknown" ], "type": "string" }, "MemoryJsonSafeU64": { "description": "Schema-only representation for JSON integers that must remain exactly\nrepresentable by JavaScript consumers.", "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "MemoryQueryOperation": { "properties": { "query": { "type": [ "string", "null" ] } }, "type": "object" }, "MemoryResidentSummaryAvailability": { "enum": [ "ready", "ungenerated", "stale", "failed", "unavailable" ], "type": "string" }, "MemoryResidentSummaryOperation": { "type": "object" }, "MemoryResidentSummaryOutput": { "properties": { "availability": { "$ref": "#/components/schemas/MemoryResidentSummaryAvailability" }, "content": { "type": [ "string", "null" ] } }, "required": [ "availability" ], "type": "object" }, "MemorySettingsAudit": { "properties": { "language": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "language" ], "type": "object" }, "MemorySourceEvidenceRef": { "additionalProperties": false, "description": "Bounded source anchor included in one Memory staging record.", "properties": { "entry_range": { "items": { "$ref": "#/components/schemas/ServerJsonSafeU64" }, "maxItems": 2, "minItems": 2, "type": [ "array", "null" ] }, "evidence_id": { "type": [ "string", "null" ] }, "evidence_kind": { "type": [ "string", "null" ] }, "label": { "type": [ "string", "null" ] }, "origin": { "anyOf": [ { "$ref": "#/components/schemas/MemoryEvidenceOrigin" }, { "type": "null" } ] }, "segment_id": { "type": [ "string", "null" ] }, "session_id": { "type": [ "string", "null" ] }, "summary": { "type": [ "string", "null" ] } }, "type": "object" }, "MemorySourceRef": { "additionalProperties": false, "description": "Record-level source range for one Memory staging candidate.", "properties": { "range": { "items": { "$ref": "#/components/schemas/ServerJsonSafeU64" }, "maxItems": 2, "minItems": 2, "type": "array" }, "segment_id": { "type": "string" } }, "required": [ "segment_id", "range" ], "type": "object" }, "MemoryStageCandidateOperation": { "properties": { "candidate": { "$ref": "#/components/schemas/ExtractedCandidate" }, "evidence": { "items": { "$ref": "#/components/schemas/StagingEvidence" }, "type": "array" }, "extract_run_id": { "type": "string" }, "source": { "$ref": "#/components/schemas/SourceRef" }, "source_refs": { "items": { "$ref": "#/components/schemas/SourceEvidenceRef" }, "type": "array" } }, "required": [ "source", "extract_run_id", "candidate" ], "type": "object" }, "MemoryStageExtractedOperation": { "properties": { "payload": { "$ref": "#/components/schemas/ExtractedPayload" }, "source": { "$ref": "#/components/schemas/SourceRef" } }, "required": [ "source", "payload" ], "type": "object" }, "MemoryStagingAffectedMemory": { "properties": { "operation": { "$ref": "#/components/schemas/MemoryStagingAffectedMemoryOperation" } }, "required": [ "operation" ], "type": "object" }, "MemoryStagingAffectedMemoryOperation": { "enum": [ "edit" ], "type": "string" }, "MemoryStagingCloseAction": { "enum": [ "applied", "discarded", "invalid", "duplicate", "already_covered" ], "type": "string" }, "MemoryStagingCloseOperation": { "properties": { "action": { "$ref": "#/components/schemas/MemoryStagingCloseAction" }, "affected_memory": { "items": { "$ref": "#/components/schemas/MemoryStagingAffectedMemory" }, "type": "array" }, "candidate_id": { "type": "string" }, "reason": { "type": "string" } }, "required": [ "candidate_id", "action", "reason" ], "type": "object" }, "MemoryStagingEntry": { "additionalProperties": false, "description": "Public list entry for one valid Memory staging record.", "properties": { "byte_len": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "id": { "type": "string" }, "record": { "$ref": "#/components/schemas/MemoryStagingRecord" } }, "required": [ "id", "byte_len", "record" ], "type": "object" }, "MemoryStagingEvidence": { "additionalProperties": false, "description": "Bounded evidence snippet included in one Memory staging record.", "properties": { "entry_range": { "items": { "$ref": "#/components/schemas/ServerJsonSafeU64" }, "maxItems": 2, "minItems": 2, "type": [ "array", "null" ] }, "excerpt": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "kind": { "type": "string" }, "origin": { "anyOf": [ { "$ref": "#/components/schemas/MemoryEvidenceOrigin" }, { "type": "null" } ] }, "summary": { "type": [ "string", "null" ] } }, "required": [ "id", "kind" ], "type": "object" }, "MemoryStagingListOperation": { "properties": { "limit": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] } }, "type": "object" }, "MemoryStagingListResponse": { "additionalProperties": false, "description": "Public response returned by the Workspace Memory staging list resource.", "properties": { "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "invalid_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "items": { "items": { "$ref": "#/components/schemas/MemoryStagingEntry" }, "type": "array" }, "limit": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "order": { "type": "string" }, "record_authority": { "type": "string" }, "returned_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "total_valid_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "truncated": { "type": "boolean" } }, "required": [ "limit", "returned_count", "total_valid_count", "invalid_count", "truncated", "order", "record_authority", "items", "diagnostics" ], "type": "object" }, "MemoryStagingQuery": { "additionalProperties": false, "description": "Query parameters for the bounded Memory staging list.", "properties": { "limit": { "format": "uint32", "maximum": 1000, "minimum": 0, "type": [ "integer", "null" ] } }, "type": "object" }, "MemoryStagingReadOperation": { "properties": { "candidate_id": { "type": "string" } }, "required": [ "candidate_id" ], "type": "object" }, "MemoryStagingRecord": { "additionalProperties": false, "description": "Public projection of one valid Memory staging record.", "properties": { "claim": { "type": "string" }, "evidence": { "items": { "$ref": "#/components/schemas/MemoryStagingEvidence" }, "type": "array" }, "extract_run_id": { "type": "string" }, "id": { "type": "string" }, "kind": { "$ref": "#/components/schemas/MemoryCandidateKind" }, "schema_version": { "format": "uint32", "minimum": 0, "type": "integer" }, "source": { "$ref": "#/components/schemas/MemorySourceRef" }, "source_refs": { "items": { "$ref": "#/components/schemas/MemorySourceEvidenceRef" }, "type": "array" }, "staleness": { "type": [ "string", "null" ] }, "why_useful": { "type": "string" } }, "required": [ "schema_version", "id", "extract_run_id", "source", "kind", "claim", "why_useful", "evidence", "source_refs" ], "type": "object" }, "MemoryStagingWriteOutput": { "properties": { "staging_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "staging_ids": { "items": { "type": "string" }, "type": "array" } }, "required": [ "staging_count", "staging_ids" ], "type": "object" }, "MemoryToolOutput": { "properties": { "content": { "type": [ "string", "null" ] }, "summary": { "type": "string" } }, "required": [ "summary" ], "type": "object" }, "MergeRequestDetailResponse": { "additionalProperties": false, "properties": { "created_at": { "type": "string" }, "linked_tickets": { "items": { "$ref": "#/components/schemas/MergeRequestLinkedTicketResponse" }, "type": "array" }, "merge_request_id": { "type": "string" }, "repository_key": { "type": "string" }, "selector_from": { "type": [ "string", "null" ] }, "selector_to": { "type": "string" }, "source": { "$ref": "#/components/schemas/MergeRequestRefResponse" }, "state": { "$ref": "#/components/schemas/MergeRequestState" }, "target": { "$ref": "#/components/schemas/MergeRequestRefResponse" }, "thread": { "items": { "$ref": "#/components/schemas/MergeRequestThreadEvent" }, "type": "array" }, "ticket_ids": { "items": { "type": "string" }, "type": "array" }, "updated_at": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "merge_request_id", "repository_key", "state", "selector_to", "ticket_ids", "created_at", "updated_at", "thread", "source", "target", "linked_tickets" ], "type": "object" }, "MergeRequestLinkedTicketResponse": { "additionalProperties": false, "properties": { "key": { "type": [ "string", "null" ] }, "ticket_id": { "type": "string" } }, "required": [ "ticket_id" ], "type": "object" }, "MergeRequestListItem": { "additionalProperties": false, "properties": { "ref_diagnostics": { "items": { "$ref": "#/components/schemas/MergeRequestRefDiagnostic" }, "type": "array" }, "summary": { "$ref": "#/components/schemas/TicketMergeRequestSummary" }, "thread_event_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "ticket_ids": { "items": { "type": "string" }, "type": "array" } }, "required": [ "summary", "ticket_ids", "thread_event_count" ], "type": "object" }, "MergeRequestListQuery": { "additionalProperties": false, "properties": { "cursor": { "type": [ "string", "null" ] }, "limit": { "format": "uint", "maximum": 1000, "minimum": 0, "type": [ "integer", "null" ] }, "repository_key": { "type": [ "string", "null" ] }, "selector_from": { "type": [ "string", "null" ] }, "selector_to": { "type": [ "string", "null" ] }, "state": { "type": [ "string", "null" ] }, "ticket_ref": { "type": [ "string", "null" ] } }, "type": "object" }, "MergeRequestListResponse": { "additionalProperties": false, "properties": { "items": { "items": { "$ref": "#/components/schemas/MergeRequestListItem" }, "type": "array" }, "next_cursor": { "type": [ "string", "null" ] } }, "required": [ "items" ], "type": "object" }, "MergeRequestReadinessResponse": { "additionalProperties": false, "properties": { "blockers": { "items": { "type": "string" }, "type": "array" }, "ready": { "type": "boolean" }, "review": { "anyOf": [ { "$ref": "#/components/schemas/ReviewEvent" }, { "type": "null" } ] }, "subject_ref": { "type": [ "string", "null" ] } }, "required": [ "ready", "blockers" ], "type": "object" }, "MergeRequestRefDiagnostic": { "additionalProperties": false, "properties": { "code": { "type": "string" }, "message": { "type": "string" } }, "required": [ "code", "message" ], "type": "object" }, "MergeRequestRefResponse": { "additionalProperties": false, "properties": { "diagnostic": { "anyOf": [ { "$ref": "#/components/schemas/MergeRequestRefDiagnostic" }, { "type": "null" } ] }, "observed_at": { "type": "string" }, "ref": { "type": [ "string", "null" ] }, "status": { "type": "string" } }, "required": [ "status", "observed_at" ], "type": "object" }, "MergeRequestReviewSubject": { "additionalProperties": false, "properties": { "merge_request_id": { "type": "string" }, "subject_ref": { "type": "string" } }, "required": [ "merge_request_id", "subject_ref" ], "type": "object" }, "MergeRequestState": { "enum": [ "open", "merged", "closed" ], "type": "string" }, "MergeRequestThreadEvent": { "oneOf": [ { "additionalProperties": false, "properties": { "created_at": { "type": "string" }, "event_id": { "type": "string" }, "kind": { "const": "review_requested", "type": "string" }, "requested_by": { "$ref": "#/components/schemas/MergeRequestWorkerIdentity" }, "reviewer": { "$ref": "#/components/schemas/MergeRequestWorkerIdentity" }, "sequence": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "subject_ref": { "type": "string" }, "ticket_content_digest": { "type": "string" }, "ticket_merge_request_subjects": { "items": { "$ref": "#/components/schemas/MergeRequestReviewSubject" }, "type": "array" } }, "required": [ "kind", "event_id", "sequence", "subject_ref", "ticket_content_digest", "ticket_merge_request_subjects", "requested_by", "reviewer", "created_at" ], "type": "object" }, { "additionalProperties": false, "properties": { "body": { "type": "string" }, "created_at": { "type": "string" }, "decision": { "$ref": "#/components/schemas/ReviewDecision" }, "event_id": { "type": "string" }, "findings": { "items": { "$ref": "#/components/schemas/ReviewFinding" }, "type": "array" }, "kind": { "const": "review", "type": "string" }, "request_event_id": { "type": "string" }, "reviewer": { "$ref": "#/components/schemas/MergeRequestWorkerIdentity" }, "sequence": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "subject_ref": { "type": "string" }, "ticket_content_digest": { "type": "string" }, "ticket_merge_request_subjects": { "items": { "$ref": "#/components/schemas/MergeRequestReviewSubject" }, "type": "array" } }, "required": [ "kind", "event_id", "sequence", "request_event_id", "subject_ref", "ticket_content_digest", "ticket_merge_request_subjects", "decision", "body", "findings", "reviewer", "created_at" ], "type": "object" }, { "additionalProperties": false, "properties": { "created_at": { "type": "string" }, "event_id": { "type": "string" }, "kind": { "const": "review_revoked", "type": "string" }, "reason": { "type": "string" }, "review_event_id": { "type": "string" }, "revoked_by": { "$ref": "#/components/schemas/MergeRequestWorkerIdentity" }, "sequence": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "subject_ref": { "type": "string" } }, "required": [ "kind", "event_id", "sequence", "review_event_id", "subject_ref", "reason", "revoked_by", "created_at" ], "type": "object" }, { "additionalProperties": false, "properties": { "created_at": { "type": "string" }, "event_id": { "type": "string" }, "kind": { "const": "review_cancelled", "type": "string" }, "reason": { "type": "string" }, "request_event_id": { "type": "string" }, "sequence": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "subject_ref": { "type": "string" } }, "required": [ "kind", "event_id", "sequence", "request_event_id", "subject_ref", "reason", "created_at" ], "type": "object" }, { "additionalProperties": false, "properties": { "author": { "$ref": "#/components/schemas/MergeRequestWorkerIdentity" }, "body": { "type": "string" }, "created_at": { "type": "string" }, "event_id": { "type": "string" }, "kind": { "const": "comment", "type": "string" }, "sequence": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "kind", "event_id", "sequence", "body", "author", "created_at" ], "type": "object" }, { "additionalProperties": false, "properties": { "approval_event_id": { "type": "string" }, "approved_source_ref": { "type": "string" }, "created_at": { "type": "string" }, "event_id": { "type": "string" }, "kind": { "const": "merge", "type": "string" }, "merged_by": { "$ref": "#/components/schemas/MergeRequestWorkerIdentity" }, "operation_id": { "type": "string" }, "resolution": { "$ref": "#/components/schemas/ConflictResolution" }, "sequence": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "strategy": { "$ref": "#/components/schemas/MergeStrategy" }, "target_ref_after": { "type": "string" }, "target_ref_before": { "type": "string" } }, "required": [ "kind", "event_id", "sequence", "operation_id", "approval_event_id", "approved_source_ref", "target_ref_before", "target_ref_after", "strategy", "resolution", "merged_by", "created_at" ], "type": "object" } ] }, "MergeRequestThreadQuery": { "additionalProperties": false, "properties": { "after": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "limit": { "format": "uint", "maximum": 1000, "minimum": 0, "type": [ "integer", "null" ] } }, "type": "object" }, "MergeRequestWorkerIdentity": { "additionalProperties": false, "properties": { "runtime_id": { "type": "string" }, "worker_id": { "type": "string" } }, "required": [ "runtime_id", "worker_id" ], "type": "object" }, "MergeStrategy": { "enum": [ "fast_forward", "merge" ], "type": "string" }, "ModelAudit": { "properties": { "model_id": { "type": [ "string", "null" ] }, "ref_": { "type": [ "string", "null" ] }, "scheme": { "type": [ "string", "null" ] } }, "type": "object" }, "NewOrchestrationPlanRecord": { "properties": { "accepted_plan": { "anyOf": [ { "$ref": "#/components/schemas/AcceptedOrchestrationPlan" }, { "type": "null" } ] }, "author": { "type": [ "string", "null" ] }, "kind": { "$ref": "#/components/schemas/OrchestrationPlanKind" }, "note": { "type": [ "string", "null" ] }, "related_ticket": { "type": [ "string", "null" ] } }, "required": [ "kind" ], "type": "object" }, "NewTicket": { "properties": { "assignee": { "type": [ "string", "null" ] }, "author": { "type": [ "string", "null" ] }, "body": { "$ref": "#/components/schemas/MarkdownText" }, "kind": { "type": "string" }, "labels": { "items": { "type": "string" }, "type": "array" }, "priority": { "type": "string" }, "queued_at": { "type": [ "string", "null" ] }, "queued_by": { "type": [ "string", "null" ] }, "readiness": { "type": [ "string", "null" ] }, "risk_flags": { "items": { "type": "string" }, "type": "array" }, "slug": { "type": [ "string", "null" ] }, "targets": { "default": [], "items": { "$ref": "#/components/schemas/TicketTarget" }, "type": "array" }, "title": { "type": "string" }, "workflow_state": { "anyOf": [ { "$ref": "#/components/schemas/TicketState" }, { "type": "null" } ] } }, "required": [ "title", "kind", "priority", "labels", "body", "risk_flags" ], "type": "object" }, "NewTicketEvent": { "properties": { "author": { "type": [ "string", "null" ] }, "body": { "$ref": "#/components/schemas/MarkdownText" }, "kind": { "$ref": "#/components/schemas/TicketEventKind" }, "references": { "items": { "$ref": "#/components/schemas/TicketReference" }, "type": "array" } }, "required": [ "kind", "body", "references" ], "type": "object" }, "NewTicketRelation": { "properties": { "author": { "type": [ "string", "null" ] }, "kind": { "$ref": "#/components/schemas/TicketRelationKind" }, "note": { "type": [ "string", "null" ] }, "target": { "type": "string" } }, "required": [ "kind", "target" ], "type": "object" }, "NotificationDiagnostic": { "additionalProperties": false, "properties": { "acceptance_outcome_unknown": { "description": "Conservative: a persisted request without ACK is enough; this does not prove a send occurred.\nCan remain true alongside a later preflight failure, rejection or historical recipient.", "type": "boolean" }, "assignment_id": { "type": [ "string", "null" ] }, "delivery_id": { "type": [ "string", "null" ] }, "disposition": { "type": [ "string", "null" ] }, "event_kind": { "type": "string" }, "job_id": { "type": [ "string", "null" ] }, "last_failure_at": { "type": [ "string", "null" ] }, "last_failure_code": { "type": [ "string", "null" ] }, "legacy_evidence": { "description": "A retained pre-cutover Job receipt contributes to this projection.", "type": "boolean" }, "merge_request_id": { "type": [ "string", "null" ] }, "model_processing_confirmed": { "description": "No model-processing evidence is currently collected by this read contract.", "type": "boolean" }, "purpose": { "type": [ "string", "null" ] }, "reason": { "type": [ "string", "null" ] }, "recipient_current": { "description": "Current assignment identity only; null for fixed-worker or absent recipients.", "type": [ "boolean", "null" ] }, "recipient_role": { "type": "string" }, "retry_candidate": { "description": "Saved delivery candidate, NOT permission to send. Live recipient and binding checks remain required.", "type": "boolean" }, "source_event_id": { "type": "string" }, "source_id": { "type": "string" }, "stage": { "$ref": "#/components/schemas/NotificationDiagnosticStage" }, "target_resolution": { "$ref": "#/components/schemas/NotificationTargetResolution", "description": "Failure records do not identify a particular authorized replacement target." }, "target_runtime_id": { "type": [ "string", "null" ] }, "target_worker_id": { "type": [ "string", "null" ] }, "ticket": { "type": [ "string", "null" ] } }, "required": [ "source_id", "source_event_id", "event_kind", "recipient_role", "stage", "legacy_evidence", "acceptance_outcome_unknown", "target_resolution", "retry_candidate", "model_processing_confirmed" ], "type": "object" }, "NotificationDiagnosticStage": { "enum": [ "historical", "awaiting_routing", "suppressed", "deferred", "pending", "reserved", "request_persisted", "runtime_rejected", "acceptance_unknown", "delivery_failed", "runtime_accepted" ], "type": "string" }, "NotificationDiagnosticsPage": { "additionalProperties": false, "properties": { "items": { "items": { "$ref": "#/components/schemas/NotificationDiagnostic" }, "type": "array" }, "next_cursor": { "type": [ "string", "null" ] }, "source_checks": { "items": { "$ref": "#/components/schemas/NotificationSourceCheck" }, "type": "array" } }, "required": [ "items", "source_checks" ], "type": "object" }, "NotificationDiagnosticsQuery": { "additionalProperties": false, "properties": { "assignment_id": { "type": [ "string", "null" ] }, "cursor": { "type": [ "string", "null" ] }, "delivery_id": { "type": [ "string", "null" ] }, "job_id": { "type": [ "string", "null" ] }, "limit": { "format": "uint", "minimum": 0, "type": [ "integer", "null" ] }, "merge_request_id": { "type": [ "string", "null" ] }, "source_event_id": { "type": [ "string", "null" ] }, "source_id": { "description": "Exact source identity for a single-record lookup.", "type": [ "string", "null" ] }, "ticket": { "type": [ "string", "null" ] } }, "type": "object" }, "NotificationSourceCheck": { "additionalProperties": false, "properties": { "captured": { "description": "Whether the origin has any captured source (independent of pagination/recipient filters).\nA present origin with false here is unconnected, not intentionally suppressed.", "type": "boolean" }, "origin_present": { "description": "Whether an exact durable origin is present; null means that reference form was not verified.", "type": [ "boolean", "null" ] }, "reference": { "type": "string" }, "resource_kind": { "type": "string" } }, "required": [ "resource_kind", "reference", "captured" ], "type": "object" }, "NotificationTargetResolution": { "enum": [ "unresolved", "reserved", "request_persisted", "runtime_accepted", "multiple_authorized_targets" ], "type": "string" }, "Nullable_string": { "type": [ "string", "null" ] }, "ObjectiveCreateRequest": { "additionalProperties": false, "properties": { "body_md": { "default": "", "type": "string" }, "linked_tickets": { "default": [], "items": { "type": "string" }, "type": "array" }, "state": { "default": "active", "type": "string" }, "title": { "type": "string" } }, "required": [ "title" ], "type": "object" }, "ObjectiveDetail": { "additionalProperties": false, "properties": { "body": { "type": "string" }, "body_truncated": { "type": "boolean" }, "created_at": { "type": [ "string", "null" ] }, "event_page": { "$ref": "#/components/schemas/QueryPage" }, "events": { "items": { "$ref": "#/components/schemas/ObjectiveEventDetail" }, "type": "array" }, "id": { "type": "string" }, "linked_ticket_summaries": { "items": { "$ref": "#/components/schemas/ObjectiveLinkedTicketSummary" }, "type": "array" }, "linked_tickets": { "items": { "type": "string" }, "type": "array" }, "record_source": { "type": "string" }, "resource_key": { "type": "string" }, "resources": { "items": { "$ref": "#/components/schemas/ObjectiveResourceSummary" }, "type": "array" }, "state": { "type": "string" }, "title": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] } }, "required": [ "id", "resource_key", "title", "state", "linked_tickets", "linked_ticket_summaries", "resources", "body", "body_truncated", "events", "event_page", "record_source" ], "type": "object" }, "ObjectiveEditRequest": { "additionalProperties": false, "properties": { "new_string": { "type": [ "string", "null" ] }, "old_string": { "type": [ "string", "null" ] }, "replace_all": { "default": false, "type": "boolean" }, "title": { "type": [ "string", "null" ] } }, "type": "object" }, "ObjectiveEventDetail": { "additionalProperties": false, "properties": { "body": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "event_ref": { "type": "string" }, "kind": { "type": "string" } }, "required": [ "event_ref", "kind", "created_at" ], "type": "object" }, "ObjectiveLinkSummary": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "resource_key": { "type": "string" }, "state": { "type": "string" }, "title": { "type": "string" } }, "required": [ "id", "resource_key", "title", "state" ], "type": "object" }, "ObjectiveLinkTicketRequest": { "additionalProperties": false, "properties": { "ticket_id": { "type": "string" } }, "required": [ "ticket_id" ], "type": "object" }, "ObjectiveLinkedTicketSummary": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "resource_key": { "type": "string" }, "state": { "type": "string" }, "title": { "type": "string" } }, "required": [ "id", "resource_key", "title", "state" ], "type": "object" }, "ObjectiveListQuery": { "additionalProperties": false, "properties": { "limit": { "format": "uint", "maximum": 1000, "minimum": 0, "type": [ "integer", "null" ] } }, "type": "object" }, "ObjectiveListResponse": { "additionalProperties": false, "properties": { "invalid_records": { "items": { "$ref": "#/components/schemas/InvalidProjectRecord" }, "type": "array" }, "items": { "items": { "$ref": "#/components/schemas/ObjectiveSummary" }, "type": "array" }, "limit": { "format": "uint", "maximum": 1000, "minimum": 0, "type": "integer" }, "record_authority": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "limit", "items", "invalid_records", "record_authority" ], "type": "object" }, "ObjectiveQueryItem": { "additionalProperties": false, "properties": { "created_at": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "linked_ticket_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "linked_ticket_keys": { "items": { "type": "string" }, "type": "array" }, "linked_tickets": { "items": { "type": "string" }, "type": "array" }, "matched_fields": { "items": { "type": "string" }, "type": "array" }, "resource_key": { "type": "string" }, "snippet": { "type": [ "string", "null" ] }, "state": { "type": "string" }, "title": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] } }, "required": [ "id", "resource_key", "title", "state", "matched_fields", "linked_ticket_count", "linked_tickets", "linked_ticket_keys" ], "type": "object" }, "ObjectiveQueryRequest": { "additionalProperties": false, "properties": { "cursor": { "type": [ "string", "null" ] }, "limit": { "format": "uint", "maximum": 1000, "minimum": 0, "type": [ "integer", "null" ] }, "linked_ticket_id": { "type": [ "string", "null" ] }, "query": { "type": [ "string", "null" ] }, "sort": { "type": [ "string", "null" ] }, "states": { "default": [], "items": { "type": "string" }, "type": "array" }, "updated_after": { "type": [ "string", "null" ] }, "updated_before": { "type": [ "string", "null" ] } }, "type": "object" }, "ObjectiveQueryResponse": { "additionalProperties": false, "properties": { "items": { "items": { "$ref": "#/components/schemas/ObjectiveQueryItem" }, "type": "array" }, "page": { "$ref": "#/components/schemas/QueryPage" }, "record_authority": { "type": "string" } }, "required": [ "items", "page", "record_authority" ], "type": "object" }, "ObjectiveResourceSummary": { "additionalProperties": false, "properties": { "bytes": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "media_type": { "type": [ "string", "null" ] }, "path": { "type": "string" }, "updated_at": { "type": "string" } }, "required": [ "path", "bytes", "updated_at" ], "type": "object" }, "ObjectiveShowRequest": { "additionalProperties": false, "properties": { "event_cursor": { "type": [ "string", "null" ] }, "event_limit": { "format": "uint", "maximum": 1000, "minimum": 0, "type": [ "integer", "null" ] } }, "type": "object" }, "ObjectiveStateRequest": { "additionalProperties": false, "properties": { "state": { "type": "string" } }, "required": [ "state" ], "type": "object" }, "ObjectiveSummary": { "additionalProperties": false, "properties": { "created_at": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "linked_tickets": { "items": { "type": "string" }, "type": "array" }, "record_source": { "type": "string" }, "resource_key": { "type": "string" }, "state": { "type": "string" }, "summary": { "type": "string" }, "title": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] } }, "required": [ "id", "resource_key", "title", "state", "summary", "linked_tickets", "record_source" ], "type": "object" }, "OperationCounts": { "properties": { "delete": { "default": 0, "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "drop": { "default": 0, "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "edit": { "default": 0, "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "merge": { "default": 0, "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "trim": { "default": 0, "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "write": { "default": 0, "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "type": "object" }, "OrchestrationPlanKind": { "enum": [ "before", "after", "blocked_by", "blocks", "conflicts_with", "do_not_parallelize", "waiting_capacity_note", "accepted_plan" ], "type": "string" }, "OrchestrationPlanRecord": { "additionalProperties": false, "properties": { "accepted_plan": { "anyOf": [ { "$ref": "#/components/schemas/AcceptedOrchestrationPlan" }, { "type": "null" } ] }, "at": { "type": "string" }, "author": { "type": "string" }, "id": { "type": "string" }, "kind": { "$ref": "#/components/schemas/OrchestrationPlanKind" }, "note": { "type": [ "string", "null" ] }, "related_ticket": { "type": [ "string", "null" ] }, "ticket_id": { "type": "string" } }, "required": [ "id", "ticket_id", "kind", "author", "at" ], "type": "object" }, "PasskeyAdditionOptionsRequest": { "additionalProperties": false, "description": "Adds a credential to the current authenticated actor; target identity is never public input.", "properties": { "browser_origin": { "type": [ "string", "null" ] } }, "type": "object" }, "PasskeyLoginCompleteRequest": { "additionalProperties": false, "properties": { "challenge_id": { "type": "string" }, "credential": true }, "required": [ "challenge_id", "credential" ], "type": "object" }, "PasskeyLoginOptionsRequest": { "additionalProperties": false, "description": "Normal discoverable login omits the handle: the authenticator selects a credential.\nAn explicit handle selects legacy identified-account login, for non-resident keys or\nkeys registered with an old random WebAuthn user handle. This never adds a key or\nfalls back to another identity. Authenticate first, then enroll an RK from Account.\nExisting challenge states are short-lived and are not migrated to the new ceremony.", "properties": { "browser_origin": { "type": [ "string", "null" ] }, "handle": { "type": [ "string", "null" ] } }, "type": "object" }, "PasskeyLoginOptionsResponse": { "additionalProperties": false, "properties": { "challenge_id": { "type": "string" }, "public_key": true }, "required": [ "challenge_id", "public_key" ], "type": "object" }, "PasskeyRegistrationCompleteRequest": { "additionalProperties": false, "properties": { "challenge_id": { "type": "string" }, "credential": true }, "required": [ "challenge_id", "credential" ], "type": "object" }, "PasskeyRegistrationOptionsRequest": { "additionalProperties": false, "description": "Starts new-account registration only; an existing handle is never interpreted as key addition.", "properties": { "browser_origin": { "type": [ "string", "null" ] }, "display_name": { "type": [ "string", "null" ] }, "handle": { "type": "string" } }, "required": [ "handle" ], "type": "object" }, "PasskeyRegistrationOptionsResponse": { "additionalProperties": false, "properties": { "challenge_id": { "type": "string" }, "public_key": true }, "required": [ "challenge_id", "public_key" ], "type": "object" }, "PasteArtifactAvailability": { "enum": [ "available", "unavailable", "integrity_failed" ], "type": "string" }, "PasteArtifactMediaType": { "description": "One typed piece of a user submission.\n\n`Method::Submit` and `Event::UserMessage` carry `Vec`. Dumb\nclients (CLI piping, scripts) only need to produce a single\n`Segment::Text`; richer clients (TUI / GUI) construct typed atoms\n(paste chips, file refs) and\nsend them through directly so the Worker side never has to re-parse a\nflattened string.\n\nForward compat: payloads with unknown `kind` deserialize to\n`Segment::Unknown`. Worker treats this the same as known-but-unresolved\nvariants — emits an alert and inserts a `[unknown input segment]`\nplaceholder into the LLM context so neither user nor LLM is blind to\nthe dropped intent.", "enum": [ "text_plain_utf8" ], "type": "string" }, "PasteArtifactRef": { "description": "Session-owned reference to a large pasted-input artifact.\n\nThe reference contains only bounded integrity and provenance metadata. The\nartifact body remains in session storage and is available to the model only\nthrough the scoped paste-artifact tools installed by Worker.", "properties": { "artifact_id": { "type": "string" }, "availability": { "$ref": "#/components/schemas/PasteArtifactAvailability", "description": "Availability observed when this immutable reference was committed.\nReads revalidate storage and integrity rather than trusting this field." }, "byte_len": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "char_count": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "created_at_ms": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "line_count": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "media_type": { "$ref": "#/components/schemas/PasteArtifactMediaType" }, "sha256": { "type": "string" }, "source_entry_id": { "type": "string" } }, "required": [ "artifact_id", "created_at_ms", "media_type", "availability", "byte_len", "char_count", "line_count", "sha256", "source_entry_id" ], "type": "object" }, "PermissionResource": { "oneOf": [ { "additionalProperties": false, "properties": { "kind": { "const": "feature", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "kind": { "const": "workspace", "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "kind", "workspace_id" ], "type": "object" }, { "additionalProperties": false, "properties": { "kind": { "const": "workdir", "type": "string" }, "path": { "type": "string" }, "recursive": { "type": "boolean" }, "working_directory_id": { "type": "string" } }, "required": [ "kind", "working_directory_id", "path", "recursive" ], "type": "object" }, { "additionalProperties": false, "properties": { "kind": { "const": "worker", "type": "string" }, "runtime_id": { "type": "string" }, "worker_id": { "type": "string" } }, "required": [ "kind", "runtime_id", "worker_id" ], "type": "object" } ] }, "ProfileSettingsResponse": { "additionalProperties": false, "description": "Read-only Profile catalog projected from one active Workspace config tree.", "properties": { "default_profile": { "type": [ "string", "null" ] }, "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "profiles": { "items": { "$ref": "#/components/schemas/WorkspaceProfileSummary" }, "type": "array" }, "projection_digest": { "type": [ "string", "null" ] }, "sources": { "items": { "$ref": "#/components/schemas/WorkspaceProfileSourceSummary" }, "type": "array" }, "tree_digest": { "type": [ "string", "null" ] }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "profiles", "sources", "diagnostics" ], "type": "object" }, "ProvisionalAccountRequest": { "additionalProperties": false, "description": "A hosting administrator reserves the same normalized ID used by passkey login.", "properties": { "handle": { "type": "string" } }, "required": [ "handle" ], "type": "object" }, "PublicMergeRequest": { "additionalProperties": false, "properties": { "created_at": { "type": "string" }, "merge_request_id": { "type": "string" }, "repository_key": { "type": "string" }, "selector_from": { "type": [ "string", "null" ] }, "selector_to": { "type": "string" }, "state": { "$ref": "#/components/schemas/MergeRequestState" }, "thread": { "items": { "$ref": "#/components/schemas/MergeRequestThreadEvent" }, "type": "array" }, "ticket_ids": { "items": { "type": "string" }, "type": "array" }, "updated_at": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "merge_request_id", "repository_key", "state", "selector_to", "ticket_ids", "created_at", "updated_at", "thread" ], "type": "object" }, "PutFlowRequest": { "additionalProperties": false, "properties": { "content": { "type": "string" }, "path": { "type": "string" } }, "required": [ "path", "content" ], "type": "object" }, "PutRepositorySshHostTrustRequest": { "additionalProperties": false, "properties": { "expected_fingerprint": { "default": null, "type": [ "string", "null" ] }, "host_key": { "type": "string" }, "host_trust_id": { "type": "string" }, "hostname": { "type": "string" }, "operation_id": { "type": "string" }, "port": { "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" } }, "required": [ "operation_id", "host_trust_id", "hostname", "port", "host_key" ], "type": "object" }, "QueryPage": { "additionalProperties": false, "properties": { "has_more": { "type": "boolean" }, "limit": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "next_cursor": { "type": [ "string", "null" ] }, "returned": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "sort": { "type": "string" }, "source_limit": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "source_truncated": { "type": "boolean" } }, "required": [ "limit", "returned", "has_more", "sort", "source_truncated" ], "type": "object" }, "RecordOperationAudit": { "properties": { "after_hash": { "type": [ "string", "null" ] }, "before_hash": { "type": [ "string", "null" ] }, "kind": { "type": "string" }, "op": { "type": "string" }, "path": { "type": "string" }, "reason": { "type": [ "string", "null" ] }, "slug": { "type": "string" }, "status": { "$ref": "#/components/schemas/AuditStatus" } }, "required": [ "op", "status", "kind", "slug", "path" ], "type": "object" }, "RecordUsageAudit": { "properties": { "kind": { "type": "string" }, "op": { "type": "string" }, "path": { "type": [ "string", "null" ] }, "query": { "type": [ "string", "null" ] }, "reason": { "type": [ "string", "null" ] }, "result_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "slug": { "type": [ "string", "null" ] }, "status": { "$ref": "#/components/schemas/AuditStatus" } }, "required": [ "op", "status", "kind" ], "type": "object" }, "RemoveRuntimeRequest": { "additionalProperties": false, "properties": { "expected_binding_id": { "type": "string" }, "operation_id": { "type": "string" } }, "required": [ "operation_id", "expected_binding_id" ], "type": "object" }, "RepairMergeRequestSelectorRequest": { "additionalProperties": false, "properties": { "explicit_confirmation": { "type": "boolean" }, "reason": { "type": "string" }, "selector_from": { "type": "string" } }, "required": [ "selector_from", "reason", "explicit_confirmation" ], "type": "object" }, "RepositoryAccessMode": { "enum": [ "read_only", "read_write" ], "type": "string" }, "RepositoryAccessProjection": { "additionalProperties": false, "description": "Secret-free active Repository access projection consumed by later Runtime work.", "properties": { "bindings": { "items": { "$ref": "#/components/schemas/RepositorySshAccessBinding" }, "type": "array" }, "projection_digest": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "projection_digest", "bindings" ], "type": "object" }, "RepositoryApiError": { "additionalProperties": false, "description": "Error body shared by the existing repository routes and their generated adapters.", "properties": { "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "error": { "type": "string" }, "message": { "type": "string" } }, "required": [ "error", "message" ], "type": "object" }, "RepositoryDetailResponse": { "additionalProperties": false, "properties": { "item": { "$ref": "#/components/schemas/RepositorySummary" }, "source": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "item", "source" ], "type": "object" }, "RepositoryDiagnostic": { "additionalProperties": false, "properties": { "code": { "type": "string" }, "message": { "type": "string" }, "severity": { "type": "string" } }, "required": [ "severity", "code", "message" ], "type": "object" }, "RepositoryListResponse": { "additionalProperties": false, "properties": { "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "items": { "items": { "$ref": "#/components/schemas/RepositorySummary" }, "type": "array" }, "source": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "items", "source", "diagnostics" ], "type": "object" }, "RepositoryLogQuery": { "additionalProperties": false, "properties": { "limit": { "default": null, "format": "uint", "maximum": 200, "minimum": 1, "type": [ "integer", "null" ] } }, "type": "object" }, "RepositoryLogResponse": { "additionalProperties": false, "properties": { "default_selector": { "type": [ "string", "null" ] }, "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "items": { "items": { "$ref": "#/components/schemas/GitCommitSummary" }, "type": "array" }, "limit": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "repository_key": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "repository_key", "limit", "items", "diagnostics" ], "type": "object" }, "RepositoryObservedStatus": { "enum": [ "unverified", "ready", "invalid" ], "type": "string" }, "RepositorySource": { "description": "Stable Repository source identity stored by Workspace authority.", "properties": { "kind": { "$ref": "#/components/schemas/RepositorySourceKind" }, "uri": { "description": "Canonical source representation. This is an absolute local path for\n`local_path`, and a normalized URI/remote specification otherwise.", "type": "string" } }, "required": [ "kind", "uri" ], "type": "object" }, "RepositorySourceKind": { "description": "Provider-neutral classification of an authoritative Repository source.\n\nLocal paths remain distinct from network Git transports so callers cannot\naccidentally treat an unmaterialized remote as a server-local filesystem path.", "oneOf": [ { "enum": [ "local_path", "file", "ssh", "https" ], "type": "string" }, { "const": "invalid", "description": "A legacy value that could not be classified during migration. It remains\ninspectable but every provider operation must fail closed. Historical\n`http` wire values decode into this non-executable classification.", "type": "string" } ] }, "RepositorySshAccessBinding": { "additionalProperties": false, "properties": { "access": { "$ref": "#/components/schemas/RepositoryAccessMode" }, "credential_id": { "type": "string" }, "host_trust_id": { "type": "string" }, "repository_key": { "type": "string" } }, "required": [ "repository_key", "credential_id", "host_trust_id", "access" ], "type": "object" }, "RepositorySshConnectionProbeRequest": { "additionalProperties": false, "properties": { "runtime_id": { "type": "string" } }, "required": [ "runtime_id" ], "type": "object" }, "RepositorySshConnectionProbeResponse": { "additionalProperties": false, "properties": { "candidates": { "items": { "$ref": "#/components/schemas/RepositorySshHostKeyCandidate" }, "type": "array" }, "expected_host_key_fingerprint": { "type": [ "string", "null" ] }, "host_trust_id": { "type": "string" }, "hostname": { "type": "string" }, "port": { "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" }, "repository_key": { "type": "string" }, "runtime_id": { "type": "string" }, "trust_state": { "$ref": "#/components/schemas/RepositorySshConnectionTrustState" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "repository_key", "runtime_id", "hostname", "port", "trust_state", "host_trust_id", "candidates" ], "type": "object" }, "RepositorySshConnectionTrustState": { "enum": [ "untrusted", "verified", "changed" ], "type": "string" }, "RepositorySshCredential": { "additionalProperties": false, "description": "Public metadata for one Workspace-scoped Repository SSH credential.\n\nSecret references and secret material are deliberately not part of this DTO.", "properties": { "created_at": { "type": "string" }, "credential_id": { "type": "string" }, "name": { "type": "string" }, "public_key_algorithm": { "type": "string" }, "public_key_fingerprint": { "type": "string" }, "referenced_repositories": { "default": [], "items": { "type": "string" }, "type": "array" }, "rotated_at": { "type": [ "string", "null" ] }, "status": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "credential_id", "workspace_id", "name", "public_key_algorithm", "public_key_fingerprint", "status", "created_at" ], "type": "object" }, "RepositorySshHostKeyCandidate": { "additionalProperties": false, "properties": { "algorithm": { "type": "string" }, "fingerprint": { "type": "string" }, "host_key": { "type": "string" } }, "required": [ "algorithm", "host_key", "fingerprint" ], "type": "object" }, "RepositorySshHostTrust": { "additionalProperties": false, "description": "Public metadata for an explicitly pinned SSH host key.", "properties": { "created_at": { "type": "string" }, "fingerprint": { "type": "string" }, "host_key": { "type": "string" }, "host_trust_id": { "type": "string" }, "hostname": { "type": "string" }, "key_algorithm": { "type": "string" }, "port": { "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" }, "referenced_repositories": { "default": [], "items": { "type": "string" }, "type": "array" }, "updated_at": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "host_trust_id", "workspace_id", "hostname", "port", "key_algorithm", "host_key", "fingerprint", "created_at", "updated_at" ], "type": "object" }, "RepositorySshHostTrustMutationResponse": { "additionalProperties": false, "description": "Public metadata for an explicitly pinned SSH host key.", "properties": { "created_at": { "type": "string" }, "fingerprint": { "type": "string" }, "host_key": { "type": "string" }, "host_trust_id": { "type": "string" }, "hostname": { "type": "string" }, "key_algorithm": { "type": "string" }, "port": { "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" }, "referenced_repositories": { "default": [], "items": { "type": "string" }, "type": "array" }, "updated_at": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "host_trust_id", "workspace_id", "hostname", "port", "key_algorithm", "host_key", "fingerprint", "created_at", "updated_at" ], "type": "object" }, "RepositorySshPublicKey": { "additionalProperties": false, "properties": { "credential_id": { "type": "string" }, "public_key": { "type": "string" }, "public_key_algorithm": { "type": "string" }, "public_key_fingerprint": { "type": "string" } }, "required": [ "credential_id", "public_key_algorithm", "public_key_fingerprint", "public_key" ], "type": "object" }, "RepositorySummary": { "additionalProperties": false, "properties": { "default_selector": { "type": [ "string", "null" ] }, "diagnostics": { "items": { "$ref": "#/components/schemas/RepositoryDiagnostic" }, "type": [ "array", "null" ] }, "git": { "anyOf": [ { "$ref": "#/components/schemas/GitRepositorySummary" }, { "type": "null" } ] }, "kind": { "type": "string" }, "observed_at": { "type": [ "string", "null" ] }, "observed_status": { "$ref": "#/components/schemas/RepositoryObservedStatus" }, "provider": { "type": "string" }, "record_authority": { "type": "string" }, "repository_key": { "type": "string" }, "source": { "$ref": "#/components/schemas/RepositorySource" }, "source_fingerprint": { "type": "string" } }, "required": [ "repository_key", "kind", "provider", "source", "source_fingerprint", "observed_status", "record_authority" ], "type": "object" }, "RequestActor": { "additionalProperties": false, "description": "Authenticated actor returned by `GET /api/auth/whoami`.", "properties": { "account_id": { "type": "string" }, "auth_method": { "$ref": "#/components/schemas/ActorAuthMethod" }, "display_name": { "type": "string" }, "handle": { "type": "string" }, "user_id": { "type": "string" } }, "required": [ "user_id", "account_id", "handle", "display_name", "auth_method" ], "type": "object" }, "ResolvedFlowSource": { "additionalProperties": false, "properties": { "content_digest": { "type": "string" }, "definition": { "$ref": "#/components/schemas/CompiledFlowDefinition" }, "flow_id": { "type": "string" }, "selector": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "selector", "workspace_id", "flow_id", "content_digest", "definition" ], "type": "object" }, "RestoreTicketAssignmentQuery": { "additionalProperties": false, "properties": { "assignment_operation_id": { "type": [ "string", "null" ] }, "ticket_id": { "type": [ "string", "null" ] } }, "type": "object" }, "ReviewDecision": { "enum": [ "approve", "request_changes" ], "type": "string" }, "ReviewEvent": { "additionalProperties": false, "properties": { "body": { "type": "string" }, "created_at": { "type": "string" }, "decision": { "$ref": "#/components/schemas/ReviewDecision" }, "event_id": { "type": "string" }, "findings": { "items": { "$ref": "#/components/schemas/ReviewFinding" }, "type": "array" }, "request_event_id": { "type": "string" }, "reviewer": { "$ref": "#/components/schemas/MergeRequestWorkerIdentity" }, "sequence": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "subject_ref": { "type": "string" }, "ticket_content_digest": { "type": "string" }, "ticket_merge_request_subjects": { "items": { "$ref": "#/components/schemas/MergeRequestReviewSubject" }, "type": "array" } }, "required": [ "event_id", "sequence", "request_event_id", "subject_ref", "ticket_content_digest", "ticket_merge_request_subjects", "decision", "body", "findings", "reviewer", "created_at" ], "type": "object" }, "ReviewFinding": { "additionalProperties": false, "properties": { "body": { "type": "string" }, "code": { "type": [ "string", "null" ] }, "line": { "format": "uint32", "minimum": 0, "type": [ "integer", "null" ] }, "path": { "type": [ "string", "null" ] }, "severity": { "$ref": "#/components/schemas/FindingSeverity" } }, "required": [ "severity", "body" ], "type": "object" }, "RevokeRuntimeTrustKeyRequest": { "additionalProperties": false, "properties": { "expected_binding_id": { "type": "string" } }, "required": [ "expected_binding_id" ], "type": "object" }, "RotateRepositorySshCredentialRequest": { "additionalProperties": false, "properties": { "expected_public_key_fingerprint": { "type": "string" }, "operation_id": { "type": "string" }, "passphrase": { "default": null, "type": [ "string", "null" ] }, "private_key": { "type": "string" } }, "required": [ "operation_id", "expected_public_key_fingerprint", "private_key" ], "type": "object" }, "RuntimeCleanupExecutionResponse": { "additionalProperties": false, "properties": { "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "executed_at": { "type": "string" }, "plan_after": { "$ref": "#/components/schemas/RuntimeCleanupPlanResponse" }, "results": { "items": { "$ref": "#/components/schemas/RuntimeCleanupExecutionResult" }, "type": "array" }, "runtime_id": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "runtime_id", "executed_at", "results", "plan_after", "diagnostics" ], "type": "object" }, "RuntimeCleanupExecutionResult": { "additionalProperties": false, "properties": { "action": { "$ref": "#/components/schemas/CleanupTargetKind" }, "message": { "type": "string" }, "status": { "type": "string" }, "target_id": { "type": "string" } }, "required": [ "target_id", "action", "status", "message" ], "type": "object" }, "RuntimeCleanupPlanResponse": { "additionalProperties": false, "properties": { "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "digest": { "type": "string" }, "generated_at": { "type": "string" }, "runtime_id": { "type": "string" }, "workdirs": { "items": { "$ref": "#/components/schemas/CleanupWorkdirCandidate" }, "type": "array" }, "workers": { "items": { "$ref": "#/components/schemas/CleanupWorkerCandidate" }, "type": "array" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "runtime_id", "generated_at", "digest", "workers", "workdirs", "diagnostics" ], "type": "object" }, "RuntimeConfigBundleAvailabilityQuery": { "additionalProperties": false, "properties": { "digest": { "type": "string" } }, "required": [ "digest" ], "type": "object" }, "RuntimeConfigBundleResult": { "additionalProperties": false, "properties": { "availability": true, "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "state": { "$ref": "#/components/schemas/WorkerOperationState" } }, "required": [ "state" ], "type": "object" }, "RuntimeConfigBundleSyncRequest": { "additionalProperties": false, "properties": { "bundle": true }, "required": [ "bundle" ], "type": "object" }, "RuntimeConnectionTestFailureKind": { "enum": [ "authentication", "authorization", "network_unreachable", "timeout", "tls_or_transport", "malformed_response", "protocol_version_mismatch", "runtime_identity_mismatch", "configuration" ], "type": "string" }, "RuntimeConnectionTestResponse": { "additionalProperties": false, "description": "Observation of an actual signed ping, not a grant or cached approval.", "properties": { "actual_protocol_version": { "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": [ "integer", "null" ] }, "binding_id": { "type": "string" }, "checked_at": { "type": "string" }, "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "expected_protocol_version": { "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" }, "failure_kind": { "anyOf": [ { "$ref": "#/components/schemas/RuntimeConnectionTestFailureKind" }, { "type": "null" } ] }, "runtime_id": { "type": "string" }, "status": { "$ref": "#/components/schemas/RuntimeConnectionTestStatus" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "runtime_id", "binding_id", "checked_at", "status", "expected_protocol_version" ], "type": "object" }, "RuntimeConnectionTestStatus": { "enum": [ "compatible", "failed" ], "type": "string" }, "RuntimeIdentityAuthority": { "enum": [ "runtime_registry_projection", "server_runtime_configuration" ], "type": "string" }, "RuntimeListResponse": { "additionalProperties": false, "properties": { "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "items": { "items": { "$ref": "#/components/schemas/RuntimeSummary" }, "type": "array" }, "limit": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "source": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "limit", "items", "source" ], "type": "object" }, "RuntimeManagementApiError": { "additionalProperties": false, "properties": { "current_binding_id": { "type": [ "string", "null" ] }, "current_fingerprint": { "type": [ "string", "null" ] }, "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "error": { "type": "string" }, "message": { "type": "string" } }, "required": [ "error", "message" ], "type": "object" }, "RuntimeManagementSummary": { "additionalProperties": false, "properties": { "binding": { "anyOf": [ { "$ref": "#/components/schemas/WorkspaceRuntimeBindingSummary" }, { "type": "null" } ] }, "built_in": { "type": "boolean" }, "config_managed": { "type": "boolean" }, "endpoint_configured": { "type": "boolean" }, "removable": { "type": "boolean" }, "token_ref_configured": { "type": "boolean" } }, "required": [ "built_in", "config_managed", "removable", "endpoint_configured", "token_ref_configured" ], "type": "object" }, "RuntimeProfileSelector": { "oneOf": [ { "additionalProperties": false, "properties": { "kind": { "const": "builtin", "type": "string" }, "value": { "type": "string" } }, "required": [ "kind", "value" ], "type": "object" }, { "additionalProperties": false, "properties": { "kind": { "const": "named", "type": "string" }, "value": { "type": "string" } }, "required": [ "kind", "value" ], "type": "object" } ] }, "RuntimePublicIdentityBundle": { "additionalProperties": false, "properties": { "identity_id": { "type": "string" }, "public_key": { "type": "string" } }, "required": [ "identity_id", "public_key" ], "type": "object" }, "RuntimeRemovalOperationResponse": { "additionalProperties": false, "properties": { "binding_removed": { "type": "boolean" }, "completed_at": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "failure_category": { "type": [ "string", "null" ] }, "operation_id": { "type": "string" }, "runtime_id": { "type": "string" }, "runtime_registration_removed": { "type": [ "boolean", "null" ] }, "state": { "$ref": "#/components/schemas/RuntimeRemovalOperationState" }, "updated_at": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "operation_id", "workspace_id", "runtime_id", "state", "binding_removed", "created_at", "updated_at" ], "type": "object" }, "RuntimeRemovalOperationState": { "enum": [ "pending", "cleanup_pending", "succeeded", "failed" ], "type": "string" }, "RuntimeSourceKind": { "enum": [ "embedded_worker_runtime", "remote_http" ], "type": "string" }, "RuntimeSourceStatus": { "enum": [ "active", "reserved" ], "type": "string" }, "RuntimeSourceSummary": { "additionalProperties": false, "properties": { "identity_authority": { "$ref": "#/components/schemas/RuntimeIdentityAuthority" }, "kind": { "$ref": "#/components/schemas/RuntimeSourceKind" }, "note": { "type": "string" }, "status": { "$ref": "#/components/schemas/RuntimeSourceStatus" } }, "required": [ "kind", "status", "identity_authority", "note" ], "type": "object" }, "RuntimeSummary": { "properties": { "arch": { "type": "string" }, "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "host_ids": { "default": [], "items": { "type": "string" }, "type": "array" }, "kind": { "type": "string" }, "label": { "type": "string" }, "os": { "type": "string" }, "runtime_id": { "type": "string" }, "source": { "$ref": "#/components/schemas/RuntimeSourceSummary" }, "status": { "type": "string" }, "worker_creation_available": { "type": "boolean" } }, "required": [ "runtime_id", "label", "kind", "status", "source", "worker_creation_available", "os", "arch" ], "type": "object" }, "RuntimeTicketWorkerRole": { "enum": [ "intake", "orchestrator", "worker", "reviewer" ], "type": "string" }, "RuntimeTrustAuditAction": { "enum": [ "created", "replaced", "reactivated", "revoked" ], "type": "string" }, "RuntimeTrustAuditEntry": { "additionalProperties": false, "properties": { "action": { "$ref": "#/components/schemas/RuntimeTrustAuditAction" }, "actor_account_id": { "type": "string" }, "at": { "type": "string" }, "binding_id": { "type": "string" }, "new_fingerprint": { "type": [ "string", "null" ] }, "old_fingerprint": { "type": [ "string", "null" ] } }, "required": [ "action", "actor_account_id", "binding_id", "at" ], "type": "object" }, "RuntimeTrustKeyRevealResponse": { "additionalProperties": false, "properties": { "public_key": { "type": "string" } }, "required": [ "public_key" ], "type": "object" }, "RuntimeTrustKeyState": { "additionalProperties": false, "properties": { "binding_id": { "type": [ "string", "null" ] }, "created_at": { "type": [ "string", "null" ] }, "fingerprint": { "type": [ "string", "null" ] }, "revoked_at": { "type": [ "string", "null" ] }, "status": { "$ref": "#/components/schemas/RuntimeTrustKeyStatus" }, "updated_at": { "type": [ "string", "null" ] } }, "required": [ "status" ], "type": "object" }, "RuntimeTrustKeyStatus": { "enum": [ "unconfigured", "active", "revoked" ], "type": "string" }, "RuntimeWorkerCompletionsRequest": { "additionalProperties": false, "properties": { "context": { "anyOf": [ { "$ref": "#/components/schemas/CompletionContext" }, { "type": "null" } ] }, "kind": { "$ref": "#/components/schemas/CompletionKind" }, "prefix": { "default": "", "type": "string" }, "request_id": { "type": [ "string", "null" ] } }, "required": [ "kind" ], "type": "object" }, "RuntimeWorkerCompletionsResult": { "additionalProperties": false, "properties": { "context": { "anyOf": [ { "$ref": "#/components/schemas/CompletionContext" }, { "type": "null" } ] }, "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "entries": { "items": { "$ref": "#/components/schemas/CompletionEntry" }, "type": "array" }, "kind": { "$ref": "#/components/schemas/CompletionKind" }, "prefix": { "type": "string" }, "request_id": { "type": [ "string", "null" ] }, "runtime_id": { "type": "string" }, "worker_id": { "type": "string" } }, "required": [ "runtime_id", "worker_id", "kind", "prefix", "entries" ], "type": "object" }, "RuntimeWorkerInputRequest": { "additionalProperties": false, "properties": { "content": { "type": "string" }, "kind": { "default": null, "type": [ "string", "null" ] }, "segments": { "items": { "$ref": "#/components/schemas/Segment" }, "type": [ "array", "null" ] } }, "required": [ "content" ], "type": "object" }, "RuntimeWorkerInputResult": { "additionalProperties": false, "properties": { "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "runtime_id": { "type": "string" }, "state": { "$ref": "#/components/schemas/WorkerOperationState" }, "worker_id": { "type": "string" } }, "required": [ "state", "runtime_id", "worker_id" ], "type": "object" }, "RuntimeWorkerLifecycleRequest": { "additionalProperties": false, "properties": { "reason": { "type": [ "string", "null" ] }, "ticket_assignment": { "anyOf": [ { "$ref": "#/components/schemas/RuntimeWorkerTicketAssignmentRequest" }, { "type": "null" } ] } }, "type": "object" }, "RuntimeWorkerLifecycleResult": { "additionalProperties": false, "properties": { "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "runtime_id": { "type": "string" }, "state": { "$ref": "#/components/schemas/WorkerOperationState" }, "worker_id": { "type": "string" } }, "required": [ "state", "runtime_id", "worker_id" ], "type": "object" }, "RuntimeWorkerListResponse": { "additionalProperties": false, "properties": { "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "items": { "items": { "$ref": "#/components/schemas/WorkerSummary" }, "type": "array" }, "limit": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "source": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "limit", "items", "source" ], "type": "object" }, "RuntimeWorkerShowResponse": { "additionalProperties": false, "description": "Workspace-authoritative Worker projection.\n\n`resource_key` is required here even though Runtime-internal Worker summaries\ndo not carry one. The Workspace Server must resolve it from Workspace\nauthority before constructing this response.", "properties": { "availability": { "$ref": "#/components/schemas/SubscriptionWorkerAvailability", "description": "Freshness of the Runtime observation used to construct `worker_state`.\n`Unavailable` means no current controller snapshot is being asserted." }, "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "display_name": { "default": "", "type": "string" }, "host_id": { "type": "string" }, "implementation": { "$ref": "#/components/schemas/WorkerImplementationSummary" }, "label": { "type": "string" }, "last_seen_at": { "type": [ "string", "null" ] }, "pinned": { "default": false, "type": "boolean" }, "profile": { "type": [ "string", "null" ] }, "resource_key": { "type": "string" }, "restore_observation_token": { "description": "Opaque Runtime-owned observation fence used by explicit Restore intent.", "type": [ "string", "null" ] }, "retention_state": { "default": "", "type": "string" }, "runtime_id": { "type": "string" }, "singleton_key": { "type": [ "string", "null" ] }, "state": { "description": "Runtime catalog lifecycle compatibility state. Live foreground state, when\navailable, is carried separately in `worker_state`.", "type": "string" }, "tags": { "default": [], "items": { "type": "string" }, "type": "array" }, "updated_at": { "type": "string" }, "workdir_attachments": { "items": { "$ref": "#/components/schemas/WorkerWorkdirAttachmentSummary" }, "type": "array" }, "worker_id": { "type": "string" }, "worker_state": { "anyOf": [ { "$ref": "#/components/schemas/WorkerStateSnapshot" }, { "type": "null" } ] }, "workspace": { "$ref": "#/components/schemas/WorkerWorkspaceSummary" } }, "required": [ "runtime_id", "worker_id", "resource_key", "host_id", "label", "workspace", "availability", "state", "implementation", "updated_at" ], "type": "object" }, "RuntimeWorkerSpawnAcceptanceEvidence": { "additionalProperties": false, "properties": { "detail": { "type": "string" }, "kind": { "type": "string" } }, "required": [ "kind", "detail" ], "type": "object" }, "RuntimeWorkerSpawnAcceptanceRequirement": { "oneOf": [ { "additionalProperties": false, "properties": { "kind": { "const": "socket_ready", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "expected_segments": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "kind": { "const": "run_accepted", "type": "string" } }, "required": [ "kind", "expected_segments" ], "type": "object" } ] }, "RuntimeWorkerSpawnIntent": { "oneOf": [ { "additionalProperties": false, "properties": { "kind": { "const": "workspace_companion", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "kind": { "const": "workspace_orchestrator", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "kind": { "const": "workspace_coding", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "additionalProperties": false, "properties": { "kind": { "const": "ticket_role", "type": "string" }, "role": { "$ref": "#/components/schemas/RuntimeTicketWorkerRole" }, "ticket_id": { "type": "string" } }, "required": [ "kind", "ticket_id", "role" ], "type": "object" } ] }, "RuntimeWorkerSpawnRequest": { "additionalProperties": false, "properties": { "acceptance": { "$ref": "#/components/schemas/RuntimeWorkerSpawnAcceptanceRequirement" }, "initial_submit": { "items": true, "type": "array" }, "intent": { "$ref": "#/components/schemas/RuntimeWorkerSpawnIntent" }, "profile": { "$ref": "#/components/schemas/RuntimeProfileSelector" }, "requested_worker_name": { "type": [ "string", "null" ] }, "singleton_key": { "description": "Opaque Workspace-scoped singleton identity. The Backend, not the Runtime, owns this lease.", "type": [ "string", "null" ] }, "ticket_assignment": { "anyOf": [ { "$ref": "#/components/schemas/RuntimeWorkerTicketAssignmentRequest" }, { "type": "null" } ] }, "workdir_attachment_requests": { "items": { "$ref": "#/components/schemas/RuntimeWorkerSpawnWorkingDirectoryAttachmentRequest" }, "type": "array" } }, "required": [ "intent", "acceptance", "profile" ], "type": "object" }, "RuntimeWorkerSpawnResponse": { "additionalProperties": false, "properties": { "acceptance_evidence": { "default": [], "items": { "$ref": "#/components/schemas/RuntimeWorkerSpawnAcceptanceEvidence" }, "type": "array" }, "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "state": { "$ref": "#/components/schemas/WorkerOperationState" }, "worker": { "anyOf": [ { "$ref": "#/components/schemas/RuntimeWorkerSummary" }, { "type": "null" } ] } }, "required": [ "state" ], "type": "object" }, "RuntimeWorkerSpawnWorkingDirectoryAttachmentRequest": { "additionalProperties": false, "properties": { "alias": { "type": "string" }, "working_directory": { "$ref": "#/components/schemas/RuntimeWorkerSpawnWorkingDirectoryRequest" } }, "required": [ "alias", "working_directory" ], "type": "object" }, "RuntimeWorkerSpawnWorkingDirectoryRequest": { "additionalProperties": false, "properties": { "repository_key": { "type": "string" }, "selector": { "type": [ "string", "null" ] } }, "required": [ "repository_key" ], "type": "object" }, "RuntimeWorkerSummary": { "additionalProperties": false, "properties": { "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "display_name": { "default": "", "type": "string" }, "host_id": { "type": "string" }, "implementation": { "$ref": "#/components/schemas/WorkerImplementationSummary" }, "label": { "type": "string" }, "last_seen_at": { "type": [ "string", "null" ] }, "pinned": { "default": false, "type": "boolean" }, "profile": { "type": [ "string", "null" ] }, "retention_state": { "default": "", "type": "string" }, "runtime_id": { "type": "string" }, "singleton_key": { "type": [ "string", "null" ] }, "state": { "type": "string" }, "tags": { "default": [], "items": { "type": "string" }, "type": "array" }, "workdir_attachments": { "items": true, "type": "array" }, "worker_id": { "type": "string" }, "worker_state": true, "workspace": { "$ref": "#/components/schemas/WorkerWorkspaceSummary" } }, "required": [ "runtime_id", "worker_id", "host_id", "label", "workspace", "state", "implementation" ], "type": "object" }, "RuntimeWorkerTicketAssignmentRequest": { "additionalProperties": false, "properties": { "operation_id": { "type": "string" }, "orchestrator_assignment_id": { "description": "Observed delegation required for Orchestrator Ticket starts; manual starts omit it.", "type": [ "string", "null" ] }, "ticket_id": { "type": "string" } }, "required": [ "ticket_id", "operation_id" ], "type": "object" }, "RuntimeWorkerWorkdirAttachmentSummary": { "additionalProperties": false, "properties": { "alias": { "type": "string" }, "working_directory": { "$ref": "#/components/schemas/RuntimeWorkingDirectorySummary" } }, "required": [ "alias", "working_directory" ], "type": "object" }, "RuntimeWorkersQuery": { "additionalProperties": false, "properties": { "status": { "anyOf": [ { "$ref": "#/components/schemas/RuntimeWorkersStatusFilter" }, { "type": "null" } ] } }, "type": "object" }, "RuntimeWorkersStatusFilter": { "enum": [ "stopped" ], "type": "string" }, "RuntimeWorkingDirectoryCleanupTarget": { "additionalProperties": false, "description": "Runtime-internal Workdir cleanup authority. This transport intentionally\nretains the Backend-generated Repository id and is never a Workspace public\nprojection.", "properties": { "kind": { "type": "string" }, "repository_id": { "type": "string" }, "working_directory_id": { "type": "string" } }, "required": [ "kind", "working_directory_id", "repository_id" ], "type": "object" }, "RuntimeWorkingDirectorySummary": { "additionalProperties": false, "description": "Runtime-internal Workdir inventory transport. Workspace REST and model-facing\nsurfaces must project this through [`WorkingDirectorySummary`] so the UUID is\nreplaced with `repository_key`.", "properties": { "cleanliness": { "type": [ "string", "null" ] }, "cleanup_target": { "anyOf": [ { "$ref": "#/components/schemas/RuntimeWorkingDirectoryCleanupTarget" }, { "type": "null" } ] }, "creation_ref": { "type": [ "string", "null" ] }, "creation_selector": { "type": [ "string", "null" ] }, "creation_tree": { "type": [ "string", "null" ] }, "current_ref": { "type": [ "string", "null" ] }, "current_selector": { "type": [ "string", "null" ] }, "current_tree": { "type": [ "string", "null" ] }, "display_name": { "description": "Optional human-facing label, never a routing key.", "type": [ "string", "null" ] }, "materializer_kind": { "$ref": "#/components/schemas/WorkingDirectoryMaterializerKind" }, "observed_at_epoch_seconds": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "occupied_by": { "anyOf": [ { "$ref": "#/components/schemas/WorkingDirectoryOccupancy" }, { "type": "null" } ] }, "repository_id": { "type": "string" }, "status": { "$ref": "#/components/schemas/WorkingDirectoryStatusKind" }, "working_directory_id": { "type": "string" } }, "required": [ "working_directory_id", "repository_id", "materializer_kind", "status" ], "type": "object" }, "ScopedPermission": { "additionalProperties": false, "properties": { "operation": { "type": "string" }, "resource": { "$ref": "#/components/schemas/PermissionResource" } }, "required": [ "operation", "resource" ], "type": "object" }, "Segment": { "oneOf": [ { "description": "Free-form text. The fallback every client can produce.", "properties": { "content": { "type": "string" }, "kind": { "const": "text", "type": "string" } }, "required": [ "kind", "content" ], "type": "object" }, { "description": "Bracketed-paste capture from a TUI-style client. `id`, `chars`\nand `lines` carry the metadata needed to re-render a\n`[Clipboard #N | X chars, Y lines]` chip in `Event::UserMessage`\nre-broadcast.", "properties": { "chars": { "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" }, "content": { "type": "string" }, "id": { "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" }, "kind": { "const": "paste", "type": "string" }, "lines": { "format": "uint32", "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "required": [ "kind", "id", "chars", "lines", "content" ], "type": "object" }, { "description": "Internal reference produced when Worker stores a large `Paste` before\ncommitting input. Clients may receive this in history/event projections;\nthe body is intentionally absent.", "properties": { "artifact": { "$ref": "#/components/schemas/PasteArtifactRef" }, "kind": { "const": "paste_artifact", "type": "string" } }, "required": [ "kind", "artifact" ], "type": "object" }, { "description": "Client-local file uploaded into the owning Worker session before submit.\nThe Session Log stores only this immutable reference, never file bytes or\nthe client's local path.", "properties": { "file": { "$ref": "#/components/schemas/UploadedFileRef" }, "kind": { "const": "uploaded_file", "type": "string" } }, "required": [ "kind", "file" ], "type": "object" }, { "description": "`@` file-system reference. Worker resolves readable files to\n`[File: ]` attachments and readable normal directories to shallow\n`[Dir: ]` listings; the flattened user text keeps the literal\n`@` placeholder either way.", "properties": { "kind": { "const": "file_ref", "type": "string" }, "path": { "type": "string" } }, "required": [ "kind", "path" ], "type": "object" }, { "description": "Explicitly selected, source-qualified Feature invocation. The host never\npromotes free text to this variant and validates it against the installed\ndeclaration before execution.", "properties": { "invocation": { "$ref": "#/components/schemas/FeatureInvocation" }, "kind": { "const": "feature_invoke", "type": "string" } }, "required": [ "kind", "invocation" ], "type": "object" }, { "description": "Source-qualified request for the host to start a Flow before committing\nthis user input. Runtime resolves it through Workspace authority and\nreplaces it with the entered state's instructions before Worker-side\ninput resolution.", "properties": { "kind": { "const": "flow", "type": "string" }, "selector": { "type": "string" } }, "required": [ "kind", "selector" ], "type": "object" }, { "description": "Unknown variant from a newer client. Worker treats this as an\nunresolved input — surfaces an alert and inserts a placeholder.\nRound-trip is lossy: re-serializing yields `{\"kind\":\"unknown\"}`.", "properties": { "kind": { "const": "unknown", "type": "string" } }, "required": [ "kind" ], "type": "object" } ] }, "ServerJsonSafeU64": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "SetCookieHeader": { "description": "Sensitive `Set-Cookie` response header value.\n\nFormatting is available only for transport encoding; `Debug` always redacts the value.", "type": "string" }, "SetTicketRoleAssignmentRequest": { "additionalProperties": false, "properties": { "expected_assignment_id": { "type": [ "string", "null" ] }, "operation_id": { "type": "string" }, "orchestrator_assignment_id": { "description": "Observed delegation required for Orchestrator Ticket starts; manual starts omit it.", "type": [ "string", "null" ] }, "principal": { "$ref": "#/components/schemas/TicketAssignmentPrincipal" }, "workdir_bindings": { "default": [], "items": { "$ref": "#/components/schemas/TicketWorkerAttachmentBinding" }, "type": "array" } }, "required": [ "operation_id", "principal" ], "type": "object" }, "SkillActivationResponse": { "additionalProperties": false, "properties": { "body": { "type": "string" }, "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/SkillDiagnostic" }, "type": "array" }, "name": { "type": "string" }, "provenance": { "$ref": "#/components/schemas/SkillProvenance" } }, "required": [ "name", "provenance", "body" ], "type": "object" }, "SkillActivationStatus": { "enum": [ "active", "inactive" ], "type": "string" }, "SkillCatalogEntry": { "additionalProperties": false, "properties": { "activation_status": { "$ref": "#/components/schemas/SkillActivationStatus" }, "description": { "type": "string" }, "diagnostics": { "items": { "$ref": "#/components/schemas/SkillDiagnostic" }, "type": "array" }, "name": { "type": "string" }, "overrides": { "items": { "$ref": "#/components/schemas/SkillProvenance" }, "type": "array" }, "projection_status": { "$ref": "#/components/schemas/SkillProjectionStatus" }, "provenance": { "$ref": "#/components/schemas/SkillProvenance" } }, "required": [ "name", "description", "activation_status", "projection_status", "provenance", "overrides", "diagnostics" ], "type": "object" }, "SkillCatalogResponse": { "additionalProperties": false, "properties": { "authority": { "type": "string" }, "diagnostics": { "items": { "$ref": "#/components/schemas/SkillDiagnostic" }, "type": "array" }, "entries": { "items": { "$ref": "#/components/schemas/SkillCatalogEntry" }, "type": "array" }, "projection": { "$ref": "#/components/schemas/SkillProjectionIdentity" } }, "required": [ "authority", "projection", "entries", "diagnostics" ], "type": "object" }, "SkillDetailResponse": { "additionalProperties": false, "properties": { "activation_status": { "$ref": "#/components/schemas/SkillActivationStatus" }, "allowed_tools": { "items": { "type": "string" }, "type": "array" }, "allowed_tools_status": { "type": "string" }, "authority": { "type": "string" }, "body": { "type": "string" }, "description": { "type": "string" }, "diagnostics": { "items": { "$ref": "#/components/schemas/SkillDiagnostic" }, "type": "array" }, "name": { "type": "string" }, "overrides": { "items": { "$ref": "#/components/schemas/SkillProvenance" }, "type": "array" }, "projection": { "$ref": "#/components/schemas/SkillProjectionIdentity" }, "projection_status": { "$ref": "#/components/schemas/SkillProjectionStatus" }, "provenance": { "$ref": "#/components/schemas/SkillProvenance" }, "resources": { "items": { "$ref": "#/components/schemas/SkillResourceRef" }, "type": "array" } }, "required": [ "authority", "projection", "name", "description", "provenance", "overrides", "diagnostics", "activation_status", "projection_status", "body", "allowed_tools", "allowed_tools_status", "resources" ], "type": "object" }, "SkillDiagnostic": { "additionalProperties": false, "properties": { "code": { "type": "string" }, "message": { "type": "string" }, "severity": { "$ref": "#/components/schemas/SkillDiagnosticSeverity" }, "source": { "type": [ "string", "null" ] } }, "required": [ "severity", "code", "message" ], "type": "object" }, "SkillDiagnosticSeverity": { "enum": [ "error", "warning" ], "type": "string" }, "SkillProjectionIdentity": { "additionalProperties": false, "properties": { "tree_digest": { "type": "string" } }, "required": [ "tree_digest" ], "type": "object" }, "SkillProjectionStatus": { "enum": [ "valid", "invalid" ], "type": "string" }, "SkillProvenance": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "kind": { "$ref": "#/components/schemas/SkillSourceKind" }, "source_digest": { "type": [ "string", "null" ] }, "tree_digest": { "type": [ "string", "null" ] }, "virtual_path": { "type": [ "string", "null" ] } }, "required": [ "kind", "id" ], "type": "object" }, "SkillResourceRef": { "additionalProperties": false, "properties": { "diagnostic": { "type": [ "string", "null" ] }, "kind": { "type": "string" }, "name": { "type": "string" }, "supported": { "type": "boolean" } }, "required": [ "kind", "name", "supported" ], "type": "object" }, "SkillSourceKind": { "enum": [ "builtin", "workspace" ], "type": "string" }, "SourceEvidenceRef": { "additionalProperties": false, "description": "Host-resolved source/evidence metadata for an individual staging claim.\n\nThis deliberately stores only bounded anchor metadata: stable ids, entry\nranges, and short labels/summaries. It must not carry raw message bodies or\nfull tool result content.", "properties": { "entry_range": { "description": "`[start_entry, end_entry]` inclusive range of session-store entry indices.", "items": { "$ref": "#/components/schemas/MemoryJsonSafeU64" }, "maxItems": 2, "minItems": 2, "type": [ "array", "null" ] }, "evidence_id": { "description": "Host-assigned evidence id within the referenced evidence set.", "type": [ "string", "null" ] }, "evidence_kind": { "anyOf": [ { "$ref": "#/components/schemas/EvidenceKind" }, { "type": "null" } ], "description": "Extensible evidence kind tag." }, "label": { "description": "Short host-provided display label, not raw evidence content.", "type": [ "string", "null" ] }, "origin": { "anyOf": [ { "$ref": "#/components/schemas/EvidenceOrigin" }, { "type": "null" } ], "description": "Trusted typed origin snapshot for this logical evidence entry." }, "segment_id": { "description": "Session segment id containing the anchored log entries.", "type": [ "string", "null" ] }, "session_id": { "description": "Stable session id when the anchor crosses or disambiguates segments.", "type": [ "string", "null" ] }, "summary": { "description": "Short host-provided summary, not raw evidence content.", "type": [ "string", "null" ] } }, "type": "object" }, "SourceRef": { "description": "Reference to a session-store entry range. Stored in `sources` /\n`last_sources` arrays for traceability back to raw session logs.", "properties": { "range": { "description": "`[start_entry, end_entry]` inclusive range of session-store entry indices.", "items": { "$ref": "#/components/schemas/MemoryJsonSafeU64" }, "maxItems": 2, "minItems": 2, "type": "array" }, "segment_id": { "type": "string" } }, "required": [ "segment_id", "range" ], "type": "object" }, "StagingEvidence": { "additionalProperties": false, "description": "Bounded evidence snippet copied into a flat staging record.", "properties": { "entry_range": { "items": { "$ref": "#/components/schemas/MemoryJsonSafeU64" }, "maxItems": 2, "minItems": 2, "type": [ "array", "null" ] }, "excerpt": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "kind": { "$ref": "#/components/schemas/EvidenceKind" }, "origin": { "anyOf": [ { "$ref": "#/components/schemas/EvidenceOrigin" }, { "type": "null" } ] }, "summary": { "type": [ "string", "null" ] } }, "required": [ "id", "kind" ], "type": "object" }, "SubjectPermissionInterruption": { "additionalProperties": false, "properties": { "backend_command_sessions_closed": { "type": "boolean" }, "cancellation_accepted": { "type": "boolean" }, "diagnostics": { "items": { "type": "string" }, "type": "array" }, "runtime_id": { "type": "string" }, "worker_id": { "type": "string" } }, "required": [ "runtime_id", "worker_id", "cancellation_accepted", "backend_command_sessions_closed", "diagnostics" ], "type": "object" }, "SubjectPermissions": { "additionalProperties": false, "properties": { "change_id": { "type": "string" }, "delegation": { "items": { "$ref": "#/components/schemas/ScopedPermission" }, "type": "array" }, "execution": { "items": { "$ref": "#/components/schemas/ScopedPermission" }, "type": "array" } }, "required": [ "change_id", "execution", "delegation" ], "type": "object" }, "SubjectPermissionsMutationResponse": { "additionalProperties": false, "properties": { "interruptions": { "description": "New operations are already fenced. These are cancellation requests and\nBackend command cleanup evidence, not proof that a Runtime turn stopped.", "items": { "$ref": "#/components/schemas/SubjectPermissionInterruption" }, "type": "array" }, "permissions": { "$ref": "#/components/schemas/SubjectPermissions" } }, "required": [ "permissions", "interruptions" ], "type": "object" }, "SubjectPermissionsResponse": { "additionalProperties": false, "properties": { "permissions": { "anyOf": [ { "$ref": "#/components/schemas/SubjectPermissions" }, { "type": "null" } ] } }, "type": "object" }, "SubjectPermissionsUpdate": { "additionalProperties": false, "properties": { "delegation": { "items": { "$ref": "#/components/schemas/ScopedPermission" }, "type": "array" }, "execution": { "items": { "$ref": "#/components/schemas/ScopedPermission" }, "type": "array" }, "expected_change_id": { "type": [ "string", "null" ] }, "operation_id": { "type": "string" } }, "required": [ "operation_id", "execution", "delegation" ], "type": "object" }, "SubjektivMemoryChangeItem": { "additionalProperties": false, "properties": { "change_id": { "type": "string" }, "change_reason": { "type": "string" }, "claim": { "type": "string" }, "kind": { "$ref": "#/components/schemas/CandidateKind" }, "state": { "$ref": "#/components/schemas/SubjektivMemoryState" }, "updated_at": { "type": "string" } }, "required": [ "change_id", "kind", "state", "claim", "change_reason", "updated_at" ], "type": "object" }, "SubjektivMemoryChangeRef": { "additionalProperties": false, "properties": { "change_id": { "type": "string" }, "memory_id": { "type": "string" } }, "required": [ "memory_id", "change_id" ], "type": "object" }, "SubjektivMemoryChangesQuery": { "additionalProperties": false, "properties": { "cursor": { "type": [ "string", "null" ] }, "limit": { "format": "uint", "maximum": 100, "minimum": 1, "type": [ "integer", "null" ] } }, "type": "object" }, "SubjektivMemoryDetailQuery": { "additionalProperties": false, "properties": { "byte_offset": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "change_id": { "type": [ "string", "null" ] }, "evidence_cursor": { "type": [ "string", "null" ] }, "limit": { "format": "uint", "maximum": 1000, "minimum": 1, "type": [ "integer", "null" ] }, "offset": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] } }, "type": "object" }, "SubjektivMemoryEvidenceCandidate": { "additionalProperties": false, "properties": { "candidate_id": { "type": "string" }, "evidence": { "items": { "$ref": "#/components/schemas/StagingEvidence" }, "type": "array" }, "evidence_total": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "evidence_truncated": { "type": "boolean" }, "source_refs": { "items": { "$ref": "#/components/schemas/SourceEvidenceRef" }, "type": "array" }, "source_refs_total": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "source_refs_truncated": { "type": "boolean" } }, "required": [ "candidate_id", "evidence", "evidence_total", "evidence_truncated", "source_refs", "source_refs_total", "source_refs_truncated" ], "type": "object" }, "SubjektivMemoryListChangesResponse": { "additionalProperties": false, "properties": { "current_change_id": { "type": "string" }, "has_more": { "type": "boolean" }, "items": { "items": { "$ref": "#/components/schemas/SubjektivMemoryChangeItem" }, "type": "array" }, "memory_id": { "type": "string" }, "next_cursor": { "type": [ "string", "null" ] } }, "required": [ "memory_id", "current_change_id", "items", "has_more" ], "type": "object" }, "SubjektivMemoryListQuery": { "additionalProperties": false, "description": "Browser GET query for committed subject Memory. Enum lists use a bounded,\ncomma-separated scalar representation so URL-form encoding stays portable.", "properties": { "cursor": { "type": [ "string", "null" ] }, "kinds": { "items": { "$ref": "#/components/schemas/CandidateKind" }, "type": [ "array", "null" ] }, "limit": { "format": "uint", "maximum": 100, "minimum": 1, "type": [ "integer", "null" ] }, "query": { "type": [ "string", "null" ] }, "states": { "items": { "$ref": "#/components/schemas/SubjektivMemoryState" }, "type": [ "array", "null" ] } }, "type": "object" }, "SubjektivMemoryQueryItem": { "additionalProperties": false, "properties": { "change_id": { "type": "string" }, "claim": { "type": "string" }, "excerpt": { "type": "string" }, "id": { "type": "string" }, "kind": { "$ref": "#/components/schemas/CandidateKind" }, "state": { "$ref": "#/components/schemas/SubjektivMemoryState" }, "updated_at": { "type": "string" } }, "required": [ "id", "change_id", "kind", "state", "claim", "excerpt", "updated_at" ], "type": "object" }, "SubjektivMemoryQueryResponse": { "additionalProperties": false, "properties": { "has_more": { "type": "boolean" }, "items": { "items": { "$ref": "#/components/schemas/SubjektivMemoryQueryItem" }, "type": "array" }, "next_cursor": { "type": [ "string", "null" ] } }, "required": [ "items", "has_more" ], "type": "object" }, "SubjektivMemoryReadResponse": { "additionalProperties": false, "properties": { "body_byte_offset": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "body_md": { "description": "A line-bounded slice, never an implicit full-document claim.", "type": "string" }, "body_next_byte_offset": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "body_next_offset": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "body_offset": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "body_truncated": { "type": "boolean" }, "change_id": { "type": "string" }, "change_reason": { "type": "string" }, "claim": { "type": "string" }, "created_at": { "type": "string" }, "current_change_id": { "type": "string" }, "derived_from": { "description": "Derivation references on this evidence page.", "items": { "$ref": "#/components/schemas/SubjektivMemoryChangeRef" }, "type": "array" }, "evidence_has_more": { "type": "boolean" }, "evidence_next_cursor": { "type": [ "string", "null" ] }, "kind": { "$ref": "#/components/schemas/CandidateKind" }, "memory_id": { "type": "string" }, "source_candidate_ids": { "description": "Candidate ids on this evidence page. A compatible historical candidate\nmay repeat across pages while its nested anchors advance through the same\nevidence cursor. Corresponding bounded anchors retain the same order in\n`source_candidates`.", "items": { "type": "string" }, "type": "array" }, "source_candidates": { "items": { "$ref": "#/components/schemas/SubjektivMemoryEvidenceCandidate" }, "type": "array" }, "staleness": { "type": [ "string", "null" ] }, "state": { "$ref": "#/components/schemas/SubjektivMemoryState" }, "updated_at": { "type": "string" }, "why_useful": { "type": "string" } }, "required": [ "memory_id", "change_id", "current_change_id", "kind", "state", "claim", "body_md", "why_useful", "change_reason", "created_at", "updated_at", "body_offset", "body_byte_offset", "body_truncated", "source_candidate_ids", "source_candidates", "derived_from", "evidence_has_more" ], "type": "object" }, "SubjektivMemoryState": { "description": "Current lifecycle state of one confirmed subject Memory change.", "enum": [ "active", "resolved", "retracted" ], "type": "string" }, "SubjektivResidentSurfaceAvailability": { "enum": [ "ungenerated", "stale", "failed", "ready" ], "type": "string" }, "SubjektivResidentSurfaceResponse": { "additionalProperties": false, "properties": { "availability": { "$ref": "#/components/schemas/SubjektivResidentSurfaceAvailability" }, "snapshot": { "anyOf": [ { "$ref": "#/components/schemas/SubjektivResidentSurfaceSnapshot" }, { "type": "null" } ] }, "subject_id": { "type": "string" } }, "required": [ "subject_id", "availability" ], "type": "object" }, "SubjektivResidentSurfaceSnapshot": { "additionalProperties": false, "properties": { "body_md": { "type": "string" }, "built_from_memory_fingerprint": { "type": "string" }, "created_at": { "type": "string" }, "memory_refs": { "default": [], "items": { "$ref": "#/components/schemas/SubjektivMemoryChangeRef" }, "type": "array" }, "snapshot_id": { "type": "string" } }, "required": [ "snapshot_id", "body_md", "built_from_memory_fingerprint", "created_at" ], "type": "object" }, "SubjektivSubjectBehaviorUpdateRequest": { "additionalProperties": false, "properties": { "behavior_md": { "type": "string" }, "expected_behavior_md": { "description": "Exact previously observed user-managed behavior document.", "type": "string" } }, "required": [ "expected_behavior_md", "behavior_md" ], "type": "object" }, "SubjektivSubjectCreateRequest": { "additionalProperties": false, "properties": { "behavior_md": { "default": "", "type": "string" }, "role": { "type": "string" } }, "required": [ "role" ], "type": "object" }, "SubjektivSubjectListQuery": { "additionalProperties": false, "properties": { "cursor": { "type": [ "string", "null" ] }, "limit": { "format": "uint", "maximum": 100, "minimum": 1, "type": [ "integer", "null" ] } }, "type": "object" }, "SubjektivSubjectListResponse": { "additionalProperties": false, "properties": { "has_more": { "type": "boolean" }, "items": { "items": { "$ref": "#/components/schemas/SubjektivSubjectResponse" }, "type": "array" }, "limit": { "format": "uint", "maximum": 100, "minimum": 1, "type": "integer" }, "next_cursor": { "type": [ "string", "null" ] } }, "required": [ "limit", "items", "has_more" ], "type": "object" }, "SubjektivSubjectResponse": { "additionalProperties": false, "properties": { "behavior_md": { "type": "string" }, "created_at": { "type": "string" }, "current_worker": { "anyOf": [ { "$ref": "#/components/schemas/WorkerLaunchWorkerSummary" }, { "type": "null" } ], "description": "Current keyed-singleton owner, when one exists. This is a live Yoi\nprojection, not state duplicated in the subjektiv store." }, "id": { "type": "string" }, "memory_fingerprint": { "type": "string" }, "role": { "type": "string" }, "state": { "$ref": "#/components/schemas/SubjektivSubjectState" }, "updated_at": { "type": "string" } }, "required": [ "id", "role", "behavior_md", "state", "memory_fingerprint", "created_at", "updated_at" ], "type": "object" }, "SubjektivSubjectState": { "enum": [ "active", "retired" ], "type": "string" }, "SubjektivWorkerConnectionRequest": { "additionalProperties": false, "properties": { "subject_id": { "type": "string" } }, "required": [ "subject_id" ], "type": "object" }, "SubscriptionWorkerAvailability": { "description": "Whether the Workspace Server has a current Runtime observation for a Worker.\n\n`Unavailable` deliberately does not imply `Stopped`: it means the last observed\nlifecycle state is retained while the Runtime observation source is unavailable.", "enum": [ "observed", "unavailable" ], "type": "string" }, "TagListRequest": { "description": "Active tags in ascending ID order, strictly after `after`; default/max 200.\nLarger limits are clamped to 200; zero returns an empty page.", "properties": { "after": { "type": [ "string", "null" ] }, "limit": { "format": "uint", "maximum": 200, "minimum": 0, "type": [ "integer", "null" ] } }, "type": "object" }, "Ticket": { "properties": { "artifacts": { "items": { "$ref": "#/components/schemas/TicketArtifactRef" }, "type": "array" }, "case_history": { "items": { "$ref": "#/components/schemas/TicketCaseHistoryEntry" }, "type": "array" }, "closure_operation_key": { "description": "Last closure/correction operation key; retained when reopened (ABA guard).", "type": [ "string", "null" ] }, "current_closure": { "anyOf": [ { "$ref": "#/components/schemas/TicketClosureJudgment" }, { "type": "null" } ] }, "document": { "$ref": "#/components/schemas/TicketDocument" }, "events": { "items": { "$ref": "#/components/schemas/TicketEvent" }, "type": "array" }, "legacy_workflow_snapshot": { "anyOf": [ { "$ref": "#/components/schemas/TicketLegacyWorkflowSnapshot" }, { "type": "null" } ] }, "meta": { "$ref": "#/components/schemas/TicketMeta" }, "relations": { "$ref": "#/components/schemas/TicketRelationView" }, "resolution": { "anyOf": [ { "$ref": "#/components/schemas/MarkdownText" }, { "type": "null" } ] }, "tags": { "default": [], "items": { "$ref": "#/components/schemas/WorkspaceTag" }, "type": "array" } }, "required": [ "meta", "document", "events", "artifacts", "relations", "case_history" ], "type": "object" }, "TicketActionEligibility": { "additionalProperties": false, "properties": { "blockers": { "items": { "type": "string" }, "type": "array" }, "can_assign_orchestrator": { "type": "boolean" }, "can_queue": { "type": "boolean" }, "can_start_manual_worker": { "type": "boolean" }, "can_unassign_orchestrator": { "type": "boolean" }, "queue_tickets": { "items": { "type": "string" }, "type": "array" } }, "required": [ "can_assign_orchestrator", "can_unassign_orchestrator", "can_queue", "can_start_manual_worker", "queue_tickets", "blockers" ], "type": "object" }, "TicketArtifactRef": { "properties": { "relative_path": { "description": "Path relative to the ticket's `artifacts/` directory.", "type": "string" } }, "required": [ "relative_path" ], "type": "object" }, "TicketAssignmentAnswer": { "additionalProperties": false, "properties": { "assignment_id": { "type": "string" }, "body": { "type": "string" }, "expected_last_event_id": { "type": "string" }, "operation_key": { "type": "string" } }, "required": [ "assignment_id", "expected_last_event_id", "operation_key", "body" ], "type": "object" }, "TicketAssignmentAnswerReceipt": { "properties": { "assignment_id": { "type": "string" }, "event_index": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "input_event_id": { "type": "string" } }, "required": [ "assignment_id", "input_event_id", "event_index" ], "type": "object" }, "TicketAssignmentDiagnosticsPage": { "properties": { "actionable": { "description": "Noncurrent/done/closed/released records are history, not pending work.", "type": "boolean" }, "assignment_id": { "type": "string" }, "current": { "type": "boolean" }, "input_origin_known": { "type": "boolean" }, "inputs": { "items": { "$ref": "#/components/schemas/TicketAssignmentInputDiagnostic" }, "type": "array" }, "next_input_event_id": { "type": [ "string", "null" ] }, "next_start_operation_id": { "type": [ "string", "null" ] }, "starts": { "description": "Assignment-scoped admission evidence; not attributed to individual input.", "items": { "$ref": "#/components/schemas/TicketAssignmentStartDiagnostic" }, "type": "array" } }, "required": [ "assignment_id", "current", "input_origin_known", "actionable", "inputs", "starts" ], "type": "object" }, "TicketAssignmentDiagnosticsQuery": { "additionalProperties": false, "properties": { "after_input_event_id": { "type": [ "string", "null" ] }, "after_start_operation_id": { "type": [ "string", "null" ] }, "assignment_id": { "type": "string" }, "limit": { "format": "uint", "maximum": 100, "minimum": 1, "type": [ "integer", "null" ] } }, "required": [ "assignment_id" ], "type": "object" }, "TicketAssignmentInputDeliveryState": { "enum": [ "not_reserved", "reserved", "request_persisted", "runtime_accepted" ], "type": "string" }, "TicketAssignmentInputDiagnostic": { "properties": { "acceptance_outcome_unknown": { "description": "Absence of a Runtime ack is not proof of failed external delivery.", "type": "boolean" }, "delivery_id": { "type": [ "string", "null" ] }, "input_event_id": { "type": "string" }, "notification": { "$ref": "#/components/schemas/TicketAssignmentInputDeliveryState" } }, "required": [ "input_event_id", "notification", "acceptance_outcome_unknown" ], "type": "object" }, "TicketAssignmentPrincipal": { "oneOf": [ { "additionalProperties": false, "properties": { "account_id": { "type": "string" }, "kind": { "const": "user", "type": "string" } }, "required": [ "kind", "account_id" ], "type": "object" }, { "additionalProperties": false, "properties": { "kind": { "const": "worker", "type": "string" }, "runtime_id": { "type": "string" }, "worker_id": { "type": "string" } }, "required": [ "kind", "runtime_id", "worker_id" ], "type": "object" }, { "additionalProperties": false, "properties": { "agent_key": { "type": "string" }, "kind": { "const": "workspace_agent", "type": "string" } }, "required": [ "kind", "agent_key" ], "type": "object" } ] }, "TicketAssignmentPrincipalSnapshot": { "description": "Immutable principal as stored at Assign, not live Worker availability.", "oneOf": [ { "properties": { "account_id": { "type": "string" }, "kind": { "const": "user", "type": "string" } }, "required": [ "kind", "account_id" ], "type": "object" }, { "properties": { "kind": { "const": "worker", "type": "string" }, "runtime_id": { "type": "string" }, "worker_id": { "type": "string" } }, "required": [ "kind", "runtime_id", "worker_id" ], "type": "object" }, { "properties": { "agent_key": { "type": "string" }, "kind": { "const": "workspace_agent", "type": "string" } }, "required": [ "kind", "agent_key" ], "type": "object" } ] }, "TicketAssignmentRelease": { "description": "Release is an independent immutable assignment audit event. Last tracking\nremains unchanged, including unknown legacy tracking; it is never made done.", "properties": { "action": { "$ref": "#/components/schemas/TicketAssignmentReleaseAction" }, "actor": { "type": "string" }, "at": { "type": "string" }, "event_id": { "type": "string" }, "last_tracking": { "anyOf": [ { "$ref": "#/components/schemas/TicketAssignmentTracking" }, { "type": "null" } ] }, "operation_key": { "type": [ "string", "null" ] }, "reason": { "type": [ "string", "null" ] }, "replacement_assignment_id": { "type": [ "string", "null" ] } }, "required": [ "action", "event_id", "actor", "at" ], "type": "object" }, "TicketAssignmentReleaseAction": { "enum": [ "unassigned", "replaced" ], "type": "string" }, "TicketAssignmentRole": { "enum": [ "orchestrator", "worker", "owner", "contributor" ], "type": "string" }, "TicketAssignmentStartDiagnostic": { "properties": { "actual_processing_unknown": { "description": "Existing records do not attest that a model processed a particular input.", "type": "boolean" }, "assignment_id": { "type": [ "string", "null" ] }, "claim_state": { "description": "Durable start/assignment reservation result, not Worker liveness.", "type": "string" }, "operation_id": { "type": "string" }, "runtime_id": { "type": [ "string", "null" ] }, "worker_id": { "type": [ "string", "null" ] } }, "required": [ "operation_id", "claim_state", "actual_processing_unknown" ], "type": "object" }, "TicketAssignmentSummary": { "additionalProperties": false, "properties": { "assignment_id": { "type": "string" }, "runtime_id": { "type": "string" }, "worker_id": { "type": "string" }, "worker_resource_key": { "type": [ "string", "null" ] } }, "required": [ "assignment_id", "runtime_id", "worker_id" ], "type": "object" }, "TicketAssignmentTracking": { "additionalProperties": false, "properties": { "next_action": { "type": [ "string", "null" ] }, "progress": { "type": [ "string", "null" ] }, "result": { "type": [ "string", "null" ] }, "status": { "$ref": "#/components/schemas/TicketAssignmentTrackingStatus" }, "waiting_reason": { "type": [ "string", "null" ] } }, "required": [ "status" ], "type": "object" }, "TicketAssignmentTrackingHistoryEntry": { "properties": { "at": { "type": "string" }, "event_id": { "type": "string" }, "operation_key": { "type": "string" }, "source_context": true, "tracking": { "$ref": "#/components/schemas/TicketAssignmentTracking" } }, "required": [ "event_id", "operation_key", "tracking", "source_context", "at" ], "type": "object" }, "TicketAssignmentTrackingHistoryPage": { "additionalProperties": false, "properties": { "items": { "items": { "$ref": "#/components/schemas/TicketAssignmentTrackingHistoryEntry" }, "type": "array" }, "next_event_id": { "type": [ "string", "null" ] } }, "required": [ "items" ], "type": "object" }, "TicketAssignmentTrackingHistoryQuery": { "additionalProperties": false, "properties": { "after_event_id": { "type": [ "string", "null" ] }, "assignment_id": { "type": "string" }, "limit": { "format": "uint", "maximum": 100, "minimum": 1, "type": [ "integer", "null" ] } }, "required": [ "assignment_id" ], "type": "object" }, "TicketAssignmentTrackingProjection": { "description": "Enrichment is separate from the established assignment record. `None`\ntracking means a retained historical relationship with insufficient delegation\nevidence, not waiting/done. Removal/replacement does not alter last tracking.", "properties": { "assigned_at": { "type": "string" }, "assigned_by": { "type": "string" }, "assignment_id": { "type": "string" }, "current": { "type": "boolean" }, "last_event_id": { "description": "Tracking event, or the existing immutable Assign audit observation for a\nretained current relationship with no tracking yet. This baseline does\nnot imply a handling status, delegation intent, or tracking timestamp.", "type": [ "string", "null" ] }, "migration_diagnostic": { "type": [ "string", "null" ] }, "principal": { "$ref": "#/components/schemas/TicketAssignmentPrincipalSnapshot" }, "release": { "anyOf": [ { "$ref": "#/components/schemas/TicketAssignmentRelease" }, { "type": "null" } ] }, "role": { "type": "string" }, "ticket_id": { "type": "string" }, "tracking": { "anyOf": [ { "$ref": "#/components/schemas/TicketAssignmentTracking" }, { "type": "null" } ] }, "updated_at": { "type": [ "string", "null" ] }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "ticket_id", "assignment_id", "role", "principal", "assigned_by", "assigned_at", "current" ], "type": "object" }, "TicketAssignmentTrackingQuery": { "additionalProperties": false, "properties": { "assignment_id": { "description": "Omit for the current delegation; provide to inspect a retained assignment.", "type": [ "string", "null" ] } }, "type": "object" }, "TicketAssignmentTrackingStatus": { "enum": [ "waiting", "inprogress", "done" ], "type": "string" }, "TicketAssignmentTrackingUpdate": { "additionalProperties": false, "description": "Replaces the complete handling payload against this delegation's observed event,\nnot status alone. Exact retry compares full input and authenticated sender/binding.", "properties": { "assignment_id": { "type": "string" }, "expected_last_event_id": { "type": "string" }, "operation_key": { "type": "string" }, "tracking": { "$ref": "#/components/schemas/TicketAssignmentTracking" } }, "required": [ "assignment_id", "expected_last_event_id", "operation_key", "tracking" ], "type": "object" }, "TicketAssignmentsPage": { "properties": { "items": { "items": { "$ref": "#/components/schemas/TicketAssignmentTrackingProjection" }, "type": "array" }, "next_assignment_id": { "type": [ "string", "null" ] } }, "required": [ "items" ], "type": "object" }, "TicketAssignmentsQuery": { "additionalProperties": false, "properties": { "after_assignment_id": { "type": [ "string", "null" ] }, "limit": { "format": "uint", "maximum": 100, "minimum": 1, "type": [ "integer", "null" ] } }, "type": "object" }, "TicketAttention": { "enum": [ "unresolved_review", "missing_commit", "blocked", "unblocked", "awaiting_review", "unresolved_changes", "stale_after_rescope", "missing_evidence" ], "type": "string" }, "TicketBodyReplacement": { "properties": { "new_string": { "type": "string" }, "old_string": { "type": "string" }, "replace_all": { "default": false, "type": "boolean" } }, "required": [ "old_string", "new_string" ], "type": "object" }, "TicketBrowseQueryItem": { "additionalProperties": false, "properties": { "assignment_tracking": { "items": { "$ref": "#/components/schemas/TicketAssignmentTrackingProjection" }, "type": "array" }, "current_closure": { "anyOf": [ { "$ref": "#/components/schemas/TicketClosureJudgment" }, { "type": "null" } ] }, "id": { "type": "string" }, "resource_key": { "type": "string" }, "state": { "$ref": "#/components/schemas/BrowserTicketState" }, "tags": { "items": { "$ref": "#/components/schemas/WorkspaceTag" }, "type": "array" }, "title": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] } }, "required": [ "id", "resource_key", "title", "state", "tags", "assignment_tracking" ], "type": "object" }, "TicketBrowseQueryRequest": { "additionalProperties": false, "properties": { "assigned_principal": { "anyOf": [ { "$ref": "#/components/schemas/TicketAssignmentPrincipalSnapshot" }, { "type": "null" } ] }, "closure_reason": { "anyOf": [ { "$ref": "#/components/schemas/TicketClosureReason" }, { "type": "null" } ], "description": "Exact current closed-case reason; historical reasons do not match this filter." }, "cursor": { "description": "Browse-only cursor bound to the Workspace, canonical filters, and sort.", "type": [ "string", "null" ] }, "handling_status": { "anyOf": [ { "$ref": "#/components/schemas/TicketAssignmentTrackingStatus" }, { "type": "null" } ] }, "limit": { "format": "uint", "maximum": 1000, "minimum": 0, "type": [ "integer", "null" ] }, "query": { "type": [ "string", "null" ] }, "sort": { "description": "Only updated_desc is supported; defaults to updated_desc.", "type": [ "string", "null" ] }, "states": { "default": [], "items": { "$ref": "#/components/schemas/TicketState" }, "type": "array" }, "tag_ids": { "default": [], "description": "Every supplied active tag ID must match (AND).", "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "TicketBrowseQueryResponse": { "additionalProperties": false, "properties": { "items": { "items": { "$ref": "#/components/schemas/TicketBrowseQueryItem" }, "type": "array" }, "page": { "$ref": "#/components/schemas/QueryPage" }, "record_authority": { "type": "string" } }, "required": [ "items", "page", "record_authority" ], "type": "object" }, "TicketCaseAction": { "description": "Close requires an open case; reopen and correction require a closed case.\nReopen clears the current judgment but retains its history and last closure key.\nCorrection appends a new judgment without rewriting the old one.", "oneOf": [ { "additionalProperties": false, "properties": { "action": { "const": "close", "type": "string" }, "reason": { "$ref": "#/components/schemas/TicketClosureReason" } }, "required": [ "action", "reason" ], "type": "object" }, { "additionalProperties": false, "properties": { "action": { "const": "reopen", "type": "string" } }, "required": [ "action" ], "type": "object" }, { "additionalProperties": false, "properties": { "action": { "const": "correct_closure", "type": "string" }, "reason": { "$ref": "#/components/schemas/TicketClosureReason" } }, "required": [ "action", "reason" ], "type": "object" } ] }, "TicketCaseHistoryEntry": { "description": "Immutable case decision, including reopening and corrections. A correction\nadds a new judgment; it never overwrites the old reason, actor or references.", "properties": { "action": { "$ref": "#/components/schemas/TicketCaseAction" }, "at": { "type": "string" }, "author": { "type": "string" }, "explanation": { "type": "string" }, "operation_key": { "type": "string" }, "previous_closure_operation_key": { "type": [ "string", "null" ] }, "references": { "items": { "$ref": "#/components/schemas/TicketReference" }, "type": "array" } }, "required": [ "operation_key", "action", "explanation", "references", "author", "at" ], "type": "object" }, "TicketCaseUpdateRequest": { "additionalProperties": false, "properties": { "action": { "$ref": "#/components/schemas/TicketCaseAction" }, "expected_closure_operation_key": { "type": [ "string", "null" ] }, "expected_content_digest": { "type": "string" }, "expected_state": { "$ref": "#/components/schemas/TicketState" }, "explanation": { "type": "string" }, "operation_key": { "type": "string" }, "references": { "default": [], "items": { "$ref": "#/components/schemas/TicketReference" }, "type": "array" } }, "required": [ "expected_content_digest", "expected_state", "expected_closure_operation_key", "operation_key", "action", "explanation" ], "type": "object" }, "TicketClosureJudgment": { "properties": { "at": { "type": "string" }, "author": { "type": "string" }, "explanation": { "type": "string" }, "operation_key": { "type": "string" }, "reason": { "$ref": "#/components/schemas/TicketClosureReason" }, "references": { "items": { "$ref": "#/components/schemas/TicketReference" }, "type": "array" } }, "required": [ "operation_key", "reason", "explanation", "references", "author", "at" ], "type": "object" }, "TicketClosureReason": { "description": "Reason attached to a closure judgment, not a classification tag or success inference.\nOnly `Completed` asserts fulfillment; the other reasons can end an unfulfilled case.\n`Other` must be nonblank, at most 1024 UTF-8 bytes, and contain no NUL.", "oneOf": [ { "enum": [ "completed", "not_planned", "duplicate", "unknown" ], "type": "string" }, { "additionalProperties": false, "properties": { "other": { "type": "string" } }, "required": [ "other" ], "type": "object" } ] }, "TicketDependencyCheck": { "properties": { "blockers": { "items": { "$ref": "#/components/schemas/TicketRelationBlocker" }, "type": "array" }, "queue_guard": { "$ref": "#/components/schemas/TicketQueueGuard" }, "queue_tickets": { "items": { "type": "string" }, "type": "array" }, "recommended_action": { "$ref": "#/components/schemas/TicketWorkspaceNextAction" }, "ticket": { "$ref": "#/components/schemas/TicketSummary" } }, "required": [ "ticket", "blockers", "queue_guard", "queue_tickets", "recommended_action" ], "type": "object" }, "TicketDetail": { "additionalProperties": false, "properties": { "action_eligibility": { "$ref": "#/components/schemas/TicketActionEligibility" }, "artifact_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "artifacts": { "items": { "type": "string" }, "type": "array" }, "assignment_diagnostics": { "items": { "type": "string" }, "type": "array" }, "assignment_tracking": { "items": { "$ref": "#/components/schemas/TicketAssignmentTrackingProjection" }, "type": "array" }, "assignments": { "items": { "$ref": "#/components/schemas/TicketRoleAssignmentSummary" }, "type": "array" }, "body": { "type": "string" }, "body_truncated": { "type": "boolean" }, "closure_history": { "items": { "$ref": "#/components/schemas/TicketCaseHistoryEntry" }, "type": "array" }, "closure_operation_key": { "description": "Last closure/correction key, retained across reopening for ABA-safe CAS.", "type": [ "string", "null" ] }, "content_digest": { "type": "string" }, "created_at": { "type": [ "string", "null" ] }, "created_by": { "type": [ "string", "null" ] }, "current_closure": { "anyOf": [ { "$ref": "#/components/schemas/TicketClosureJudgment" }, { "type": "null" } ] }, "current_worker": { "anyOf": [ { "$ref": "#/components/schemas/TicketAssignmentSummary" }, { "type": "null" } ] }, "event_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "event_page": { "$ref": "#/components/schemas/QueryPage" }, "events": { "items": { "$ref": "#/components/schemas/TicketEventDetail" }, "type": "array" }, "evidence": { "$ref": "#/components/schemas/TicketEvidenceSummary" }, "id": { "type": "string" }, "implementation_reports": { "items": { "$ref": "#/components/schemas/TicketEvidenceEvent" }, "type": "array" }, "initial_post": { "$ref": "#/components/schemas/TicketEventDetail" }, "legacy_handoff": { "anyOf": [ { "$ref": "#/components/schemas/TicketLegacyWorkflowSnapshot" }, { "type": "null" } ], "description": "Original migration handoff; not another current state authority." }, "linked_objectives": { "items": { "$ref": "#/components/schemas/ObjectiveLinkSummary" }, "type": "array" }, "merge_request": { "anyOf": [ { "$ref": "#/components/schemas/TicketMergeRequestSummary" }, { "type": "null" } ] }, "merge_requests": { "items": { "$ref": "#/components/schemas/TicketMergeRequestSummary" }, "type": "array" }, "priority": { "type": "string" }, "queued_at": { "type": [ "string", "null" ] }, "queued_by": { "type": [ "string", "null" ] }, "readiness": { "type": [ "string", "null" ] }, "record_source": { "type": "string" }, "relations": { "$ref": "#/components/schemas/TicketDetailRelationView" }, "resolution": { "type": [ "string", "null" ] }, "resource_key": { "type": "string" }, "risk_flags": { "items": { "type": "string" }, "type": "array" }, "state": { "$ref": "#/components/schemas/BrowserTicketState" }, "tags": { "items": { "$ref": "#/components/schemas/WorkspaceTag" }, "type": "array" }, "targets": { "items": { "$ref": "#/components/schemas/TicketTarget" }, "type": "array" }, "title": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] } }, "required": [ "initial_post", "id", "tags", "resource_key", "title", "state", "priority", "content_digest", "targets", "risk_flags", "body", "body_truncated", "event_count", "events", "event_page", "artifact_count", "artifacts", "relations", "linked_objectives", "implementation_reports", "assignments", "assignment_tracking", "assignment_diagnostics", "action_eligibility", "merge_requests", "evidence", "record_source", "closure_history" ], "type": "object" }, "TicketDetailDerivedRelation": { "additionalProperties": false, "properties": { "at": { "type": "string" }, "author": { "type": "string" }, "forward_kind": { "type": "string" }, "inverse_kind": { "type": "string" }, "note": { "type": [ "string", "null" ] }, "source_resource_key": { "type": [ "string", "null" ] }, "source_ticket": { "type": "string" } }, "required": [ "source_ticket", "inverse_kind", "forward_kind", "author", "at" ], "type": "object" }, "TicketDetailRelation": { "additionalProperties": false, "properties": { "at": { "type": "string" }, "author": { "type": "string" }, "kind": { "type": "string" }, "note": { "type": [ "string", "null" ] }, "target": { "type": "string" }, "target_resource_key": { "type": [ "string", "null" ] }, "ticket_id": { "type": "string" } }, "required": [ "ticket_id", "kind", "target", "author", "at" ], "type": "object" }, "TicketDetailRelationBlocker": { "additionalProperties": false, "properties": { "blocking_resource_key": { "type": [ "string", "null" ] }, "blocking_state": { "type": "string" }, "blocking_ticket": { "type": "string" }, "note": { "type": [ "string", "null" ] }, "reason_kind": { "type": "string" }, "relation_kind": { "type": "string" } }, "required": [ "blocking_ticket", "reason_kind", "relation_kind", "blocking_state" ], "type": "object" }, "TicketDetailRelationNotice": { "additionalProperties": false, "properties": { "kind": { "type": "string" }, "message": { "type": "string" }, "related_ticket": { "type": "string" } }, "required": [ "related_ticket", "kind", "message" ], "type": "object" }, "TicketDetailRelationView": { "additionalProperties": false, "properties": { "blockers": { "items": { "$ref": "#/components/schemas/TicketDetailRelationBlocker" }, "type": "array" }, "incoming": { "items": { "$ref": "#/components/schemas/TicketDetailDerivedRelation" }, "type": "array" }, "notices": { "items": { "$ref": "#/components/schemas/TicketDetailRelationNotice" }, "type": "array" }, "outgoing": { "items": { "$ref": "#/components/schemas/TicketDetailRelation" }, "type": "array" } }, "required": [ "outgoing", "incoming", "blockers", "notices" ], "type": "object" }, "TicketDoctorDiagnostic": { "properties": { "message": { "type": "string" }, "path": { "type": [ "string", "null" ] }, "severity": { "$ref": "#/components/schemas/TicketDoctorSeverity" } }, "required": [ "severity", "message" ], "type": "object" }, "TicketDoctorReport": { "properties": { "diagnostics": { "items": { "$ref": "#/components/schemas/TicketDoctorDiagnostic" }, "type": "array" } }, "required": [ "diagnostics" ], "type": "object" }, "TicketDoctorSeverity": { "enum": [ "Error", "Warning" ], "type": "string" }, "TicketDocument": { "properties": { "body": { "$ref": "#/components/schemas/MarkdownText" }, "raw_frontmatter": { "additionalProperties": { "type": "string" }, "type": "object" } }, "required": [ "body", "raw_frontmatter" ], "type": "object" }, "TicketEvent": { "properties": { "at": { "type": [ "string", "null" ] }, "attributes": { "additionalProperties": { "type": "string" }, "type": "object" }, "author": { "type": [ "string", "null" ] }, "body": { "$ref": "#/components/schemas/MarkdownText" }, "edited_at": { "default": null, "type": [ "string", "null" ] }, "edited_by": { "default": null, "type": [ "string", "null" ] }, "event_ref": { "default": "", "description": "Persisted identity, independent of display position and legacy event_id attributes.", "type": "string" }, "from": { "type": [ "string", "null" ] }, "heading": { "type": [ "string", "null" ] }, "is_initial": { "default": false, "type": "boolean" }, "kind": { "$ref": "#/components/schemas/TicketEventKind" }, "reason": { "type": [ "string", "null" ] }, "references": { "items": { "$ref": "#/components/schemas/TicketReference" }, "type": "array" }, "state_field": { "type": [ "string", "null" ] }, "status": { "type": [ "string", "null" ] }, "to": { "type": [ "string", "null" ] } }, "required": [ "kind", "body", "references", "attributes" ], "type": "object" }, "TicketEventDetail": { "additionalProperties": false, "properties": { "at": { "type": [ "string", "null" ] }, "attributes": { "additionalProperties": { "type": "string" }, "type": "object" }, "author": { "type": [ "string", "null" ] }, "body": { "type": [ "string", "null" ] }, "body_digest": { "type": "string" }, "body_truncated": { "type": "boolean" }, "editable": { "type": "boolean" }, "edited_at": { "type": [ "string", "null" ] }, "edited_by": { "type": [ "string", "null" ] }, "event_ref": { "type": "string" }, "from": { "type": [ "string", "null" ] }, "heading": { "type": [ "string", "null" ] }, "is_initial": { "type": "boolean" }, "kind": { "type": "string" }, "reason": { "type": [ "string", "null" ] }, "references": { "items": { "type": "string" }, "type": "array" }, "sequence": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "state_field": { "type": [ "string", "null" ] }, "status": { "type": [ "string", "null" ] }, "to": { "type": [ "string", "null" ] } }, "required": [ "is_initial", "body_digest", "body_truncated", "editable", "sequence", "event_ref", "kind", "attributes", "references" ], "type": "object" }, "TicketEventKind": { "oneOf": [ { "enum": [ "create", "comment", "plan", "decision", "implementation_report", "state_changed", "tags_changed", "intake_summary", "status_changed", "close" ], "type": "string" }, { "additionalProperties": false, "properties": { "other": { "type": "string" } }, "required": [ "other" ], "type": "object" } ] }, "TicketEvidenceEvent": { "additionalProperties": false, "properties": { "at": { "type": [ "string", "null" ] }, "author": { "type": [ "string", "null" ] }, "event_ref": { "type": "string" }, "excerpt": { "type": "string" }, "kind": { "type": "string" }, "sequence": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "event_ref", "sequence", "kind", "excerpt" ], "type": "object" }, "TicketEvidenceSummary": { "additionalProperties": false, "properties": { "approved_current_subject": { "type": "boolean" }, "complete_for_integration": { "type": "boolean" }, "has_commit": { "type": "boolean" }, "has_current_subject_ref": { "type": "boolean" }, "has_merge_request": { "type": "boolean" }, "has_review_request": { "type": "boolean" }, "missing": { "items": { "type": "string" }, "type": "array" }, "review_after_rescope": { "type": "boolean" }, "review_status": { "type": [ "string", "null" ] }, "unresolved_request_changes": { "type": "boolean" } }, "required": [ "has_merge_request", "has_current_subject_ref", "has_review_request", "has_commit", "approved_current_subject", "review_after_rescope", "unresolved_request_changes", "complete_for_integration", "missing" ], "type": "object" }, "TicketIdOrSlug": { "oneOf": [ { "additionalProperties": false, "properties": { "Id": { "type": "string" } }, "required": [ "Id" ], "type": "object" }, { "additionalProperties": false, "properties": { "Slug": { "type": "string" } }, "required": [ "Slug" ], "type": "object" }, { "additionalProperties": false, "properties": { "Query": { "type": "string" } }, "required": [ "Query" ], "type": "object" } ] }, "TicketImplementationResultKind": { "enum": [ "handoff", "result", "blocker" ], "type": "string" }, "TicketImplementationResultReceipt": { "additionalProperties": false, "properties": { "created_at": { "type": "string" }, "request": { "$ref": "#/components/schemas/TicketImplementationResultRequest" }, "result_id": { "type": "string" }, "ticket_id": { "type": "string" } }, "required": [ "result_id", "ticket_id", "request", "created_at" ], "type": "object" }, "TicketImplementationResultRequest": { "additionalProperties": false, "properties": { "body": { "type": "string" }, "kind": { "$ref": "#/components/schemas/TicketImplementationResultKind" }, "merge_request": { "anyOf": [ { "$ref": "#/components/schemas/MergeRequestReviewSubject" }, { "type": "null" } ] }, "operation_key": { "description": "Host-owned replay identity; model-facing tools derive it from the Tool call.", "type": "string" } }, "required": [ "operation_key", "kind", "body" ], "type": "object" }, "TicketIntakeSummary": { "properties": { "author": { "type": [ "string", "null" ] }, "body": { "$ref": "#/components/schemas/MarkdownText" }, "references": { "items": { "$ref": "#/components/schemas/TicketReference" }, "type": "array" } }, "required": [ "body", "references" ], "type": "object" }, "TicketItemEdit": { "properties": { "author": { "type": [ "string", "null" ] }, "body": { "anyOf": [ { "$ref": "#/components/schemas/MarkdownText" }, { "type": "null" } ], "description": "Whole-body replacement for legacy authoring surfaces. Prefer `body_replacement`\nfor small edits that should be validated against the current body." }, "body_replacement": { "anyOf": [ { "$ref": "#/components/schemas/TicketBodyReplacement" }, { "type": "null" } ], "default": null }, "targets": { "anyOf": [ { "$ref": "#/components/schemas/TicketTargetsEdit" }, { "type": "null" } ] }, "title": { "type": [ "string", "null" ] } }, "type": "object" }, "TicketLegacyWorkflowSnapshot": { "description": "Original migration snapshot for downstream routing/tracking handoff only.\nThis is not a second current state authority.", "properties": { "queued_at": { "type": [ "string", "null" ] }, "queued_by": { "type": [ "string", "null" ] }, "resolution": { "type": [ "string", "null" ] }, "status": { "type": "string" }, "workflow_state": { "type": "string" }, "workflow_state_explicit": { "type": "boolean" } }, "required": [ "workflow_state", "workflow_state_explicit", "status" ], "type": "object" }, "TicketListHttpQuery": { "additionalProperties": false, "properties": { "cursor": { "type": [ "string", "null" ] }, "limit": { "format": "uint", "maximum": 1000, "minimum": 0, "type": [ "integer", "null" ] }, "states": { "type": [ "string", "null" ] } }, "type": "object" }, "TicketListItemSummary": { "additionalProperties": false, "properties": { "closure_operation_key": { "description": "Last closure/correction key, retained across reopening for ABA-safe CAS.", "type": [ "string", "null" ] }, "current_closure": { "anyOf": [ { "$ref": "#/components/schemas/TicketClosureJudgment" }, { "type": "null" } ] }, "id": { "type": "string" }, "legacy_handoff": { "anyOf": [ { "$ref": "#/components/schemas/TicketLegacyWorkflowSnapshot" }, { "type": "null" } ], "description": "Original migration handoff; not another current state authority." }, "priority": { "type": "string" }, "queued_at": { "type": [ "string", "null" ] }, "queued_by": { "type": [ "string", "null" ] }, "record_source": { "type": "string" }, "resource_key": { "type": "string" }, "state": { "$ref": "#/components/schemas/BrowserTicketState" }, "tags": { "default": [], "items": { "$ref": "#/components/schemas/WorkspaceTag" }, "type": "array" }, "title": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] }, "workspace_action_priority": { "type": "string" } }, "required": [ "id", "resource_key", "title", "state", "priority", "workspace_action_priority", "record_source" ], "type": "object" }, "TicketListResponse": { "additionalProperties": false, "properties": { "invalid_records": { "items": { "$ref": "#/components/schemas/InvalidProjectRecord" }, "type": "array" }, "items": { "items": { "$ref": "#/components/schemas/TicketListItemSummary" }, "type": "array" }, "limit": { "format": "uint", "maximum": 1000, "minimum": 0, "type": "integer" }, "page": { "$ref": "#/components/schemas/QueryPage" }, "record_authority": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "limit", "items", "page", "invalid_records", "record_authority" ], "type": "object" }, "TicketMarkReadyRequest": { "additionalProperties": false, "properties": { "intake_summary": { "anyOf": [ { "$ref": "#/components/schemas/TicketIntakeSummary" }, { "type": "null" } ], "default": null }, "operation_key": { "type": "string" }, "reason": { "default": null, "type": [ "string", "null" ] } }, "required": [ "operation_key" ], "type": "object" }, "TicketMergeRequestSummary": { "additionalProperties": false, "properties": { "current_subject_ref": { "type": [ "string", "null" ] }, "integration_evidence_error": { "type": [ "string", "null" ] }, "merge_request_id": { "type": "string" }, "repository_key": { "type": "string" }, "review_excerpt": { "type": [ "string", "null" ] }, "review_requested_at": { "type": [ "string", "null" ] }, "review_status": { "type": "string" }, "review_subject_ref": { "type": [ "string", "null" ] }, "review_submitted_at": { "type": [ "string", "null" ] }, "selector_from": { "type": [ "string", "null" ] }, "selector_to": { "type": "string" }, "source_ref_observation": { "$ref": "#/components/schemas/TicketSourceRefObservation" }, "state": { "type": "string" }, "updated_at": { "type": "string" } }, "required": [ "merge_request_id", "repository_key", "state", "review_status", "selector_to", "updated_at", "source_ref_observation" ], "type": "object" }, "TicketMeta": { "properties": { "assignee": { "type": [ "string", "null" ] }, "created_at": { "type": [ "string", "null" ] }, "created_by": { "default": null, "type": [ "string", "null" ] }, "id": { "type": "string" }, "kind": { "type": "string" }, "labels": { "items": { "type": "string" }, "type": "array" }, "priority": { "type": "string" }, "queued_at": { "type": [ "string", "null" ] }, "queued_by": { "type": [ "string", "null" ] }, "raw": { "additionalProperties": { "type": "string" }, "type": "object" }, "readiness": { "type": [ "string", "null" ] }, "resource_key": { "type": [ "string", "null" ] }, "risk_flags": { "items": { "type": "string" }, "type": "array" }, "slug": { "type": "string" }, "status": { "$ref": "#/components/schemas/ExtensibleTicketStatus" }, "targets": { "default": [], "items": { "$ref": "#/components/schemas/TicketTarget" }, "type": "array" }, "title": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] }, "workflow_state": { "$ref": "#/components/schemas/TicketState", "description": "Case state only; field name retained temporarily, never execution progress." }, "workflow_state_explicit": { "type": "boolean" } }, "required": [ "id", "slug", "title", "status", "kind", "priority", "labels", "risk_flags", "workflow_state", "workflow_state_explicit", "raw" ], "type": "object" }, "TicketOrchestrationPlanSearchRequest": { "additionalProperties": false, "properties": { "kind": { "anyOf": [ { "$ref": "#/components/schemas/OrchestrationPlanKind" }, { "type": "null" } ] }, "ticket": { "anyOf": [ { "$ref": "#/components/schemas/TicketIdOrSlug" }, { "type": "null" } ] } }, "type": "object" }, "TicketPostEdit": { "description": "A compare-and-swap edit of a real comment post. The host supplies authenticated author.", "properties": { "author": { "type": "string" }, "body": { "$ref": "#/components/schemas/MarkdownText" }, "event_ref": { "type": "string" }, "expected_body": { "$ref": "#/components/schemas/MarkdownText" } }, "required": [ "event_ref", "expected_body", "body", "author" ], "type": "object" }, "TicketPostEditRequest": { "additionalProperties": false, "properties": { "body": { "type": "string" }, "expected_body_digest": { "type": "string" } }, "required": [ "body", "expected_body_digest" ], "type": "object" }, "TicketQueryItem": { "additionalProperties": false, "properties": { "assignment_tracking": { "items": { "$ref": "#/components/schemas/TicketAssignmentTrackingProjection" }, "type": "array" }, "blocker_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "closure_operation_key": { "description": "Last closure/correction key, retained across reopening for ABA-safe CAS.", "type": [ "string", "null" ] }, "content_digest": { "type": "string" }, "created_at": { "type": [ "string", "null" ] }, "current_closure": { "anyOf": [ { "$ref": "#/components/schemas/TicketClosureJudgment" }, { "type": "null" } ] }, "current_worker": { "anyOf": [ { "$ref": "#/components/schemas/TicketAssignmentSummary" }, { "type": "null" } ] }, "evidence": { "$ref": "#/components/schemas/TicketEvidenceSummary" }, "id": { "type": "string" }, "legacy_handoff": { "anyOf": [ { "$ref": "#/components/schemas/TicketLegacyWorkflowSnapshot" }, { "type": "null" } ], "description": "Original migration handoff; not another current state authority." }, "linked_objective_ids": { "items": { "type": "string" }, "type": "array" }, "linked_objective_keys": { "items": { "type": "string" }, "type": "array" }, "matched_fields": { "items": { "type": "string" }, "type": "array" }, "matching_event": { "anyOf": [ { "$ref": "#/components/schemas/TicketEvidenceEvent" }, { "type": "null" } ] }, "merge_request": { "anyOf": [ { "$ref": "#/components/schemas/TicketMergeRequestSummary" }, { "type": "null" } ] }, "merge_requests": { "items": { "$ref": "#/components/schemas/TicketMergeRequestSummary" }, "type": "array" }, "priority": { "type": "string" }, "readiness": { "type": [ "string", "null" ] }, "relation_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "resource_key": { "type": "string" }, "snippet": { "type": [ "string", "null" ] }, "state": { "$ref": "#/components/schemas/BrowserTicketState" }, "tags": { "items": { "$ref": "#/components/schemas/WorkspaceTag" }, "type": "array" }, "title": { "type": "string" }, "unresolved_blocker_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "unresolved_review_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "updated_at": { "type": [ "string", "null" ] }, "workspace_action_priority": { "type": "string" } }, "required": [ "id", "tags", "resource_key", "title", "state", "priority", "content_digest", "workspace_action_priority", "matched_fields", "linked_objective_ids", "linked_objective_keys", "relation_count", "blocker_count", "unresolved_blocker_count", "unresolved_review_count", "assignment_tracking", "evidence", "merge_requests" ], "type": "object" }, "TicketQueryRequest": { "additionalProperties": false, "properties": { "assigned_principal": { "anyOf": [ { "$ref": "#/components/schemas/TicketAssignmentPrincipalSnapshot" }, { "type": "null" } ], "description": "Exact current assigned principal; retained relationships do not match." }, "attention": { "default": [], "items": { "$ref": "#/components/schemas/TicketAttention" }, "type": "array" }, "closure_reason": { "anyOf": [ { "$ref": "#/components/schemas/TicketClosureReason" }, { "type": "null" } ], "description": "Exact reason of the current closed-case judgment; reopened/history-only reasons do not match." }, "cursor": { "type": [ "string", "null" ] }, "event_kinds": { "default": [], "items": { "type": "string" }, "type": "array" }, "evidence": { "default": [], "items": { "type": "string" }, "type": "array" }, "handling_status": { "anyOf": [ { "$ref": "#/components/schemas/TicketAssignmentTrackingStatus" }, { "type": "null" } ], "description": "Explicit self-reported handling only; never inferred from Worker state." }, "limit": { "format": "uint", "maximum": 1000, "minimum": 0, "type": [ "integer", "null" ] }, "linked_objective_id": { "type": [ "string", "null" ] }, "query": { "type": [ "string", "null" ] }, "related_ticket_id": { "type": [ "string", "null" ] }, "relation_kind": { "type": [ "string", "null" ] }, "review_status": { "type": [ "string", "null" ] }, "sort": { "type": [ "string", "null" ] }, "states": { "default": [], "items": { "$ref": "#/components/schemas/TicketState" }, "type": "array" }, "tag_ids": { "default": [], "description": "Match tickets containing every supplied tag ID (AND).", "items": { "type": "string" }, "type": "array" }, "tag_ids_any": { "default": [], "description": "Match tickets containing at least one supplied tag ID (OR).", "items": { "type": "string" }, "type": "array" }, "tag_ids_none": { "default": [], "description": "Exclude tickets containing any supplied tag ID (NOT).", "items": { "type": "string" }, "type": "array" }, "updated_after": { "type": [ "string", "null" ] }, "updated_before": { "type": [ "string", "null" ] } }, "type": "object" }, "TicketQueryResponse": { "additionalProperties": false, "properties": { "items": { "items": { "$ref": "#/components/schemas/TicketQueryItem" }, "type": "array" }, "page": { "$ref": "#/components/schemas/QueryPage" }, "record_authority": { "type": "string" } }, "required": [ "items", "page", "record_authority" ], "type": "object" }, "TicketQueueGuard": { "properties": { "blocked_reason": { "type": [ "string", "null" ] }, "can_queue_for_orchestrator": { "type": "boolean" }, "reason": { "type": [ "string", "null" ] } }, "required": [ "can_queue_for_orchestrator" ], "type": "object" }, "TicketQueueOutcome": { "properties": { "queued_tickets": { "items": { "type": "string" }, "type": "array" }, "requested_ticket": { "type": "string" } }, "required": [ "requested_ticket", "queued_tickets" ], "type": "object" }, "TicketRef": { "properties": { "id": { "type": "string" }, "resource_key": { "type": [ "string", "null" ] }, "slug": { "type": "string" }, "status": { "$ref": "#/components/schemas/TicketStatus" } }, "required": [ "id", "slug", "status" ], "type": "object" }, "TicketReference": { "properties": { "kind": { "type": "string" }, "target": { "type": "string" } }, "required": [ "kind", "target" ], "type": "object" }, "TicketRelation": { "additionalProperties": false, "properties": { "at": { "type": "string" }, "author": { "type": "string" }, "kind": { "$ref": "#/components/schemas/TicketRelationKind" }, "note": { "type": [ "string", "null" ] }, "target": { "type": "string" }, "ticket_id": { "type": "string" } }, "required": [ "ticket_id", "kind", "target", "author", "at" ], "type": "object" }, "TicketRelationBlocker": { "properties": { "blocking_state": { "$ref": "#/components/schemas/TicketState" }, "blocking_ticket": { "type": "string" }, "note": { "type": [ "string", "null" ] }, "reason_kind": { "type": "string" }, "relation_kind": { "$ref": "#/components/schemas/TicketRelationKind" } }, "required": [ "blocking_ticket", "reason_kind", "relation_kind", "blocking_state" ], "type": "object" }, "TicketRelationKind": { "enum": [ "depends_on", "blocks", "related", "supersedes", "duplicate_of" ], "type": "string" }, "TicketRelationNotice": { "properties": { "kind": { "$ref": "#/components/schemas/TicketRelationKind" }, "message": { "type": "string" }, "related_ticket": { "type": "string" } }, "required": [ "related_ticket", "kind", "message" ], "type": "object" }, "TicketRelationRemoveRequest": { "additionalProperties": false, "properties": { "kind": { "$ref": "#/components/schemas/TicketRelationKind" }, "target": { "type": "string" } }, "required": [ "kind", "target" ], "type": "object" }, "TicketRelationSearchRequest": { "additionalProperties": false, "properties": { "kind": { "anyOf": [ { "$ref": "#/components/schemas/TicketRelationKind" }, { "type": "null" } ] }, "ticket": { "anyOf": [ { "$ref": "#/components/schemas/TicketIdOrSlug" }, { "type": "null" } ] } }, "type": "object" }, "TicketRelationView": { "properties": { "blockers": { "items": { "$ref": "#/components/schemas/TicketRelationBlocker" }, "type": "array" }, "incoming": { "items": { "$ref": "#/components/schemas/DerivedTicketRelation" }, "type": "array" }, "notices": { "items": { "$ref": "#/components/schemas/TicketRelationNotice" }, "type": "array" }, "outgoing": { "items": { "$ref": "#/components/schemas/TicketRelation" }, "type": "array" } }, "required": [ "outgoing", "incoming", "blockers", "notices" ], "type": "object" }, "TicketRoleAssignmentMutationResponse": { "additionalProperties": false, "properties": { "assignment": { "anyOf": [ { "$ref": "#/components/schemas/TicketRoleAssignmentRecord" }, { "type": "null" } ] }, "ticket_id": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "ticket_id" ], "type": "object" }, "TicketRoleAssignmentRecord": { "additionalProperties": false, "properties": { "assigned_at": { "type": "string" }, "assigned_by": { "type": "string" }, "assignment_id": { "type": "string" }, "principal": { "$ref": "#/components/schemas/TicketAssignmentPrincipal" }, "role": { "$ref": "#/components/schemas/TicketAssignmentRole" }, "ticket_id": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "ticket_id", "assignment_id", "role", "principal", "assigned_by", "assigned_at" ], "type": "object" }, "TicketRoleAssignmentSummary": { "additionalProperties": false, "properties": { "assigned_at": { "type": "string" }, "assigned_by": { "type": "string" }, "assignment_id": { "type": "string" }, "principal": { "$ref": "#/components/schemas/TicketAssignmentPrincipal" }, "role": { "type": "string" } }, "required": [ "assignment_id", "role", "principal", "assigned_by", "assigned_at" ], "type": "object" }, "TicketRoleAssignmentsResponse": { "additionalProperties": false, "properties": { "assignments": { "items": { "$ref": "#/components/schemas/TicketRoleAssignmentRecord" }, "type": "array" }, "ticket_id": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "ticket_id", "assignments" ], "type": "object" }, "TicketShowRequest": { "additionalProperties": false, "properties": { "event_cursor": { "type": [ "string", "null" ] }, "event_limit": { "format": "uint", "maximum": 1000, "minimum": 0, "type": [ "integer", "null" ] } }, "type": "object" }, "TicketSourceRefObservation": { "oneOf": [ { "additionalProperties": false, "properties": { "status": { "const": "observed", "type": "string" } }, "required": [ "status" ], "type": "object" }, { "additionalProperties": false, "properties": { "code": { "type": "string" }, "status": { "const": "unavailable", "type": "string" } }, "required": [ "status", "code" ], "type": "object" }, { "additionalProperties": false, "properties": { "status": { "const": "not_required", "type": "string" } }, "required": [ "status" ], "type": "object" } ] }, "TicketState": { "enum": [ "open", "closed" ], "type": "string" }, "TicketStatus": { "enum": [ "Open", "Closed" ], "type": "string" }, "TicketSummary": { "properties": { "id": { "type": "string" }, "kind": { "type": "string" }, "labels": { "items": { "type": "string" }, "type": "array" }, "priority": { "type": "string" }, "queued_at": { "type": [ "string", "null" ] }, "queued_by": { "type": [ "string", "null" ] }, "readiness": { "type": [ "string", "null" ] }, "resource_key": { "type": [ "string", "null" ] }, "slug": { "type": "string" }, "status": { "$ref": "#/components/schemas/ExtensibleTicketStatus" }, "tags": { "default": [], "items": { "$ref": "#/components/schemas/WorkspaceTag" }, "type": "array" }, "title": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] }, "workflow_state": { "$ref": "#/components/schemas/TicketState", "description": "Case state only; field name retained temporarily, never execution progress." }, "workflow_state_explicit": { "type": "boolean" } }, "required": [ "id", "slug", "title", "status", "kind", "priority", "labels", "workflow_state", "workflow_state_explicit" ], "type": "object" }, "TicketSummarySearchQuery": { "additionalProperties": false, "properties": { "limit": { "format": "uint", "maximum": 1000, "minimum": 0, "type": [ "integer", "null" ] }, "state": { "type": [ "string", "null" ] } }, "type": "object" }, "TicketTagSetRequest": { "additionalProperties": false, "description": "Compare entire active ID set, then replace it atomically. IDs must be unique;\ninput order is immaterial to CAS, but remains significant for exact replay.", "properties": { "expected_tag_ids": { "items": { "type": "string" }, "type": "array" }, "operation_key": { "type": "string" }, "tag_ids": { "items": { "type": "string" }, "type": "array" } }, "required": [ "expected_tag_ids", "tag_ids", "operation_key" ], "type": "object" }, "TicketTarget": { "additionalProperties": false, "properties": { "access": { "$ref": "#/components/schemas/TicketTargetAccess" }, "ref_selector": { "type": [ "string", "null" ] }, "repository_key": { "type": "string" } }, "required": [ "repository_key", "access" ], "type": "object" }, "TicketTargetAccess": { "enum": [ "read_only", "read_write" ], "type": "string" }, "TicketTargetsEdit": { "oneOf": [ { "properties": { "action": { "const": "set", "type": "string" }, "targets": { "items": { "$ref": "#/components/schemas/TicketTarget" }, "type": "array" } }, "required": [ "action", "targets" ], "type": "object" }, { "properties": { "action": { "const": "clear", "type": "string" } }, "required": [ "action" ], "type": "object" } ] }, "TicketWorkerAttachmentBinding": { "additionalProperties": false, "description": "Selected existing live Workdir attachment, including its current connection\nidentity. The Workspace authority validates the selection against live\nattachments; callers must select them explicitly, and use an empty list\nonly when the Worker has no live Workdirs.", "properties": { "alias": { "type": "string" }, "connection_id": { "type": "string" }, "working_directory_id": { "type": "string" } }, "required": [ "alias", "working_directory_id", "connection_id" ], "type": "object" }, "TicketWorkspaceNextAction": { "enum": [ "clarify", "queue_for_orchestrator", "close", "wait_for_orchestrator" ], "type": "string" }, "ToolchainContract": { "additionalProperties": false, "properties": { "contract_version": { "format": "uint32", "minimum": 0, "type": "integer" }, "decodal_version": { "type": "string" }, "entrypoints": { "items": { "type": "string" }, "type": "array" }, "fingerprint": { "type": "string" }, "import_policy_version": { "format": "uint32", "minimum": 0, "type": "integer" }, "schema_bundle": { "$ref": "#/components/schemas/WorkspaceConfigSchemaBundle" }, "schema_version": { "format": "uint32", "minimum": 0, "type": "integer" } }, "required": [ "contract_version", "decodal_version", "schema_version", "entrypoints", "import_policy_version", "schema_bundle", "fingerprint" ], "type": "object" }, "Tuple_of_Ticket_and_Ticket": { "maxItems": 2, "minItems": 2, "prefixItems": [ { "$ref": "#/components/schemas/Ticket" }, { "$ref": "#/components/schemas/Ticket" } ], "type": "array" }, "UpdateRemoteRuntimeRequest": { "additionalProperties": false, "properties": { "display_name": { "type": [ "string", "null" ] }, "endpoint": { "type": "string" } }, "required": [ "endpoint" ], "type": "object" }, "UpdateWorkspaceMemorySettingsRequest": { "additionalProperties": false, "description": "Compare-and-swap update for Workspace-owned Memory settings.", "properties": { "expected_language": { "type": "string" }, "language": { "type": "string" } }, "required": [ "expected_language", "language" ], "type": "object" }, "UpdateWorkspaceMetadataRequest": { "additionalProperties": false, "description": "Compare-and-swap update for Workspace identity display metadata.", "properties": { "display_name": { "type": "string" }, "expected_updated_at": { "type": "string" } }, "required": [ "display_name", "expected_updated_at" ], "type": "object" }, "UploadedFileAvailability": { "description": "Availability recorded for an uploaded client-local file.", "enum": [ "available", "unavailable", "integrity_failed" ], "type": "string" }, "UploadedFileRef": { "description": "Session-owned immutable reference to a client-local uploaded file.\n\nUpload transports return an unbound reference. Worker fills\n`source_entry_id` immediately before the containing user input is committed;\ncommitted Session Log and public snapshot records therefore always retain\nthe durable source-entry identity without storing the file body.", "properties": { "artifact_id": { "type": "string" }, "availability": { "$ref": "#/components/schemas/UploadedFileAvailability" }, "byte_len": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "created_at_ms": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "file_name": { "type": "string" }, "media_type": { "type": "string" }, "sha256": { "type": "string" }, "source_entry_id": { "type": [ "string", "null" ] } }, "required": [ "artifact_id", "file_name", "media_type", "created_at_ms", "availability", "byte_len", "sha256" ], "type": "object" }, "UsageAudit": { "properties": { "cache_creation_input_tokens": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "cache_read_input_tokens": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "input_tokens": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "output_tokens": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "total_tokens": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] } }, "type": "object" }, "WhoamiResponse": { "additionalProperties": false, "properties": { "actor": { "anyOf": [ { "$ref": "#/components/schemas/RequestActor" }, { "type": "null" } ] }, "session": { "$ref": "#/components/schemas/BrowserSessionState" } }, "required": [ "session" ], "type": "object" }, "WorkerBusyState": { "oneOf": [ { "properties": { "kind": { "const": "run", "type": "string" }, "state": { "$ref": "#/components/schemas/WorkerRunState" } }, "required": [ "kind", "state" ], "type": "object" }, { "properties": { "kind": { "const": "maintenance", "type": "string" }, "state": { "$ref": "#/components/schemas/WorkerMaintenanceState" } }, "required": [ "kind", "state" ], "type": "object" } ] }, "WorkerDelegationRequest": { "additionalProperties": false, "properties": { "permissions": { "items": { "$ref": "#/components/schemas/ScopedPermission" }, "type": "array" }, "redelegation": { "items": { "$ref": "#/components/schemas/ScopedPermission" }, "type": "array" } }, "required": [ "permissions", "redelegation" ], "type": "object" }, "WorkerFileDeleteResponse": { "additionalProperties": false, "properties": { "deleted": { "type": "boolean" } }, "required": [ "deleted" ], "type": "object" }, "WorkerFileUploadQuery": { "additionalProperties": false, "properties": { "file_name": { "type": "string" }, "media_type": { "type": "string" }, "upload_id": { "default": null, "type": [ "string", "null" ] } }, "required": [ "file_name", "media_type" ], "type": "object" }, "WorkerFileUploadResponse": { "additionalProperties": false, "properties": { "file": { "$ref": "#/components/schemas/UploadedFileRef" } }, "required": [ "file" ], "type": "object" }, "WorkerImplementationSummary": { "properties": { "display_hint": { "type": "string" }, "kind": { "type": "string" } }, "required": [ "kind", "display_hint" ], "type": "object" }, "WorkerLaunchFeatureConnectionOptions": { "additionalProperties": false, "properties": { "subjektiv": { "type": "boolean" } }, "required": [ "subjektiv" ], "type": "object" }, "WorkerLaunchOptionsResponse": { "additionalProperties": false, "properties": { "default_profile": { "type": [ "string", "null" ] }, "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "profiles": { "items": { "$ref": "#/components/schemas/WorkerLaunchProfileCandidate" }, "type": "array" }, "repositories": { "items": { "$ref": "#/components/schemas/WorkingDirectoryRepositoryOption" }, "type": "array" }, "runtimes": { "items": { "$ref": "#/components/schemas/WorkerLaunchRuntimeOption" }, "type": "array" }, "working_directories": { "items": { "$ref": "#/components/schemas/WorkingDirectorySummary" }, "type": "array" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "runtimes", "profiles", "repositories", "working_directories", "diagnostics" ], "type": "object" }, "WorkerLaunchProfileCandidate": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "feature_connections": { "$ref": "#/components/schemas/WorkerLaunchFeatureConnectionOptions" }, "id": { "type": "string" }, "label": { "type": "string" } }, "required": [ "id", "label", "description", "feature_connections" ], "type": "object" }, "WorkerLaunchRuntimeOption": { "additionalProperties": false, "properties": { "built_in": { "type": "boolean" }, "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "display_name": { "type": "string" }, "runtime_id": { "type": "string" }, "status": { "type": "string" }, "supports_workdir_attachments": { "description": "Whether this Runtime supports explicitly selected Workdir attachments.\nWorkdirs are optional for generic launches; embedded Runtime does not support them.", "type": "boolean" }, "worker_creation_available": { "type": "boolean" } }, "required": [ "runtime_id", "display_name", "built_in", "worker_creation_available", "supports_workdir_attachments", "status", "diagnostics" ], "type": "object" }, "WorkerLaunchWorkerSummary": { "additionalProperties": false, "description": "Runtime-owned Worker summary embedded in Worker launch responses.\n\nThis preserves the existing launch wire shape. Workspace-owned Worker list\nand detail responses use [`WorkerSummary`] instead.", "properties": { "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "display_name": { "type": "string" }, "host_id": { "type": "string" }, "implementation": { "$ref": "#/components/schemas/WorkerImplementationSummary" }, "label": { "type": "string" }, "last_seen_at": { "type": [ "string", "null" ] }, "pinned": { "type": "boolean" }, "profile": { "type": [ "string", "null" ] }, "retention_state": { "type": "string" }, "runtime_id": { "type": "string" }, "singleton_key": { "type": [ "string", "null" ] }, "state": { "type": "string" }, "tags": { "items": { "type": "string" }, "type": "array" }, "workdir_attachments": { "items": { "$ref": "#/components/schemas/RuntimeWorkerWorkdirAttachmentSummary" }, "type": "array" }, "worker_id": { "type": "string" }, "workspace": { "$ref": "#/components/schemas/WorkerWorkspaceSummary" } }, "required": [ "runtime_id", "worker_id", "host_id", "display_name", "label", "tags", "workspace", "state", "pinned", "retention_state", "implementation" ], "type": "object" }, "WorkerLifecycleAudit": { "properties": { "consolidation": { "anyOf": [ { "$ref": "#/components/schemas/ConsolidationAudit" }, { "type": "null" } ] }, "extract": { "anyOf": [ { "$ref": "#/components/schemas/ExtractAudit" }, { "type": "null" } ] }, "memory_settings": { "anyOf": [ { "$ref": "#/components/schemas/MemorySettingsAudit" }, { "type": "null" } ] }, "model": { "anyOf": [ { "$ref": "#/components/schemas/ModelAudit" }, { "type": "null" } ] }, "reason": { "type": "string" }, "run_id": { "type": "string" }, "status": { "$ref": "#/components/schemas/WorkerLifecycleStatus" }, "trigger": { "$ref": "#/components/schemas/AuditTrigger" }, "usage": { "anyOf": [ { "$ref": "#/components/schemas/UsageAudit" }, { "type": "null" } ] }, "worker": { "$ref": "#/components/schemas/AuditWorker" } }, "required": [ "run_id", "worker", "status", "trigger", "reason" ], "type": "object" }, "WorkerLifecycleStatus": { "enum": [ "started", "completed", "skipped", "failed", "cancelled" ], "type": "string" }, "WorkerListResponse": { "additionalProperties": false, "properties": { "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "items": { "items": { "$ref": "#/components/schemas/WorkerSummary" }, "type": "array" }, "limit": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "source": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "limit", "items", "source" ], "type": "object" }, "WorkerMaintenanceState": { "enum": [ "compacting" ], "type": "string" }, "WorkerOperationState": { "enum": [ "accepted", "unsupported", "rejected" ], "type": "string" }, "WorkerRestoreRequest": { "additionalProperties": false, "description": "One explicit Restore intent. Retries retain both fields; conflicts require a\nfresh observation and a deliberate new intent, not automatic token replacement.", "properties": { "expected_observation_token": { "type": "string" }, "request_id": { "type": "string" } }, "required": [ "expected_observation_token", "request_id" ], "type": "object" }, "WorkerRestoreResponse": { "additionalProperties": false, "properties": { "result": { "$ref": "#/components/schemas/WorkerRestoreResult" }, "runtime_id": { "type": "string" }, "worker_id": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "runtime_id", "worker_id", "result" ], "type": "object" }, "WorkerRestoreResult": { "additionalProperties": false, "properties": { "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "state": { "$ref": "#/components/schemas/WorkerRestoreState" }, "worker": { "anyOf": [ { "$ref": "#/components/schemas/WorkerSummary" }, { "type": "null" } ] } }, "required": [ "state" ], "type": "object" }, "WorkerRestoreState": { "description": "Cross-layer outcome of an explicit Worker restore operation.\n\n`Rejected` is reserved for read-only preflight failures. Once live restore\nwork starts, failure is either a confirmed `RolledBack` operation or a\n`ReconciliationRequired` result whose commit state must be reread/retried.", "enum": [ "accepted", "rejected", "rolled_back", "reconciliation_required" ], "type": "string" }, "WorkerRetentionResponse": { "additionalProperties": false, "properties": { "pinned": { "type": "boolean" }, "retention_state": { "type": "string" }, "runtime_id": { "type": "string" }, "worker_id": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "runtime_id", "worker_id", "pinned", "retention_state" ], "type": "object" }, "WorkerRunState": { "enum": [ "running", "pausing", "paused", "cancelling" ], "type": "string" }, "WorkerState": { "oneOf": [ { "properties": { "kind": { "const": "idle", "type": "string" } }, "required": [ "kind" ], "type": "object" }, { "properties": { "kind": { "const": "busy", "type": "string" }, "state": { "$ref": "#/components/schemas/WorkerBusyState" } }, "required": [ "kind", "state" ], "type": "object" } ] }, "WorkerStateSnapshot": { "properties": { "last_command_id": { "description": "Highest lifecycle command id observed by this controller instance.", "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "last_finished_submission_request_id": { "description": "Most recent Submit request whose controller Run has returned and whose\npost-Run state transition has been published. This is a teardown fence,\nnot a successful-result claim; cancelled and failed Runs may also finish.", "type": [ "string", "null" ] }, "state": { "$ref": "#/components/schemas/WorkerState" } }, "required": [ "last_command_id", "state" ], "type": "object" }, "WorkerSummary": { "description": "Workspace-authoritative Worker projection.\n\n`resource_key` is required here even though Runtime-internal Worker summaries\ndo not carry one. The Workspace Server must resolve it from Workspace\nauthority before constructing this response.", "properties": { "availability": { "$ref": "#/components/schemas/SubscriptionWorkerAvailability", "description": "Freshness of the Runtime observation used to construct `worker_state`.\n`Unavailable` means no current controller snapshot is being asserted." }, "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "display_name": { "default": "", "type": "string" }, "host_id": { "type": "string" }, "implementation": { "$ref": "#/components/schemas/WorkerImplementationSummary" }, "label": { "type": "string" }, "last_seen_at": { "type": [ "string", "null" ] }, "pinned": { "default": false, "type": "boolean" }, "profile": { "type": [ "string", "null" ] }, "resource_key": { "type": "string" }, "restore_observation_token": { "description": "Opaque Runtime-owned observation fence used by explicit Restore intent.", "type": [ "string", "null" ] }, "retention_state": { "default": "", "type": "string" }, "runtime_id": { "type": "string" }, "singleton_key": { "type": [ "string", "null" ] }, "state": { "description": "Runtime catalog lifecycle compatibility state. Live foreground state, when\navailable, is carried separately in `worker_state`.", "type": "string" }, "tags": { "default": [], "items": { "type": "string" }, "type": "array" }, "workdir_attachments": { "items": { "$ref": "#/components/schemas/WorkerWorkdirAttachmentSummary" }, "type": "array" }, "worker_id": { "type": "string" }, "worker_state": { "anyOf": [ { "$ref": "#/components/schemas/WorkerStateSnapshot" }, { "type": "null" } ] }, "workspace": { "$ref": "#/components/schemas/WorkerWorkspaceSummary" } }, "required": [ "runtime_id", "worker_id", "resource_key", "host_id", "label", "workspace", "availability", "state", "implementation" ], "type": "object" }, "WorkerWorkdirAttachmentSummary": { "additionalProperties": false, "description": "One Workspace Worker Workdir attachment. `alias` is the stable Worker-local\nrouting key; the nested Workdir id and display name are inventory metadata.", "properties": { "alias": { "type": "string" }, "effective_permissions": { "$ref": "#/components/schemas/ExternalWorkdirPermissions", "description": "Current effective category authority after intersecting the durable link,\nsource grant, and Ticket target ceilings. This is independent from\nprovider liveness and may be narrower than the grant ceiling." }, "working_directory": { "$ref": "#/components/schemas/WorkingDirectorySummary" } }, "required": [ "alias", "effective_permissions", "working_directory" ], "type": "object" }, "WorkerWorkspaceSummary": { "additionalProperties": false, "properties": { "identity": { "type": "string" }, "visibility": { "type": "string" }, "workspace_id": { "type": [ "string", "null" ] } }, "required": [ "visibility", "identity" ], "type": "object" }, "WorkingDirectoryCleanupTarget": { "additionalProperties": false, "properties": { "kind": { "type": "string" }, "repository_key": { "type": "string" }, "working_directory_id": { "type": "string" } }, "required": [ "kind", "working_directory_id", "repository_key" ], "type": "object" }, "WorkingDirectoryCreateRequest": { "additionalProperties": false, "description": "Browser/Rust-client Workdir materialization request.\n\n`runtime_id = None` requests Workspace default Runtime resolution and\n`operation_id = Some(_)` fences exact replay. All four fields deliberately\npreserve the Server's existing optionality.", "properties": { "display_name": { "description": "Optional human-facing label, independent of every Worker attachment alias.", "type": [ "string", "null" ] }, "operation_id": { "type": [ "string", "null" ] }, "repository_key": { "type": "string" }, "runtime_id": { "type": [ "string", "null" ] }, "selector": { "type": [ "string", "null" ] } }, "required": [ "repository_key" ], "type": "object" }, "WorkingDirectoryCreateResponse": { "additionalProperties": false, "properties": { "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "item": { "$ref": "#/components/schemas/WorkingDirectorySummary" }, "runtime_id": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "runtime_id", "item", "diagnostics" ], "type": "object" }, "WorkingDirectoryDetailResponse": { "additionalProperties": false, "properties": { "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "item": { "$ref": "#/components/schemas/WorkingDirectorySummary" }, "runtime_id": { "type": [ "string", "null" ] }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "item", "diagnostics" ], "type": "object" }, "WorkingDirectoryListResponse": { "additionalProperties": false, "properties": { "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "items": { "items": { "$ref": "#/components/schemas/WorkingDirectorySummary" }, "type": "array" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "items", "diagnostics" ], "type": "object" }, "WorkingDirectoryMaterializerKind": { "description": "Public Workdir materializer classification.\n\nThe value identifies stable materialization provenance without exposing a\nprovider path, Runtime handle, or session identity.", "enum": [ "logical_workspace_config", "runtime_git_clone", "client_hosted_external" ], "type": "string" }, "WorkingDirectoryOccupancy": { "additionalProperties": false, "description": "Durable Workspace occupancy projection for one Workdir.", "properties": { "display_name": { "type": "string" }, "linked_at": { "type": "string" }, "runtime_id": { "type": "string" }, "worker_id": { "type": "string" } }, "required": [ "runtime_id", "worker_id", "display_name", "linked_at" ], "type": "object" }, "WorkingDirectoryRemovalDisposition": { "enum": [ "removed", "retained", "attention_required" ], "type": "string" }, "WorkingDirectoryRemovalRequest": { "additionalProperties": false, "properties": { "reason": { "type": "string" } }, "required": [ "reason" ], "type": "object" }, "WorkingDirectoryRemovalResponse": { "additionalProperties": false, "properties": { "disposition": { "$ref": "#/components/schemas/WorkingDirectoryRemovalDisposition" }, "failure_category": { "type": [ "string", "null" ] }, "retryable": { "type": "boolean" }, "working_directory_id": { "type": "string" } }, "required": [ "working_directory_id", "disposition", "retryable" ], "type": "object" }, "WorkingDirectoryRepositoryOption": { "additionalProperties": false, "properties": { "default_selector": { "type": [ "string", "null" ] }, "repository_key": { "type": "string" } }, "required": [ "repository_key" ], "type": "object" }, "WorkingDirectorySource": { "description": "Public Workdir source identity. Provider routing details and host paths are intentionally absent.", "oneOf": [ { "additionalProperties": false, "properties": { "access": { "$ref": "#/components/schemas/WorkspaceConfigAccess" }, "content_path": { "type": "string" }, "kind": { "const": "workspace_config", "type": "string" }, "purpose": { "type": "string" } }, "required": [ "kind", "access", "content_path", "purpose" ], "type": "object" }, { "additionalProperties": false, "properties": { "kind": { "const": "repository", "type": "string" }, "repository_key": { "type": "string" } }, "required": [ "kind", "repository_key" ], "type": "object" }, { "additionalProperties": false, "properties": { "grant_id": { "type": "string" }, "grant_permissions": { "$ref": "#/components/schemas/ExternalWorkdirPermissions", "description": "Operator-approved ceiling for this External Workdir grant. Worker\nattachment authority is projected separately after attenuation." }, "kind": { "const": "external_grant", "type": "string" } }, "required": [ "kind", "grant_id", "grant_permissions" ], "type": "object" } ] }, "WorkingDirectoryStatusKind": { "enum": [ "active", "cleanup_pending", "corrupted", "not_found", "unknown" ], "type": "string" }, "WorkingDirectorySummary": { "additionalProperties": false, "description": "Public, provider-neutral Workdir inventory projection.", "properties": { "cleanliness": { "type": [ "string", "null" ] }, "cleanup_target": { "anyOf": [ { "$ref": "#/components/schemas/WorkingDirectoryCleanupTarget" }, { "type": "null" } ] }, "creation_ref": { "type": [ "string", "null" ] }, "creation_selector": { "type": [ "string", "null" ] }, "creation_tree": { "type": [ "string", "null" ] }, "current_ref": { "type": [ "string", "null" ] }, "current_selector": { "type": [ "string", "null" ] }, "current_tree": { "type": [ "string", "null" ] }, "display_name": { "description": "Optional human-facing label, never a routing key.", "type": [ "string", "null" ] }, "materializer_kind": { "$ref": "#/components/schemas/WorkingDirectoryMaterializerKind" }, "observed_at_epoch_seconds": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": [ "integer", "null" ] }, "occupied_by": { "anyOf": [ { "$ref": "#/components/schemas/WorkingDirectoryOccupancy" }, { "type": "null" } ] }, "source": { "$ref": "#/components/schemas/WorkingDirectorySource" }, "status": { "$ref": "#/components/schemas/WorkingDirectoryStatusKind" }, "working_directory_id": { "type": "string" } }, "required": [ "working_directory_id", "source", "materializer_kind", "status" ], "type": "object" }, "WorkspaceAuthConfig": { "description": "Browser authentication configuration exposed by the scoped Workspace summary.", "oneOf": [ { "additionalProperties": false, "properties": { "Passkey": { "properties": { "cookie_name": { "type": "string" }, "origin": { "type": "string" }, "public_base_url": { "type": "string" }, "rp_id": { "type": "string" } }, "required": [ "rp_id", "origin", "public_base_url", "cookie_name" ], "type": "object" } }, "required": [ "Passkey" ], "type": "object" } ] }, "WorkspaceCatalogListResponse": { "description": "Public response returned by `GET /api/workspaces`.\n\nThe transparent newtype keeps the established top-level JSON array while making the\ncomplete list response a named cross-crate and generated-TypeScript authority.", "items": { "$ref": "#/components/schemas/WorkspaceSummary" }, "type": "array" }, "WorkspaceConfigAccess": { "enum": [ "read_only", "read_write" ], "type": "string" }, "WorkspaceConfigApiError": { "additionalProperties": false, "properties": { "classification": { "$ref": "#/components/schemas/WorkspaceConfigFailureClassification" }, "code": { "type": "string" }, "message": { "type": "string" }, "status": { "format": "uint16", "maximum": 65535, "minimum": 0, "type": "integer" } }, "required": [ "status", "code", "message", "classification" ], "type": "object" }, "WorkspaceConfigFailureClassification": { "enum": [ "not_committed", "unknown" ], "type": "string" }, "WorkspaceConfigGrantCreateRequest": { "additionalProperties": false, "properties": { "access": { "$ref": "#/components/schemas/WorkspaceConfigAccess" }, "runtime_id": { "type": "string" }, "worker_id": { "type": "string" } }, "required": [ "runtime_id", "worker_id", "access" ], "type": "object" }, "WorkspaceConfigGrantResponse": { "additionalProperties": false, "properties": { "access": { "$ref": "#/components/schemas/WorkspaceConfigAccess" }, "grant_id": { "type": "string" }, "revoked": { "type": "boolean" }, "runtime_id": { "type": "string" }, "worker_id": { "type": "string" }, "working_directory_id": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "grant_id", "workspace_id", "runtime_id", "worker_id", "working_directory_id", "access", "revoked" ], "type": "object" }, "WorkspaceConfigSchemaBundle": { "additionalProperties": false, "properties": { "contributions": { "items": { "$ref": "#/components/schemas/ConfigSchemaContribution" }, "type": "array" }, "fingerprint": { "type": "string" }, "source": { "type": "string" } }, "required": [ "contributions", "source", "fingerprint" ], "type": "object" }, "WorkspaceConfigTreeResponse": { "additionalProperties": false, "description": "Workspace configuration tree plus the exact evaluation contract that produced it.", "properties": { "contract": { "$ref": "#/components/schemas/ToolchainContract" }, "projection_digest": { "type": "string" }, "snapshot": { "$ref": "#/components/schemas/ConfigTreeSnapshot" } }, "required": [ "snapshot", "contract", "projection_digest" ], "type": "object" }, "WorkspaceCreateRequest": { "additionalProperties": false, "description": "Request for atomically creating a Workspace with an optional initial Repository.", "properties": { "display_name": { "type": "string" }, "operation_key": { "type": "string" }, "repository": { "anyOf": [ { "$ref": "#/components/schemas/InitialRepositoryIntent" }, { "type": "null" } ] } }, "required": [ "operation_key", "display_name" ], "type": "object" }, "WorkspaceCreateResponse": { "additionalProperties": false, "description": "Response returned after atomically creating a Workspace.\n\nOn replay, Workspace/config and the Repository at the originally requested key are\ncurrent authority, not historical snapshots. Repository is null when creation omitted\nit or that key has since been removed/renamed; replay never recreates an asset.", "properties": { "replayed": { "type": "boolean" }, "repository": { "anyOf": [ { "$ref": "#/components/schemas/WorkspaceRepositoryRecord" }, { "type": "null" } ] }, "request_fingerprint": { "type": "string" }, "workspace": { "$ref": "#/components/schemas/WorkspaceSummary" } }, "required": [ "workspace", "request_fingerprint", "replayed" ], "type": "object" }, "WorkspaceDeletionBlocker": { "additionalProperties": false, "description": "One bounded, user-actionable blocker returned by preflight or execution.", "properties": { "kind": { "$ref": "#/components/schemas/WorkspaceDeletionBlockerKind" }, "message": { "type": "string" }, "resource_key": { "type": [ "string", "null" ] }, "resource_kind": { "type": [ "string", "null" ] } }, "required": [ "kind", "message" ], "type": "object" }, "WorkspaceDeletionBlockerKind": { "description": "Stable category explaining why Workspace deletion cannot currently advance.", "enum": [ "last_accessible_workspace", "dirty_workdir", "worker_removal_blocked", "workdir_removal_blocked", "retention_hold", "cleanup_unavailable" ], "type": "string" }, "WorkspaceDeletionOperationResponse": { "additionalProperties": false, "description": "Durable deletion operation projection used by request responses and polling.", "properties": { "blockers": { "items": { "$ref": "#/components/schemas/WorkspaceDeletionBlocker" }, "type": "array" }, "child_operation_ids": { "items": { "type": "string" }, "type": "array" }, "completed_at": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "display_name": { "type": "string" }, "failure_category": { "type": [ "string", "null" ] }, "operation_id": { "type": "string" }, "resources": { "$ref": "#/components/schemas/WorkspaceDeletionResourceCounts" }, "state": { "$ref": "#/components/schemas/WorkspaceDeletionState" }, "updated_at": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "operation_id", "workspace_id", "display_name", "state", "resources", "child_operation_ids", "blockers", "created_at", "updated_at" ], "type": "object" }, "WorkspaceDeletionPreflightResponse": { "additionalProperties": false, "description": "Owner-only impact preview for deleting one Workspace.", "properties": { "blockers": { "items": { "$ref": "#/components/schemas/WorkspaceDeletionBlocker" }, "type": "array" }, "can_delete": { "type": "boolean" }, "display_name": { "type": "string" }, "expected_workspace_updated_at": { "description": "Observed Workspace metadata update timestamp used as a CAS fence.", "type": "string" }, "resources": { "$ref": "#/components/schemas/WorkspaceDeletionResourceCounts" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "display_name", "expected_workspace_updated_at", "can_delete", "resources", "blockers" ], "type": "object" }, "WorkspaceDeletionRequest": { "additionalProperties": false, "description": "Idempotent request to start or resume Workspace deletion.", "properties": { "confirmation": { "type": "string" }, "expected_workspace_updated_at": { "type": "string" }, "operation_id": { "type": "string" } }, "required": [ "operation_id", "expected_workspace_updated_at", "confirmation" ], "type": "object" }, "WorkspaceDeletionResourceCounts": { "additionalProperties": false, "description": "Workspace-owned resources summarized before destructive confirmation.", "properties": { "artifacts": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "repositories": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "runtime_bindings": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "secrets": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "workdirs": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "workers": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "workers", "workdirs", "repositories", "runtime_bindings", "secrets", "artifacts" ], "type": "object" }, "WorkspaceDeletionState": { "description": "Lifecycle state for one durable Workspace deletion operation.", "enum": [ "queued", "running", "blocked", "failed", "succeeded" ], "type": "string" }, "WorkspaceExtensionPointState": { "additionalProperties": false, "properties": { "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "note": { "type": "string" }, "status": { "type": "string" } }, "required": [ "status", "note", "diagnostics" ], "type": "object" }, "WorkspaceExtensionPoints": { "additionalProperties": false, "properties": { "companion_console": { "$ref": "#/components/schemas/WorkspaceExtensionPointState" }, "event_stream": { "$ref": "#/components/schemas/WorkspaceExtensionPointState" }, "host_worker_bridge": { "$ref": "#/components/schemas/WorkspaceExtensionPointState" }, "store": { "type": "string" } }, "required": [ "store", "event_stream", "host_worker_bridge", "companion_console" ], "type": "object" }, "WorkspaceListQuery": { "additionalProperties": false, "properties": { "limit": { "format": "uint32", "minimum": 0, "type": [ "integer", "null" ] } }, "type": "object" }, "WorkspaceMemorySettings": { "additionalProperties": false, "description": "Workspace-owned Memory settings returned by the shared Server API.", "properties": { "language": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "language" ], "type": "object" }, "WorkspaceMetadataMutationResponse": { "additionalProperties": false, "properties": { "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "workspace": { "$ref": "#/components/schemas/WorkspaceMetadataSettingsResponse" } }, "required": [ "workspace", "diagnostics" ], "type": "object" }, "WorkspaceMetadataSettingsResponse": { "additionalProperties": false, "description": "Workspace display metadata exposed from the Server DB settings authority.", "properties": { "created_at": { "type": "string" }, "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "display_name": { "type": "string" }, "source": { "type": "string" }, "updated_at": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "display_name", "created_at", "updated_at", "source", "diagnostics" ], "type": "object" }, "WorkspacePermissionSummary": { "additionalProperties": false, "description": "Backend-authoritative permissions for the current Workspace actor.", "properties": { "delete_workspace": { "type": "boolean" }, "manage_repositories": { "type": "boolean" }, "manage_runtimes": { "type": "boolean" }, "manage_secrets": { "type": "boolean" } }, "required": [ "manage_repositories", "manage_secrets", "manage_runtimes", "delete_workspace" ], "type": "object" }, "WorkspaceProfileSourceProvenance": { "enum": [ "project_profile_source_tree" ], "type": "string" }, "WorkspaceProfileSourceSummary": { "additionalProperties": false, "properties": { "content_digest": { "type": "string" }, "content_type": { "type": "string" }, "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "display_path": { "type": "string" }, "editable": { "type": "boolean" }, "kind": { "type": "string" }, "profile_source_id": { "type": "string" }, "provenance": { "$ref": "#/components/schemas/WorkspaceProfileSourceProvenance" }, "size_bytes": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "profile_source_id", "display_path", "kind", "content_type", "content_digest", "provenance", "editable", "size_bytes", "diagnostics" ], "type": "object" }, "WorkspaceProfileSummary": { "additionalProperties": false, "properties": { "description": { "type": [ "string", "null" ] }, "diagnostics": { "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "editable": { "type": "boolean" }, "is_default": { "type": "boolean" }, "label": { "type": "string" }, "profile_id": { "type": "string" }, "profile_source_id": { "type": [ "string", "null" ] }, "selector": { "type": "string" }, "source_kind": { "type": "string" } }, "required": [ "profile_id", "selector", "label", "source_kind", "editable", "is_default", "diagnostics" ], "type": "object" }, "WorkspacePromptProjection": { "additionalProperties": false, "description": "Effective Prompt catalog projected from one immutable Workspace config tree.", "properties": { "catalog": { "$ref": "#/components/schemas/EffectivePromptCatalog" }, "projection_digest": { "type": "string" }, "schema_fingerprint": { "type": "string" }, "source_digest": { "type": "string" }, "toolchain_fingerprint": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "source_digest", "projection_digest", "schema_fingerprint", "toolchain_fingerprint", "catalog" ], "type": "object" }, "WorkspacePublicIdentityBundle": { "additionalProperties": false, "description": "Copyable public trust bundle consumed by future Runtime enrollment work.", "properties": { "algorithm": { "type": "string" }, "backend_url": { "type": "string" }, "key_id": { "type": "string" }, "public_key": { "type": "string" }, "public_key_fingerprint": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "backend_url", "key_id", "algorithm", "public_key", "public_key_fingerprint" ], "type": "object" }, "WorkspaceRepositoryRecord": { "additionalProperties": false, "description": "Public Repository record embedded in Workspace creation responses.", "properties": { "created_at": { "type": "string" }, "default_ref": { "type": [ "string", "null" ] }, "kind": { "type": "string" }, "observed_at": { "type": [ "string", "null" ] }, "observed_status": { "$ref": "#/components/schemas/RepositoryObservedStatus" }, "provider": { "type": [ "string", "null" ] }, "repository_key": { "type": "string" }, "source": { "$ref": "#/components/schemas/RepositorySource" }, "source_fingerprint": { "type": "string" }, "updated_at": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "repository_key", "kind", "source", "source_fingerprint", "observed_status", "created_at", "updated_at" ], "type": "object" }, "WorkspaceResponse": { "additionalProperties": false, "description": "Scoped Workspace metadata and current-actor permission projection.", "properties": { "auth": { "$ref": "#/components/schemas/WorkspaceAuthConfig" }, "display_name": { "type": "string" }, "extension_points": { "$ref": "#/components/schemas/WorkspaceExtensionPoints" }, "permissions": { "$ref": "#/components/schemas/WorkspacePermissionSummary" }, "record_authority": { "type": "string" }, "schema_version": { "format": "int64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "display_name", "record_authority", "schema_version", "auth", "permissions", "extension_points" ], "type": "object" }, "WorkspaceRuntimeBindingSummary": { "additionalProperties": false, "description": "Binding identity and explicit revocation only. Each signed request authenticates\nusing the current Workspace signing identity, not a stored approval.", "properties": { "binding_id": { "type": "string" }, "revoked_at": { "type": [ "string", "null" ] } }, "required": [ "binding_id" ], "type": "object" }, "WorkspaceRuntimeConfigDeclaration": { "additionalProperties": false, "properties": { "kind": { "$ref": "#/components/schemas/WorkspaceRuntimeConfigDeclarationKind" }, "name": { "type": "string" }, "reference": { "type": "string" } }, "required": [ "kind", "name", "reference" ], "type": "object" }, "WorkspaceRuntimeConfigDeclarationKind": { "enum": [ "secret_ref", "mount_grant", "network_policy", "shell_policy", "git_policy", "capability_grant", "unsupported" ], "type": "string" }, "WorkspaceRuntimeConfigMetadata": { "additionalProperties": false, "properties": { "created_at": { "type": "string" }, "digest": { "type": "string" }, "id": { "type": "string" }, "provenance": { "$ref": "#/components/schemas/WorkspaceRuntimeConfigProvenance" }, "workspace_id": { "type": "string" } }, "required": [ "id", "digest", "workspace_id", "created_at", "provenance" ], "type": "object" }, "WorkspaceRuntimeConfigProfile": { "additionalProperties": false, "properties": { "label": { "type": [ "string", "null" ] }, "selector": { "$ref": "#/components/schemas/WorkspaceRuntimeProfileSelector" } }, "required": [ "selector" ], "type": "object" }, "WorkspaceRuntimeConfigProvenance": { "additionalProperties": false, "properties": { "detail": { "type": [ "string", "null" ] }, "source": { "type": "string" } }, "required": [ "source" ], "type": "object" }, "WorkspaceRuntimeConfigQuery": { "additionalProperties": false, "properties": { "profile": { "type": "string" } }, "required": [ "profile" ], "type": "object" }, "WorkspaceRuntimeConfigResponse": { "additionalProperties": false, "description": "Canonical Runtime config-bundle response projected by Workspace authority.\n\nThis is intentionally a concrete transport DTO rather than an opaque JSON value so generated\nclients and OpenAPI consumers receive the same complete wire contract as the Runtime.", "properties": { "declarations": { "items": { "$ref": "#/components/schemas/WorkspaceRuntimeConfigDeclaration" }, "type": "array" }, "metadata": { "$ref": "#/components/schemas/WorkspaceRuntimeConfigMetadata" }, "profile_source_archive": { "anyOf": [ { "$ref": "#/components/schemas/WorkspaceRuntimeProfileSourceArchive" }, { "type": "null" } ] }, "profile_source_archive_handle": { "anyOf": [ { "$ref": "#/components/schemas/WorkspaceRuntimeResourceHandle" }, { "type": "null" } ] }, "profiles": { "items": { "$ref": "#/components/schemas/WorkspaceRuntimeConfigProfile" }, "type": "array" }, "prompt_catalog": { "anyOf": [ { "$ref": "#/components/schemas/WorkspaceRuntimePromptCatalog" }, { "type": "null" } ] } }, "required": [ "metadata" ], "type": "object" }, "WorkspaceRuntimeDetail": { "additionalProperties": false, "properties": { "endpoint": { "type": [ "string", "null" ] }, "recent_audit": { "default": [], "items": { "$ref": "#/components/schemas/RuntimeTrustAuditEntry" }, "type": "array" }, "runtime": { "$ref": "#/components/schemas/WorkspaceRuntimeResource" }, "trust_key": { "$ref": "#/components/schemas/RuntimeTrustKeyState" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "runtime", "trust_key" ], "type": "object" }, "WorkspaceRuntimeListResponse": { "additionalProperties": false, "properties": { "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "items": { "items": { "$ref": "#/components/schemas/WorkspaceRuntimeResource" }, "type": "array" }, "limit": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "source": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "limit", "items", "source" ], "type": "object" }, "WorkspaceRuntimeProfileSelector": { "oneOf": [ { "properties": { "kind": { "const": "builtin", "type": "string" }, "value": { "type": "string" } }, "required": [ "kind", "value" ], "type": "object" }, { "properties": { "kind": { "const": "named", "type": "string" }, "value": { "type": "string" } }, "required": [ "kind", "value" ], "type": "object" } ] }, "WorkspaceRuntimeProfileSourceArchive": { "additionalProperties": false, "properties": { "content": { "items": { "format": "uint8", "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "reference": { "$ref": "#/components/schemas/WorkspaceRuntimeProfileSourceArchiveRef" } }, "required": [ "reference", "content" ], "type": "object" }, "WorkspaceRuntimeProfileSourceArchiveRef": { "additionalProperties": false, "properties": { "digest": { "type": "string" }, "id": { "type": "string" }, "size_bytes": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "source_graph": { "$ref": "#/components/schemas/WorkspaceRuntimeProfileSourceGraph" } }, "required": [ "id", "digest", "size_bytes", "source_graph" ], "type": "object" }, "WorkspaceRuntimeProfileSourceGraph": { "additionalProperties": false, "properties": { "entrypoints": { "additionalProperties": { "type": "string" }, "type": "object" }, "import_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "source_count": { "format": "uint", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "total_source_bytes": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "source_count", "total_source_bytes", "entrypoints", "import_count" ], "type": "object" }, "WorkspaceRuntimePromptCatalog": { "additionalProperties": false, "properties": { "catalog_digest": { "type": "string" }, "schema_fingerprint": { "type": "string" }, "source_digest": { "type": "string" }, "templates": { "additionalProperties": { "type": "string" }, "type": "object" }, "toolchain_fingerprint": { "type": "string" } }, "required": [ "templates", "schema_fingerprint", "toolchain_fingerprint", "catalog_digest" ], "type": "object" }, "WorkspaceRuntimeResource": { "properties": { "arch": { "type": "string" }, "diagnostics": { "default": [], "items": { "$ref": "#/components/schemas/Diagnostic" }, "type": "array" }, "host_ids": { "default": [], "items": { "type": "string" }, "type": "array" }, "kind": { "type": "string" }, "label": { "type": "string" }, "management": { "$ref": "#/components/schemas/RuntimeManagementSummary" }, "os": { "type": "string" }, "runtime_id": { "type": "string" }, "source": { "$ref": "#/components/schemas/RuntimeSourceSummary" }, "status": { "type": "string" }, "worker_creation_available": { "type": "boolean" } }, "required": [ "runtime_id", "label", "kind", "status", "source", "worker_creation_available", "os", "arch", "management" ], "type": "object" }, "WorkspaceRuntimeResourceHandle": { "additionalProperties": false, "properties": { "audit_correlation_id": { "type": "string" }, "content_type": { "type": "string" }, "digest": { "type": "string" }, "expires_at_unix_seconds": { "format": "int64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "kind": { "$ref": "#/components/schemas/WorkspaceRuntimeResourceKind" }, "max_bytes": { "format": "uint64", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "nonce": { "type": "string" }, "operation": { "$ref": "#/components/schemas/WorkspaceRuntimeResourceOperation" }, "profile_source_graph": { "anyOf": [ { "$ref": "#/components/schemas/WorkspaceRuntimeProfileSourceGraph" }, { "type": "null" } ] }, "redaction": { "$ref": "#/components/schemas/WorkspaceRuntimeResourceRedactionPolicy" }, "resource_id": { "type": "string" }, "runtime_id": { "type": [ "string", "null" ] }, "scope_id": { "type": [ "string", "null" ] }, "worker_id": { "type": [ "string", "null" ] }, "workspace_id": { "type": "string" } }, "required": [ "kind", "workspace_id", "resource_id", "digest", "operation", "expires_at_unix_seconds", "nonce", "max_bytes", "content_type", "redaction", "audit_correlation_id" ], "type": "object" }, "WorkspaceRuntimeResourceKind": { "enum": [ "profile_source_archive", "repository_ssh_access" ], "type": "string" }, "WorkspaceRuntimeResourceOperation": { "enum": [ "fetch_archive", "fetch_once" ], "type": "string" }, "WorkspaceRuntimeResourceRedactionPolicy": { "enum": [ "runtime_internal_only" ], "type": "string" }, "WorkspaceSigningIdentityPublic": { "additionalProperties": false, "description": "Public metadata for a Workspace signing identity. Private material and its\nstorage reference are deliberately not part of this wire authority.", "properties": { "algorithm": { "type": "string" }, "created_at": { "type": "string" }, "key_id": { "type": "string" }, "provisioned_at": { "type": [ "string", "null" ] }, "public_key": { "type": [ "string", "null" ] }, "public_key_fingerprint": { "type": [ "string", "null" ] }, "state": { "$ref": "#/components/schemas/WorkspaceSigningIdentityState" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "key_id", "algorithm", "state", "created_at" ], "type": "object" }, "WorkspaceSigningIdentityResponse": { "additionalProperties": false, "properties": { "identity": { "$ref": "#/components/schemas/WorkspaceSigningIdentityPublic" }, "public_bundle": { "anyOf": [ { "$ref": "#/components/schemas/WorkspacePublicIdentityBundle" }, { "type": "null" } ] } }, "required": [ "identity" ], "type": "object" }, "WorkspaceSigningIdentityState": { "description": "Lifecycle state for a Workspace-scoped Ed25519 signing identity.", "enum": [ "pending_provisioning", "active" ], "type": "string" }, "WorkspaceSummary": { "additionalProperties": false, "description": "Public Workspace catalog item returned by `GET /api/workspaces`.", "properties": { "created_at": { "type": "string" }, "display_name": { "type": "string" }, "owner_account_id": { "type": "string" }, "state": { "type": "string" }, "updated_at": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "owner_account_id", "display_name", "state", "created_at", "updated_at" ], "type": "object" }, "WorkspaceTag": { "description": "Workspace-scoped immutable identity with a mutable display name.\nNames are Unicode-whitespace trimmed, limited to 128 UTF-8 bytes, and\ndeduplicated among active tags using Rust Unicode lowercase (not full case\nfolding or NFC/NFKC). Empty names and any input control characters are invalid.", "properties": { "deleted": { "type": "boolean" }, "id": { "type": "string" }, "last_operation_key": { "type": "string" }, "name": { "type": "string" }, "workspace_id": { "type": "string" } }, "required": [ "workspace_id", "id", "name", "last_operation_key", "deleted" ], "type": "object" }, "WorkspaceTagAction": { "oneOf": [ { "additionalProperties": false, "properties": { "kind": { "const": "create", "type": "string" }, "name": { "type": "string" } }, "required": [ "kind", "name" ], "type": "object" }, { "additionalProperties": false, "properties": { "expected_last_operation_key": { "type": "string" }, "kind": { "const": "rename", "type": "string" }, "name": { "type": "string" }, "tag_id": { "type": "string" } }, "required": [ "kind", "tag_id", "expected_last_operation_key", "name" ], "type": "object" }, { "additionalProperties": false, "properties": { "expected_last_operation_key": { "type": "string" }, "kind": { "const": "delete", "type": "string" }, "tag_id": { "type": "string" } }, "required": [ "kind", "tag_id", "expected_last_operation_key" ], "type": "object" } ] }, "WorkspaceTagMutation": { "additionalProperties": false, "properties": { "action": { "$ref": "#/components/schemas/WorkspaceTagAction" }, "operation_key": { "type": "string" } }, "required": [ "operation_key", "action" ], "type": "object" }, "WorkspaceWorkerDiscoveryItem": { "additionalProperties": false, "description": "Bounded, model-safe projection used by privileged Workspace Worker discovery.\nRuntime placement appears only in the typed subject required by Worker\ncontrol operations; provider and launch internals are intentionally omitted.", "properties": { "display_name": { "type": "string" }, "profile": { "type": [ "string", "null" ] }, "resource_key": { "type": "string" }, "status": { "type": [ "string", "null" ] }, "subject": { "$ref": "#/components/schemas/WorkspaceWorkerSubject" } }, "required": [ "subject", "resource_key", "display_name" ], "type": "object" }, "WorkspaceWorkerFeatureConnectionsRequest": { "additionalProperties": false, "properties": { "subjektiv": { "anyOf": [ { "$ref": "#/components/schemas/SubjektivWorkerConnectionRequest" }, { "type": "null" } ] } }, "type": "object" }, "WorkspaceWorkerSubject": { "oneOf": [ { "additionalProperties": false, "properties": { "kind": { "const": "runtime_worker", "type": "string" }, "runtime_id": { "type": "string" }, "worker_id": { "type": "string" } }, "required": [ "kind", "runtime_id", "worker_id" ], "type": "object" } ] }, "string": { "type": "string" } }, "securitySchemes": { "bearerAuth": { "scheme": "bearer", "type": "http" }, "browserSession": { "in": "cookie", "name": "yoi_workspace_session", "type": "apiKey" } } }, "info": { "title": "Yoi Server API", "version": "0.1.0", "x-yoi-source-digest": "sha256:5de3f3b716555717d3274b8c6a385fb66624585941628a53b8b3050cb58f8ab7" }, "openapi": "3.1.0", "paths": { "/api/auth/activation/complete": { "post": { "operationId": "auth_activation_complete", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasskeyRegistrationCompleteRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AuthUserResponse" } } }, "description": "Successful response", "headers": { "set-cookie": { "schema": { "$ref": "#/components/schemas/SetCookieHeader" } } } }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } } } }, "/api/auth/activation/options": { "post": { "operationId": "auth_activation_options", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ActivationOptionsRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasskeyRegistrationOptionsResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } } } }, "/api/auth/bootstrap-user": { "post": { "operationId": "auth_bootstrap_user", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AuthBootstrapUserRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AuthUserResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } } } }, "/api/auth/config": { "get": { "operationId": "auth_config", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AuthPublicConfig" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } } } }, "/api/auth/device-login/approve": { "post": { "operationId": "auth_device_login_approve", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeviceLoginApproveRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeviceLoginApproveResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/auth/device-login/poll": { "post": { "operationId": "auth_device_login_poll", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeviceLoginPollRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeviceLoginPollResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } } } }, "/api/auth/device-login/start": { "post": { "operationId": "auth_device_login_start", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeviceLoginStartRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeviceLoginStartResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } } } }, "/api/auth/logout": { "post": { "operationId": "auth_logout", "parameters": [ { "explode": false, "in": "header", "name": "cookie", "required": false, "schema": { "$ref": "#/components/schemas/Nullable_string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LogoutResponse" } } }, "description": "Successful response", "headers": { "set-cookie": { "schema": { "$ref": "#/components/schemas/SetCookieHeader" } } } }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } } } }, "/api/auth/passkeys/addition/complete": { "post": { "operationId": "auth_passkey_addition_complete", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasskeyRegistrationCompleteRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AuthUserResponse" } } }, "description": "Successful response", "headers": { "set-cookie": { "schema": { "$ref": "#/components/schemas/SetCookieHeader" } } } }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/auth/passkeys/addition/options": { "post": { "operationId": "auth_passkey_addition_options", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasskeyAdditionOptionsRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasskeyRegistrationOptionsResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/auth/passkeys/login/complete": { "post": { "operationId": "auth_passkey_login_complete", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasskeyLoginCompleteRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AuthUserResponse" } } }, "description": "Successful response", "headers": { "set-cookie": { "schema": { "$ref": "#/components/schemas/SetCookieHeader" } } } }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } } } }, "/api/auth/passkeys/login/options": { "post": { "operationId": "auth_passkey_login_options", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasskeyLoginOptionsRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasskeyLoginOptionsResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } } } }, "/api/auth/passkeys/registration/complete": { "post": { "operationId": "auth_passkey_registration_complete", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasskeyRegistrationCompleteRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AuthUserResponse" } } }, "description": "Successful response", "headers": { "set-cookie": { "schema": { "$ref": "#/components/schemas/SetCookieHeader" } } } }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } } } }, "/api/auth/passkeys/registration/options": { "post": { "operationId": "auth_passkey_registration_options", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasskeyRegistrationOptionsRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PasskeyRegistrationOptionsResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } } } }, "/api/auth/registration-policy": { "get": { "operationId": "auth_registration_policy", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HostingSettings" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } } } }, "/api/auth/whoami": { "get": { "operationId": "auth_whoami", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WhoamiResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } } } }, "/api/companion/cancel": { "post": { "operationId": "companion_cancel_alias", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompanionCancelRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompanionMessageResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/companion/messages": { "post": { "operationId": "companion_message_alias", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompanionMessageRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompanionMessageResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/companion/status": { "get": { "operationId": "companion_status_alias", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompanionStatusResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/companion/transcript": { "get": { "operationId": "companion_transcript_alias", "parameters": [ { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/CompanionTranscriptQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompanionTranscriptProjection" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/hosting/access": { "get": { "operationId": "hosting_access", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HostingAccess" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/hosting/accounts": { "post": { "operationId": "hosting_account_create", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProvisionalAccountRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ActivationCodeResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/hosting/accounts/activation-code": { "post": { "operationId": "hosting_activation_code_reissue", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProvisionalAccountRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ActivationCodeResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/hosting/settings": { "get": { "operationId": "hosting_settings", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HostingSettings" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "put": { "operationId": "hosting_settings_update", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HostingSettings" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HostingSettings" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/hosts": { "get": { "operationId": "host_list_alias", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HostListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/hosts/{host_id}/workers": { "get": { "operationId": "host_worker_list_alias", "parameters": [ { "explode": false, "in": "path", "name": "host_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HostWorkerListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/objectives": { "get": { "operationId": "objective_list_alias", "parameters": [ { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/ObjectiveListQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/objectives/{id}": { "get": { "operationId": "objective_get_alias", "parameters": [ { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/repositories": { "get": { "operationId": "repository_list_alias", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/repositories/{repository_key}": { "get": { "operationId": "repository_detail_alias", "parameters": [ { "explode": false, "in": "path", "name": "repository_key", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryDetailResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/repositories/{repository_key}/log": { "get": { "operationId": "repository_log_alias", "parameters": [ { "explode": false, "in": "path", "name": "repository_key", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/RepositoryLogQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryLogResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/runtimes": { "get": { "operationId": "runtime_list_alias", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/runtimes/{runtime_id}/config-bundles": { "post": { "operationId": "runtime_config_bundle_sync_alias", "parameters": [ { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeConfigBundleSyncRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeConfigBundleResult" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/runtimes/{runtime_id}/config-bundles/{bundle_id}/availability": { "get": { "operationId": "runtime_config_bundle_availability_alias", "parameters": [ { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "bundle_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/RuntimeConfigBundleAvailabilityQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeConfigBundleResult" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/runtimes/{runtime_id}/workers": { "get": { "operationId": "runtime_worker_list_alias", "parameters": [ { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/RuntimeWorkersQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "runtime_worker_create_alias", "parameters": [ { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerSpawnRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerSpawnResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/runtimes/{runtime_id}/workers/{worker_id}": { "get": { "operationId": "runtime_worker_detail_alias", "parameters": [ { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerShowResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/runtimes/{runtime_id}/workers/{worker_id}/cancel": { "post": { "operationId": "runtime_worker_cancel_alias", "parameters": [ { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerLifecycleRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerLifecycleResult" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/runtimes/{runtime_id}/workers/{worker_id}/completions": { "post": { "operationId": "runtime_worker_completions_alias", "parameters": [ { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerCompletionsRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerCompletionsResult" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/runtimes/{runtime_id}/workers/{worker_id}/input": { "post": { "operationId": "runtime_worker_input_alias", "parameters": [ { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerInputRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerInputResult" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/runtimes/{runtime_id}/workers/{worker_id}/restore": { "post": { "operationId": "runtime_worker_restore_alias", "parameters": [ { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkerRestoreRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkerRestoreResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "504": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/runtimes/{runtime_id}/workers/{worker_id}/stop": { "post": { "operationId": "runtime_worker_stop_alias", "parameters": [ { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerLifecycleRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerLifecycleResult" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "504": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/tickets": { "get": { "operationId": "ticket_list_alias", "parameters": [ { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/TicketListHttpQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/tickets/{id}": { "get": { "operationId": "ticket_get_alias", "parameters": [ { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/companion/cancel": { "post": { "operationId": "companion_cancel", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompanionCancelRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompanionMessageResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/companion/messages": { "post": { "operationId": "companion_message", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompanionMessageRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompanionMessageResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/companion/status": { "get": { "operationId": "companion_status", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompanionStatusResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/companion/transcript": { "get": { "operationId": "companion_transcript", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/CompanionTranscriptQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CompanionTranscriptProjection" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/config/projections/prompts": { "get": { "operationId": "workspace_prompt_projection", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspacePromptProjection" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/config/source-tree": { "get": { "operationId": "workspace_config_tree", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigTreeResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/config/source-tree/commit": { "post": { "operationId": "workspace_config_tree_commit", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ConfigCommitRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigTreeResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/config/source-tree/entries/{path}": { "get": { "operationId": "workspace_config_entry", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "path", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ConfigEntry" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/config/source-tree/history/{content_digest}": { "get": { "operationId": "workspace_config_history", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "content_digest", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ConfigTreeSnapshot" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/drive/capabilities": { "get": { "operationId": "drive_capabilities", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveCapabilities" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "413": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/drive/download": { "get": { "operationId": "drive_download", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/DriveDownloadQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/octet-stream": { "schema": { "format": "binary", "type": "string" } } }, "description": "Successful response", "headers": { "cache-control": { "schema": { "$ref": "#/components/schemas/string" } }, "content-disposition": { "schema": { "$ref": "#/components/schemas/string" } }, "content-security-policy": { "schema": { "$ref": "#/components/schemas/string" } }, "etag": { "schema": { "$ref": "#/components/schemas/string" } }, "x-content-type-options": { "schema": { "$ref": "#/components/schemas/string" } } } }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "413": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/drive/grants": { "get": { "operationId": "drive_grant_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/DriveGrantListQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveGrantListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "413": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "drive_grant_create", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveGrantCreateRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveGrantResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "413": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/drive/grants/{grant_id}": { "delete": { "operationId": "drive_grant_revoke", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "grant_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveGrantResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "413": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/drive/list": { "get": { "operationId": "drive_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/DriveListQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "413": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/drive/metadata": { "get": { "operationId": "drive_metadata", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/DriveEntryQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveEntry" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "413": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/drive/mutate": { "post": { "operationId": "drive_mutate", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveMutationRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveMutationResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "413": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/drive/read-chunk": { "get": { "operationId": "drive_read_chunk", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/DriveReadChunkQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/octet-stream": { "schema": { "format": "binary", "type": "string" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "413": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/drive/read-text": { "get": { "operationId": "drive_read_text", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/DriveReadTextQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveReadTextResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "413": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/drive/requests/{request_id}": { "get": { "operationId": "drive_request_status", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "request_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveRequestStatusResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "413": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/drive/root": { "get": { "operationId": "drive_root", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveEntry" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "413": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/drive/search": { "get": { "operationId": "drive_search", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/DriveSearchQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "413": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/drive/upload": { "put": { "operationId": "drive_upload", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/DriveUploadQuery" }, "style": "form" } ], "requestBody": { "content": { "application/octet-stream": { "schema": { "format": "binary", "type": "string" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveMutationResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "413": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/external-workdir-grants": { "post": { "operationId": "external_workdir_grant_create", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ExternalWorkdirGrantCreateRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ExternalWorkdirGrantResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/external-workdir-grants/{grant_id}": { "delete": { "operationId": "external_workdir_grant_revoke", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "grant_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ExternalWorkdirGrantResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "get": { "operationId": "external_workdir_grant_get", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "grant_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ExternalWorkdirGrantResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/flows": { "get": { "operationId": "flow_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Array_of_FlowSourceRecord" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "put": { "operationId": "flow_put", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PutFlowRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FlowSourceRecord" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/flows/resolve": { "post": { "operationId": "flow_resolve", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FlowSourceResolveRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResolvedFlowSource" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/flows/{flow_id}": { "get": { "operationId": "flow_get", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "flow_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FlowSourceRecord" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/hosts": { "get": { "operationId": "host_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HostListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/hosts/{host_id}/workers": { "get": { "operationId": "host_worker_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "host_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HostWorkerListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/memory": { "get": { "operationId": "memory_document", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MemoryDocumentResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/memory/backend": { "post": { "operationId": "memory_backend", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MemoryBackendRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MemoryBackendResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/memory/consolidation": { "post": { "operationId": "memory_consolidation", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MemoryConsolidateStagingRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MemoryConsolidationResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/memory/reset": { "post": { "operationId": "legacy_memory_reset", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LegacyMemoryResetRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LegacyMemoryResetResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/memory/staging": { "get": { "operationId": "memory_staging_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/MemoryStagingQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MemoryStagingListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/merge-requests": { "get": { "operationId": "merge_request_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/MergeRequestListQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MergeRequestListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/merge-requests/{id}/readiness": { "get": { "operationId": "merge_request_readiness", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MergeRequestReadinessResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/merge-requests/{id}/repair-source": { "post": { "operationId": "merge_request_selector_repair", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepairMergeRequestSelectorRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PublicMergeRequest" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "browserSession": [] } ] } }, "/api/w/{workspace_id}/merge-requests/{id}/thread": { "get": { "operationId": "merge_request_thread", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/MergeRequestThreadQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Array_of_MergeRequestThreadEvent" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/merge-requests/{merge_request_id}": { "get": { "operationId": "merge_request_show", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "merge_request_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/MergeRequestThreadQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MergeRequestDetailResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/notification-diagnostics": { "get": { "operationId": "notification_diagnostics", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/NotificationDiagnosticsQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotificationDiagnosticsPage" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/objectives": { "get": { "operationId": "objective_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/ObjectiveListQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "objective_create", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveCreateRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/objectives/query": { "post": { "operationId": "objective_query", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveQueryRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveQueryResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/objectives/{objective_id}": { "get": { "operationId": "objective_get", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "objective_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "patch": { "operationId": "objective_edit", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "objective_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveEditRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/objectives/{objective_id}/show": { "post": { "operationId": "objective_show", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "objective_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveShowRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/objectives/{objective_id}/state": { "post": { "operationId": "objective_state_set", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "objective_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveStateRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/objectives/{objective_id}/ticket-links": { "post": { "operationId": "objective_ticket_link", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "objective_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveLinkTicketRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/objectives/{objective_id}/ticket-links/{ticket_id}": { "delete": { "operationId": "objective_ticket_unlink", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "objective_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "ticket_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectiveDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/orchestrator": { "get": { "operationId": "workspace_orchestrator_status", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BrowserWorkspaceOrchestratorResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "workspace_orchestrator_start", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BrowserWorkspaceOrchestratorResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/repositories": { "get": { "operationId": "repository_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "repository_create", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateWorkspaceRepositoryRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateWorkspaceRepositoryResponse" } } }, "description": "Alternate successful response" }, "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateWorkspaceRepositoryResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "413": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "415": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/repositories/{repository_key}": { "get": { "operationId": "repository_detail", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "repository_key", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryDetailResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/repositories/{repository_key}/log": { "get": { "operationId": "repository_log", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "repository_key", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/RepositoryLogQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryLogResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/repositories/{repository_key}/ssh-connection-test": { "post": { "operationId": "repository_ssh_connection_probe", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "repository_key", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositorySshConnectionProbeRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositorySshConnectionProbeResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "put": { "operationId": "repository_ssh_host_trust_confirm", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "repository_key", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ConfirmRepositorySshHostTrustRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositorySshHostTrust" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtime-config": { "get": { "operationId": "workspace_runtime_config", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/WorkspaceRuntimeConfigQuery" }, "style": "form" }, { "explode": false, "in": "header", "name": "if-none-match", "required": false, "schema": { "$ref": "#/components/schemas/Nullable_string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceRuntimeConfigResponse" } } }, "description": "Successful response", "headers": { "cache-control": { "schema": { "$ref": "#/components/schemas/string" } }, "etag": { "schema": { "$ref": "#/components/schemas/string" } } } }, "304": { "description": "Alternate successful response", "headers": { "cache-control": { "schema": { "$ref": "#/components/schemas/string" } }, "etag": { "schema": { "$ref": "#/components/schemas/string" } } } }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } } } }, "/api/w/{workspace_id}/runtimes": { "get": { "operationId": "runtime_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceRuntimeListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "runtime_create", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateRemoteRuntimeRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceRuntimeResource" } } }, "description": "Alternate successful response" }, "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceRuntimeResource" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}": { "delete": { "operationId": "runtime_remove", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RemoveRuntimeRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeRemovalOperationResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "get": { "operationId": "runtime_detail", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceRuntimeDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "runtime_update", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateRemoteRuntimeRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceRuntimeDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/cleanup-executions": { "post": { "operationId": "runtime_cleanup_execute", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ExecuteRuntimeCleanupRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeCleanupExecutionResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/cleanup-plan": { "get": { "operationId": "runtime_cleanup_plan", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeCleanupPlanResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/config-bundles": { "post": { "operationId": "runtime_config_bundle_sync", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeConfigBundleSyncRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeConfigBundleResult" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/config-bundles/{bundle_id}/availability": { "get": { "operationId": "runtime_config_bundle_availability", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "bundle_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/RuntimeConfigBundleAvailabilityQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeConfigBundleResult" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/connection-tests": { "post": { "operationId": "runtime_connection_test", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeConnectionTestResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "504": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/trust-key": { "delete": { "operationId": "runtime_trust_key_revoke", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RevokeRuntimeTrustKeyRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceRuntimeDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeManagementApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeManagementApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeManagementApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeManagementApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeManagementApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeManagementApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "get": { "operationId": "runtime_trust_key_reveal", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeTrustKeyRevealResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/workers": { "get": { "operationId": "runtime_worker_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/RuntimeWorkersQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "runtime_worker_create", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerSpawnRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerSpawnResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/workers/{worker_id}": { "get": { "operationId": "runtime_worker_detail", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerShowResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/workers/{worker_id}/attachment-upload-grants": { "post": { "operationId": "runtime_worker_attachment_upload_grant", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/WorkerFileUploadQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AttachmentUploadGrantResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/workers/{worker_id}/attachment-uploads/{upload_id}": { "delete": { "operationId": "runtime_worker_attachment_upload_cancel", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "upload_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AttachmentUploadCancelResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "put": { "operationId": "runtime_worker_attachment_upload", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "upload_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/octet-stream": { "schema": { "format": "binary", "type": "string" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkerFileUploadResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "413": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/workers/{worker_id}/attachments/{artifact_id}": { "delete": { "operationId": "runtime_worker_attachment_delete", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "artifact_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkerFileDeleteResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/workers/{worker_id}/cancel": { "post": { "operationId": "runtime_worker_cancel", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerLifecycleRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerLifecycleResult" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/workers/{worker_id}/completions": { "post": { "operationId": "runtime_worker_completions", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerCompletionsRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerCompletionsResult" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/workers/{worker_id}/input": { "post": { "operationId": "runtime_worker_input", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerInputRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerInputResult" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/workers/{worker_id}/pin": { "delete": { "operationId": "runtime_worker_unpin", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkerRetentionResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "put": { "operationId": "runtime_worker_pin", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkerRetentionResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/workers/{worker_id}/restore": { "post": { "operationId": "runtime_worker_restore", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/RestoreTicketAssignmentQuery" }, "style": "form" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkerRestoreRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkerRestoreResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "504": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/workers/{worker_id}/stop": { "post": { "operationId": "runtime_worker_stop", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerLifecycleRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimeWorkerLifecycleResult" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "504": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/working-directories": { "get": { "operationId": "runtime_workdir_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkingDirectoryListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "runtime_workdir_create", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkingDirectoryCreateRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkingDirectoryCreateResponse" } } }, "description": "Alternate successful response" }, "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkingDirectoryCreateResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/runtimes/{runtime_id}/working-directories/{working_directory_id}": { "delete": { "operationId": "runtime_workdir_cleanup", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "working_directory_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkingDirectoryRemovalRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkingDirectoryRemovalResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "get": { "operationId": "runtime_workdir_detail", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "runtime_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "working_directory_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkingDirectoryDetailResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/settings": { "get": { "operationId": "workspace_metadata_settings", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceMetadataSettingsResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "put": { "operationId": "workspace_metadata_settings_update", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateWorkspaceMetadataRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceMetadataMutationResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/settings/memory": { "get": { "operationId": "workspace_memory_settings", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceMemorySettings" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "put": { "operationId": "workspace_memory_settings_update", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateWorkspaceMemorySettingsRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceMemorySettings" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/settings/profiles": { "get": { "operationId": "profile_settings", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProfileSettingsResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/settings/repository-access": { "get": { "operationId": "repository_access_projection", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryAccessProjection" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/settings/repository-access/credentials": { "get": { "operationId": "repository_ssh_credential_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Array_of_RepositorySshCredential" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "repository_ssh_credential_create", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateRepositorySshCredentialRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositorySshCredential" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/settings/repository-access/credentials/generate": { "post": { "operationId": "repository_ssh_credential_generate", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GenerateRepositorySshCredentialRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositorySshCredential" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/settings/repository-access/credentials/{credential_id}": { "delete": { "operationId": "repository_ssh_credential_delete", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "credential_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeleteRepositorySshCredentialRequest" } } }, "required": true }, "responses": { "204": { "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "get": { "operationId": "repository_ssh_credential_get", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "credential_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositorySshCredential" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/settings/repository-access/credentials/{credential_id}/public-key": { "get": { "operationId": "repository_ssh_credential_public_key", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "credential_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositorySshPublicKey" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/settings/repository-access/credentials/{credential_id}/rotate": { "post": { "operationId": "repository_ssh_credential_rotate", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "credential_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RotateRepositorySshCredentialRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositorySshCredential" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/settings/repository-access/host-trusts": { "get": { "operationId": "repository_ssh_host_trust_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Array_of_RepositorySshHostTrust" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "repository_ssh_host_trust_put", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PutRepositorySshHostTrustRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositorySshHostTrustMutationResponse" } } }, "description": "Alternate successful response" }, "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositorySshHostTrustMutationResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/settings/repository-access/host-trusts/{host_trust_id}": { "delete": { "operationId": "repository_ssh_host_trust_delete", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "host_trust_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeleteRepositorySshHostTrustRequest" } } }, "required": true }, "responses": { "204": { "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "get": { "operationId": "repository_ssh_host_trust_get", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "host_trust_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositorySshHostTrust" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/settings/signing-identity": { "get": { "operationId": "workspace_signing_identity", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceSigningIdentityResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/settings/signing-identity/provision": { "post": { "operationId": "workspace_signing_identity_provision", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceSigningIdentityResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/skills": { "get": { "operationId": "skill_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SkillCatalogResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/skills/lint": { "get": { "operationId": "skill_lint", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SkillCatalogResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/skills/{name}": { "get": { "operationId": "skill_get", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "name", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SkillDetailResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/skills/{name}/activate": { "get": { "operationId": "skill_activate", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "name", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SkillActivationResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/subjektiv/subjects": { "get": { "operationId": "subjektiv_subject_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/SubjektivSubjectListQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubjektivSubjectListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "subjektiv_subject_create", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubjektivSubjectCreateRequest" } } }, "required": true }, "responses": { "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubjektivSubjectResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/subjektiv/subjects/{subject_id}": { "get": { "operationId": "subjektiv_subject_get", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "subject_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubjektivSubjectResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/subjektiv/subjects/{subject_id}/behavior": { "patch": { "operationId": "subjektiv_subject_behavior_update", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "subject_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubjektivSubjectBehaviorUpdateRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubjektivSubjectResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/subjektiv/subjects/{subject_id}/memories": { "get": { "operationId": "subjektiv_memory_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "subject_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/SubjektivMemoryListQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubjektivMemoryQueryResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/subjektiv/subjects/{subject_id}/memories/{memory_id}": { "get": { "operationId": "subjektiv_memory_detail", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "subject_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "memory_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/SubjektivMemoryDetailQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubjektivMemoryReadResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/subjektiv/subjects/{subject_id}/memories/{memory_id}/changes": { "get": { "operationId": "subjektiv_memory_changes", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "subject_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "memory_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/SubjektivMemoryChangesQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubjektivMemoryListChangesResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/subjektiv/subjects/{subject_id}/permissions": { "get": { "operationId": "subjektiv_subject_permissions_get", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "subject_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubjectPermissionsResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "subjektiv_subject_permissions_set", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "subject_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubjectPermissionsUpdate" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubjectPermissionsMutationResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/subjektiv/subjects/{subject_id}/retire": { "post": { "operationId": "subjektiv_subject_retire", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "subject_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubjektivSubjectResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/subjektiv/subjects/{subject_id}/surface": { "get": { "operationId": "subjektiv_resident_surface", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "subject_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SubjektivResidentSurfaceResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/ticket-tags": { "get": { "operationId": "workspace_ticket_tag_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "request", "required": true, "schema": { "$ref": "#/components/schemas/TagListRequest" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Array_of_WorkspaceTag" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "workspace_ticket_tag_mutate", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceTagMutation" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceTag" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets": { "get": { "operationId": "ticket_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/TicketListHttpQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "ticket_create_record", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NewTicket" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketRef" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/browse": { "post": { "operationId": "ticket_browse", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketBrowseQueryRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketBrowseQueryResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/default-intake-ready-body": { "post": { "operationId": "ticket_default_intake_ready_body", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DefaultIntakeReadyBodyRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/string" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/doctor": { "get": { "operationId": "ticket_doctor", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketDoctorReport" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/orchestration-plans/search": { "post": { "operationId": "ticket_orchestration_plan_query", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketOrchestrationPlanSearchRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Array_of_OrchestrationPlanRecord" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/query": { "post": { "operationId": "ticket_query", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketQueryRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketQueryResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/relations/search": { "post": { "operationId": "ticket_relation_query", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketRelationSearchRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Array_of_TicketRelation" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/search": { "get": { "operationId": "ticket_summary_search", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/TicketSummarySearchQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Array_of_TicketSummary" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}": { "get": { "operationId": "ticket_get", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "patch": { "operationId": "ticket_edit", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BrowserEditTicketRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/assignments": { "get": { "operationId": "ticket_assignment_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketRoleAssignmentsResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/assignments/{role}": { "delete": { "operationId": "ticket_assignment_clear", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "role", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/ClearTicketRoleAssignmentQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketRoleAssignmentMutationResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "put": { "operationId": "ticket_assignment_set", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "role", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SetTicketRoleAssignmentRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketRoleAssignmentMutationResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/dependency-check": { "get": { "operationId": "ticket_dependency_check", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketDependencyCheck" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/events": { "post": { "operationId": "ticket_event_append", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BrowserAppendTicketEventRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/implementation-cancellations": { "post": { "operationId": "ticket_implementation_cancel", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CancelTicketImplementationRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/intake-summaries": { "post": { "operationId": "ticket_intake_summary_add", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketIntakeSummary" } } }, "required": true }, "responses": { "204": { "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/item": { "patch": { "operationId": "ticket_record_item_edit", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketItemEdit" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Ticket" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/orchestration-plans": { "post": { "operationId": "ticket_orchestration_plan_record", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NewOrchestrationPlanRecord" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/OrchestrationPlanRecord" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/posts": { "patch": { "operationId": "ticket_record_post_edit", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketPostEdit" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Tuple_of_Ticket_and_Ticket" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/posts/{event_ref}": { "get": { "operationId": "ticket_post_get", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "event_ref", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketEventDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "patch": { "operationId": "ticket_post_edit", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "event_ref", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketPostEditRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/queue": { "post": { "operationId": "ticket_queue", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BrowserQueueTicketRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketQueueOutcome" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/ready": { "post": { "operationId": "ticket_ready", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketMarkReadyRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/record": { "get": { "operationId": "ticket_record_get", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Ticket" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/relation-view": { "get": { "operationId": "ticket_relation_view", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketRelationView" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/relations": { "delete": { "operationId": "ticket_relation_remove", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketRelationRemoveRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketRelation" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "ticket_relation_record", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NewTicketRelation" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketRelation" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/show": { "post": { "operationId": "ticket_show", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketShowRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketDetail" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/tags": { "put": { "operationId": "ticket_tags_set", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketTagSetRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Array_of_WorkspaceTag" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/thread-events": { "post": { "operationId": "ticket_thread_event_add", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NewTicketEvent" } } }, "required": true }, "responses": { "204": { "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/workflow/mark-ready": { "post": { "operationId": "ticket_mark_ready_record", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketMarkReadyRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Ticket" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{id}/workflow/queue": { "post": { "operationId": "ticket_queue_record", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketQueueOutcome" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{ticket_id}/assignment-answer": { "post": { "operationId": "ticket_assignment_answer_browser", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "ticket_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketAssignmentAnswer" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketAssignmentAnswerReceipt" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{ticket_id}/assignment-diagnostics": { "get": { "operationId": "ticket_assignment_diagnostics_browser", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "ticket_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/TicketAssignmentDiagnosticsQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketAssignmentDiagnosticsPage" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{ticket_id}/assignment-tracking/assignments": { "get": { "operationId": "ticket_assignments_page_browser", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "ticket_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/TicketAssignmentsQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketAssignmentsPage" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/tickets/{ticket_id}/implementation-results": { "post": { "operationId": "ticket_implementation_result_browser", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "ticket_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketImplementationResultRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketImplementationResultReceipt" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/workers": { "get": { "operationId": "workspace_worker_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkerListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "workspace_worker_create", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateWorkspaceWorkerRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BrowserCreateWorkerResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/workers/launch-options": { "get": { "operationId": "workspace_worker_launch_options", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkerLaunchOptionsResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/workers/{worker_ref}": { "get": { "operationId": "workspace_worker_detail", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "worker_ref", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkerSummary" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/working-directories": { "get": { "operationId": "workspace_workdir_list", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkingDirectoryListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "workspace_workdir_create", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkingDirectoryCreateRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkingDirectoryCreateResponse" } } }, "description": "Alternate successful response" }, "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkingDirectoryCreateResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/working-directories/{working_directory_id}": { "delete": { "operationId": "workspace_workdir_cleanup", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "working_directory_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkingDirectoryRemovalRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkingDirectoryRemovalResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "get": { "operationId": "workspace_workdir_detail", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "working_directory_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkingDirectoryDetailResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/workspace": { "get": { "operationId": "workspace_scoped", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/workspace-config-grants": { "post": { "operationId": "workspace_config_grant_create", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigGrantCreateRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigGrantResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/w/{workspace_id}/workspace-config-grants/{grant_id}": { "delete": { "operationId": "workspace_config_grant_revoke", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "grant_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigGrantResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceConfigApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/workers": { "get": { "operationId": "workspace_worker_list_alias", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkerListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "workspace_worker_create_alias", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateWorkspaceWorkerRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BrowserCreateWorkerResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/workers/launch-options": { "get": { "operationId": "workspace_worker_launch_options_alias", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkerLaunchOptionsResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "502": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "503": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/workspace": { "get": { "operationId": "workspace_current", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/workspace-deletions/{operation_id}": { "get": { "operationId": "workspace_deletion_get", "parameters": [ { "explode": false, "in": "path", "name": "operation_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceDeletionOperationResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/workspaces": { "get": { "operationId": "workspace_catalog_list", "parameters": [ { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/WorkspaceListQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceCatalogListResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "workspace_catalog_create", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceCreateRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceCreateResponse" } } }, "description": "Alternate successful response" }, "201": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceCreateResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/api/workspaces/{workspace_id}/deletion": { "get": { "operationId": "workspace_deletion_preflight", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceDeletionPreflightResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "workspace_deletion_start", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceDeletionRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceDeletionOperationResponse" } } }, "description": "Alternate successful response" }, "202": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceDeletionOperationResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/health": { "get": { "operationId": "health", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HealthResponse" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } } } }, "/workspaces/{workspace_id}/tickets/{ticket_id}/assignment-answer": { "post": { "operationId": "ticket_assignment_answer", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "ticket_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketAssignmentAnswer" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketAssignmentAnswerReceipt" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/workspaces/{workspace_id}/tickets/{ticket_id}/assignment-diagnostics": { "get": { "operationId": "ticket_assignment_diagnostics", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "ticket_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/TicketAssignmentDiagnosticsQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketAssignmentDiagnosticsPage" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/workspaces/{workspace_id}/tickets/{ticket_id}/assignment-tracking": { "get": { "operationId": "ticket_assignment_tracking_get", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "ticket_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/TicketAssignmentTrackingQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Array_of_TicketAssignmentTrackingProjection" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] }, "post": { "operationId": "ticket_assignment_tracking_update", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "ticket_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketAssignmentTrackingUpdate" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketAssignmentTrackingProjection" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/workspaces/{workspace_id}/tickets/{ticket_id}/assignment-tracking/assignments": { "get": { "operationId": "ticket_assignments_page", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "ticket_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/TicketAssignmentsQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketAssignmentsPage" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/workspaces/{workspace_id}/tickets/{ticket_id}/assignment-tracking/history": { "get": { "operationId": "ticket_assignment_tracking_history", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "ticket_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": true, "in": "query", "name": "query", "required": true, "schema": { "$ref": "#/components/schemas/TicketAssignmentTrackingHistoryQuery" }, "style": "form" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketAssignmentTrackingHistoryPage" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/workspaces/{workspace_id}/tickets/{ticket_id}/case": { "post": { "operationId": "ticket_case_update", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "ticket_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketCaseUpdateRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketSummary" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/workspaces/{workspace_id}/tickets/{ticket_id}/implementation-results": { "post": { "operationId": "ticket_implementation_result", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "ticket_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketImplementationResultRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketImplementationResultReceipt" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "409": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } }, "/workspaces/{workspace_id}/tickets/{ticket_id}/implementation-results/{result_id}": { "get": { "operationId": "ticket_implementation_result_get", "parameters": [ { "explode": false, "in": "path", "name": "workspace_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "ticket_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" }, { "explode": false, "in": "path", "name": "result_id", "required": true, "schema": { "$ref": "#/components/schemas/string" }, "style": "simple" } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketImplementationResultReceipt" } } }, "description": "Successful response" }, "400": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "401": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "403": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "404": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" }, "500": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RepositoryApiError" } } }, "description": "Error response" } }, "security": [ { "bearerAuth": [] }, { "browserSession": [] } ] } } } }