{"openapi":"3.1.0","info":{"title":"CVPortal / ChatMyApp Agent API","version":"2026-06-02","summary":"Agent-readable career dossier, role-space, retrieval, and gated hiring-manager chat API.","description":"Public endpoints expose only reviewed public-safe evidence. Candidate workspace endpoints require workspace auth. Live agent query endpoints require a resume access code or verified resume session."},"servers":[{"url":"https://cvportal.ai"}],"tags":[{"name":"Discovery","description":"Public-safe manifests for humans, recruiting agents, ATS agents, and deployment reviewers."},{"name":"Legal","description":"Public placeholder privacy and use-boundary documents for prototype deployment review."},{"name":"Public Dossier","description":"Reviewed role-space evidence, package, and retrieval endpoints."},{"name":"Gated Agent","description":"Resume-code verified human and agent chat endpoints."},{"name":"Candidate Workspace","description":"Candidate-private workspace, review, source, upload, analytics, and audit operations."},{"name":"Billing","description":"Account-member-only subscription checkout, portal, entitlement status, and signed Stripe webhook operations."},{"name":"Workers","description":"Service-authenticated source-sync, embedding, and transcript-retention worker endpoints."}],"externalDocs":{"description":"Public-safe agent source brief","url":"/portfolio-agent-knowledge.md"},"x-cvportal":{"candidate":{"name":"Patrick Kelly","currentRoles":["Head of Development","Head of AI Operations & Strategy"]},"seedWorkspace":"patrick-kelly","model":"gpt-5.5","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"requestBodyPolicy":{"requiresJsonContentType":true,"acceptedMediaTypes":["application/json","application/*+json"],"malformedJsonStatus":400,"nonJsonStatus":415,"emptyBodyPolicy":"allowed_for_command_endpoints","appliesTo":["json_api_posts","json_api_patches","worker_json_commands"]},"apiMethodPolicy":{"knownRoutesRejectWrongMethod":true,"methodNotAllowedStatus":405,"allowHeader":true,"responseCode":"method_not_allowed","exactRouteCount":27,"workspaceRoutePatternCount":45,"appliesTo":["top_level_api_routes","well_known_discovery_routes","worker_routes","workspace_routes"],"fallbackStaticAllowedMethods":["GET","HEAD"]},"discoveryHeadPolicy":{"enabled":true,"statusCode":200,"bodyOmitted":true,"allowedMethods":["GET","HEAD"],"routes":["/api/health","/api/platform-readiness","/.well-known/cvportal-platform.json","/openapi.json","/.well-known/openapi.json","/api/agent-card","/.well-known/cvportal-agent-card.json","/llms.txt","/.well-known/agent-resume.json"],"appliesTo":["health_endpoint","platform_readiness","openapi","agent_card","llms_txt","agent_resume_manifest"]},"browserAuthMutationGuard":{"enabled":true,"enforcedFor":["resume_session_cookie","workspace_session_cookie","account_membership_cookie","password_reset_session_rotation","invited_onboarding_session_creation"],"endpoints":["/api/verify-code","/api/logout","/api/workspace-login","/api/workspace-logout","/api/password-reset/request","/api/password-reset/confirm","/api/onboarding/accept-invite"],"unsafeMethods":["POST"],"acceptedOriginHeaders":["Origin","Referer"],"allowedOrigins":["current_request_origin","configured_public_base_url"],"rejectsCrossOrigin":true,"missingOriginPolicy":"allowed_for_non_browser_clients","rejectionCode":"cross_origin_browser_mutation"},"privacyBoundary":"published agents see only reviewed public-safe/generalized/published evidence","promptInjectionGuardrails":{"currentMessage":"blocked_before_model_invocation","priorHistory":"prompt_injection_attempts_omitted_before_model_context","analyticsStatus":"prompt_injection_blocked","rawAttemptStored":false},"legal":{"privacyNotice":"/privacy.html","terms":"/terms.html","status":"prototype_placeholders_pending_counsel_review"},"blockedTopics":["credentials","protected records","private production configuration","source code","private prompts","trade-secret implementation detail"]},"paths":{"/llms.txt":{"get":{"tags":["Discovery"],"summary":"Plain-text agent map","description":"Plain-text guidance for LLM and recruiting-agent discovery.","responses":{"200":{"description":"Successful response.","content":{"text/plain":{"schema":{"type":"string"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]}},"head":{"tags":["Discovery"],"summary":"Check llms.txt availability","description":"No-body availability check for the LLM discovery map.","responses":{"200":{"description":"Successful no-body availability response."}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"bodyOmitted":true}}},"/openapi.json":{"get":{"tags":["Discovery"],"summary":"OpenAPI document","description":"Machine-readable API schema for the public-safe and gated CVPortal surfaces.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenApiDocument"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]}},"head":{"tags":["Discovery"],"summary":"Check OpenAPI availability","description":"No-body availability check for the OpenAPI discovery document.","responses":{"200":{"description":"Successful no-body availability response."}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"bodyOmitted":true}}},"/.well-known/openapi.json":{"get":{"tags":["Discovery"],"summary":"Well-known OpenAPI document","description":"Alias for /openapi.json.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenApiDocument"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]}},"head":{"tags":["Discovery"],"summary":"Check well-known OpenAPI availability","description":"No-body availability check for the well-known OpenAPI alias.","responses":{"200":{"description":"Successful no-body availability response."}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"bodyOmitted":true}}},"/.well-known/agent-resume.json":{"get":{"tags":["Discovery"],"summary":"Agent resume manifest","description":"Public manifest for recruiting agents, including role spaces and query contract URLs.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentResumeManifest"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]}},"head":{"tags":["Discovery"],"summary":"Check agent resume manifest availability","description":"No-body availability check for the agent resume manifest.","responses":{"200":{"description":"Successful no-body availability response."}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"bodyOmitted":true}}},"/.well-known/cvportal-agent-card.json":{"get":{"tags":["Discovery"],"summary":"CVPortal agent card","description":"Compact public-safe discovery card for routing recruiting agents and ATS agents to the right role dossier package.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCard"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]}},"head":{"tags":["Discovery"],"summary":"Check CVPortal agent card availability","description":"No-body availability check for the public agent card.","responses":{"200":{"description":"Successful no-body availability response."}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"bodyOmitted":true}}},"/api/agent-card":{"get":{"tags":["Discovery"],"summary":"CVPortal agent card alias","description":"API alias for the compact public-safe agent discovery card.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCard"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]}},"head":{"tags":["Discovery"],"summary":"Check agent card alias availability","description":"No-body availability check for the agent-card API alias.","responses":{"200":{"description":"Successful no-body availability response."}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"bodyOmitted":true}}},"/.well-known/cvportal-platform.json":{"get":{"tags":["Discovery"],"summary":"Platform readiness manifest","description":"Public-safe readiness manifest without local paths, secrets, SQL, or private workspace records.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformReadiness"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]}},"head":{"tags":["Discovery"],"summary":"Check platform readiness availability","description":"No-body availability check for the public readiness manifest.","responses":{"200":{"description":"Successful no-body availability response."}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"bodyOmitted":true}}},"/privacy.html":{"get":{"tags":["Legal"],"summary":"Privacy notice","description":"Plain-language prototype privacy notice for hiring-manager and recruiting-agent visitors.","responses":{"200":{"description":"Successful response.","content":{"text/html":{"schema":{"type":"string"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]}}},"/terms.html":{"get":{"tags":["Legal"],"summary":"Use terms placeholder","description":"Plain-language prototype terms and allowed-use boundary.","responses":{"200":{"description":"Successful response.","content":{"text/html":{"schema":{"type":"string"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]}}},"/api/workspaces":{"get":{"tags":["Public Dossier"],"summary":"List public workspaces","description":"Lists available workspaces with published-safe summaries.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceList"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]}}},"/api/workspaces/{workspaceSlug}":{"get":{"tags":["Public Dossier"],"summary":"Read workspace","description":"Reads a published-safe workspace by slug. Add view=admin only with candidate workspace auth.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceRecord"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]},"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"view","in":"query","required":false,"description":"Set to admin for candidate-private reads with workspace auth.","schema":{"type":"string"}}],"security":[{},{"workspaceSession":[]},{"workspaceAdminKey":[]}]}},"/api/tenants/{tenantSlug}/workspaces/{workspaceSlug}":{"get":{"tags":["Public Dossier"],"summary":"Read tenant-qualified workspace","description":"Reads a published-safe workspace only when the tenant slug matches the workspace tenant identity. Add view=admin only with candidate workspace auth.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceRecord"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"note":"Tenant/workspace mismatches fail closed with a not-found response."},"parameters":[{"name":"tenantSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"view","in":"query","required":false,"description":"Set to admin for candidate-private reads with workspace auth.","schema":{"type":"string"}}],"security":[{},{"workspaceSession":[]},{"workspaceAdminKey":[]}]}},"/api/workspaces/{workspaceSlug}/search":{"get":{"tags":["Public Dossier"],"summary":"Search workspace evidence","description":"Searches reviewed evidence. Private search requires candidate workspace auth.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponse"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]},"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"q","in":"query","required":true,"description":"Search query.","schema":{"type":"string"}},{"name":"publishedOnly","in":"query","required":false,"description":"Defaults to true. Set false only with candidate workspace auth.","schema":{"type":"string"}},{"name":"space","in":"query","required":false,"description":"Optional dossier-space slug to bias retrieval.","schema":{"type":"string"}}],"security":[{},{"workspaceSession":[]},{"workspaceAdminKey":[]}]}},"/api/tenants/{tenantSlug}/workspaces/{workspaceSlug}/search":{"get":{"tags":["Public Dossier"],"summary":"Search tenant-qualified workspace evidence","description":"Searches reviewed evidence only when the tenant slug matches the workspace tenant identity. Private search requires candidate workspace auth.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponse"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"note":"Tenant/workspace mismatches fail closed with a not-found response."},"parameters":[{"name":"tenantSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"q","in":"query","required":true,"description":"Search query.","schema":{"type":"string"}},{"name":"publishedOnly","in":"query","required":false,"description":"Defaults to true. Set false only with candidate workspace auth.","schema":{"type":"string"}},{"name":"space","in":"query","required":false,"description":"Optional dossier-space slug to bias retrieval.","schema":{"type":"string"}}],"security":[{},{"workspaceSession":[]},{"workspaceAdminKey":[]}]}},"/api/workspaces/{workspaceSlug}/memory-search":{"get":{"tags":["Public Dossier"],"summary":"Search workspace memory","description":"Searches the workspace memory index with published-only filters by default.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemorySearchResponse"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]},"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"q","in":"query","required":true,"description":"Memory search query.","schema":{"type":"string"}},{"name":"publishedOnly","in":"query","required":false,"description":"Defaults to true. Set false only with candidate workspace auth.","schema":{"type":"string"}},{"name":"space","in":"query","required":false,"description":"Optional dossier-space slug to bias retrieval.","schema":{"type":"string"}}],"security":[{},{"workspaceSession":[]},{"workspaceAdminKey":[]}]}},"/api/tenants/{tenantSlug}/workspaces/{workspaceSlug}/memory-search":{"get":{"tags":["Public Dossier"],"summary":"Search tenant-qualified workspace memory","description":"Searches the workspace memory index only when the tenant slug matches the workspace tenant identity. Published-only filters apply by default.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemorySearchResponse"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"note":"Tenant/workspace mismatches fail closed with a not-found response."},"parameters":[{"name":"tenantSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"q","in":"query","required":true,"description":"Memory search query.","schema":{"type":"string"}},{"name":"publishedOnly","in":"query","required":false,"description":"Defaults to true. Set false only with candidate workspace auth.","schema":{"type":"string"}},{"name":"space","in":"query","required":false,"description":"Optional dossier-space slug to bias retrieval.","schema":{"type":"string"}}],"security":[{},{"workspaceSession":[]},{"workspaceAdminKey":[]}]}},"/api/workspaces/{workspaceSlug}/memory-status":{"get":{"tags":["Candidate Workspace"],"summary":"Read memory status","description":"Returns candidate-private memory index coverage, stale state, retrieval mode, and redacted embedding job metadata without raw memory bodies or vectors.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/memory-index":{"post":{"tags":["Candidate Workspace"],"summary":"Refresh memory index","description":"Queues and, in local inline mode, processes a workspace memory reindex while returning metadata-only index and embedding-job summaries.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/embedding-jobs":{"get":{"tags":["Candidate Workspace"],"summary":"List embedding jobs","description":"Lists metadata-only workspace reindex/embedding jobs and queue health counts without chunk bodies, vectors, or storage internals.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum recent jobs, 1-100.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/embedding-jobs/reindex":{"post":{"tags":["Candidate Workspace"],"summary":"Queue workspace reindex","description":"Queues a workspace reindex through the embedding-job boundary; local mode processes it inline while production can hand it to the managed worker.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/dossier-coverage":{"get":{"tags":["Candidate Workspace"],"summary":"Read dossier coverage dashboard","description":"Returns candidate-private application-space coverage, public-ready evidence gaps, and next actions without raw evidence bodies, object keys, storage paths, or access codes.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DossierCoverageResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/dossier-spaces/{spaceSlug}":{"get":{"tags":["Public Dossier"],"summary":"Read dossier space","description":"Reads reviewed evidence for a published role-specific dossier space.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DossierSpaceResponse"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]},"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"spaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Optional query to rescore evidence.","schema":{"type":"string"}},{"name":"view","in":"query","required":false,"description":"Set to admin for candidate-private reads with workspace auth.","schema":{"type":"string"}}],"security":[{},{"workspaceSession":[]},{"workspaceAdminKey":[]}]}},"/api/tenants/{tenantSlug}/workspaces/{workspaceSlug}/dossier-spaces/{spaceSlug}":{"get":{"tags":["Public Dossier"],"summary":"Read tenant-qualified dossier space","description":"Reads reviewed evidence for a published role-specific dossier space only when the tenant slug matches the workspace tenant identity.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DossierSpaceResponse"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"note":"Tenant/workspace mismatches fail closed with a not-found response."},"parameters":[{"name":"tenantSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"spaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Optional query to rescore evidence.","schema":{"type":"string"}},{"name":"view","in":"query","required":false,"description":"Set to admin for candidate-private reads with workspace auth.","schema":{"type":"string"}}],"security":[{},{"workspaceSession":[]},{"workspaceAdminKey":[]}]}},"/api/workspaces/{workspaceSlug}/dossier-spaces/{spaceSlug}/agent-package":{"get":{"tags":["Public Dossier"],"summary":"Read dossier agent package","description":"Returns a citation-forward public-safe package for recruiting agents and ATS workflows.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DossierAgentPackage"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]},"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"spaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Optional query used to shape memory evidence.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Evidence limit, 1-30.","schema":{"type":"string"}}]},"head":{"tags":["Public Dossier"],"summary":"Check dossier agent package","description":"Returns headers for external monitors and recruiting-agent link checks without returning a package body.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DossierAgentPackage"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]},"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"spaceSlug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/workspaces/{workspaceSlug}/dossier-spaces/{spaceSlug}/agent-package.md":{"get":{"tags":["Public Dossier"],"summary":"Read dossier agent package as Markdown","description":"Returns the same public-safe dossier package as Markdown for LLM, recruiting-agent, and ATS ingestion workflows.","responses":{"200":{"description":"Successful response.","content":{"text/markdown":{"schema":{"type":"string"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"note":"Rendered from the reviewed public-safe JSON package; private review records and raw evidence bodies remain excluded."},"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"spaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Optional query used to shape memory evidence.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Evidence limit, 1-30.","schema":{"type":"string"}}]},"head":{"tags":["Public Dossier"],"summary":"Check dossier agent package Markdown","description":"Returns Markdown package headers for external monitors and recruiting-agent link checks without returning a package body.","responses":{"200":{"description":"Successful response.","content":{"text/markdown":{"schema":{"type":"string"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"note":"Rendered from the reviewed public-safe JSON package; private review records and raw evidence bodies remain excluded."},"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"spaceSlug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/tenants/{tenantSlug}/workspaces/{workspaceSlug}/dossier-spaces/{spaceSlug}/agent-package":{"get":{"tags":["Public Dossier"],"summary":"Read tenant-qualified dossier agent package","description":"Returns a citation-forward public-safe package only when the tenant slug matches the workspace tenant identity.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DossierAgentPackage"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"note":"Tenant/workspace mismatches fail closed with a not-found response."},"parameters":[{"name":"tenantSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"spaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Optional query used to shape memory evidence.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Evidence limit, 1-30.","schema":{"type":"string"}}]},"head":{"tags":["Public Dossier"],"summary":"Check tenant-qualified dossier agent package","description":"Returns headers for external monitors and recruiting-agent link checks without returning a package body.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DossierAgentPackage"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"note":"Tenant/workspace mismatches fail closed with a not-found response."},"parameters":[{"name":"tenantSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"spaceSlug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/tenants/{tenantSlug}/workspaces/{workspaceSlug}/dossier-spaces/{spaceSlug}/agent-package.md":{"get":{"tags":["Public Dossier"],"summary":"Read tenant-qualified dossier agent package as Markdown","description":"Returns a tenant-qualified public-safe dossier Markdown package only when the tenant slug matches the workspace tenant identity.","responses":{"200":{"description":"Successful response.","content":{"text/markdown":{"schema":{"type":"string"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"note":"Tenant/workspace mismatches fail closed; Markdown is rendered from the reviewed public-safe JSON package."},"parameters":[{"name":"tenantSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"spaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Optional query used to shape memory evidence.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Evidence limit, 1-30.","schema":{"type":"string"}}]},"head":{"tags":["Public Dossier"],"summary":"Check tenant-qualified dossier agent package Markdown","description":"Returns tenant-qualified Markdown package headers for external monitors and recruiting-agent link checks without returning a package body.","responses":{"200":{"description":"Successful response.","content":{"text/markdown":{"schema":{"type":"string"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"note":"Tenant/workspace mismatches fail closed; Markdown is rendered from the reviewed public-safe JSON package."},"parameters":[{"name":"tenantSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"spaceSlug","in":"path","required":true,"schema":{"type":"string"}}]}},"/api/agent-context":{"get":{"tags":["Public Dossier"],"summary":"Read public agent context","description":"Returns public-safe context, role metadata, retrieval state, and source brief sections.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentContext"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"]},"parameters":[{"name":"space","in":"query","required":false,"description":"Optional role-space slug.","schema":{"type":"string"}}]}},"/api/verify-code":{"post":{"tags":["Gated Agent"],"summary":"Verify resume access code","description":"Verifies a resume access code and sets an HttpOnly resume-agent session cookie.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyCodeRequest"}}}},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyCodeResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"note":"Returns no stored credential hashes; raw generated codes are accepted but never persisted by this endpoint."}}},"/api/chat":{"post":{"tags":["Gated Agent"],"summary":"Human hiring-manager chat","description":"Answers through the live model using a verified resume session and public-safe role context.","security":[{"resumeSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRequest"}}}},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"note":"Requires verified session. Raw transcripts are not stored unless explicitly enabled by the operator."}}},"/api/agent-query":{"post":{"tags":["Gated Agent"],"summary":"Agent-to-agent hiring query","description":"Accepts a resume access code plus a hiring-manager-level question and returns a guarded answer with sources.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentQueryRequest"}}}},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"note":"Intended for recruiting agents; asks the same guardrailed agent as the human chat surface."}}},"/api/billing/stripe/webhook":{"post":{"tags":["Billing"],"summary":"Stripe billing webhook","description":"Receives Stripe subscription lifecycle events, verifies the Stripe-Signature header against the configured webhook secret, records event idempotency, and updates workspace billing entitlement state.","security":[{"stripeWebhookSignature":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingWebhookResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"service_private","privacy":"Requires Stripe webhook signature verification over the unmodified UTF-8 request body. Public and candidate responses do not expose raw event payloads or provider identifiers.","blocks":["unsigned webhook processing","raw event payload disclosure","provider identifier disclosure"]}}},"/api/workspace-session":{"get":{"tags":["Candidate Workspace"],"summary":"Check candidate workspace session","description":"Returns candidate workspace auth state for one workspace.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspace","in":"query","required":false,"description":"Workspace slug.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/deployment-handoff":{"get":{"tags":["Candidate Workspace"],"summary":"Read deployment handoff","description":"Returns a candidate-private, redacted deployment handoff grouped into operator actions from production preflight checks.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"strict","in":"query","required":false,"description":"Set true to evaluate as a strict deployment gate.","schema":{"type":"string"}},{"name":"database","in":"query","required":false,"description":"Set true to run the optional live Postgres smoke.","schema":{"type":"string"}},{"name":"workers","in":"query","required":false,"description":"Set true to run the optional worker smoke.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentHandoffResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/object-storage-readiness":{"get":{"tags":["Candidate Workspace"],"summary":"Read object-storage readiness","description":"Returns candidate-private object-store driver posture, reviewed asset counts, seed-object verification status, smoke-evidence status, and safe operator commands without object keys, storage paths, buckets, credentials, hashes, payloads, local paths, or raw evidence bodies.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectStorageReadinessResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/billing/status":{"get":{"tags":["Billing"],"summary":"Read billing status","description":"Returns candidate-private billing configuration, customer presence, subscription status, and entitlement state without Stripe identifiers, Price ids, emails, payment methods, portal URLs, or raw webhook payloads.","security":[{"workspaceSession":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingStatusResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Requires an account-membership workspace session. Workspace admin keys, localhost development bypass, and public recruiting-agent sessions are not accepted.","blocks":["workspace admin key billing initiation","Stripe identifier disclosure","raw webhook payload exposure","payment method disclosure"]}}},"/api/workspaces/{workspaceSlug}/billing/checkout-session":{"post":{"tags":["Billing"],"summary":"Create subscription checkout session","description":"Creates a Stripe Checkout Session in subscription mode for an authenticated workspace account member. Workspace admin keys and localhost dev bypass are not accepted.","security":[{"workspaceSession":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingCheckoutSessionResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Requires an account-membership workspace session. Workspace admin keys, localhost development bypass, and public recruiting-agent sessions are not accepted.","blocks":["workspace admin key billing initiation","Stripe identifier disclosure","raw webhook payload exposure","payment method disclosure"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingCheckoutSessionRequest"}}}}}},"/api/workspaces/{workspaceSlug}/billing/customer-portal":{"post":{"tags":["Billing"],"summary":"Create customer portal session","description":"Creates a Stripe customer portal session for an authenticated workspace account member with an existing billing customer.","security":[{"workspaceSession":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingPortalSessionResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Requires an account-membership workspace session. Workspace admin keys, localhost development bypass, and public recruiting-agent sessions are not accepted.","blocks":["workspace admin key billing initiation","Stripe identifier disclosure","raw webhook payload exposure","payment method disclosure"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingPortalSessionRequest"}}}}}},"/api/workspaces/{workspaceSlug}/deployment-handoff.md":{"get":{"tags":["Candidate Workspace"],"summary":"Download deployment handoff Markdown","description":"Returns the same candidate-private redacted deployment handoff as Markdown for operator review, agent ingestion, and hosted launch handoff packets.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"strict","in":"query","required":false,"description":"Set true to evaluate as a strict deployment gate.","schema":{"type":"string"}},{"name":"database","in":"query","required":false,"description":"Set true to run the optional live Postgres smoke.","schema":{"type":"string"}},{"name":"workers","in":"query","required":false,"description":"Set true to run the optional worker smoke.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"text/markdown":{"schema":{"type":"string"}}}}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}},"head":{"tags":["Candidate Workspace"],"summary":"Check deployment handoff Markdown","description":"Returns headers for the candidate-private Markdown handoff export without returning the body.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"text/markdown":{"schema":{"type":"string"}}}}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspace-login":{"post":{"tags":["Candidate Workspace"],"summary":"Create workspace session","description":"Logs into the candidate workspace with account credentials or a workspace key and sets an HttpOnly session cookie.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceLoginRequest"}}}}}},"/api/password-reset/request":{"post":{"tags":["Candidate Workspace"],"summary":"Request password reset","description":"Accepts a no-enumeration password reset request; raw reset token delivery is handled through the configured private credential delivery boundary, operator path, or managed identity provider.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetRequest"}}}}}},"/api/password-reset/confirm":{"post":{"tags":["Candidate Workspace"],"summary":"Confirm password reset","description":"Consumes a single-use reset token, rotates the account password hash, and sets an HttpOnly workspace session cookie.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetConfirmRequest"}}}}}},"/api/workspaces/{workspaceSlug}/profile":{"get":{"tags":["Candidate Workspace"],"summary":"Read candidate profile","description":"Reads the public-safe candidate profile for a workspace. Add view=admin only with candidate workspace auth.","responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateProfileResponse"}}}}},"x-cvportal":{"visibility":"public_safe","retrievalPolicy":"published_agents_only_retrieve_reviewed_public_safe_evidence","transcriptStorageDefault":"metadata_only_no_raw_transcripts","transcriptStorage":{"rawTranscriptStorageEnabled":false,"visitorConsentRequired":true,"default":"metadata_only_no_raw_transcripts","consentField":"transcriptConsent","retentionDays":null,"transcriptPersistence":"optional_raw_transcripts_by_env"},"promptInjectionPolicy":"instruction_override_attempts_are_blocked_before_model_invocation","blocks":["credentials","protected records","private production config","source code","private prompts","trade-secret implementation detail"],"note":"Profile fields are hiring-facing and must not contain private evidence, credentials, or trade-secret details."},"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"view","in":"query","required":false,"description":"Set to admin for candidate-private reads with workspace auth.","schema":{"type":"string"}}],"security":[{},{"workspaceSession":[]},{"workspaceAdminKey":[]}]},"patch":{"tags":["Candidate Workspace"],"summary":"Update candidate profile","description":"Updates hiring-facing candidate identity fields and queues a workspace reindex.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateProfileResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateProfileUpdateRequest"}}}}}},"/api/workspaces/{workspaceSlug}/data-export":{"get":{"tags":["Candidate Workspace"],"summary":"Export redacted workspace data","description":"Returns a candidate-private operational export with workspace inventory, analytics, audit, billing, and review metadata while omitting raw evidence bodies, source URLs, access-code hashes, object keys, storage paths, transcripts, vectors, and credentials.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"days","in":"query","required":false,"description":"Analytics and audit window in days, 1-365.","schema":{"type":"string"}},{"name":"auditLimit","in":"query","required":false,"description":"Maximum audit rows, 1-500.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceDataExportResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/onboarding/accept-invite":{"post":{"tags":["Candidate Workspace"],"summary":"Accept workspace invite","description":"Consumes a private invite code and creates a workspace/account/membership.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingAcceptRequest"}}}}}},"/api/workspaces/{workspaceSlug}/artifacts":{"get":{"tags":["Candidate Workspace"],"summary":"List artifact library","description":"Lists candidate-private artifacts with search/filter summaries for asset-library review without exposing object keys or storage paths.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search artifact label, summary, metadata, and private extracted text.","schema":{"type":"string"}},{"name":"status","in":"query","required":false,"description":"Optional artifact status filter.","schema":{"type":"string"}},{"name":"visibility","in":"query","required":false,"description":"Optional visibility filter.","schema":{"type":"string"}},{"name":"kind","in":"query","required":false,"description":"Optional artifact kind filter.","schema":{"type":"string"}},{"name":"sourceId","in":"query","required":false,"description":"Optional source id filter.","schema":{"type":"string"}},{"name":"stored","in":"query","required":false,"description":"Set stored or unstored to filter file-backed assets.","schema":{"type":"string"}},{"name":"review","in":"query","required":false,"description":"Optional review bucket: pending_review, publishable, reviewed_private, rejected.","schema":{"type":"string"}},{"name":"dossierSpace","in":"query","required":false,"description":"Optional dossier-space slug filter for assets routed into a specific application space.","schema":{"type":"string"}},{"name":"routing","in":"query","required":false,"description":"Optional dossier routing filter: routed or unrouted.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum artifacts, 1-250.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}},"post":{"tags":["Candidate Workspace"],"summary":"Upload or register artifact","description":"Creates a private-review artifact; text/PDF extraction remains private until candidate review.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactCreateRequest"}}}}}},"/api/workspaces/{workspaceSlug}/artifacts/{artifactId}/visual-analysis":{"post":{"tags":["Candidate Workspace"],"summary":"Analyze visual artifact","description":"Runs configured model-assisted visual artifact analysis against a privately stored image and saves only candidate-review suggestions, never public claims.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/artifacts/{artifactId}/extract-claims":{"post":{"tags":["Candidate Workspace"],"summary":"Extract draft claims from artifact","description":"Creates candidate-private claim suggestions from an uploaded/imported artifact, links evidence, and requires candidate review before publication.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"artifactId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/source-packets":{"post":{"tags":["Candidate Workspace"],"summary":"Import structured source packet","description":"Imports a structured DevBrain/Codex/project packet into private-review artifacts, generates candidate-private interview prompts, and queues memory refresh without exposing packet bodies publicly.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/source-connectors":{"get":{"tags":["Candidate Workspace"],"summary":"List source connector catalog","description":"Returns candidate-private source setup presets, accepted public URL shapes, sync modes, and safety boundaries without exposing registered source URLs or imported evidence bodies.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceConnectorCatalogResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/source-onboarding":{"get":{"tags":["Candidate Workspace"],"summary":"Read source onboarding recommendations","description":"Returns candidate-private next-source guidance derived from connector coverage and current source setup without exposing registered source URLs or imported evidence bodies.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOnboardingResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/source-onboarding/actions":{"post":{"tags":["Candidate Workspace"],"summary":"Run source onboarding action","description":"Runs a candidate-private guided source-onboarding action. Executable actions can create metadata-tracked private prompts; candidate-input actions return guidance only.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOnboardingActionResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOnboardingActionRequest"}}}}}},"/api/workspaces/{workspaceSlug}/source-sync-jobs":{"get":{"tags":["Candidate Workspace"],"summary":"List source-sync jobs","description":"Lists metadata-only source-sync job history with queue health counts and no raw source URLs or imported evidence bodies.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"sourceId","in":"query","required":false,"description":"Optional source id filter.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum recent jobs, 1-100.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/source-sync-jobs/enqueue":{"post":{"tags":["Candidate Workspace"],"summary":"Queue eligible source syncs","description":"Queues all eligible automated source connectors, returns skipped-source reasons, and can optionally process due jobs through the private worker path.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/source-sync-jobs/process":{"post":{"tags":["Candidate Workspace"],"summary":"Process due source-sync jobs","description":"Runs the candidate-triggered source-sync worker for due queued/retrying jobs and returns sanitized job results.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/sources/{sourceId}/sync":{"post":{"tags":["Candidate Workspace"],"summary":"Sync registered source","description":"Queues/processes RSS/Substack/blog/newsletter, public GitHub, supported public YouTube, or public webpage/profile sync into private-review artifacts.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"sourceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/sources/{sourceId}":{"patch":{"tags":["Candidate Workspace"],"summary":"Update registered source","description":"Edits source metadata or pauses/reactivates source sync while preserving private provenance and review history.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"sourceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceUpdateRequest"}}}}}},"/api/workspaces/{workspaceSlug}/interview-prompts/generate":{"post":{"tags":["Candidate Workspace"],"summary":"Generate portfolio interview prompts","description":"Creates candidate-private deterministic or model-assisted prompts from uploaded/imported artifacts, deterministic prompts from dossier coverage gaps, or deterministic prompts from source onboarding recommendations; answers become review-needed claim candidates before publication.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewPromptGenerateRequest"}}}}}},"/api/workspaces/{workspaceSlug}/interview-prompts/{promptId}":{"patch":{"tags":["Candidate Workspace"],"summary":"Update interview prompt","description":"Lets the candidate edit, dismiss, reopen, reprioritize, or attach a private interview prompt to a dossier space before using it for review-claim extraction.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"promptId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewPromptUpdateRequest"}}}}}},"/api/workspaces/{workspaceSlug}/interview-sessions":{"get":{"tags":["Candidate Workspace"],"summary":"List interview sessions","description":"Lists candidate-private prompt-batch interview sessions with progress derived from prompt status; no public workspace reads expose session prompts.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}},"post":{"tags":["Candidate Workspace"],"summary":"Create interview session","description":"Creates a candidate-private interview session from explicit prompt ids or the current open prompt queue, optionally scoped to a dossier space.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewSessionCreateRequest"}}}}}},"/api/workspaces/{workspaceSlug}/interview-sessions/{sessionId}":{"patch":{"tags":["Candidate Workspace"],"summary":"Update interview session","description":"Updates candidate-private interview session progress, status, label, current prompt, or prompt membership without publishing prompt text.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"sessionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewSessionUpdateRequest"}}}}}},"/api/workspaces/{workspaceSlug}/access-links":{"post":{"tags":["Candidate Workspace"],"summary":"Create gated access link","description":"Creates a source-aware resume access link and returns the raw code and branded QR only once.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessLinkCreateRequest"}}}}},"get":{"tags":["Candidate Workspace"],"summary":"List access links","description":"Lists redacted access-link records for a workspace.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/resume-packages":{"post":{"tags":["Candidate Workspace"],"summary":"Create resume package","description":"Creates a source-aware access link plus branded QR, role-specific Markdown resume insert, and private dossier launch packet; raw bearer material is returned once and only a hash is persisted.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessLinkCreateRequest"}}}}}},"/api/workspaces/{workspaceSlug}/resume-space-builds":{"post":{"tags":["Candidate Workspace"],"summary":"Build live resume space","description":"Creates or updates a role-specific published dossier space, auto-selects reviewed public-safe evidence, and issues a one-time gated resume package with QR, resume insert, and launch packet.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeSpaceBuildResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeSpaceBuildRequest"}}}}}},"/api/workspaces/{workspaceSlug}/analytics":{"get":{"tags":["Candidate Workspace"],"summary":"Read interaction analytics","description":"Returns metadata-only interaction analytics grouped for the candidate.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"days","in":"query","required":false,"description":"Window in days.","schema":{"type":"string"}},{"name":"source","in":"query","required":false,"description":"Optional source/access-link filter. Matches access-link id, source hint, source label, or dossier-space slug.","schema":{"type":"string"}},{"name":"channel","in":"query","required":false,"description":"Optional channel filter, such as human_chat or agent_query.","schema":{"type":"string"}},{"name":"status","in":"query","required":false,"description":"Optional model/response status filter, such as answered, missing_api_key, guardrail_refusal, or rate_limited.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/workspaces/{workspaceSlug}/audit-events":{"get":{"tags":["Candidate Workspace"],"summary":"Read audit events","description":"Returns metadata-only operational audit events without raw request bodies or credentials.","security":[{"workspaceSession":[]},{"workspaceAdminKey":[]}],"parameters":[{"name":"workspaceSlug","in":"path","required":true,"schema":{"type":"string"}},{"name":"days","in":"query","required":false,"description":"Window in days.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Maximum rows.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"candidate_private","privacy":"Do not call from public recruiting agents. Requires candidate workspace authorization.","blocks":["credential disclosure","raw private evidence leakage","private upload internals"]}}},"/api/worker/source-sync-jobs/process":{"post":{"tags":["Workers"],"summary":"Process source-sync jobs","description":"Service-authenticated worker endpoint for due source-sync jobs.","security":[{"workerBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkerProcessRequest"}}}},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkerProcessResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"service_private","privacy":"Requires worker runtime token; app stores only HMAC worker-token hashes.","blocks":["raw worker token disclosure","raw evidence body leakage","vector value leakage"]}}},"/api/worker/embedding-jobs/process":{"post":{"tags":["Workers"],"summary":"Process embedding jobs","description":"Service-authenticated worker endpoint for due embedding jobs.","security":[{"workerBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkerProcessRequest"}}}},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkerProcessResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"service_private","privacy":"Requires worker runtime token; app stores only HMAC worker-token hashes.","blocks":["raw worker token disclosure","raw evidence body leakage","vector value leakage"]}}},"/api/worker/transcript-retention/purge":{"post":{"tags":["Workers"],"summary":"Purge expired transcripts","description":"Service-authenticated worker endpoint for expired raw transcript retention cleanup.","security":[{"workerBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkerProcessRequest"}}}},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkerProcessResponse"}}}},"400":{"description":"Invalid request."},"401":{"description":"Authentication required or invalid."},"403":{"description":"Workspace or service authorization required."},"429":{"description":"Rate limited."},"503":{"description":"Configured dependency unavailable."}},"x-cvportal":{"visibility":"service_private","privacy":"Requires worker runtime token; app stores only HMAC worker-token hashes.","blocks":["raw worker token disclosure","raw evidence body leakage","vector value leakage"]}}}},"components":{"securitySchemes":{"resumeSession":{"type":"apiKey","in":"cookie","name":"resume_agent_session"},"workspaceSession":{"type":"apiKey","in":"cookie","name":"cvportal_workspace_session"},"workspaceAdminKey":{"type":"apiKey","in":"header","name":"X-Workspace-Admin-Key"},"stripeWebhookSignature":{"type":"apiKey","in":"header","name":"Stripe-Signature"},"workerBearer":{"type":"http","scheme":"bearer"}},"schemas":{"OpenApiInfo":{"type":"object","required":["title","version","summary","description"],"properties":{"title":{"type":"string"},"version":{"type":"string"},"summary":{"type":"string"},"description":{"type":"string"}},"additionalProperties":true},"OpenApiServer":{"type":"object","required":["url"],"properties":{"url":{"type":"string"},"description":{"type":"string"}},"additionalProperties":true},"OpenApiTag":{"type":"object","required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"}},"additionalProperties":true},"OpenApiExternalDocs":{"type":"object","required":["description","url"],"properties":{"description":{"type":"string"},"url":{"type":"string"}},"additionalProperties":true},"OpenApiComponents":{"type":"object","required":["securitySchemes","schemas"],"properties":{"securitySchemes":{"type":"object","additionalProperties":{"type":"object","additionalProperties":true}},"schemas":{"type":"object","description":"Named JSON Schema components for public, candidate-private, billing, and worker API surfaces.","additionalProperties":{"type":"object","additionalProperties":true}}},"additionalProperties":true},"CVPortalOpenApiExtension":{"type":"object","description":"CVPortal-specific OpenAPI metadata for recruiting agents, ATS agents, and deployment reviewers. It contains policy labels and route-capability metadata only, not private workspace records or secrets.","required":["candidate","seedWorkspace","model","transcriptStorageDefault","transcriptStorage","requestBodyPolicy","apiMethodPolicy","discoveryHeadPolicy","browserAuthMutationGuard","privacyBoundary","promptInjectionGuardrails","legal","blockedTopics"],"properties":{"candidate":{"$ref":"#/components/schemas/AgentManifestCandidate"},"seedWorkspace":{"type":"string"},"model":{"type":"string"},"transcriptStorageDefault":{"type":"string"},"transcriptStorage":{"$ref":"#/components/schemas/DossierTranscriptStoragePolicy"},"requestBodyPolicy":{"$ref":"#/components/schemas/PlatformJsonRequestBodyPolicy"},"apiMethodPolicy":{"$ref":"#/components/schemas/PlatformApiMethodPolicy"},"discoveryHeadPolicy":{"$ref":"#/components/schemas/PlatformDiscoveryHeadPolicy"},"browserAuthMutationGuard":{"$ref":"#/components/schemas/PlatformBrowserAuthMutationGuard"},"privacyBoundary":{"type":"string"},"promptInjectionGuardrails":{"$ref":"#/components/schemas/AgentDiscoveryGuardrails"},"legal":{"type":"object","additionalProperties":true},"blockedTopics":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"OpenApiDocument":{"type":"object","description":"Machine-readable CVPortal API contract. Paths and operations remain extensible OpenAPI objects, while the discovery shell and CVPortal policy extension are typed for agent and deployment-review clients.","required":["openapi","info","servers","tags","externalDocs","x-cvportal","paths","components"],"properties":{"openapi":{"type":"string","const":"3.1.0"},"info":{"$ref":"#/components/schemas/OpenApiInfo"},"servers":{"type":"array","items":{"$ref":"#/components/schemas/OpenApiServer"}},"tags":{"type":"array","items":{"$ref":"#/components/schemas/OpenApiTag"}},"externalDocs":{"$ref":"#/components/schemas/OpenApiExternalDocs"},"x-cvportal":{"$ref":"#/components/schemas/CVPortalOpenApiExtension"},"paths":{"type":"object","description":"OpenAPI path map. Operation objects carry route-level privacy and auth metadata in x-cvportal fields.","additionalProperties":{"type":"object","additionalProperties":true}},"components":{"$ref":"#/components/schemas/OpenApiComponents"}},"additionalProperties":true},"AgentManifestCandidate":{"type":"object","required":["name","currentRoles"],"properties":{"name":{"type":"string"},"currentRoles":{"type":"array","items":{"type":"string"}},"positioning":{"type":"string"}},"additionalProperties":true},"AgentManifestAccess":{"type":"object","required":["requiredForLiveQuery","method","instruction"],"properties":{"requiredForLiveQuery":{"type":"boolean"},"method":{"type":"string","const":"resume_access_code"},"instruction":{"type":"string"}},"additionalProperties":true},"AgentManifestPrivacy":{"type":"object","required":["transcriptStoredByDefault","transcriptStorage","metadataStored","rawTranscriptStored","disclosure"],"properties":{"transcriptStoredByDefault":{"type":"boolean"},"transcriptStorage":{"$ref":"#/components/schemas/DossierTranscriptStoragePolicy"},"metadataStored":{"type":"array","items":{"type":"string"}},"rawTranscriptStored":{"type":"boolean"},"disclosure":{"type":"string"}},"additionalProperties":true},"AgentDiscoveryGuardrails":{"type":"object","required":["promptInjection"],"properties":{"promptInjection":{"type":"object","required":["currentMessage","priorHistory","analyticsStatus","rawAttemptStored"],"properties":{"currentMessage":{"type":"string","const":"blocked_before_model_invocation"},"priorHistory":{"type":"string"},"analyticsStatus":{"type":"string"},"rawAttemptStored":{"type":"boolean"}},"additionalProperties":true}},"additionalProperties":true},"AgentManifestBoundaries":{"type":"object","required":["allowed","blocked"],"properties":{"allowed":{"type":"array","items":{"type":"string"}},"blocked":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"AgentResumeManifest":{"type":"object","description":"Public-safe first-stop resume manifest for recruiting agents. It contains route templates, transcript/privacy policy, guardrails, and public role-space routing without private workspace records or access material.","required":["schema","candidate","humanUrl","agentCardUrl","workspaceUrl","tenantQualifiedWorkspaceUrl","workspaceSearchUrl","tenantQualifiedWorkspaceSearchUrl","workspaceMemorySearchUrl","tenantQualifiedWorkspaceMemorySearchUrl","dossierPackageUrl","tenantQualifiedDossierPackageUrl","dossierPackageMarkdownUrl","tenantQualifiedDossierPackageMarkdownUrl","contextUrl","queryUrl","access","privacy","guardrails","spaces","boundaries"],"properties":{"schema":{"type":"string"},"candidate":{"$ref":"#/components/schemas/AgentManifestCandidate"},"humanUrl":{"type":"string"},"agentCardUrl":{"type":"string"},"workspaceUrl":{"type":"string"},"tenantQualifiedWorkspaceUrl":{"type":"string"},"workspaceSearchUrl":{"type":"string"},"tenantQualifiedWorkspaceSearchUrl":{"type":"string"},"workspaceMemorySearchUrl":{"type":"string"},"tenantQualifiedWorkspaceMemorySearchUrl":{"type":"string"},"dossierPackageUrl":{"type":"string"},"tenantQualifiedDossierPackageUrl":{"type":"string"},"dossierPackageMarkdownUrl":{"type":"string"},"tenantQualifiedDossierPackageMarkdownUrl":{"type":"string"},"contextUrl":{"type":"string"},"queryUrl":{"type":"string"},"access":{"$ref":"#/components/schemas/AgentManifestAccess"},"privacy":{"$ref":"#/components/schemas/AgentManifestPrivacy"},"guardrails":{"$ref":"#/components/schemas/AgentDiscoveryGuardrails"},"spaces":{"type":"array","items":{"$ref":"#/components/schemas/AgentContextSpace"}},"boundaries":{"$ref":"#/components/schemas/AgentManifestBoundaries"}},"additionalProperties":true},"AgentCardProduct":{"type":"object","required":["platformName","candidateBrand","category"],"properties":{"platformName":{"type":"string"},"candidateBrand":{"type":"string"},"category":{"type":"string"}},"additionalProperties":true},"AgentCardEntrypoints":{"type":"object","required":["humanResume","agentCard","agentManifest","platformReadiness","openApi","llmsTxt","privacyNotice","terms","tenantQualifiedWorkspace","tenantQualifiedWorkspaceSearch","tenantQualifiedMemorySearch","liveQuery"],"properties":{"humanResume":{"type":"string"},"agentCard":{"type":"string"},"agentManifest":{"type":"string"},"platformReadiness":{"type":"string"},"openApi":{"type":"string"},"llmsTxt":{"type":"string"},"privacyNotice":{"type":"string"},"terms":{"type":"string"},"tenantQualifiedWorkspace":{"type":"string"},"tenantQualifiedWorkspaceSearch":{"type":"string"},"tenantQualifiedMemorySearch":{"type":"string"},"liveQuery":{"type":"string"}},"additionalProperties":true},"AgentCardQueryContract":{"type":"object","required":["liveQueryUrl","accessRequired","accessMethod","transcriptStorage","promptInjectionGuardrails","requestShape"],"properties":{"liveQueryUrl":{"type":"string"},"accessRequired":{"type":"boolean"},"accessMethod":{"type":"string","const":"resume_access_code"},"transcriptStorage":{"$ref":"#/components/schemas/DossierTranscriptStoragePolicy"},"promptInjectionGuardrails":{"type":"object","required":["currentMessage","priorHistory","rawAttemptStored"],"properties":{"currentMessage":{"type":"string","const":"blocked_before_model_invocation"},"priorHistory":{"type":"string"},"rawAttemptStored":{"type":"boolean"}},"additionalProperties":true},"requestShape":{"type":"object","required":["method","contentType","body"],"properties":{"method":{"type":"string"},"contentType":{"type":"string"},"body":{"type":"object","properties":{"accessCode":{"type":"string"},"message":{"type":"string"},"sourceHint":{"type":"string"},"transcriptConsent":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}},"additionalProperties":true},"AgentCardPublishedDossier":{"type":"object","required":["slug","label","target","focus","status","visibility","publicEvidenceCount","suggestedQuestions","agentPackageUrl","absoluteAgentPackageUrl","agentPackageMarkdownUrl","absoluteAgentPackageMarkdownUrl","contextUrl","searchUrl","memorySearchUrl","liveQueryUrl","citationGuidance","privateMaterialExcluded"],"properties":{"slug":{"type":"string"},"label":{"type":"string"},"target":{"type":"string"},"focus":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"visibility":{"type":"string"},"publicEvidenceCount":{"type":"number"},"suggestedQuestions":{"type":"array","items":{"type":"string"}},"agentPackageUrl":{"type":"string"},"absoluteAgentPackageUrl":{"type":"string"},"agentPackageMarkdownUrl":{"type":"string"},"absoluteAgentPackageMarkdownUrl":{"type":"string"},"contextUrl":{"type":"string"},"searchUrl":{"type":"string"},"memorySearchUrl":{"type":"string"},"liveQueryUrl":{"type":"string"},"citationGuidance":{"type":"string"},"privateMaterialExcluded":{"type":"boolean"}},"additionalProperties":true},"AgentCardDiscoveryHealth":{"type":"object","required":["publishedDossierCount","privateMaterialExcluded","evidencePolicy","citationPolicy"],"properties":{"publishedDossierCount":{"type":"number"},"privateMaterialExcluded":{"type":"boolean"},"evidencePolicy":{"type":"string"},"citationPolicy":{"type":"string"}},"additionalProperties":true},"AgentCard":{"type":"object","description":"Compact public-safe discovery card for recruiting agents and ATS agents. Prefer its tenant-qualified dossier package URLs before making role-fit claims.","required":["schema","schemaVersion","cardType","generatedAt","product","candidate","intendedAudience","recommendedFlow","selectionAdvice","boundaries","entrypoints","queryContract","publishedDossiers","discoveryHealth"],"properties":{"schema":{"type":"string"},"schemaVersion":{"type":"number","const":1},"cardType":{"type":"string","const":"agentic_career_dossier_discovery"},"generatedAt":{"type":"string"},"product":{"$ref":"#/components/schemas/AgentCardProduct"},"candidate":{"$ref":"#/components/schemas/DossierPackageCandidate"},"intendedAudience":{"type":"array","items":{"type":"string"}},"recommendedFlow":{"type":"array","items":{"type":"string"}},"selectionAdvice":{"type":"string"},"boundaries":{"$ref":"#/components/schemas/DossierPackageBoundaries"},"entrypoints":{"$ref":"#/components/schemas/AgentCardEntrypoints"},"queryContract":{"$ref":"#/components/schemas/AgentCardQueryContract"},"publishedDossiers":{"type":"array","items":{"$ref":"#/components/schemas/AgentCardPublishedDossier"}},"discoveryHealth":{"$ref":"#/components/schemas/AgentCardDiscoveryHealth"}},"additionalProperties":true},"PlatformProduct":{"type":"object","required":["platformName","candidateBrand","category","seedWorkspace"],"properties":{"platformName":{"type":"string"},"candidateBrand":{"type":"string"},"category":{"type":"string"},"seedWorkspace":{"type":"string"}},"additionalProperties":true},"PlatformStatus":{"type":"object","required":["current","productionReady","productionEvidenceReady","productionAccountAuthReady","productionSaasIdentityReady","productionReviewAiReady","productionRetrievalWorkerReady","reason"],"properties":{"current":{"type":"string","enum":["production_saas_ready","production_ready_for_controlled_launch","prototype_with_production_schema_contract","prototype_needs_schema_attention"]},"productionReady":{"type":"boolean"},"productionEvidenceReady":{"type":"boolean","description":"True only when all hosted production launch evidence artifacts are configured as readable redacted JSON reports with a passing top-level ok signal and zero reported failure counters for strict preflight validation."},"productionAccountAuthReady":{"type":"boolean","description":"True only when account membership authentication is configured through the durable Postgres account store."},"productionSaasIdentityReady":{"type":"boolean","description":"True only when invited onboarding is enabled and both workspace invitations and workspace provisioning are backed by durable Postgres stores."},"productionReviewAiReady":{"type":"boolean","description":"True only when the portfolio interviewer and visual artifact analyzer are configured for model-assisted OpenAI review and the shared model credential is ready."},"productionRetrievalWorkerReady":{"type":"boolean","description":"True only when source-sync jobs and embedding jobs use durable Postgres stores, memory uses pgvector, an embedding provider is ready, and service-worker authentication is configured."},"reason":{"type":"string"}},"additionalProperties":true},"PlatformLaunchReadiness":{"type":"object","description":"Public-safe launch-stage summary for monitors, operators, and recruiting agents. It reports stage ids and status booleans only; evidence payloads, secrets, access codes, transcripts, local paths, and private source bodies are omitted.","required":["currentStage","currentStageLabel","stageOrder","controlledHiringLaunchReady","controlledLaunchEvidenceReady","productionSaasReady","productionEvidenceReady","assessor","evidencePolicy"],"properties":{"currentStage":{"type":"string","enum":["not_ready","local_seed_prototype","controlled_hiring_launch","production_saas_ready"]},"currentStageLabel":{"type":"string"},"stageOrder":{"type":"array","items":{"type":"string","enum":["not_ready","local_seed_prototype","controlled_hiring_launch","production_saas_ready"]}},"controlledHiringLaunchReady":{"type":"boolean"},"controlledLaunchEvidenceReady":{"type":"boolean","description":"True only when the controlled-launch hosted evidence bundle is configured as readable redacted JSON reports with passing top-level ok signals and zero reported failure counters."},"productionSaasReady":{"type":"boolean"},"productionEvidenceReady":{"type":"boolean"},"assessor":{"type":"string"},"evidencePolicy":{"type":"string","const":"check_ids_statuses_and_public_safe_stage_metadata_only"}},"additionalProperties":true},"PlatformReadinessCheck":{"type":"object","required":["id","label","ok","severity","note"],"properties":{"id":{"type":"string"},"label":{"type":"string"},"ok":{"type":"boolean"},"severity":{"type":"string"},"note":{"type":"string"}},"additionalProperties":true},"PlatformAdapterStatus":{"type":"object","description":"Public adapter posture for a storage, worker, auth, delivery, or billing boundary. It reports driver and readiness metadata without storage paths, object keys, connection strings, credentials, hashes, or payload bodies.","required":["driver","ready","current","adapterBoundary"],"properties":{"driver":{"type":"string"},"ready":{"type":"boolean"},"current":{"type":"string"},"mode":{"type":"string"},"persistence":{"type":["string","null"]},"target":{"type":["string","null"]},"adapterBoundary":{"type":"string"},"publicServing":{"type":"string"},"transcriptPersistence":{"type":"string"},"transcriptStorageDefault":{"type":"string"},"eventPrivacy":{"type":"string"},"embeddingStatus":{"type":"string"},"vectorQueryMode":{"type":"string"},"worker":{"type":"string"},"inlineProcessing":{"type":"boolean"},"serviceWorkerAuth":{"type":"string"},"serviceWorkerEndpoint":{"type":"string"},"retryPolicy":{"type":"string"},"credentialStorage":{"type":"string"},"credentialHandling":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformWorkspaceStoreStatus":{"type":"object","description":"Public workspace-store readiness posture. It reports adapter readiness and transcript/upload serving boundaries without workspace JSON paths, private records, raw uploads, transcripts, credentials, or hashes.","required":["driver","ready","current","adapterBoundary","rawUploadServing","transcriptStorageDefault"],"properties":{"driver":{"type":"string"},"ready":{"type":"boolean"},"current":{"type":"string"},"persistence":{"type":["string","null"]},"target":{"type":["string","null"]},"adapterBoundary":{"type":"string","const":"workspace_store"},"rawUploadServing":{"type":"string"},"transcriptStorageDefault":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformObjectStorageStatus":{"type":"object","description":"Public object-storage readiness posture for uploaded artifacts and reviewed assets. It reports serving policy, candidate-private readiness route, and smoke/seed commands without object keys, storage paths, buckets, credentials, or payload bodies.","required":["driver","ready","current","adapterBoundary","publicServing","reviewedAssetEndpoint","reviewedAssetPolicy","readinessEndpoint","seedObjectPublisher","seedObjectVerification","uploadSmoke"],"properties":{"driver":{"type":"string"},"ready":{"type":"boolean"},"current":{"type":"string"},"persistence":{"type":["string","null"]},"target":{"type":["string","null"]},"adapterBoundary":{"type":"string","const":"object_store"},"publicServing":{"type":"string"},"reviewedAssetEndpoint":{"type":"string"},"reviewedAssetPolicy":{"type":"string"},"readinessEndpoint":{"type":"string"},"seedObjectPublisher":{"type":"string"},"seedObjectVerification":{"type":"string"},"uploadSmoke":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformTranscriptRetentionWorkerStatus":{"type":"object","description":"Public transcript-retention worker posture. It reports worker auth state, endpoint template, mode, dry-run support, and counts-only output policy without transcript text, worker tokens, raw events, local paths, or credentials.","required":["serviceWorkerAuth","serviceWorkerEndpoint","defaultMode","dryRunSupported","outputPolicy"],"properties":{"serviceWorkerAuth":{"type":"string"},"serviceWorkerEndpoint":{"type":"string"},"defaultMode":{"type":"string"},"dryRunSupported":{"type":"boolean"},"outputPolicy":{"type":"string"}},"additionalProperties":true},"PlatformAnalyticsStorageStatus":{"type":"object","description":"Public analytics-store readiness posture. It reports metadata-only transcript policy, retention-worker posture, and adapter readiness without raw transcript text, event bodies, IPs, user agents, local paths, credentials, or hashes.","required":["driver","ready","current","adapterBoundary","transcriptPersistence","transcriptStorageDefault","transcriptCapturePolicy","transcriptRetentionWorker"],"properties":{"driver":{"type":"string"},"ready":{"type":"boolean"},"current":{"type":"string"},"persistence":{"type":["string","null"]},"target":{"type":["string","null"]},"adapterBoundary":{"type":"string","const":"analytics_store"},"transcriptPersistence":{"type":"string"},"transcriptStorageDefault":{"type":"string"},"transcriptCapturePolicy":{"$ref":"#/components/schemas/DossierTranscriptStoragePolicy"},"transcriptRetentionWorker":{"$ref":"#/components/schemas/PlatformTranscriptRetentionWorkerStatus"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformAuditLogStorageStatus":{"type":"object","description":"Public audit-log store readiness posture. It reports adapter readiness and metadata-only event privacy without audit rows, request bodies, actor hashes, IP hashes, credentials, tokens, emails, or storage paths.","required":["driver","ready","current","adapterBoundary","eventPrivacy"],"properties":{"driver":{"type":"string"},"ready":{"type":"boolean"},"current":{"type":"string"},"persistence":{"type":["string","null"]},"target":{"type":["string","null"]},"adapterBoundary":{"type":"string","const":"audit_log_store"},"eventPrivacy":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformMemoryStorageStatus":{"type":"object","description":"Public memory/retrieval store readiness posture. It reports adapter readiness, embedding status, vector-query provider posture, and query mode without memory bodies, vectors, source bodies, private records, credentials, or storage paths.","required":["driver","ready","current","adapterBoundary","embeddingStatus","vectorQueryProvider","vectorQueryMode"],"properties":{"driver":{"type":"string"},"ready":{"type":"boolean"},"current":{"type":"string"},"persistence":{"type":["string","null"]},"target":{"type":["string","null"]},"adapterBoundary":{"type":"string","const":"memory_store"},"embeddingStatus":{"type":"string"},"vectorQueryProvider":{"$ref":"#/components/schemas/PlatformEmbeddingProvider"},"vectorQueryMode":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformEmbeddingJobStatus":{"type":"object","description":"Public embedding-job worker readiness posture. It reports queue adapter, worker mode, retry settings, and embedding-provider posture without vectors, source text, memory bodies, worker tokens, credentials, hashes, or storage paths.","required":["driver","ready","current","adapterBoundary","worker","embeddingStatus","inlineProcessing","serviceWorkerAuth","serviceWorkerEndpoint","provider","maxAttempts","retryBaseSeconds"],"properties":{"driver":{"type":"string"},"ready":{"type":"boolean"},"current":{"type":"string"},"persistence":{"type":["string","null"]},"target":{"type":["string","null"]},"adapterBoundary":{"type":"string","const":"embedding_job_store"},"worker":{"type":"string"},"embeddingStatus":{"type":"string"},"inlineProcessing":{"type":"boolean"},"serviceWorkerAuth":{"type":"string"},"serviceWorkerEndpoint":{"type":"string"},"provider":{"$ref":"#/components/schemas/PlatformEmbeddingProvider"},"maxAttempts":{"type":"number"},"retryBaseSeconds":{"type":"number"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformSourceSyncJobStatus":{"type":"object","description":"Public source-sync worker readiness posture. It reports queue adapter, worker mode, retry settings, and service endpoint without source URLs, fetched bodies, imported text, worker tokens, credentials, hashes, or storage paths.","required":["driver","ready","current","adapterBoundary","worker","inlineProcessing","serviceWorkerAuth","serviceWorkerEndpoint","retryPolicy","maxAttempts","retryBaseSeconds"],"properties":{"driver":{"type":"string"},"ready":{"type":"boolean"},"current":{"type":"string"},"persistence":{"type":["string","null"]},"target":{"type":["string","null"]},"adapterBoundary":{"type":"string","const":"source_sync_job_store"},"worker":{"type":"string"},"inlineProcessing":{"type":"boolean"},"serviceWorkerAuth":{"type":"string"},"serviceWorkerEndpoint":{"type":"string"},"retryPolicy":{"type":"string"},"maxAttempts":{"type":"number"},"retryBaseSeconds":{"type":"number"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformPasswordResetDeliveryFailurePolicy":{"type":"object","description":"Public-safe password-reset delivery failure boundary. It proves failed private delivery revokes the just-created reset record while preserving no-enumeration request responses and omitting raw reset material.","required":["enabled","appliesTo","requestEndpointNoEnumeration","failedDeliveryResponseStatus","failedDeliveryResetStatus","storedMaterial","publicResponseBody","auditBoundary","redacts"],"properties":{"enabled":{"type":"boolean","const":true},"appliesTo":{"type":"array","items":{"type":"string"}},"requestEndpointNoEnumeration":{"type":"boolean","const":true},"failedDeliveryResponseStatus":{"type":"number","const":202},"failedDeliveryResetStatus":{"type":"string","const":"revoked"},"storedMaterial":{"type":"string","const":"hmac_reset_token_hash_only"},"publicResponseBody":{"type":"string","const":"request_received_without_provider_error"},"auditBoundary":{"type":"string"},"redacts":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformInvitedOnboarding":{"type":"object","description":"Public-safe invited onboarding posture for workspace creation. Raw invite codes, email hashes, provider messages, and provisioning credentials are omitted.","required":["enabled","driver","ready","current","adapterBoundary","provisioning"],"properties":{"enabled":{"type":"boolean"},"driver":{"type":"string"},"ready":{"type":"boolean"},"current":{"type":"string"},"persistence":{"type":["string","null"]},"credentialStorage":{"type":"string"},"target":{"type":["string","null"]},"adapterBoundary":{"type":"string"},"provisioning":{"$ref":"#/components/schemas/PlatformAdapterStatus"}},"additionalProperties":true},"PlatformPasswordReset":{"type":"object","description":"Public-safe password-reset posture. Reset tokens are single-use, stored only as HMAC hashes, and delivered through private credential channels.","required":["enabled","driver","ready","current","adapterBoundary","requestEndpoint","confirmEndpoint","delivery","deliveryFailurePolicy"],"properties":{"enabled":{"type":"boolean"},"driver":{"type":"string"},"ready":{"type":"boolean"},"current":{"type":"string"},"persistence":{"type":["string","null"]},"credentialStorage":{"type":"string"},"target":{"type":["string","null"]},"adapterBoundary":{"type":"string"},"requestEndpoint":{"type":"string"},"confirmEndpoint":{"type":"string"},"delivery":{"$ref":"#/components/schemas/PlatformAdapterStatus"},"deliveryFailurePolicy":{"$ref":"#/components/schemas/PlatformPasswordResetDeliveryFailurePolicy"}},"additionalProperties":true},"PlatformBrowserWriteOriginGuard":{"type":"object","description":"Browser-origin guard for cookie-authenticated workspace writes. Header credentials and worker tokens are separate from browser cookie auth.","required":["enabled","enforcedFor","unsafeMethods","acceptedOriginHeaders","allowedOrigins","rejectsCrossOrigin","missingOriginPolicy","headerCredentialPolicy"],"properties":{"enabled":{"type":"boolean","const":true},"enforcedFor":{"type":"array","items":{"type":"string"}},"unsafeMethods":{"type":"array","items":{"type":"string"}},"acceptedOriginHeaders":{"type":"array","items":{"type":"string"}},"allowedOrigins":{"type":"array","items":{"type":"string"}},"rejectsCrossOrigin":{"type":"boolean","const":true},"missingOriginPolicy":{"type":"string"},"headerCredentialPolicy":{"type":"string"}},"additionalProperties":true},"PlatformBrowserAuthMutationGuard":{"type":"object","description":"Browser-origin guard for cookie-authenticated auth mutations. It reports only endpoint labels, method policy, and origin-check behavior; cookies, codes, tokens, and request bodies are omitted.","required":["enabled","enforcedFor","endpoints","unsafeMethods","acceptedOriginHeaders","allowedOrigins","rejectsCrossOrigin","missingOriginPolicy","rejectionCode"],"properties":{"enabled":{"type":"boolean","const":true},"enforcedFor":{"type":"array","items":{"type":"string"}},"endpoints":{"type":"array","items":{"type":"string"}},"unsafeMethods":{"type":"array","items":{"type":"string"}},"acceptedOriginHeaders":{"type":"array","items":{"type":"string"}},"allowedOrigins":{"type":"array","items":{"type":"string"}},"rejectsCrossOrigin":{"type":"boolean","const":true},"missingOriginPolicy":{"type":"string"},"rejectionCode":{"type":"string","const":"cross_origin_browser_mutation"}},"additionalProperties":true},"PlatformContentSecurityPolicy":{"type":"object","description":"Public Content Security Policy posture emitted by the deployment hardening manifest. It exposes directive posture without response bodies, cookies, tokens, or private route data.","required":["enabled","mode","allowsInlineScripts","allowsInlineStyles","objectSources","frameAncestors","baseUri","policy"],"properties":{"enabled":{"type":"boolean","const":true},"mode":{"type":"string","const":"enforced"},"allowsInlineScripts":{"type":"boolean","const":false},"allowsInlineStyles":{"type":"boolean","const":true},"objectSources":{"type":"string","const":"none"},"frameAncestors":{"type":"string","const":"none"},"baseUri":{"type":"string","const":"none"},"policy":{"type":"string"}},"additionalProperties":true},"PlatformHstsPolicy":{"type":"object","description":"Public Strict-Transport-Security posture. Production enablement may vary for loopback or explicit environment overrides; secret values and host evidence are omitted.","required":["enabled","mode"],"properties":{"enabled":{"type":"boolean"},"mode":{"type":"string"}},"additionalProperties":true},"PlatformSecurityHeaders":{"type":"object","description":"Public-safe security-header posture for deployment readiness. It reports baseline header modes and CSP/HSTS posture without exposing cookies, request bodies, or private evidence.","required":["baselineEnabled","contentTypeSniffing","frameEmbedding","contentSecurityPolicy","referrerPolicy","permissionsPolicy","crossOriginOpenerPolicy","crossDomainPolicyFiles","hsts"],"properties":{"baselineEnabled":{"type":"boolean","const":true},"contentTypeSniffing":{"type":"string","const":"blocked"},"frameEmbedding":{"type":"string","const":"denied"},"contentSecurityPolicy":{"$ref":"#/components/schemas/PlatformContentSecurityPolicy"},"referrerPolicy":{"type":"string","const":"strict-origin-when-cross-origin"},"permissionsPolicy":{"type":"string","const":"camera/microphone/geolocation/payment/usb disabled"},"crossOriginOpenerPolicy":{"type":"string","const":"same-origin"},"crossDomainPolicyFiles":{"type":"string","const":"disabled"},"hsts":{"$ref":"#/components/schemas/PlatformHstsPolicy"}},"additionalProperties":true},"PlatformJsonRequestBodyPolicy":{"type":"object","description":"JSON request-body validation posture for API command endpoints. It reports media-type and parse-failure handling without request bodies or payload examples.","required":["requiresJsonContentType","acceptedMediaTypes","malformedJsonStatus","nonJsonStatus","emptyBodyPolicy","appliesTo"],"properties":{"requiresJsonContentType":{"type":"boolean","const":true},"acceptedMediaTypes":{"type":"array","items":{"type":"string"}},"malformedJsonStatus":{"type":"number","const":400},"nonJsonStatus":{"type":"number","const":415},"emptyBodyPolicy":{"type":"string"},"appliesTo":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformApiMethodPolicy":{"type":"object","description":"Wrong-method handling posture for known API, worker, discovery, and workspace routes. It exposes status/header behavior and aggregate route counts only.","required":["knownRoutesRejectWrongMethod","methodNotAllowedStatus","allowHeader","responseCode","exactRouteCount","workspaceRoutePatternCount","appliesTo","fallbackStaticAllowedMethods"],"properties":{"knownRoutesRejectWrongMethod":{"type":"boolean","const":true},"methodNotAllowedStatus":{"type":"number","const":405},"allowHeader":{"type":"boolean","const":true},"responseCode":{"type":"string","const":"method_not_allowed"},"exactRouteCount":{"type":"number"},"workspaceRoutePatternCount":{"type":"number"},"appliesTo":{"type":"array","items":{"type":"string"}},"fallbackStaticAllowedMethods":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformDiscoveryHeadPolicy":{"type":"object","description":"HEAD support posture for public discovery routes. It exposes route labels, allowed methods, and body suppression behavior without discovery response payloads.","required":["enabled","statusCode","bodyOmitted","allowedMethods","routes","appliesTo"],"properties":{"enabled":{"type":"boolean","const":true},"statusCode":{"type":"number","const":200},"bodyOmitted":{"type":"boolean","const":true},"allowedMethods":{"type":"array","items":{"type":"string"}},"routes":{"type":"array","items":{"type":"string"}},"appliesTo":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformServiceWorkerAuthPolicy":{"type":"object","description":"Public-safe service-worker authentication posture. It reports whether worker token hashes and HMAC credential secrets are configured without exposing raw worker tokens or hashes.","required":["configured","credentialSecretConfigured","credentialStorage","acceptedHeaders"],"properties":{"configured":{"type":"boolean"},"credentialSecretConfigured":{"type":"boolean"},"credentialStorage":{"type":"string","const":"hmac_sha256_hashes_only"},"acceptedHeaders":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformResumeAccessCodePolicy":{"type":"object","description":"Runtime posture for legacy raw resume access-code fallback. It exposes counts and production-safety booleans only; raw access codes and access-link hashes are omitted.","required":["enabled","configured","entryCount","defaultLocalFallbackActive","productionUnsafe"],"properties":{"enabled":{"type":"boolean"},"configured":{"type":"boolean"},"entryCount":{"type":"number"},"defaultLocalFallbackActive":{"type":"boolean"},"productionUnsafe":{"type":"boolean"}},"additionalProperties":true},"PlatformEmbeddingProvider":{"type":"object","description":"Public embedding-provider posture for managed vector retrieval. It reports provider readiness and model metadata without exposing API keys, input text, vectors, or endpoint credentials.","required":["provider","ready","model","dimensions","mode","apiKeyConfigured"],"properties":{"provider":{"type":"string"},"ready":{"type":"boolean"},"model":{"type":["string","null"]},"dimensions":{"type":["number","null"]},"mode":{"type":["string","null"]},"apiKeyConfigured":{"type":"boolean"}},"additionalProperties":true},"PlatformAuditLog":{"type":"object","description":"Public audit-log storage posture. It reports adapter and event privacy metadata without audit rows, request bodies, actor hashes, IP hashes, credentials, tokens, emails, or paths.","required":["driver","ready","current","eventPrivacy"],"properties":{"driver":{"type":"string"},"ready":{"type":"boolean"},"current":{"type":"string"},"eventPrivacy":{"type":"string"}},"additionalProperties":true},"PlatformClientIdentityPolicy":{"type":"object","description":"Public client-identity hashing posture for analytics and rate limits. It reports IP-source policy without exposing raw IP addresses or user-agent values.","required":["scope","ipSource","trustProxyHeaders","forwardedForTrusted","rawIpExposed"],"properties":{"scope":{"type":"string","const":"hashed_ip_user_agent"},"ipSource":{"type":"string","enum":["socket_remote_address","trusted_x_forwarded_for_then_socket"]},"trustProxyHeaders":{"type":"boolean"},"forwardedForTrusted":{"type":"boolean"},"rawIpExposed":{"type":"boolean","const":false}},"additionalProperties":true},"PlatformRateLimitPolicy":{"type":"object","description":"Public rate-limit policy for a route family. It exposes only enabled state, limit/window values, and hashed-client scope.","required":["enabled","max","windowSeconds","scope"],"properties":{"enabled":{"type":"boolean"},"max":{"type":"number"},"windowSeconds":{"type":"number"},"scope":{"type":"string","const":"hashed_ip_user_agent"}},"additionalProperties":true},"PlatformRateLimitPolicies":{"type":"object","description":"Public route-family rate-limit posture for resume verification, workspace login, chat, agent APIs, worker routes, billing, onboarding, and password reset.","required":["verifyCode","workspaceLogin","chat","agentQuery","worker","billing","onboarding","passwordReset"],"properties":{"verifyCode":{"$ref":"#/components/schemas/PlatformRateLimitPolicy"},"workspaceLogin":{"$ref":"#/components/schemas/PlatformRateLimitPolicy"},"chat":{"$ref":"#/components/schemas/PlatformRateLimitPolicy"},"agentQuery":{"$ref":"#/components/schemas/PlatformRateLimitPolicy"},"worker":{"$ref":"#/components/schemas/PlatformRateLimitPolicy"},"billing":{"$ref":"#/components/schemas/PlatformRateLimitPolicy"},"onboarding":{"$ref":"#/components/schemas/PlatformRateLimitPolicy"},"passwordReset":{"$ref":"#/components/schemas/PlatformRateLimitPolicy"}},"additionalProperties":{"$ref":"#/components/schemas/PlatformRateLimitPolicy"}},"PlatformEdgeRouteCoverage":{"type":"object","description":"Public edge/API-gateway route coverage posture. It reports normalized route keys only, not provider rule bodies, thresholds, IP lists, credentials, or request samples.","required":["configured","configuredRoutes","requiredRoutes","coveredRoutes","missingRoutes","complete"],"properties":{"configured":{"type":"boolean"},"configuredRoutes":{"type":"array","items":{"type":"string"}},"requiredRoutes":{"type":"array","items":{"type":"string"}},"coveredRoutes":{"type":"array","items":{"type":"string"}},"missingRoutes":{"type":"array","items":{"type":"string"}},"complete":{"type":"boolean"}},"additionalProperties":true},"PlatformEdgeAbuseControlFlags":{"type":"object","description":"Boolean edge abuse-control posture. It omits provider-specific firewall rules, alert destinations, origin addresses, and raw traffic evidence.","required":["enabled","wafEnabled","managedRulesEnabled","botProtectionEnabled","ddosProtectionEnabled","originBypassBlocked","loggingEnabled","alertingEnabled"],"properties":{"enabled":{"type":"boolean"},"wafEnabled":{"type":"boolean"},"managedRulesEnabled":{"type":"boolean"},"botProtectionEnabled":{"type":"boolean"},"ddosProtectionEnabled":{"type":"boolean"},"originBypassBlocked":{"type":"boolean"},"loggingEnabled":{"type":"boolean"},"alertingEnabled":{"type":"boolean"}},"additionalProperties":true},"PlatformEdgeAbuseControls":{"type":"object","description":"Public-safe edge/API-gateway abuse-control readiness for production internet exposure. It reports provider labels, route coverage, and booleans without rule material or traffic evidence.","required":["ready","edgeLayerRequiredForProduction","provider","controls","routeCoverage","outputPolicy"],"properties":{"ready":{"type":"boolean"},"edgeLayerRequiredForProduction":{"type":"boolean","const":true},"provider":{"type":"string"},"controls":{"$ref":"#/components/schemas/PlatformEdgeAbuseControlFlags"},"routeCoverage":{"$ref":"#/components/schemas/PlatformEdgeRouteCoverage"},"outputPolicy":{"type":"string","const":"provider_names_route_keys_and_boolean_evidence_only"}},"additionalProperties":true},"PlatformSourceIngestionWebpagePolicy":{"type":"object","description":"Public webpage source-ingestion safety posture. It reports SSRF/redirect/DNS guardrails without source URLs, fetched bodies, private network targets, or connector secrets.","required":["localFetchAllowed","maxRedirects","redirectLimitBounded","literalHostBlocking","resolvedPrivateNetworkBlocking","manualRedirectValidation","requestTimeDnsRevalidation"],"properties":{"localFetchAllowed":{"type":"boolean"},"maxRedirects":{"type":"number"},"redirectLimitBounded":{"type":"boolean"},"literalHostBlocking":{"type":"boolean","const":true},"resolvedPrivateNetworkBlocking":{"type":"boolean","const":true},"manualRedirectValidation":{"type":"boolean","const":true},"requestTimeDnsRevalidation":{"type":"boolean","const":true}},"additionalProperties":true},"PlatformSourceIngestionContentFeedPolicy":{"type":"object","description":"Public RSS/Substack/blog/newsletter ingestion safety posture. It reuses guarded public fetch behavior and reports only feed-type support and discovery booleans.","required":["localFetchAllowed","maxRedirects","redirectLimitBounded","literalHostBlocking","resolvedPrivateNetworkBlocking","manualRedirectValidation","requestTimeDnsRevalidation","supportedTypes","htmlLinkAutodiscovery","substackDefaultFeedPathDiscovery"],"properties":{"localFetchAllowed":{"type":"boolean"},"maxRedirects":{"type":"number"},"redirectLimitBounded":{"type":"boolean"},"literalHostBlocking":{"type":"boolean","const":true},"resolvedPrivateNetworkBlocking":{"type":"boolean","const":true},"manualRedirectValidation":{"type":"boolean","const":true},"requestTimeDnsRevalidation":{"type":"boolean","const":true},"supportedTypes":{"type":"array","items":{"type":"string"}},"htmlLinkAutodiscovery":{"type":"boolean","const":true},"substackDefaultFeedPathDiscovery":{"type":"boolean","const":true}},"additionalProperties":true},"PlatformSourceIngestionPolicy":{"type":"object","description":"Public source-ingestion safety posture for webpage/profile fetches and content-feed sync. Raw source URLs, source bodies, local paths, and connector credentials are omitted.","required":["webpage","contentFeeds"],"properties":{"webpage":{"$ref":"#/components/schemas/PlatformSourceIngestionWebpagePolicy"},"contentFeeds":{"$ref":"#/components/schemas/PlatformSourceIngestionContentFeedPolicy"}},"additionalProperties":true},"PlatformOperationalRestoreDrill":{"type":"object","description":"Public restore-drill posture. It reports freshness and managed-coverage booleans without backup identifiers, object keys, database URLs, paths, or restored payloads.","required":["configured","fresh","ageDays","intervalDays","source","evidenceConfigured","backupIdConfigured","managed","dataPlane","managedCoverageReady"],"properties":{"configured":{"type":"boolean"},"fresh":{"type":"boolean"},"ageDays":{"type":["number","null"]},"intervalDays":{"type":"number"},"source":{"type":["string","null"]},"evidenceConfigured":{"type":"boolean"},"backupIdConfigured":{"type":"boolean"},"managed":{"type":"boolean"},"dataPlane":{"type":["string","null"]},"managedCoverageReady":{"type":"boolean"}},"additionalProperties":true},"PlatformOperationalBackupReadiness":{"type":"object","description":"Public backup readiness posture. It reports provider labels, retention, encryption, and restore drill status without backup ids, storage paths, credentials, or restored data.","required":["enabled","provider","retentionDays","encrypted","restoreDrill","managedRecoveryRequired"],"properties":{"enabled":{"type":"boolean"},"provider":{"type":"string"},"retentionDays":{"type":["number","null"]},"encrypted":{"type":"boolean"},"restoreDrill":{"$ref":"#/components/schemas/PlatformOperationalRestoreDrill"},"managedRecoveryRequired":{"type":"boolean"}},"additionalProperties":true},"PlatformOperationalObservabilityReadiness":{"type":"object","description":"Public observability readiness posture. It reports configured-state booleans and log level without alert addresses, DSNs, contacts, log payloads, or status-page private URLs.","required":["monitoringEnabled","errorTrackingConfigured","alertingConfigured","oncallConfigured","structuredLogs","logLevel","statusPageConfigured"],"properties":{"monitoringEnabled":{"type":"boolean"},"errorTrackingConfigured":{"type":"boolean"},"alertingConfigured":{"type":"boolean"},"oncallConfigured":{"type":"boolean"},"structuredLogs":{"type":"boolean"},"logLevel":{"type":"string"},"statusPageConfigured":{"type":"boolean"}},"additionalProperties":true},"PlatformOperationalIncidentResponse":{"type":"object","description":"Public incident-response readiness posture. It reports whether runbook and on-call contact are configured without exposing contact values or private runbook URLs.","required":["runbookConfigured","oncallConfigured"],"properties":{"runbookConfigured":{"type":"boolean"},"oncallConfigured":{"type":"boolean"}},"additionalProperties":true},"PlatformOperationalReadiness":{"type":"object","description":"Public operational readiness posture for production internet exposure. It reports backup, observability, and incident-response status while redacting private operational values.","required":["internetExposureReady","backup","observability","incidentResponse"],"properties":{"internetExposureReady":{"type":"boolean"},"backup":{"$ref":"#/components/schemas/PlatformOperationalBackupReadiness"},"observability":{"$ref":"#/components/schemas/PlatformOperationalObservabilityReadiness"},"incidentResponse":{"$ref":"#/components/schemas/PlatformOperationalIncidentResponse"}},"additionalProperties":true},"PlatformDeploymentCommercialBilling":{"type":"object","description":"Public-safe commercial billing readiness summary inside deployment hardening. It exposes Stripe posture summaries and failed check ids without API keys, webhook secrets, price ids, customer ids, subscription ids, checkout sessions, portal URLs, payment methods, emails, or raw event payloads.","required":["ready","provider","mode","checkoutMode","target","summary","posture","failedCheckIds","outputPolicy"],"properties":{"ready":{"type":"boolean"},"provider":{"type":"string"},"mode":{"type":"string"},"checkoutMode":{"type":"string"},"target":{"type":"string","const":"stripe_subscription_billing"},"summary":{"$ref":"#/components/schemas/PlatformCommercialBillingSummary"},"posture":{"$ref":"#/components/schemas/PlatformCommercialBillingPosture"},"failedCheckIds":{"type":"array","items":{"type":"string"}},"outputPolicy":{"type":"string","const":"stripe_api_keys_webhook_secrets_price_ids_customer_ids_subscription_ids_checkout_session_ids_portal_urls_payment_methods_emails_and_raw_event_payloads_are_redacted"}},"additionalProperties":true},"PlatformWorkspaceAuth":{"type":"object","description":"Public-safe workspace authentication posture for account membership, scoped workspace credentials, invited onboarding, password reset, and cookie-origin guards.","required":["accountMembershipsConfigured","scopedWorkspaceCredentials","legacyGlobalKeyConfigured","invitedOnboardingEnabled","invitedOnboardingStore","workspaceProvisionStore","passwordReset","sessionCookie","browserWriteOriginGuard"],"properties":{"accountMembershipsConfigured":{"type":"boolean"},"scopedWorkspaceCredentials":{"type":"boolean"},"legacyGlobalKeyConfigured":{"type":"boolean"},"invitedOnboardingEnabled":{"type":"boolean"},"invitedOnboardingStore":{"$ref":"#/components/schemas/PlatformAdapterStatus"},"workspaceProvisionStore":{"$ref":"#/components/schemas/PlatformAdapterStatus"},"passwordReset":{"$ref":"#/components/schemas/PlatformPasswordReset"},"sessionCookie":{"type":"string","const":"workspace_scoped_signed_httponly"},"browserWriteOriginGuard":{"$ref":"#/components/schemas/PlatformBrowserWriteOriginGuard"}},"additionalProperties":true},"PlatformPublicOrigin":{"type":"object","description":"Public origin and host-control posture. It reports only protocol/host allowlist booleans and omits request bodies, cookies, access material, local paths, and secret values.","required":["publicBaseUrlConfigured","publicBaseUrlProtocol","publicBaseUrlHost","publicBaseUrlHostAllowed","trustProxyHeaders","hostEnforcementEnabled","allowedHostCount","allowedHosts"],"properties":{"publicBaseUrlConfigured":{"type":"boolean"},"publicBaseUrlProtocol":{"type":["string","null"]},"publicBaseUrlHost":{"type":["string","null"]},"publicBaseUrlHostAllowed":{"type":"boolean"},"trustProxyHeaders":{"type":"boolean"},"hostEnforcementEnabled":{"type":"boolean"},"allowedHostCount":{"type":"number"},"allowedHosts":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformAccountAuth":{"type":"object","required":["driver","ready","current","adapterBoundary","invitedOnboarding","passwordReset"],"properties":{"driver":{"type":"string"},"ready":{"type":"boolean"},"current":{"type":"string"},"persistence":{"type":["string","null"]},"target":{"type":["string","null"]},"adapterBoundary":{"type":"string"},"invitedOnboarding":{"$ref":"#/components/schemas/PlatformInvitedOnboarding"},"passwordReset":{"$ref":"#/components/schemas/PlatformPasswordReset"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformCommercialBillingSummary":{"type":"object","required":["checks","passed","failed","blockingFailures"],"properties":{"checks":{"type":"number"},"passed":{"type":"number"},"failed":{"type":"number"},"blockingFailures":{"type":"number"}},"additionalProperties":true},"PlatformCommercialBillingPosture":{"type":"object","required":["liveMode","apiVersion","recommendedApiVersion","priceCount","usesPrices","deprecatedPlanIdsConfigured","webhookEventCount","missingWebhookEvents","customerPortalEnabled","entitlementPolicy","tenantMapping","taxMode"],"properties":{"liveMode":{"type":"boolean"},"apiVersion":{"type":"string"},"recommendedApiVersion":{"type":"string"},"priceCount":{"type":"number"},"usesPrices":{"type":"boolean"},"deprecatedPlanIdsConfigured":{"type":"boolean"},"webhookEventCount":{"type":"number"},"missingWebhookEvents":{"type":"array","items":{"type":"string"}},"customerPortalEnabled":{"type":"boolean"},"entitlementPolicy":{"type":"string"},"tenantMapping":{"type":"string"},"taxMode":{"type":"string"}},"additionalProperties":true},"PlatformCommercialBillingPrivacy":{"type":"object","required":["outputPolicy"],"properties":{"outputPolicy":{"type":"string"}},"additionalProperties":true},"PlatformCommercialBillingRuntime":{"type":"object","required":["enabled","checkoutConfigured","customerPortalConfigured","webhookConfigured","accountMembershipRequired","workspaceAdminKeyAccepted","entitlementPolicy","entitlementEnforcement","planLimitEnforcement","statusEndpoint","checkoutSessionEndpoint","customerPortalEndpoint","webhookEndpoint"],"properties":{"enabled":{"type":"boolean"},"checkoutConfigured":{"type":"boolean"},"customerPortalConfigured":{"type":"boolean"},"webhookConfigured":{"type":"boolean"},"accountMembershipRequired":{"type":"boolean","const":true},"workspaceAdminKeyAccepted":{"type":"boolean","const":false},"entitlementPolicy":{"type":"string"},"entitlementEnforcement":{"$ref":"#/components/schemas/BillingEntitlementEnforcement"},"planLimitEnforcement":{"$ref":"#/components/schemas/BillingPlanLimitConfig"},"statusEndpoint":{"type":"string"},"checkoutSessionEndpoint":{"type":"string"},"customerPortalEndpoint":{"type":"string"},"webhookEndpoint":{"type":"string"}},"additionalProperties":true},"PlatformCommercialBilling":{"type":"object","required":["provider","ready","target","mode","checkoutMode","runtime","storage"],"properties":{"provider":{"type":"string"},"ready":{"type":"boolean"},"target":{"type":"string"},"mode":{"type":"string"},"checkoutMode":{"type":"string"},"recommendedApiVersion":{"type":"string"},"planCli":{"type":"string"},"posture":{"$ref":"#/components/schemas/PlatformCommercialBillingPosture"},"summary":{"$ref":"#/components/schemas/PlatformCommercialBillingSummary"},"failedCheckIds":{"type":"array","items":{"type":"string"}},"privacy":{"$ref":"#/components/schemas/PlatformCommercialBillingPrivacy"},"runtime":{"$ref":"#/components/schemas/PlatformCommercialBillingRuntime"},"storage":{"$ref":"#/components/schemas/PlatformAdapterStatus"}},"additionalProperties":true},"PlatformModelAssistedFeature":{"type":"object","required":["mode","ready"],"properties":{"mode":{"type":"string"},"ready":{"type":"boolean"},"endpoint":{"type":"string"},"output":{"type":"string"},"answerFlow":{"type":"string"},"fallback":{"type":["string","null"]},"ocrStatus":{"type":"string"}},"additionalProperties":true},"PlatformSchemaContractGuardrails":{"type":"object","description":"Public-safe schema guardrail posture for the seed workspace projection. Values report structural database protections without exposing SQL text, local paths, workspace-private records, or access material.","properties":{"globalActiveWorkspaceSlugUnique":{"type":["boolean","null"],"description":"Whether the loaded production schema enforces globally unique active workspace slugs for slug-addressed routes; null when schema SQL was not supplied to the verifier."}},"additionalProperties":true},"PlatformSchemaContract":{"type":"object","required":["version","ok","requiredTables","projectedRowCounts","guardrails","warnings","errors"],"properties":{"version":{"type":["string","null"]},"ok":{"type":"boolean"},"requiredTables":{"type":"number"},"projectedRowCounts":{"type":"object","additionalProperties":{"type":"number"}},"guardrails":{"$ref":"#/components/schemas/PlatformSchemaContractGuardrails"},"warnings":{"type":"array","items":{"type":"string"}},"errors":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformRetrievalCapability":{"type":"object","description":"Public retrieval posture for workspace memory, source-sync jobs, embedding reindex jobs, and vector query readiness. It reports adapter modes and planned production retrieval shape without exposing memory bodies, vectors, source bodies, local paths, or private workspace data.","required":["current","memoryIndex","reindexJobs","sourceSyncJobs","vectorQueries","planned"],"properties":{"current":{"type":"string"},"memoryIndex":{"type":"string"},"reindexJobs":{"type":"string"},"sourceSyncJobs":{"type":"string"},"vectorQueries":{"type":"string"},"planned":{"type":"string","const":"workspace_scoped_pgvector_index_with_visibility_filters"}},"additionalProperties":true},"PlatformCapabilities":{"type":"object","required":["candidateWorkspace","agentDossierPackages","agentCardDiscovery","openApiDiscovery","llmsTxtDiscovery","publicEndpointRateLimits","promptInjectionGuardrails","productionPreflightCli","launchReadinessCli","controlledLaunchRehearsalCli","commercialBillingRuntimeApi","invitedWorkspaceOnboarding","passwordResetTokens","credentialDelivery","sourceIngestion","plannedSourceIngestion","visualEvidenceBoundary","candidatePrivateVisualArtifactAnalysis","modelAssistedVisualArtifactAnalyzer","serviceAuthenticatedSourceSyncWorker","serviceAuthenticatedEmbeddingWorker","serviceAuthenticatedTranscriptRetentionWorker","managedWorkerDeploymentPlanCli","sourceIngestionSmokeCli","embeddingRetrievalSmokeCli","multiUserLifecycleSmokeCli","retrieval"],"properties":{"candidateWorkspace":{"type":"boolean"},"agentDossierPackages":{"type":"boolean"},"agentCardDiscovery":{"type":"boolean"},"openApiDiscovery":{"type":"boolean"},"llmsTxtDiscovery":{"type":"boolean"},"publicEndpointRateLimits":{"type":"boolean"},"promptInjectionGuardrails":{"type":"boolean"},"productionPreflightCli":{"type":"boolean"},"launchReadinessCli":{"type":"boolean"},"controlledLaunchRehearsalCli":{"type":"boolean"},"commercialBillingRuntimeApi":{"type":"boolean"},"invitedWorkspaceOnboarding":{"type":"boolean"},"passwordResetTokens":{"type":"boolean"},"credentialDelivery":{"type":"boolean"},"candidatePrivateVisualArtifactAnalysis":{"type":"boolean"},"modelAssistedVisualArtifactAnalyzer":{"type":"boolean"},"serviceAuthenticatedSourceSyncWorker":{"type":"boolean"},"serviceAuthenticatedEmbeddingWorker":{"type":"boolean"},"serviceAuthenticatedTranscriptRetentionWorker":{"type":"boolean"},"managedWorkerDeploymentPlanCli":{"type":"boolean"},"sourceIngestionSmokeCli":{"type":"boolean"},"embeddingRetrievalSmokeCli":{"type":"boolean"},"multiUserLifecycleSmokeCli":{"type":"boolean"},"sourceIngestion":{"type":"array","items":{"type":"string"}},"plannedSourceIngestion":{"type":"array","items":{"type":"string"}},"visualEvidenceBoundary":{"type":"string"},"retrieval":{"$ref":"#/components/schemas/PlatformRetrievalCapability"}},"additionalProperties":true},"PlatformAgentReadableRoutes":{"type":"object","required":["resumeManifest","agentCard","platformManifest","openApi","wellKnownOpenApi","llmsTxt","privacyNotice","terms","workspace","workspaceSearch","memorySearch","candidateArtifactClaimExtraction","sourceConnectors","sourceOnboarding","sourceOnboardingPromptGenerator","sourceOnboardingActions","enqueueSourceSyncJobs","processSourceSyncJobs","importSourcePacket","candidateMemoryStatus","candidateMemoryIndexRefresh","candidateEmbeddingJobs","serviceWorkerProcessSourceSyncJobs","serviceWorkerProcessEmbeddingJobs","serviceWorkerPurgeExpiredTranscripts","workerDeploymentPlan","identityDeploymentPlan","billingReadinessPlan","candidateBillingStatus","candidateBillingCheckoutSession","candidateBillingCustomerPortal","stripeBillingWebhook","seedObjectPublisher","objectStorageSmoke","embeddingRetrievalSmoke","modelAssistedReviewSmoke","postgresDataPlaneSmoke","managedRecoveryDrill","multiUserLifecycleSmoke","passwordResetTokenIssue","credentialDeliveryConfig","sourceSecretScan","sourceIngestionSmoke","deploymentHandoff","originHostReadiness","launchReadiness","controlledLaunchRehearsal","publicLaunchSmoke","publicDiscoverySmoke","edgeAbuseControls","candidateDeploymentHandoff","candidateDeploymentHandoffMarkdown","candidateObjectStorageReadiness","candidateResumePackage","candidateResumeSpaceBuilder","candidateDossierLaunchPacket","candidateProfile","candidateWorkspaceDataExport","auditEvents","dossierAgentPackage","dossierAgentPackageMarkdown"],"properties":{"resumeManifest":{"type":"string"},"agentCard":{"type":"string"},"platformManifest":{"type":"string"},"openApi":{"type":"string"},"wellKnownOpenApi":{"type":"string"},"llmsTxt":{"type":"string"},"privacyNotice":{"type":"string"},"terms":{"type":"string"},"knowledgePolicy":{"type":"string"},"workspace":{"type":"string"},"tenantQualifiedWorkspace":{"type":"string"},"workspaceSearch":{"type":"string"},"tenantQualifiedWorkspaceSearch":{"type":"string"},"memorySearch":{"type":"string"},"tenantQualifiedMemorySearch":{"type":"string"},"artifactFile":{"type":"string"},"candidateVisualArtifactAnalysis":{"type":"string"},"candidateArtifactClaimExtraction":{"type":"string"},"sourceSyncJobs":{"type":"string"},"sourceConnectors":{"type":"string"},"sourceOnboarding":{"type":"string"},"sourceOnboardingPromptGenerator":{"type":"string"},"sourceOnboardingActions":{"type":"string"},"enqueueSourceSyncJobs":{"type":"string"},"processSourceSyncJobs":{"type":"string"},"importSourcePacket":{"type":"string"},"candidateMemoryStatus":{"type":"string"},"candidateMemoryIndexRefresh":{"type":"string"},"candidateEmbeddingJobs":{"type":"string"},"candidateSourceUpdate":{"type":"string"},"interviewPromptGenerator":{"type":"string"},"serviceWorkerProcessSourceSyncJobs":{"type":"string"},"serviceWorkerProcessEmbeddingJobs":{"type":"string"},"serviceWorkerPurgeExpiredTranscripts":{"type":"string"},"workerDeploymentPlan":{"type":"string"},"identityDeploymentPlan":{"type":"string"},"billingReadinessPlan":{"type":"string"},"candidateBillingStatus":{"type":"string"},"candidateBillingCheckoutSession":{"type":"string"},"candidateBillingCustomerPortal":{"type":"string"},"stripeBillingWebhook":{"type":"string"},"seedObjectPublisher":{"type":"string"},"objectStorageSmoke":{"type":"string"},"embeddingRetrievalSmoke":{"type":"string"},"modelAssistedReviewSmoke":{"type":"string"},"postgresDataPlaneSmoke":{"type":"string"},"transcriptRetentionPurge":{"type":"string"},"managedRecoveryDrill":{"type":"string"},"multiUserLifecycleSmoke":{"type":"string"},"passwordResetTokenIssue":{"type":"string"},"credentialDeliveryConfig":{"type":"string"},"sourceSecretScan":{"type":"string"},"sourceIngestionSmoke":{"type":"string"},"deploymentHandoff":{"type":"string"},"originHostReadiness":{"type":"string"},"launchReadiness":{"type":"string"},"controlledLaunchRehearsal":{"type":"string"},"publicLaunchSmoke":{"type":"string"},"publicDiscoverySmoke":{"type":"string"},"edgeAbuseControls":{"type":"string"},"candidateDeploymentHandoff":{"type":"string"},"candidateDeploymentHandoffMarkdown":{"type":"string"},"candidateObjectStorageReadiness":{"type":"string"},"candidateResumePackage":{"type":"string"},"candidateResumeSpaceBuilder":{"type":"string"},"candidateDossierLaunchPacket":{"type":"string"},"candidateProfile":{"type":"string"},"candidateWorkspaceDataExport":{"type":"string"},"auditEvents":{"type":"string"},"dossierSpace":{"type":"string"},"dossierAgentPackage":{"type":"string"},"dossierAgentPackageMarkdown":{"type":"string"}},"additionalProperties":true},"PlatformPrivacyBoundary":{"type":"object","description":"Public redaction boundary map for platform readiness, agent discovery, dossier packages, operator evidence, and candidate-private surfaces.","required":["publicAgentsSee","tenantRouting","candidateWorkspaceMayContain","accessTokens","analytics","transcriptConsent","auditLogs","candidateDeploymentHandoff","candidateLaunchEvidenceLedger","candidateDeploymentHandoffMarkdown","candidateObjectStorageReadiness","candidateResumePackage","candidateResumeSpaceBuilder","candidateResumeSpaceReadiness","candidateDossierLaunchPacket","candidateProfile","candidateWorkspaceDataExport","transcriptRetentionPurge","transcriptRetentionWorker","legalDocuments","agentCard","dossierPackageMarkdown","promptInjection","portfolioInterviewer","visualArtifactAnalyzer","artifactEvidenceExtraction","sourcePacketImport","sourceSecretScan","sourceIngestionSmoke","deploymentHandoff","originHostReadiness","launchReadiness","controlledLaunchRehearsal","publicLaunchSmoke","edgeAbuseControls","objectStorageSmoke","embeddingRetrievalSmoke","candidateMemoryStatus","modelAssistedReviewSmoke","workerDeploymentPlan","identityDeploymentPlan","billingReadiness","billingRuntime","postgresDataPlaneSmoke","managedRecoveryDrill","multiUserLifecycleSmoke","passwordReset","credentialDelivery"],"properties":{"publicAgentsSee":{"type":"string"},"tenantRouting":{"type":"string"},"candidateWorkspaceMayContain":{"type":"string"},"accessTokens":{"type":"string"},"analytics":{"type":"string"},"transcriptConsent":{"type":"string"},"auditLogs":{"type":"string"},"candidateDeploymentHandoff":{"type":"string"},"candidateLaunchEvidenceLedger":{"type":"string"},"candidateDeploymentHandoffMarkdown":{"type":"string"},"candidateObjectStorageReadiness":{"type":"string"},"candidateResumePackage":{"type":"string"},"candidateResumeSpaceBuilder":{"type":"string"},"candidateResumeSpaceReadiness":{"type":"string"},"candidateDossierLaunchPacket":{"type":"string"},"candidateProfile":{"type":"string"},"candidateWorkspaceDataExport":{"type":"string"},"transcriptRetentionPurge":{"type":"string"},"transcriptRetentionWorker":{"type":"string"},"legalDocuments":{"type":"string"},"agentCard":{"type":"string"},"dossierPackageMarkdown":{"type":"string"},"promptInjection":{"type":"string"},"portfolioInterviewer":{"type":"string"},"visualArtifactAnalyzer":{"type":"string"},"artifactEvidenceExtraction":{"type":"string"},"sourcePacketImport":{"type":"string"},"sourceSecretScan":{"type":"string"},"sourceIngestionSmoke":{"type":"string"},"deploymentHandoff":{"type":"string"},"originHostReadiness":{"type":"string"},"launchReadiness":{"type":"string"},"controlledLaunchRehearsal":{"type":"string"},"publicLaunchSmoke":{"type":"string"},"edgeAbuseControls":{"type":"string"},"objectStorageSmoke":{"type":"string"},"embeddingRetrievalSmoke":{"type":"string"},"candidateMemoryStatus":{"type":"string"},"modelAssistedReviewSmoke":{"type":"string"},"workerDeploymentPlan":{"type":"string"},"identityDeploymentPlan":{"type":"string"},"billingReadiness":{"type":"string"},"billingRuntime":{"type":"string"},"postgresDataPlaneSmoke":{"type":"string"},"managedRecoveryDrill":{"type":"string"},"multiUserLifecycleSmoke":{"type":"string"},"passwordReset":{"type":"string"},"credentialDelivery":{"type":"string"}},"additionalProperties":{"type":"string"}},"PlatformLegalPublicDocuments":{"type":"object","description":"Public legal document routes exposed by the readiness manifest.","required":["privacyNotice","terms"],"properties":{"privacyNotice":{"type":"string","const":"/privacy.html"},"terms":{"type":"string","const":"/terms.html"}},"additionalProperties":true},"PlatformLegalDocumentStatus":{"type":"object","description":"Public readiness status for a legal document. It reports finalized/version booleans only and omits version values, reviewer names, entity names, and contact values.","required":["finalized","versionConfigured"],"properties":{"finalized":{"type":"boolean"},"versionConfigured":{"type":"boolean"}},"additionalProperties":true},"PlatformLegalReview":{"type":"object","description":"Public legal review freshness posture. It exposes configured-state and age metadata without reviewer names, notes, comments, local paths, or legal document bodies.","required":["ownerConfigured","reviewedAtConfigured","validDate","futureDate","ageDays","maxAgeDays","current"],"properties":{"ownerConfigured":{"type":"boolean"},"reviewedAtConfigured":{"type":"boolean"},"validDate":{"type":"boolean"},"futureDate":{"type":"boolean"},"ageDays":{"type":["number","null"]},"maxAgeDays":{"type":"number"},"current":{"type":"boolean"}},"additionalProperties":true},"PlatformLegalContact":{"type":"object","description":"Public legal contact posture. It reports whether contact channels are configured without exposing email addresses, URLs, names, entity values, or jurisdiction values.","required":["configured","channels"],"properties":{"configured":{"type":"boolean"},"channels":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"PlatformLegalDisclosure":{"type":"object","required":["ready","status","publicDocuments","documentsFinalized","privacyNotice","terms","review","operatorEntityConfigured","jurisdictionConfigured","contact","missing","outputPolicy"],"properties":{"ready":{"type":"boolean"},"status":{"type":"string"},"publicDocuments":{"$ref":"#/components/schemas/PlatformLegalPublicDocuments"},"documentsFinalized":{"type":"boolean"},"privacyNotice":{"$ref":"#/components/schemas/PlatformLegalDocumentStatus"},"terms":{"$ref":"#/components/schemas/PlatformLegalDocumentStatus"},"review":{"$ref":"#/components/schemas/PlatformLegalReview"},"operatorEntityConfigured":{"type":"boolean"},"jurisdictionConfigured":{"type":"boolean"},"contact":{"$ref":"#/components/schemas/PlatformLegalContact"},"missing":{"type":"array","items":{"type":"string"}},"outputPolicy":{"type":"string","const":"reports_legal_document_status_versions_review_age_and_contact_channels_without_contact_values_or_entity_names"}},"additionalProperties":true},"PlatformProductionEvidenceArtifact":{"type":"object","description":"Public-safe production evidence artifact status. It reports artifact ids, required stage ids, env var names, basenames, JSON readability, and top-level report pass/failure counts only; paths and evidence bodies are omitted.","required":["id","label","requiredStage","envVars","configured","configuredEnvVar","fileName","readable","validJson","reportOk","reportFailureCount","reportBlockingFailureCount","ready","status"],"properties":{"id":{"type":"string"},"label":{"type":"string"},"requiredStage":{"type":"string","enum":["controlled_hiring_launch","production_saas_ready"]},"envVars":{"type":"array","items":{"type":"string"}},"configured":{"type":"boolean"},"configuredEnvVar":{"type":["string","null"]},"fileName":{"type":["string","null"]},"readable":{"type":"boolean"},"validJson":{"type":"boolean"},"reportOk":{"type":["boolean","null"],"description":"Top-level evidence report ok flag when the artifact is object-shaped JSON; null when no parsed report is available."},"reportFailureCount":{"type":["number","null"],"description":"Public-safe summary.failed count when present in the evidence report."},"reportBlockingFailureCount":{"type":["number","null"],"description":"Public-safe summary.blockingFailures count when present in the evidence report."},"ready":{"type":"boolean"},"status":{"type":"string","enum":["not_configured","file_missing","ready_for_preflight_validation","report_failed","json_not_object","json_parse_failed"]}},"additionalProperties":false},"PlatformProductionEvidence":{"type":"object","description":"Public-safe production evidence checklist used to keep the runtime manifest from reporting production_saas_ready before hosted launch, storage, worker, recovery, billing, identity, lifecycle, and model-review evidence artifacts are present as readable redacted JSON reports with passing top-level ok signals and zero reported failure counters.","required":["ready","controlledLaunchEvidenceReady","productionSaasEvidenceReady","requiredStage","requiredArtifactCount","configuredArtifactCount","readableArtifactCount","validJsonArtifactCount","passingReportArtifactCount","missingArtifactIds","unreadableArtifactIds","invalidJsonArtifactIds","failedReportArtifactIds","artifacts","outputPolicy"],"properties":{"ready":{"type":"boolean"},"controlledLaunchEvidenceReady":{"type":"boolean"},"productionSaasEvidenceReady":{"type":"boolean"},"requiredStage":{"type":"string","const":"production_saas_ready"},"requiredArtifactCount":{"type":"number"},"configuredArtifactCount":{"type":"number"},"readableArtifactCount":{"type":"number"},"validJsonArtifactCount":{"type":"number"},"passingReportArtifactCount":{"type":"number"},"missingArtifactIds":{"type":"array","items":{"type":"string"}},"unreadableArtifactIds":{"type":"array","items":{"type":"string"}},"invalidJsonArtifactIds":{"type":"array","items":{"type":"string"}},"failedReportArtifactIds":{"type":"array","items":{"type":"string"}},"artifacts":{"type":"array","items":{"$ref":"#/components/schemas/PlatformProductionEvidenceArtifact"}},"outputPolicy":{"type":"string","const":"reports_artifact_ids_stage_ids_env_var_names_basenames_report_ok_failure_counts_and_json_readiness_only_without_paths_or_evidence_bodies"}},"additionalProperties":false},"PlatformDeploymentHardening":{"type":"object","description":"Public-safe deployment hardening report. Check ids, statuses, env-var names, and readiness booleans are exposed; secrets, hashes, access codes, transcripts, local paths, source bodies, connection strings, and evidence payloads are omitted.","required":["configProfile","internetExposureReady","liveAgentReady","transcriptStorageDefault","transcriptStorage","checks","workspaceAuth","browserAuthMutationGuard","publicOrigin","securityHeaders","requestBodyPolicy","apiMethodPolicy","discoveryHeadPolicy","serviceWorkerAuth","edgeAbuseControls","commercialBilling","legalDisclosure","sourceIngestion","resumeAccessCodes","embeddingProvider","auditLog","operationalReadiness","clientIdentity","rateLimits","launchReadiness","productionEvidence"],"properties":{"configProfile":{"type":"string","enum":["development","production"]},"internetExposureReady":{"type":"boolean"},"liveAgentReady":{"type":"boolean"},"portfolioInterviewer":{"$ref":"#/components/schemas/PlatformModelAssistedFeature"},"visualArtifactAnalyzer":{"$ref":"#/components/schemas/PlatformModelAssistedFeature"},"transcriptStorageDefault":{"type":"string"},"transcriptStorage":{"$ref":"#/components/schemas/DossierTranscriptStoragePolicy"},"checks":{"type":"array","items":{"$ref":"#/components/schemas/PlatformReadinessCheck"}},"workspaceAuth":{"$ref":"#/components/schemas/PlatformWorkspaceAuth"},"browserAuthMutationGuard":{"$ref":"#/components/schemas/PlatformBrowserAuthMutationGuard"},"publicOrigin":{"$ref":"#/components/schemas/PlatformPublicOrigin"},"securityHeaders":{"$ref":"#/components/schemas/PlatformSecurityHeaders"},"requestBodyPolicy":{"$ref":"#/components/schemas/PlatformJsonRequestBodyPolicy"},"apiMethodPolicy":{"$ref":"#/components/schemas/PlatformApiMethodPolicy"},"discoveryHeadPolicy":{"$ref":"#/components/schemas/PlatformDiscoveryHeadPolicy"},"serviceWorkerAuth":{"$ref":"#/components/schemas/PlatformServiceWorkerAuthPolicy"},"edgeAbuseControls":{"$ref":"#/components/schemas/PlatformEdgeAbuseControls"},"commercialBilling":{"$ref":"#/components/schemas/PlatformDeploymentCommercialBilling"},"legalDisclosure":{"$ref":"#/components/schemas/PlatformLegalDisclosure"},"sourceIngestion":{"$ref":"#/components/schemas/PlatformSourceIngestionPolicy"},"resumeAccessCodes":{"$ref":"#/components/schemas/PlatformResumeAccessCodePolicy"},"embeddingProvider":{"$ref":"#/components/schemas/PlatformEmbeddingProvider"},"auditLog":{"$ref":"#/components/schemas/PlatformAuditLog"},"operationalReadiness":{"$ref":"#/components/schemas/PlatformOperationalReadiness"},"clientIdentity":{"$ref":"#/components/schemas/PlatformClientIdentityPolicy"},"rateLimits":{"$ref":"#/components/schemas/PlatformRateLimitPolicies"},"launchReadiness":{"$ref":"#/components/schemas/PlatformLaunchReadiness"},"productionEvidence":{"$ref":"#/components/schemas/PlatformProductionEvidence"}},"additionalProperties":true},"PlatformReadiness":{"type":"object","description":"Public platform/readiness manifest for CVPortal. It exposes product state, launch stage, deployment-hardening posture, public agent routes, adapter readiness, and redaction boundaries without local paths, secrets, SQL text, private workspace records, raw evidence bodies, transcripts, hashes, or access material.","required":["product","status","launchReadiness","deploymentHardening","productionEvidence","legal","accountAuth","commercialBilling","storage","objectStorage","analyticsStorage","auditLogStorage","memoryStorage","embeddingJobs","sourceSyncJobs","portfolioInterviewer","visualArtifactAnalyzer","schemaContract","capabilities","agentReadable","privacyBoundary"],"properties":{"product":{"$ref":"#/components/schemas/PlatformProduct"},"status":{"$ref":"#/components/schemas/PlatformStatus"},"launchReadiness":{"$ref":"#/components/schemas/PlatformLaunchReadiness"},"deploymentHardening":{"$ref":"#/components/schemas/PlatformDeploymentHardening"},"productionEvidence":{"$ref":"#/components/schemas/PlatformProductionEvidence"},"legal":{"$ref":"#/components/schemas/PlatformLegalDisclosure"},"accountAuth":{"$ref":"#/components/schemas/PlatformAccountAuth"},"commercialBilling":{"$ref":"#/components/schemas/PlatformCommercialBilling"},"storage":{"$ref":"#/components/schemas/PlatformWorkspaceStoreStatus"},"objectStorage":{"$ref":"#/components/schemas/PlatformObjectStorageStatus"},"analyticsStorage":{"$ref":"#/components/schemas/PlatformAnalyticsStorageStatus"},"auditLogStorage":{"$ref":"#/components/schemas/PlatformAuditLogStorageStatus"},"memoryStorage":{"$ref":"#/components/schemas/PlatformMemoryStorageStatus"},"embeddingJobs":{"$ref":"#/components/schemas/PlatformEmbeddingJobStatus"},"sourceSyncJobs":{"$ref":"#/components/schemas/PlatformSourceSyncJobStatus"},"portfolioInterviewer":{"$ref":"#/components/schemas/PlatformModelAssistedFeature"},"visualArtifactAnalyzer":{"$ref":"#/components/schemas/PlatformModelAssistedFeature"},"schemaContract":{"$ref":"#/components/schemas/PlatformSchemaContract"},"capabilities":{"$ref":"#/components/schemas/PlatformCapabilities"},"agentReadable":{"$ref":"#/components/schemas/PlatformAgentReadableRoutes"},"privacyBoundary":{"$ref":"#/components/schemas/PlatformPrivacyBoundary"}},"additionalProperties":true},"DeploymentHandoffResponse":{"type":"object","required":["workspace","scope","handoff","privacy"],"properties":{"workspace":{"$ref":"#/components/schemas/WorkspaceSummary"},"scope":{"$ref":"#/components/schemas/DeploymentHandoffScope"},"handoff":{"$ref":"#/components/schemas/DeploymentHandoffReport"},"privacy":{"$ref":"#/components/schemas/DeploymentHandoffPrivacy"}},"additionalProperties":true},"DeploymentHandoffScope":{"type":"object","required":["strict","baseUrlConfigured","databaseSmokeEnabled","workerSmokeEnabled"],"properties":{"strict":{"type":"boolean"},"baseUrlConfigured":{"type":"boolean"},"databaseSmokeEnabled":{"type":"boolean"},"workerSmokeEnabled":{"type":"boolean"}},"additionalProperties":false},"DeploymentHandoffPrivacy":{"type":"object","description":"Candidate-private handoff response privacy contract. The response omits secret values, hashes, access codes, transcripts, local filesystem details, evidence bodies, and private source bodies.","required":["candidatePrivate","transcriptTextExposed","accessCodesExposed","secretValuesExposed","hashesExposed","localPathsExposed","sourceBodiesExposed","rawEvidenceBodiesExposed","outputPolicy"],"properties":{"candidatePrivate":{"type":"boolean","const":true},"transcriptTextExposed":{"type":"boolean","const":false},"accessCodesExposed":{"type":"boolean","const":false},"secretValuesExposed":{"type":"boolean","const":false},"hashesExposed":{"type":"boolean","const":false},"localPathsExposed":{"type":"boolean","const":false},"sourceBodiesExposed":{"type":"boolean","const":false},"rawEvidenceBodiesExposed":{"type":"boolean","const":false},"outputPolicy":{"type":"string"}},"additionalProperties":true},"DeploymentHandoffReport":{"type":"object","required":["ok","generatedAt","strict","baseUrlConfigured","scope","summary","nextActions","evidenceArtifacts","launchEvidenceLedger","launchReadiness","readyNow","preflight","redactions"],"properties":{"ok":{"type":"boolean"},"generatedAt":{"type":"string","format":"date-time"},"strict":{"type":"boolean"},"baseUrlConfigured":{"type":"boolean"},"scope":{"$ref":"#/components/schemas/DeploymentHandoffScope"},"summary":{"$ref":"#/components/schemas/DeploymentHandoffSummary"},"nextActions":{"type":"array","items":{"$ref":"#/components/schemas/DeploymentHandoffNextAction"}},"evidenceArtifacts":{"type":"array","items":{"$ref":"#/components/schemas/DeploymentHandoffArtifact"}},"launchEvidenceLedger":{"$ref":"#/components/schemas/DeploymentHandoffLaunchEvidenceLedger"},"launchReadiness":{"$ref":"#/components/schemas/DeploymentHandoffLaunchReadiness"},"readyNow":{"$ref":"#/components/schemas/DeploymentHandoffReadyNow"},"preflight":{"$ref":"#/components/schemas/DeploymentHandoffPreflight"},"redactions":{"$ref":"#/components/schemas/DeploymentHandoffRedactions"}},"additionalProperties":true},"DeploymentHandoffSummary":{"type":"object","required":["checks","passed","failed","skipped","warnings","blockingFailures","nextActions","criticalActions","evidenceArtifacts","launchEvidenceLedger","externalDependencies","launchStage"],"properties":{"checks":{"type":"number"},"passed":{"type":"number"},"failed":{"type":"number"},"skipped":{"type":"number"},"warnings":{"type":"number"},"blockingFailures":{"type":"number"},"nextActions":{"type":"number"},"criticalActions":{"type":"number"},"evidenceArtifacts":{"$ref":"#/components/schemas/DeploymentHandoffEvidenceArtifactSummary"},"launchEvidenceLedger":{"$ref":"#/components/schemas/DeploymentHandoffLaunchEvidenceLedgerSummary"},"externalDependencies":{"type":"array","items":{"type":"string"}},"launchStage":{"type":"string","enum":["not_ready","local_seed_prototype","controlled_hiring_launch","production_saas_ready"]}},"additionalProperties":true},"DeploymentHandoffEvidenceArtifactSummary":{"type":"object","required":["total","ready","missing","blocked"],"properties":{"total":{"type":"number"},"ready":{"type":"number"},"missing":{"type":"number"},"blocked":{"type":"number"}},"additionalProperties":true},"DeploymentHandoffNextAction":{"type":"object","description":"Operator action generated from failing or skipped preflight checks. Commands contain placeholders and env-var names only, never secret values or evidence bodies.","required":["id","title","owner","type","priority","checks","commands","envVars"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"owner":{"type":"string"},"type":{"type":"string"},"priority":{"type":"string","enum":["critical","high","medium","low"]},"checks":{"type":"array","items":{"type":"string"}},"commands":{"type":"array","items":{"type":"string"}},"envVars":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"DeploymentHandoffReadyNow":{"type":"object","required":["localPrototype","controlledHiringLaunch","productionSaasReady","productionInternetExposure","sourceHygiene","schemaContract","hashedResumeAccessLinks","discoveryDocs"],"properties":{"localPrototype":{"type":"boolean"},"controlledHiringLaunch":{"type":"boolean"},"productionSaasReady":{"type":"boolean"},"productionInternetExposure":{"type":"boolean"},"sourceHygiene":{"type":"boolean"},"schemaContract":{"type":"boolean"},"hashedResumeAccessLinks":{"type":"boolean"},"discoveryDocs":{"type":"boolean"}},"additionalProperties":true},"DeploymentHandoffPreflight":{"type":"object","required":["ok","summary","failingChecks"],"properties":{"ok":{"type":"boolean"},"summary":{"$ref":"#/components/schemas/DeploymentHandoffPreflightSummary"},"failingChecks":{"type":"array","items":{"$ref":"#/components/schemas/DeploymentHandoffPreflightCheck"}}},"additionalProperties":true},"DeploymentHandoffPreflightSummary":{"type":"object","required":["checks","passed","failed","skipped","warnings","blockingFailures","baseUrlConfigured","databaseSmokeEnabled","workerSmokeEnabled"],"properties":{"checks":{"type":"number"},"passed":{"type":"number"},"failed":{"type":"number"},"skipped":{"type":"number"},"warnings":{"type":"number"},"blockingFailures":{"type":"number"},"baseUrlConfigured":{"type":"boolean"},"databaseSmokeEnabled":{"type":"boolean"},"workerSmokeEnabled":{"type":"boolean"}},"additionalProperties":true},"DeploymentHandoffPreflightCheck":{"type":"object","required":["id","status","category","severity","blocksDeployment","message"],"properties":{"id":{"type":"string"},"status":{"type":"string","enum":["pass","fail","skip","missing"]},"category":{"type":["string","null"]},"severity":{"type":["string","null"]},"blocksDeployment":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"DeploymentHandoffPreflightRedactions":{"type":"object","description":"Production-preflight redaction summary copied into the candidate-private handoff. It reports only the count of tracked sensitive values and the source redaction policy, never the values, keys, hashes, paths, transcripts, source bodies, or evidence payloads.","required":["sensitiveValuesTracked","outputPolicy"],"properties":{"sensitiveValuesTracked":{"type":"number"},"outputPolicy":{"type":"string","const":"secret_values_and_sensitive_keys_are_redacted"}},"additionalProperties":true},"DeploymentHandoffRedactions":{"type":"object","required":["outputPolicy","source"],"properties":{"outputPolicy":{"type":"string","const":"no_secret_values_no_hashes_no_access_codes_no_transcripts"},"source":{"$ref":"#/components/schemas/DeploymentHandoffPreflightRedactions"}},"additionalProperties":true},"DeploymentHandoffLaunchReadiness":{"type":"object","required":["currentStage","currentStageLabel","currentStageRank","assessmentSource","nextStage","stages","summary","evidencePolicy"],"properties":{"currentStage":{"type":"string","enum":["not_ready","local_seed_prototype","controlled_hiring_launch","production_saas_ready"]},"currentStageLabel":{"type":"string"},"currentStageRank":{"type":"number"},"assessmentSource":{"type":"string","enum":["preflight.launchReadiness","computed_from_preflight_checks"]},"nextStage":{"anyOf":[{"$ref":"#/components/schemas/DeploymentHandoffLaunchReadinessNextStage"},{"type":"null"}]},"stages":{"type":"array","items":{"$ref":"#/components/schemas/DeploymentHandoffLaunchReadinessStage"}},"summary":{"$ref":"#/components/schemas/DeploymentHandoffLaunchReadinessSummary"},"evidencePolicy":{"type":"string"}},"additionalProperties":true},"DeploymentHandoffLaunchReadinessNextStage":{"type":"object","required":["id","label","missingRequiredChecks","failingRequiredChecks","skippedRequiredChecks"],"properties":{"id":{"type":"string","enum":["local_seed_prototype","controlled_hiring_launch","production_saas_ready"]},"label":{"type":"string"},"missingRequiredChecks":{"type":"array","items":{"type":"string"}},"failingRequiredChecks":{"type":"array","items":{"type":"string"}},"skippedRequiredChecks":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"DeploymentHandoffLaunchReadinessStage":{"type":"object","required":["id","label","scope","description","ready","requiredChecks","passedRequiredChecks","missingRequiredChecks","failingRequiredChecks","skippedRequiredChecks"],"properties":{"id":{"type":"string","enum":["local_seed_prototype","controlled_hiring_launch","production_saas_ready"]},"label":{"type":"string"},"scope":{"type":"string"},"description":{"type":"string"},"ready":{"type":"boolean"},"requiredChecks":{"type":"array","items":{"type":"string"}},"passedRequiredChecks":{"type":"array","items":{"type":"string"}},"missingRequiredChecks":{"type":"array","items":{"type":"string"}},"failingRequiredChecks":{"type":"array","items":{"type":"string"}},"skippedRequiredChecks":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"DeploymentHandoffLaunchReadinessSummary":{"type":"object","required":["stages","readyStages","highestReadyStage","baseUrlConfigured","databaseSmokeEnabled","workerSmokeEnabled"],"properties":{"stages":{"type":"number"},"readyStages":{"type":"number"},"highestReadyStage":{"type":"string","enum":["not_ready","local_seed_prototype","controlled_hiring_launch","production_saas_ready"]},"baseUrlConfigured":{"type":"boolean"},"databaseSmokeEnabled":{"type":"boolean"},"workerSmokeEnabled":{"type":"boolean"}},"additionalProperties":true},"DeploymentHandoffArtifact":{"type":"object","description":"Candidate-private launch evidence artifact metadata. Commands and env var names are redacted operator guidance; evidence bodies, secrets, access codes, transcripts, local paths, and private source bodies are not included.","required":["id","title","checkId","status","requiredStage","expectedFile","envVars","evidenceFileEnvVars","reportOutputEnvVars","configurationEnvVars","verificationMode","produceCommand","verifyCommand","acceptanceChecks","requiresHostedOrigin","mutates","mutating","bodyCapturedExpected"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"type":{"type":"string"},"checkId":{"type":"string"},"status":{"type":"string"},"ready":{"type":"boolean"},"configured":{"type":"boolean"},"blocksDeployment":{"type":"boolean"},"requiredStage":{"type":"string","enum":["controlled_hiring_launch","production_saas_ready"]},"expectedFile":{"type":"string"},"fileName":{"type":"string"},"envVars":{"type":"array","items":{"type":"string"}},"evidenceFileEnvVars":{"type":"array","description":"Environment variables that point strict preflight at redacted evidence JSON files.","items":{"type":"string"}},"reportOutputEnvVars":{"type":"array","description":"Environment variables that configure a CLI report output path but are not themselves consumed as preflight evidence files.","items":{"type":"string"}},"configurationEnvVars":{"type":"array","description":"Other configuration env vars mentioned by the artifact metadata.","items":{"type":"string"}},"verificationMode":{"type":"string","enum":["preflight_evidence_file","operator_report_plus_preflight_rerun","operator_report","operator_command"]},"command":{"type":"string"},"produceCommand":{"type":"string"},"verifyCommand":{"type":"string"},"acceptanceChecks":{"type":"array","items":{"type":"string"}},"requiresHostedOrigin":{"type":"boolean"},"mutates":{"type":"string"},"mutating":{"type":"boolean"},"bodyCapturedExpected":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"DeploymentHandoffLaunchEvidenceLedger":{"type":"object","description":"Candidate-private launch evidence ledger with stage status, required check ids, evidence artifact metadata, separated env-var roles, redacted commands, and privacy flags.","required":["currentStage","assessmentSource","summary","stages","artifacts","privacy"],"properties":{"currentStage":{"type":"string","enum":["not_ready","local_seed_prototype","controlled_hiring_launch","production_saas_ready"]},"currentStageLabel":{"type":"string"},"assessmentSource":{"type":"string","enum":["preflight.launchReadiness","computed_from_preflight_checks"]},"nextStage":{"type":["string","null"],"enum":["local_seed_prototype","controlled_hiring_launch","production_saas_ready",null]},"nextStageLabel":{"type":["string","null"]},"evidencePolicy":{"type":"string"},"summary":{"$ref":"#/components/schemas/DeploymentHandoffLaunchEvidenceLedgerSummary"},"stages":{"type":"array","items":{"$ref":"#/components/schemas/DeploymentHandoffLaunchEvidenceLedgerStage"}},"artifacts":{"type":"array","items":{"$ref":"#/components/schemas/DeploymentHandoffLedgerArtifact"}},"privacy":{"$ref":"#/components/schemas/DeploymentHandoffLaunchEvidenceLedgerPrivacy"}},"additionalProperties":true},"DeploymentHandoffLaunchEvidenceLedgerSummary":{"type":"object","required":["stages","readyStages","totalArtifacts","readyArtifacts","missingArtifacts","hostedArtifactsMissing","localOrConfiguredArtifactsMissing","blockedRequiredChecks","mutatingArtifacts"],"properties":{"stages":{"type":"number"},"readyStages":{"type":"number"},"totalArtifacts":{"type":"number"},"readyArtifacts":{"type":"number"},"missingArtifacts":{"type":"number"},"hostedArtifactsMissing":{"type":"number"},"localOrConfiguredArtifactsMissing":{"type":"number"},"blockedRequiredChecks":{"type":"number"},"mutatingArtifacts":{"type":"number"}},"additionalProperties":true},"DeploymentHandoffLaunchEvidenceLedgerStage":{"type":"object","required":["id","label","scope","ready","requiredCheckCount","passedRequiredCount","failingRequiredCount","skippedRequiredCount","missingRequiredCount","blockedRequiredCount","blockedChecks"],"properties":{"id":{"type":"string","enum":["local_seed_prototype","controlled_hiring_launch","production_saas_ready"]},"label":{"type":"string"},"scope":{"type":"string"},"ready":{"type":"boolean"},"requiredCheckCount":{"type":"number"},"passedRequiredCount":{"type":"number"},"failingRequiredCount":{"type":"number"},"skippedRequiredCount":{"type":"number"},"missingRequiredCount":{"type":"number"},"blockedRequiredCount":{"type":"number"},"blockedChecks":{"type":"array","items":{"$ref":"#/components/schemas/DeploymentHandoffLaunchEvidenceLedgerBlockedCheck"}}},"additionalProperties":true},"DeploymentHandoffLaunchEvidenceLedgerBlockedCheck":{"type":"object","description":"Required launch-stage check that is failing, skipped, or missing, linked to the relevant operator action and artifact metadata when available.","required":["id","status","blocksDeployment","requiresHostedOrigin"],"properties":{"id":{"type":"string"},"status":{"type":"string","enum":["fail","skip","missing"]},"category":{"type":["string","null"]},"severity":{"type":["string","null"]},"blocksDeployment":{"type":"boolean"},"nextActionId":{"type":["string","null"]},"nextActionTitle":{"type":["string","null"]},"nextActionOwner":{"type":["string","null"]},"artifactId":{"type":["string","null"]},"artifactTitle":{"type":["string","null"]},"requiresHostedOrigin":{"type":"boolean"},"verificationMode":{"type":["string","null"],"enum":["preflight_evidence_file","operator_report_plus_preflight_rerun","operator_report","operator_command",null]}},"additionalProperties":true},"DeploymentHandoffLaunchEvidenceLedgerPrivacy":{"type":"object","required":["candidatePrivate","metadataOnly","secretValuesExposed","hashesExposed","accessCodesExposed","transcriptTextExposed","sourceBodiesExposed","localPathsExposed","outputPolicy"],"properties":{"candidatePrivate":{"type":"boolean","const":true},"metadataOnly":{"type":"boolean","const":true},"secretValuesExposed":{"type":"boolean","const":false},"hashesExposed":{"type":"boolean","const":false},"accessCodesExposed":{"type":"boolean","const":false},"transcriptTextExposed":{"type":"boolean","const":false},"sourceBodiesExposed":{"type":"boolean","const":false},"localPathsExposed":{"type":"boolean","const":false},"outputPolicy":{"type":"string"}},"additionalProperties":true},"DeploymentHandoffLedgerArtifact":{"type":"object","description":"Metadata-only artifact row for launch-stage review; no evidence payloads or secrets are included.","required":["id","title","checkId","status","requiredStage","expectedFile","envVars","evidenceFileEnvVars","reportOutputEnvVars","verificationMode","requiresHostedOrigin","mutates","mutating","bodyCapturedExpected","acceptanceCheckCount"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"checkId":{"type":"string"},"status":{"type":"string"},"ready":{"type":"boolean"},"configured":{"type":"boolean"},"requiredStage":{"type":"string"},"type":{"type":"string"},"expectedFile":{"type":"string"},"envVars":{"type":"array","items":{"type":"string"}},"evidenceFileEnvVars":{"type":"array","items":{"type":"string"}},"reportOutputEnvVars":{"type":"array","items":{"type":"string"}},"configurationEnvVars":{"type":"array","items":{"type":"string"}},"verificationMode":{"type":"string","enum":["preflight_evidence_file","operator_report_plus_preflight_rerun","operator_report","operator_command"]},"nextActionId":{"type":["string","null"]},"owner":{"type":"string"},"priority":{"type":"string"},"requiresHostedOrigin":{"type":"boolean"},"mutates":{"type":"string"},"mutating":{"type":"boolean"},"bodyCapturedExpected":{"type":"boolean"},"acceptanceCheckCount":{"type":"number"},"produceCommand":{"type":"string"},"verifyCommand":{"type":"string"}},"additionalProperties":true},"ObjectStorageReadinessSummary":{"type":"object","required":["status","productionReady","prototypeReady","cloudDriver","filesystemPrototype","objectBackedArtifacts","reviewedObjectBackedArtifacts","seedVerificationOk","smokeEvidenceOk","smokeEvidenceProductionAcceptable"],"properties":{"status":{"type":"string","enum":["production_ready","prototype_ready_needs_cloud_evidence","needs_object_storage_evidence"]},"productionReady":{"type":"boolean"},"prototypeReady":{"type":"boolean"},"cloudDriver":{"type":"boolean"},"filesystemPrototype":{"type":"boolean"},"objectBackedArtifacts":{"type":"number"},"reviewedObjectBackedArtifacts":{"type":"number"},"seedVerificationOk":{"type":"boolean"},"smokeEvidenceOk":{"type":"boolean"},"smokeEvidenceProductionAcceptable":{"type":"boolean"}},"additionalProperties":true},"ObjectStorageReadinessAdapter":{"type":"object","required":["driver","ready","current","productionReady","filesystemPrototype","adapterBoundary"],"properties":{"driver":{"type":"string"},"ready":{"type":"boolean"},"current":{"type":"string"},"persistence":{"type":["string","null"]},"target":{"type":"string"},"publicServing":{"type":"string"},"productionReady":{"type":"boolean"},"filesystemPrototype":{"type":"boolean"},"adapterBoundary":{"type":"string","enum":["object_store"]}},"additionalProperties":true},"ObjectStorageReadinessArtifactSummary":{"type":"object","required":["totalArtifacts","storedObjectArtifactCount","objectBackedArtifactCount","reviewedObjectArtifactCount","privateReviewObjectArtifactCount","seedObjectCandidateCount","visualObjectArtifactCount","reviewedVisualObjectArtifactCount","byKind","byReviewStatus"],"properties":{"totalArtifacts":{"type":"number"},"storedObjectArtifactCount":{"type":"number"},"objectBackedArtifactCount":{"type":"number"},"reviewedObjectArtifactCount":{"type":"number"},"privateReviewObjectArtifactCount":{"type":"number"},"seedObjectCandidateCount":{"type":"number"},"visualObjectArtifactCount":{"type":"number"},"reviewedVisualObjectArtifactCount":{"type":"number"},"byKind":{"type":"object","additionalProperties":{"type":"number"}},"byReviewStatus":{"type":"object","additionalProperties":{"type":"number"}}},"additionalProperties":true},"ObjectStorageReadinessSeedAdapter":{"type":"object","required":["driver","ready","current"],"properties":{"driver":{"type":"string"},"ready":{"type":"boolean"},"current":{"type":"string"}},"additionalProperties":true},"ObjectStorageReadinessPrivacy":{"type":"object","required":["candidatePrivate","requiresWorkspaceSession","metadataOnly","privateObjectLocatorsExposed","privateStorageLocatorsExposed","privateContainerNamesExposed","privateEndpointsExposed","credentialsExposed","payloadsExposed","hashesExposed","localPathsExposed","rawEvidenceBodiesExposed"],"properties":{"candidatePrivate":{"type":"boolean","const":true},"requiresWorkspaceSession":{"type":"boolean","const":true},"metadataOnly":{"type":"boolean","const":true},"privateObjectLocatorsExposed":{"type":"boolean","const":false},"privateStorageLocatorsExposed":{"type":"boolean","const":false},"privateContainerNamesExposed":{"type":"boolean","const":false},"privateEndpointsExposed":{"type":"boolean","const":false},"credentialsExposed":{"type":"boolean","const":false},"payloadsExposed":{"type":"boolean","const":false},"hashesExposed":{"type":"boolean","const":false},"localPathsExposed":{"type":"boolean","const":false},"rawEvidenceBodiesExposed":{"type":"boolean","const":false}},"additionalProperties":true},"ObjectStorageSeedVerification":{"type":"object","required":["available","ok","mode","workspaceSlug","candidateCount","verifiedCount","missingCount","failedCount","statuses","privacy"],"properties":{"available":{"type":"boolean"},"ok":{"type":"boolean"},"mode":{"type":"string"},"workspaceSlug":{"type":"string"},"candidateCount":{"type":"number"},"verifiedCount":{"type":"number"},"missingCount":{"type":"number"},"failedCount":{"type":"number"},"statuses":{"type":"object","additionalProperties":{"type":"number"}},"objectStorage":{"$ref":"#/components/schemas/ObjectStorageReadinessSeedAdapter"},"warnings":{"type":"array","items":{"type":"string"}},"message":{"type":"string"},"code":{"type":"string"},"privacy":{"$ref":"#/components/schemas/ObjectStorageReadinessPrivacy"}},"additionalProperties":true},"ObjectStorageSmokeSummary":{"type":"object","required":["total","passed","failed","skipped"],"properties":{"total":{"type":"number"},"passed":{"type":"number"},"failed":{"type":"number"},"skipped":{"type":"number"}},"additionalProperties":true},"ObjectStorageSmokeAdapter":{"type":"object","required":["driver","ready"],"properties":{"driver":{"type":["string","null"]},"ready":{"type":"boolean"},"persistence":{"type":["string","null"]},"publicServing":{"type":["string","null"]}},"additionalProperties":true},"ObjectStorageSmokeEvidence":{"type":"object","required":["envVar","configured","present","ok","productionAcceptable","status","expectedEvidenceFile","command","alternateCommand","verifyCommand","requiredForProduction","mutates","privacy"],"properties":{"envVar":{"type":"string"},"configured":{"type":"boolean"},"present":{"type":"boolean"},"ok":{"type":"boolean"},"productionAcceptable":{"type":"boolean"},"status":{"type":"string"},"expectedEvidenceFile":{"type":"string"},"command":{"type":"string"},"alternateCommand":{"type":"string"},"verifyCommand":{"type":"string"},"requiredForProduction":{"type":"boolean"},"mutates":{"type":"string"},"driver":{"type":["string","null"]},"objectStorage":{"$ref":"#/components/schemas/ObjectStorageSmokeAdapter"},"summary":{"$ref":"#/components/schemas/ObjectStorageSmokeSummary"},"artifactCount":{"type":"number"},"verifiedArtifactCount":{"type":"number"},"fixtureTypes":{"type":"array","items":{"type":"string"}},"message":{"type":"string"},"privacy":{"$ref":"#/components/schemas/ObjectStorageReadinessPrivacy"}},"additionalProperties":true},"ObjectStorageReadinessNextAction":{"type":"object","required":["id","title","priority","command","mutates","evidence"],"properties":{"id":{"type":"string","enum":["verify_seed_objects","publish_seed_objects_cloud","run_object_storage_smoke"]},"title":{"type":"string"},"priority":{"type":"string","enum":["maintenance","needed","production_blocker"]},"command":{"type":"string"},"alternateCommand":{"type":"string"},"verifyCommand":{"type":"string"},"envVars":{"type":"array","items":{"type":"string"}},"mutates":{"type":"string"},"evidence":{"type":"string","enum":["seedVerification","cloud_object_store","smokeEvidence"]}},"additionalProperties":true},"ObjectStorageReadinessResponse":{"type":"object","required":["workspace","summary","objectStorage","artifacts","seedVerification","smokeEvidence","nextActions","privacy"],"properties":{"workspace":{"$ref":"#/components/schemas/WorkspaceSummary"},"summary":{"$ref":"#/components/schemas/ObjectStorageReadinessSummary"},"objectStorage":{"$ref":"#/components/schemas/ObjectStorageReadinessAdapter"},"artifacts":{"$ref":"#/components/schemas/ObjectStorageReadinessArtifactSummary"},"seedVerification":{"$ref":"#/components/schemas/ObjectStorageSeedVerification"},"smokeEvidence":{"$ref":"#/components/schemas/ObjectStorageSmokeEvidence"},"nextActions":{"type":"array","items":{"$ref":"#/components/schemas/ObjectStorageReadinessNextAction"}},"privacy":{"$ref":"#/components/schemas/ObjectStorageReadinessPrivacy"}},"additionalProperties":true},"BillingStoreStatus":{"type":"object","description":"Billing persistence adapter summary. Provider customer, subscription, webhook event, and Price identifiers remain server-private.","required":["driver","ready","current","adapterBoundary"],"properties":{"driver":{"type":"string"},"ready":{"type":"boolean"},"current":{"type":"string"},"persistence":{"type":["string","null"]},"target":{"type":["string","null"]},"adapterBoundary":{"type":"string"},"identifierPolicy":{"type":"string"}},"additionalProperties":true},"BillingCustomerStatus":{"type":"object","description":"Redacted billing customer posture. External provider customer identifiers and emails are not returned.","required":["configured","provider","status"],"properties":{"configured":{"type":"boolean"},"provider":{"type":"string"},"status":{"type":"string"},"updatedAt":{"type":["string","null"]}},"additionalProperties":true},"BillingSubscriptionStatus":{"type":"object","description":"Redacted subscription and entitlement posture. External subscription and Price identifiers are not returned.","required":["configured","provider","status","entitlementStatus","entitlementActive","publicServingAllowed"],"properties":{"configured":{"type":"boolean"},"provider":{"type":"string"},"status":{"type":"string"},"entitlementStatus":{"type":"string"},"entitlementActive":{"type":"boolean"},"publicServingAllowed":{"type":"boolean"},"currentPeriodEnd":{"type":["string","null"]},"cancelAtPeriodEnd":{"type":"boolean"},"updatedAt":{"type":["string","null"]}},"additionalProperties":true},"BillingEntitlementEnforcement":{"type":"object","required":["mode","enforced","monitoringOnly","publicServingEnforced","allowedEntitlementStatuses","protectedSurfaces","publicServingPausedWhenUnentitled","decisionPolicy"],"properties":{"mode":{"type":"string"},"enforced":{"type":"boolean"},"monitoringOnly":{"type":"boolean"},"publicServingEnforced":{"type":"boolean"},"allowedEntitlementStatuses":{"type":"array","items":{"type":"string"}},"protectedSurfaces":{"type":"array","items":{"type":"string"}},"publicServingPausedWhenUnentitled":{"type":"boolean"},"decisionPolicy":{"type":"string"}},"additionalProperties":true},"BillingPlanLimitConfig":{"type":"object","required":["mode","enabled","enforced","monitoringOnly","defaultPlanKey","planCount","pricePlanMapConfigured","mappedPriceCount","protectedMetrics","outputPolicy"],"properties":{"mode":{"type":"string"},"enabled":{"type":"boolean"},"enforced":{"type":"boolean"},"monitoringOnly":{"type":"boolean"},"defaultPlanKey":{"type":"string"},"planCount":{"type":"number"},"pricePlanMapConfigured":{"type":"boolean"},"mappedPriceCount":{"type":"number"},"protectedMetrics":{"type":"array","items":{"type":"string"}},"outputPolicy":{"type":"string"}},"additionalProperties":true},"BillingPlan":{"type":"object","required":["key","source","configured","limits"],"properties":{"key":{"type":"string"},"source":{"type":"string","enum":["stripe_price_map","subscription_metadata","default_plan"]},"configured":{"type":"boolean"},"limits":{"type":"object","additionalProperties":{"oneOf":[{"type":"number"},{"type":"null"}]}}},"additionalProperties":true},"BillingPlanEntitlement":{"type":"object","required":["configured","status","entitlementStatus","publicServingAllowed"],"properties":{"configured":{"type":"boolean"},"status":{"type":"string"},"entitlementStatus":{"type":"string"},"publicServingAllowed":{"type":"boolean"}},"additionalProperties":true},"BillingPlanUsage":{"type":"object","required":["sources","artifacts","dossierSpaces","activeAccessLinks","interviewPrompts","interviewSessions"],"properties":{"sources":{"type":"number"},"artifacts":{"type":"number"},"dossierSpaces":{"type":"number"},"activeAccessLinks":{"type":"number"},"interviewPrompts":{"type":"number"},"interviewSessions":{"type":"number"}},"additionalProperties":true},"BillingPlanMetric":{"type":"object","required":["key","used","limit","unlimited","remaining","exceeded"],"properties":{"key":{"type":"string"},"used":{"type":"number"},"limit":{"type":["number","null"]},"unlimited":{"type":"boolean"},"remaining":{"type":["number","null"]},"exceeded":{"type":"boolean"}},"additionalProperties":true},"BillingPlanLimitPrivacy":{"type":"object","required":["stripePriceIdsExposed","subscriptionIdsExposed","customerIdsExposed","rawWorkspaceBodiesExposed"],"properties":{"stripePriceIdsExposed":{"type":"boolean","const":false},"subscriptionIdsExposed":{"type":"boolean","const":false},"customerIdsExposed":{"type":"boolean","const":false},"rawWorkspaceBodiesExposed":{"type":"boolean","const":false}},"additionalProperties":true},"BillingPlanLimitsStatus":{"type":"object","required":["config","plan","entitlement","usage","metrics","anyExceeded","privacy"],"properties":{"config":{"$ref":"#/components/schemas/BillingPlanLimitConfig"},"plan":{"$ref":"#/components/schemas/BillingPlan"},"entitlement":{"$ref":"#/components/schemas/BillingPlanEntitlement"},"usage":{"$ref":"#/components/schemas/BillingPlanUsage"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/BillingPlanMetric"}},"anyExceeded":{"type":"boolean"},"privacy":{"$ref":"#/components/schemas/BillingPlanLimitPrivacy"}},"additionalProperties":true},"BillingEndpoints":{"type":"object","required":["status","checkoutSession","customerPortal","stripeWebhook"],"properties":{"status":{"type":"string"},"checkoutSession":{"type":"string"},"customerPortal":{"type":"string"},"stripeWebhook":{"type":"string"}},"additionalProperties":true},"BillingRuntimePrivacy":{"type":"object","required":["candidatePrivate","accountMembershipRequired","workspaceAdminKeyAccepted","publicServingEntitlementEnforced","workspaceWritePlanLimitsEnforced","publicReadinessRedactsProviderIdentifiers","outputPolicy"],"properties":{"candidatePrivate":{"type":"boolean","const":true},"accountMembershipRequired":{"type":"boolean","const":true},"workspaceAdminKeyAccepted":{"type":"boolean","const":false},"publicServingEntitlementEnforced":{"type":"boolean"},"workspaceWritePlanLimitsEnforced":{"type":"boolean"},"publicReadinessRedactsProviderIdentifiers":{"type":"boolean","const":true},"outputPolicy":{"type":"string"}},"additionalProperties":true},"BillingStatus":{"type":"object","required":["provider","configured","mode","checkoutConfigured","customerPortalConfigured","webhookConfigured","store","customer","subscription","entitlementEnforcement","planLimits","endpoints","privacy"],"properties":{"provider":{"type":"string"},"configured":{"type":"boolean"},"mode":{"type":"string","enum":["subscription"]},"checkoutConfigured":{"type":"boolean"},"customerPortalConfigured":{"type":"boolean"},"webhookConfigured":{"type":"boolean"},"apiVersionConfigured":{"type":"boolean"},"store":{"$ref":"#/components/schemas/BillingStoreStatus"},"customer":{"$ref":"#/components/schemas/BillingCustomerStatus"},"subscription":{"$ref":"#/components/schemas/BillingSubscriptionStatus"},"entitlementEnforcement":{"$ref":"#/components/schemas/BillingEntitlementEnforcement"},"planLimits":{"$ref":"#/components/schemas/BillingPlanLimitsStatus"},"endpoints":{"$ref":"#/components/schemas/BillingEndpoints"},"privacy":{"$ref":"#/components/schemas/BillingRuntimePrivacy"}},"additionalProperties":true},"BillingStatusResponse":{"type":"object","required":["workspace","billing"],"properties":{"workspace":{"$ref":"#/components/schemas/WorkspaceSummary"},"billing":{"$ref":"#/components/schemas/BillingStatus"}},"additionalProperties":true},"BillingCheckoutSessionRequest":{"type":"object","properties":{"successPath":{"type":"string","description":"Optional same-origin path for Stripe Checkout success redirect."},"successUrl":{"type":"string","description":"Optional same-origin URL for Stripe Checkout success redirect."},"cancelPath":{"type":"string","description":"Optional same-origin path for Stripe Checkout cancellation redirect."},"cancelUrl":{"type":"string","description":"Optional same-origin URL for Stripe Checkout cancellation redirect."}},"additionalProperties":false},"BillingCheckoutSessionResponse":{"type":"object","required":["workspace","billing","checkoutSession","privacy"],"properties":{"workspace":{"$ref":"#/components/schemas/WorkspaceSummary"},"billing":{"$ref":"#/components/schemas/BillingStatus"},"checkoutSession":{"$ref":"#/components/schemas/BillingCheckoutSession"},"privacy":{"$ref":"#/components/schemas/BillingRuntimePrivacy"}},"additionalProperties":true},"BillingCheckoutSession":{"type":"object","description":"Short-lived Stripe-hosted Checkout redirect returned only to an authenticated account member. Internal Stripe session ids and Price ids are not returned.","required":["provider","mode","url"],"properties":{"provider":{"type":"string"},"mode":{"type":"string"},"url":{"type":["string","null"]},"expiresAt":{"type":["string","null"]},"livemode":{"type":"boolean"}},"additionalProperties":true},"BillingPortalSessionRequest":{"type":"object","properties":{"returnPath":{"type":"string","description":"Optional same-origin path for the Stripe customer portal return redirect."},"returnUrl":{"type":"string","description":"Optional same-origin URL for the Stripe customer portal return redirect."}},"additionalProperties":false},"BillingPortalSessionResponse":{"type":"object","required":["workspace","billing","portalSession","privacy"],"properties":{"workspace":{"$ref":"#/components/schemas/WorkspaceSummary"},"billing":{"$ref":"#/components/schemas/BillingStatus"},"portalSession":{"$ref":"#/components/schemas/BillingPortalSession"},"privacy":{"$ref":"#/components/schemas/BillingRuntimePrivacy"}},"additionalProperties":true},"BillingPortalSession":{"type":"object","description":"Short-lived Stripe-hosted customer portal redirect returned only to an authenticated account member. Internal Stripe portal session and customer ids are not returned.","required":["provider","url"],"properties":{"provider":{"type":"string"},"url":{"type":["string","null"]},"livemode":{"type":"boolean"}},"additionalProperties":true},"BillingWebhookResponse":{"type":"object","required":["received","duplicate","eventType","workspaceSlug","customerUpdated","subscriptionUpdated"],"properties":{"received":{"type":"boolean"},"duplicate":{"type":"boolean"},"eventType":{"type":"string"},"workspaceSlug":{"type":["string","null"]},"customerUpdated":{"type":"boolean"},"subscriptionUpdated":{"type":"boolean"}},"additionalProperties":true},"WorkspaceListProduct":{"type":"object","required":["name","candidateFacingName","storage"],"properties":{"name":{"type":"string"},"candidateFacingName":{"type":"string"},"storage":{"type":"string"}},"additionalProperties":true},"WorkspaceBrand":{"type":"object","properties":{"platformName":{"type":"string"},"candidateFacingName":{"type":"string"},"category":{"type":"string"}},"additionalProperties":true},"WorkspaceProfileLink":{"type":"object","required":["label","url","type"],"properties":{"label":{"type":"string"},"url":{"type":"string"},"type":{"type":"string"}},"additionalProperties":true},"WorkspaceOwnerProfile":{"type":"object","description":"Hiring-facing candidate profile fields. These may appear in public dossier summaries and agent packages; private evidence, credentials, and trade-secret details are not accepted by the profile API.","required":["name","headline","location","currentRoles","positioning","publicSummary","links","updatedAt","disclosure"],"properties":{"name":{"type":"string"},"headline":{"type":"string"},"location":{"type":"string"},"currentRoles":{"type":"array","items":{"type":"string"}},"positioning":{"type":"string"},"publicSummary":{"type":"string"},"links":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceProfileLink"}},"updatedAt":{"type":["string","null"]},"disclosure":{"type":"string"}},"additionalProperties":true},"WorkspaceVisibilityPolicy":{"type":"object","description":"Workspace publication boundary. Public and agent-readable reads should only surface evidence with reviewed hiring-safe visibility.","properties":{"defaultWorkspaceVisibility":{"type":"string"},"publishedAgentAllowed":{"type":"array","items":{"type":"string"}},"blocked":{"type":"array","items":{"type":"string"}},"principle":{"type":"string"}},"additionalProperties":true},"WorkspaceStats":{"type":"object","required":["sources","artifacts","projects","approvedClaims","draftClaims","openInterviewPrompts","openInterviewSessions","dossierSpaces","accessLinks"],"properties":{"sources":{"type":"number"},"artifacts":{"type":"number"},"projects":{"type":"number"},"approvedClaims":{"type":"number"},"draftClaims":{"type":"number"},"openInterviewPrompts":{"type":"number"},"openInterviewSessions":{"type":"number"},"dossierSpaces":{"type":"number"},"accessLinks":{"type":"number"}},"additionalProperties":true},"WorkspaceMemoryPolicy":{"type":"object","description":"Workspace retrieval policy summary. Public memory search still filters to reviewed public-safe evidence before returning snippets.","properties":{"currentRetrieval":{"type":"string"},"plannedRetrieval":{"type":"string"},"embeddingStatus":{"type":"string"},"retrievalRules":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"WorkspaceSummary":{"type":"object","description":"Tenant-aware workspace summary used by public reads and candidate-private routes. Counts and memory policy reflect the caller's visibility boundary.","required":["slug","tenantSlug","tenantQualifiedUrl","brand","owner","visibilityPolicy","updatedAt","stats","memory"],"properties":{"slug":{"type":"string"},"tenantSlug":{"type":"string"},"tenantQualifiedUrl":{"type":"string"},"brand":{"$ref":"#/components/schemas/WorkspaceBrand"},"owner":{"$ref":"#/components/schemas/WorkspaceOwnerProfile"},"visibilityPolicy":{"$ref":"#/components/schemas/WorkspaceVisibilityPolicy"},"updatedAt":{"type":["string","null"]},"stats":{"$ref":"#/components/schemas/WorkspaceStats"},"memory":{"$ref":"#/components/schemas/WorkspaceMemoryPolicy"}},"additionalProperties":true},"WorkspaceSource":{"type":"object","required":["id","type","label","status","visibility"],"properties":{"id":{"type":"string"},"type":{"type":"string"},"label":{"type":"string"},"url":{"type":"string"},"status":{"type":"string"},"visibility":{"type":"string"},"syncMode":{"type":"string"},"lastSyncedAt":{"type":"string"},"extractedSignals":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"WorkspaceArtifact":{"type":"object","description":"Workspace artifact record after public/candidate redaction. Public reads omit private extraction text, object keys, storage paths, credentials, and raw review internals.","required":["id","label","status","visibility","hasStoredFile"],"properties":{"id":{"type":"string"},"sourceId":{"type":"string"},"label":{"type":"string"},"kind":{"type":"string"},"status":{"type":"string"},"visibility":{"type":"string"},"summary":{"type":"string"},"fileName":{"type":"string"},"mimeType":{"type":"string"},"byteLength":{"type":"number"},"visualDescription":{"type":"string"},"visualAltText":{"type":"string"},"hasStoredFile":{"type":"boolean"},"assetAccess":{"type":"object","additionalProperties":true},"extraction":{"type":"object","additionalProperties":true}},"additionalProperties":true},"WorkspaceProject":{"type":"object","required":["id","name","status","visibility","summary"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"targetAudience":{"type":"string"},"role":{"type":"string"},"summary":{"type":"string"},"status":{"type":"string"},"visibility":{"type":"string"},"signals":{"type":"array","items":{"type":"string"}},"evidenceIds":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"WorkspaceClaim":{"type":"object","required":["id","text","status","visibility","evidenceIds"],"properties":{"id":{"type":"string"},"text":{"type":"string"},"category":{"type":"string"},"status":{"type":"string"},"visibility":{"type":"string"},"confidence":{"type":"string"},"evidenceIds":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"WorkspaceInterviewAnswer":{"type":"object","description":"Candidate interview answer record after the public/private visibility filter. Public reads only include reviewed publishable answer summaries.","properties":{"id":{"type":"string"},"promptId":{"type":"string"},"prompt":{"type":"string"},"answer":{"type":"string"},"answerSummary":{"type":"string"},"status":{"type":"string"},"visibility":{"type":"string"},"evidenceIds":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"WorkspaceDossierSpaceRecord":{"type":"object","required":["slug","label","target","status","visibility","focus","accessModel","evidenceIds","suggestedQuestions"],"properties":{"slug":{"type":"string"},"label":{"type":"string"},"target":{"type":"string"},"status":{"type":"string"},"visibility":{"type":"string"},"focus":{"type":"array","items":{"type":"string"}},"accessModel":{"type":"string"},"evidenceIds":{"type":"array","items":{"type":"string"}},"suggestedQuestions":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"WorkspaceAccessLink":{"type":"object","description":"Redacted candidate-private access-link metadata. HMAC hashes are never returned; raw access codes and resume bearer URLs appear only in explicit one-time issuance responses.","required":["id","workspaceSlug","spaceSlug","status","codePrefix","maxUses","uses","remainingUses"],"properties":{"id":{"type":"string"},"workspaceSlug":{"type":"string"},"spaceSlug":{"type":"string"},"spaceLabel":{"type":"string"},"sourceLabel":{"type":"string"},"recipientLabel":{"type":"string"},"status":{"type":"string"},"codePrefix":{"type":"string"},"createdAt":{"type":["string","null"]},"updatedAt":{"type":["string","null"]},"expiresAt":{"type":["string","null"]},"maxUses":{"type":["number","null"]},"uses":{"type":"number"},"remainingUses":{"type":["number","null"]},"lastUsedAt":{"type":["string","null"]}},"additionalProperties":true},"WorkspaceList":{"type":"object","required":["product","workspaces"],"properties":{"product":{"$ref":"#/components/schemas/WorkspaceListProduct"},"workspaces":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceSummary"}}},"additionalProperties":true},"WorkspaceRecord":{"type":"object","description":"Workspace record with public-safe evidence by default and candidate-private fields only when view=admin is authorized. Public reads filter out private review material before this shape is returned.","required":["slug","tenantSlug","tenantQualifiedUrl","brand","owner","visibilityPolicy","updatedAt","stats","memory","view","sources","artifacts","projects","claims","interviewPrompts","interviewSessions","interviewAnswers","dossierSpaces"],"properties":{"slug":{"type":"string"},"tenantSlug":{"type":"string"},"tenantQualifiedUrl":{"type":"string"},"brand":{"$ref":"#/components/schemas/WorkspaceBrand"},"owner":{"$ref":"#/components/schemas/WorkspaceOwnerProfile"},"visibilityPolicy":{"$ref":"#/components/schemas/WorkspaceVisibilityPolicy"},"updatedAt":{"type":["string","null"]},"stats":{"$ref":"#/components/schemas/WorkspaceStats"},"memory":{"$ref":"#/components/schemas/WorkspaceMemoryPolicy"},"view":{"type":"string","enum":["published_safe","admin"]},"sources":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceSource"}},"artifacts":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceArtifact"}},"projects":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceProject"}},"claims":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceClaim"}},"interviewPrompts":{"type":"array","items":{"type":"object","additionalProperties":true}},"interviewSessions":{"type":"array","items":{"type":"object","additionalProperties":true}},"interviewAnswers":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceInterviewAnswer"}},"dossierSpaces":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceDossierSpaceRecord"}},"dossierCoverage":{"$ref":"#/components/schemas/DossierCoverageResponse"},"accessLinks":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceAccessLink"}}},"additionalProperties":true},"QueryEmbeddingMetadata":{"type":"object","required":["provider","model","dimensions"],"properties":{"provider":{"type":"string"},"model":{"type":"string"},"dimensions":{"type":"number"}},"additionalProperties":true},"WorkspaceEvidenceSearchResult":{"type":"object","description":"Public-safe or candidate-authorized workspace evidence search row. Public reads filter to reviewed publishable visibility before this shape is returned.","required":["type","id","label","visibility","status","summary","score","spaceMatched","item"],"properties":{"type":{"type":"string","enum":["source","artifact","project","claim","interview_answer"]},"id":{"type":"string"},"label":{"type":"string"},"visibility":{"type":"string"},"status":{"type":"string"},"summary":{"type":"string"},"score":{"type":"number"},"spaceMatched":{"type":"boolean"},"item":{"type":"object","description":"Reviewed source/project/claim/artifact/interview-answer detail. Public responses omit storage paths, object keys, extracted private text, raw private answers, hashes, access codes, and credentials.","additionalProperties":true}},"additionalProperties":true},"WorkspaceMemorySearchResult":{"type":"object","description":"Workspace memory retrieval row with a public-safe snippet and provenance. Memory document bodies, vectors, body hashes, storage paths, and credentials are omitted.","required":["id","type","sourceId","label","visibility","status","publishable","snippet","evidenceIds","tokenCount","provenance","score","spaceMatched"],"properties":{"id":{"type":"string"},"type":{"type":"string"},"sourceId":{"type":"string"},"label":{"type":"string"},"visibility":{"type":"string"},"status":{"type":"string"},"publishable":{"type":"boolean"},"snippet":{"type":"string"},"evidenceIds":{"type":"array","items":{"type":"string"}},"tokenCount":{"type":"number"},"provenance":{"$ref":"#/components/schemas/DossierEvidenceProvenance"},"score":{"type":"number"},"spaceMatched":{"type":"boolean"}},"additionalProperties":true},"SearchResponse":{"type":"object","required":["workspace","query","retrievalMode","publishedOnly","space","results"],"properties":{"workspace":{"$ref":"#/components/schemas/WorkspaceSummary"},"query":{"type":"string"},"retrievalMode":{"type":"string"},"publishedOnly":{"type":"boolean"},"space":{"oneOf":[{"$ref":"#/components/schemas/DossierPackageSpace"},{"type":"null"}]},"results":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceEvidenceSearchResult"}}},"additionalProperties":true},"MemorySearchResponse":{"type":"object","required":["workspace","query","retrievalMode","indexedAt","queryEmbedding","publishedOnly","space","results"],"properties":{"workspace":{"$ref":"#/components/schemas/WorkspaceSummary"},"query":{"type":"string"},"retrievalMode":{"type":"string"},"indexedAt":{"type":["string","null"]},"queryEmbedding":{"oneOf":[{"$ref":"#/components/schemas/QueryEmbeddingMetadata"},{"type":"null"}]},"publishedOnly":{"type":"boolean"},"space":{"oneOf":[{"$ref":"#/components/schemas/DossierPackageSpace"},{"type":"null"}]},"results":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceMemorySearchResult"}}},"additionalProperties":true},"DossierSpaceResponse":{"type":"object","required":["workspace","space","evidence","searchUrl"],"properties":{"workspace":{"$ref":"#/components/schemas/WorkspaceSummary"},"space":{"$ref":"#/components/schemas/DossierPackageSpace"},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceEvidenceSearchResult"}},"searchUrl":{"type":"string"}},"additionalProperties":true},"DossierCoverageRequirement":{"type":"object","required":["type","label","min"],"properties":{"type":{"type":"string"},"label":{"type":"string"},"min":{"type":"number"},"selected":{"type":"number"},"publishable":{"type":"number"},"missing":{"type":"number"},"status":{"type":"string","enum":["covered","missing"]},"action":{"type":"string"}},"additionalProperties":true},"DossierCoverageEvidence":{"type":"object","description":"Candidate-private coverage evidence row. Private selected evidence is represented by status/visibility and a safe summary, not raw evidence bodies, object keys, storage paths, access codes, or credentials.","required":["type","id","label","status","visibility","publishable","summary"],"properties":{"type":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"status":{"type":"string"},"visibility":{"type":"string"},"publishable":{"type":"boolean"},"summary":{"type":"string"}},"additionalProperties":true},"DossierCoverageCountMap":{"type":"object","description":"Counts keyed by public-safe evidence type.","additionalProperties":{"type":"number"}},"DossierCoverageSelectedEvidence":{"type":"object","required":["total","publishable","privateOrReview","byType","publishableByType"],"properties":{"total":{"type":"number"},"publishable":{"type":"number"},"privateOrReview":{"type":"number"},"byType":{"$ref":"#/components/schemas/DossierCoverageCountMap"},"publishableByType":{"$ref":"#/components/schemas/DossierCoverageCountMap"}},"additionalProperties":true},"DossierCoverageWarning":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["space_not_published","selected_private_evidence","unknown_evidence_ids"]},"message":{"type":"string"}},"additionalProperties":true},"DossierCoverageSpace":{"type":"object","required":["space","publishableSpace","readiness","readinessScore","selectedEvidence","requirements","gaps","warnings","nextActions","evidence","unmatchedEvidenceIds"],"properties":{"space":{"$ref":"#/components/schemas/DossierPackageSpace"},"publishableSpace":{"type":"boolean"},"readiness":{"type":"string","enum":["ready","needs_attention","empty"]},"readinessScore":{"type":"number"},"selectedEvidence":{"$ref":"#/components/schemas/DossierCoverageSelectedEvidence"},"requirements":{"type":"array","items":{"$ref":"#/components/schemas/DossierCoverageRequirement"}},"gaps":{"type":"array","items":{"$ref":"#/components/schemas/DossierCoverageRequirement"}},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/DossierCoverageWarning"}},"nextActions":{"type":"array","items":{"type":"string"}},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/DossierCoverageEvidence"}},"unmatchedEvidenceIds":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"DossierCoverageModel":{"type":"object","required":["version","scoring","requirements"],"properties":{"version":{"type":"number"},"scoring":{"type":"string"},"requirements":{"type":"array","items":{"$ref":"#/components/schemas/DossierCoverageRequirement"}}},"additionalProperties":true},"DossierCoverageSummary":{"type":"object","required":["spaces","ready","needsAttention","empty","routedEvidence","unroutedEvidence","availableEvidence","availablePublishableEvidence","availableByType","publishableByType"],"properties":{"spaces":{"type":"number"},"ready":{"type":"number"},"needsAttention":{"type":"number"},"empty":{"type":"number"},"routedEvidence":{"type":"number"},"unroutedEvidence":{"type":"number"},"availableEvidence":{"type":"number"},"availablePublishableEvidence":{"type":"number"},"availableByType":{"$ref":"#/components/schemas/DossierCoverageCountMap"},"publishableByType":{"$ref":"#/components/schemas/DossierCoverageCountMap"}},"additionalProperties":true},"DossierCoverageUnrouted":{"type":"object","required":["total","publishable","byType"],"properties":{"total":{"type":"number"},"publishable":{"type":"number"},"byType":{"$ref":"#/components/schemas/DossierCoverageCountMap"}},"additionalProperties":true},"DossierCoveragePrivacy":{"type":"object","required":["candidatePrivate","requiresWorkspaceSession","rawEvidenceBodiesExposed","privateObjectLocatorsExposed","privateStorageLocatorsExposed","accessCodesExposed","localPathsExposed","publicServingRequiresCandidateReview"],"properties":{"candidatePrivate":{"type":"boolean","const":true},"requiresWorkspaceSession":{"type":"boolean","const":true},"rawEvidenceBodiesExposed":{"type":"boolean","const":false},"privateObjectLocatorsExposed":{"type":"boolean","const":false},"privateStorageLocatorsExposed":{"type":"boolean","const":false},"accessCodesExposed":{"type":"boolean","const":false},"localPathsExposed":{"type":"boolean","const":false},"publicServingRequiresCandidateReview":{"type":"boolean","const":true}},"additionalProperties":true},"DossierCoverageResponse":{"type":"object","description":"Candidate-private role-space coverage dashboard. It reports public-ready evidence gaps and next actions while omitting raw evidence bodies, object keys, storage paths, access codes, local paths, and credentials.","required":["workspace","generatedAt","coverageModel","summary","spaces","unrouted","privacy"],"properties":{"workspace":{"$ref":"#/components/schemas/WorkspaceSummary"},"generatedAt":{"type":"string"},"coverageModel":{"$ref":"#/components/schemas/DossierCoverageModel"},"summary":{"$ref":"#/components/schemas/DossierCoverageSummary"},"spaces":{"type":"array","items":{"$ref":"#/components/schemas/DossierCoverageSpace"}},"unrouted":{"$ref":"#/components/schemas/DossierCoverageUnrouted"},"privacy":{"$ref":"#/components/schemas/DossierCoveragePrivacy"}},"additionalProperties":true},"DossierPackageCandidate":{"type":"object","required":["name","currentRoles","headline","location"],"properties":{"name":{"type":"string"},"currentRoles":{"type":"array","items":{"type":"string"}},"headline":{"type":"string"},"location":{"type":"string"}},"additionalProperties":true},"DossierPackageSpace":{"type":"object","required":["slug","label","target","status","visibility","focus","accessModel","evidenceIds","suggestedQuestions","agentReadable"],"properties":{"slug":{"type":"string"},"label":{"type":"string"},"target":{"type":"string"},"status":{"type":"string"},"visibility":{"type":"string"},"focus":{"type":"array","items":{"type":"string"}},"accessModel":{"type":"string"},"evidenceIds":{"type":"array","items":{"type":"string"}},"suggestedQuestions":{"type":"array","items":{"type":"string"}},"agentReadable":{"type":"object","required":["tenantQualifiedContext","context","tenantQualifiedPackage","package","tenantQualifiedPackageMarkdown","packageMarkdown","tenantQualifiedSearch","search","tenantQualifiedMemorySearch","memorySearch"],"properties":{"tenantQualifiedContext":{"type":"string"},"context":{"type":"string"},"tenantQualifiedPackage":{"type":"string"},"package":{"type":"string"},"tenantQualifiedPackageMarkdown":{"type":"string"},"packageMarkdown":{"type":"string"},"tenantQualifiedSearch":{"type":"string"},"search":{"type":"string"},"tenantQualifiedMemorySearch":{"type":"string"},"memorySearch":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"DossierPackageBoundaries":{"type":"object","description":"Public-safe package boundary. Private review records, raw transcripts, credential material, local paths, storage keys, and implementation internals are intentionally excluded.","required":["publicAgentsSee","privateMaterialExcluded","blocked","transcriptStorageDefault","transcriptStorage","disclosure"],"properties":{"publicAgentsSee":{"type":"string"},"privateMaterialExcluded":{"type":"boolean"},"blocked":{"type":"array","items":{"type":"string"}},"transcriptStorageDefault":{"type":"string"},"transcriptStorage":{"$ref":"#/components/schemas/DossierTranscriptStoragePolicy"},"disclosure":{"type":"string"}},"additionalProperties":true},"DossierTranscriptStoragePolicy":{"type":"object","required":["rawTranscriptStorageEnabled","visitorConsentRequired","default","consentField","retentionDays","transcriptPersistence"],"properties":{"rawTranscriptStorageEnabled":{"type":"boolean"},"visitorConsentRequired":{"type":"boolean"},"default":{"type":"string"},"consentField":{"type":"string"},"retentionDays":{"type":["number","null"]},"transcriptPersistence":{"type":["string","null"]}},"additionalProperties":true},"DossierPackageQueryContract":{"type":"object","required":["liveQueryUrl","tenantQualifiedDossierPackageUrl","tenantQualifiedDossierPackageMarkdownUrl","accessRequired","accessMethod","requestShape","responseShape","guardrails","recommendedPromptPrefix"],"properties":{"liveQueryUrl":{"type":"string"},"tenantQualifiedDossierPackageUrl":{"type":"string"},"tenantQualifiedDossierPackageMarkdownUrl":{"type":"string"},"accessRequired":{"type":"boolean"},"accessMethod":{"type":"string"},"requestShape":{"type":"object","required":["method","contentType","body"],"properties":{"method":{"type":"string"},"contentType":{"type":"string"},"body":{"type":"object","properties":{"accessCode":{"type":"string"},"message":{"type":"string"},"history":{"type":"string"},"sourceHint":{"type":"string"},"transcriptConsent":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"responseShape":{"type":"object","properties":{"mode":{"type":"string"},"answer":{"type":"string"},"sources":{"type":"string"},"model":{"type":"string"},"transcriptStored":{"type":"string"},"transcriptStorage":{"$ref":"#/components/schemas/DossierTranscriptStoragePolicy"}},"additionalProperties":true},"guardrails":{"type":"object","required":["promptInjection"],"properties":{"promptInjection":{"type":"object","required":["currentMessage","priorHistory","analyticsStatus","rawAttemptStored"],"properties":{"currentMessage":{"type":"string","const":"blocked_before_model_invocation"},"priorHistory":{"type":"string"},"analyticsStatus":{"type":"string"},"rawAttemptStored":{"type":"boolean"}},"additionalProperties":true}},"additionalProperties":true},"recommendedPromptPrefix":{"type":"string"}},"additionalProperties":true},"DossierPackageEndpoints":{"type":"object","required":["humanResume","manifest","platformReadiness","tenantQualifiedDossier","dossier","tenantQualifiedPackage","package","tenantQualifiedPackageMarkdown","packageMarkdown","agentContext","tenantQualifiedWorkspaceSearch","workspaceSearch","tenantQualifiedMemorySearch","memorySearch","tenantQualifiedArtifactFile","artifactFile","liveQuery"],"properties":{"humanResume":{"type":"string"},"manifest":{"type":"string"},"platformReadiness":{"type":"string"},"tenantQualifiedDossier":{"type":"string"},"dossier":{"type":"string"},"tenantQualifiedPackage":{"type":"string"},"package":{"type":"string"},"tenantQualifiedPackageMarkdown":{"type":"string"},"packageMarkdown":{"type":"string"},"agentContext":{"type":"string"},"tenantQualifiedWorkspaceSearch":{"type":"string"},"workspaceSearch":{"type":"string"},"tenantQualifiedMemorySearch":{"type":"string"},"memorySearch":{"type":"string"},"tenantQualifiedArtifactFile":{"type":"string"},"artifactFile":{"type":"string"},"liveQuery":{"type":"string"}},"additionalProperties":true},"DossierPackageRetrieval":{"type":"object","required":["query","publishedOnly","visibilityRule","mode","indexedAt","workspaceUpdatedAt","queryEmbedding"],"properties":{"query":{"type":"string"},"publishedOnly":{"type":"boolean"},"visibilityRule":{"type":"string"},"mode":{"type":"string"},"indexedAt":{"type":["string","null"]},"workspaceUpdatedAt":{"type":["string","null"]},"queryEmbedding":{"oneOf":[{"$ref":"#/components/schemas/QueryEmbeddingMetadata"},{"type":"null"}]}},"additionalProperties":true},"DossierPackageEvidenceSummary":{"type":"object","required":["total","byType","selectedEvidenceIds","privateMaterialExcluded"],"properties":{"total":{"type":"number"},"byType":{"type":"object","additionalProperties":{"type":"number"}},"selectedEvidenceIds":{"type":"number"},"privateMaterialExcluded":{"type":"boolean"}},"additionalProperties":true},"DossierReviewGuideCitationItem":{"type":"object","required":["citationIds"],"properties":{"signal":{"type":"string"},"reason":{"type":"string"},"relatedFocus":{"type":"array","items":{"type":"string"}},"claim":{"type":"string"},"category":{"type":"string"},"confidence":{"type":"string"},"example":{"type":"string"},"whyItMatters":{"type":"string"},"risk":{"type":"string"},"question":{"type":"string"},"purpose":{"type":"string"},"citationIds":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"DossierPackageReviewGuide":{"type":"object","required":["stance","generatedFrom","roleTarget","howToUse","strongestSignals","evidenceBackedClaims","examplesToDiscuss","unknownsAndRisks","interviewProbes","boundaryReminder"],"properties":{"stance":{"type":"string","const":"honest_fair_evidence_first"},"generatedFrom":{"type":"string"},"roleTarget":{"type":"string"},"howToUse":{"type":"array","items":{"type":"string"}},"strongestSignals":{"type":"array","items":{"$ref":"#/components/schemas/DossierReviewGuideCitationItem"}},"evidenceBackedClaims":{"type":"array","items":{"$ref":"#/components/schemas/DossierReviewGuideCitationItem"}},"examplesToDiscuss":{"type":"array","items":{"$ref":"#/components/schemas/DossierReviewGuideCitationItem"}},"unknownsAndRisks":{"type":"array","items":{"$ref":"#/components/schemas/DossierReviewGuideCitationItem"}},"interviewProbes":{"type":"array","items":{"$ref":"#/components/schemas/DossierReviewGuideCitationItem"}},"boundaryReminder":{"type":"object","required":["privateMaterialExcluded","doNotAskFor"],"properties":{"privateMaterialExcluded":{"type":"boolean"},"doNotAskFor":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}},"additionalProperties":true},"DossierEvidenceProvenance":{"type":"object","required":["workspaceSlug","sourceType","sourceId"],"properties":{"workspaceSlug":{"type":"string"},"sourceType":{"type":"string"},"sourceId":{"type":"string"}},"additionalProperties":true},"DossierEvidenceCitationItem":{"type":"object","description":"Public-safe summarized item details. Shape varies by evidence type, and never includes raw private bodies, source code, object keys, access codes, or local storage paths.","properties":{"text":{"type":"string"},"category":{"type":"string"},"confidence":{"type":"string"},"name":{"type":"string"},"targetAudience":{"type":"string"},"role":{"type":"string"},"kind":{"type":"string"},"summary":{"type":"string"},"visualDescription":{"type":"string"},"visualAltText":{"type":"string"},"mimeType":{"type":["string","null"]},"hasStoredFile":{"type":"boolean"},"href":{"type":["string","null"]},"assetAccess":{"type":"object","properties":{"policy":{"type":"string"},"publicUrl":{"type":["string","null"]}},"additionalProperties":true},"type":{"type":"string"},"label":{"type":"string"},"url":{"type":["string","null"]},"syncMode":{"type":["string","null"]},"extractedSignals":{"type":"array","items":{"type":"string"}},"lastSyncedAt":{"type":["string","null"]},"prompt":{"type":"string"},"answerSummary":{"type":"string"},"evidenceIds":{"type":"array","items":{"type":"string"}},"signals":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"DossierEvidenceCitation":{"type":"object","description":"Reviewed public-safe evidence citation row for recruiting agents and ATS workflows.","required":["citationId","type","id","label","visibility","status","publishable","spaceMatched","score","summary","evidenceIds","item","provenance"],"properties":{"citationId":{"type":"string","description":"Stable citation id formatted as <evidenceType>:<sourceId>."},"type":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"visibility":{"type":"string","enum":["published","public_safe","generalized"]},"status":{"type":"string"},"publishable":{"type":"boolean"},"spaceMatched":{"type":"boolean"},"score":{"type":"number"},"summary":{"type":"string"},"evidenceIds":{"type":"array","items":{"type":"string"}},"item":{"$ref":"#/components/schemas/DossierEvidenceCitationItem"},"provenance":{"$ref":"#/components/schemas/DossierEvidenceProvenance"}},"additionalProperties":true},"DossierMemoryEvidence":{"type":"object","description":"Public-safe memory retrieval snippet with its own citation id. Private sources are filtered before this package is assembled.","required":["citationId","type","sourceId","label","visibility","status","publishable","snippet","evidenceIds","spaceMatched","provenance"],"properties":{"citationId":{"type":"string","description":"Stable memory citation id formatted as memory:<type>:<sourceId>."},"type":{"type":"string"},"sourceId":{"type":"string"},"label":{"type":"string"},"visibility":{"type":"string","enum":["published","public_safe","generalized"]},"status":{"type":"string"},"publishable":{"type":"boolean"},"snippet":{"type":"string"},"evidenceIds":{"type":"array","items":{"type":"string"}},"tokenCount":{"type":"number"},"spaceMatched":{"type":"boolean"},"provenance":{"oneOf":[{"$ref":"#/components/schemas/DossierEvidenceProvenance"},{"type":"null"}]}},"additionalProperties":true},"DossierCitationRules":{"type":"object","required":["preferredFormat","evidenceLimit","privateMaterialExcluded"],"properties":{"preferredFormat":{"type":"string"},"evidenceLimit":{"type":"number"},"privateMaterialExcluded":{"type":"boolean"}},"additionalProperties":true},"DossierAgentPackage":{"type":"object","required":["schema","schemaVersion","packageType","generatedAt","audience","workspace","candidate","space","agentInstructions","boundaries","queryContract","endpoints","retrieval","evidenceSummary","reviewGuide","suggestedQuestions","evidence","memoryEvidence","citationRules"],"properties":{"schema":{"type":"string"},"schemaVersion":{"type":"number","const":1},"packageType":{"const":"public_safe_role_dossier"},"generatedAt":{"type":"string"},"audience":{"type":"array","items":{"type":"string"}},"workspace":{"$ref":"#/components/schemas/WorkspaceSummary"},"candidate":{"$ref":"#/components/schemas/DossierPackageCandidate"},"space":{"$ref":"#/components/schemas/DossierPackageSpace"},"agentInstructions":{"type":"array","items":{"type":"string"}},"boundaries":{"$ref":"#/components/schemas/DossierPackageBoundaries"},"queryContract":{"$ref":"#/components/schemas/DossierPackageQueryContract"},"endpoints":{"$ref":"#/components/schemas/DossierPackageEndpoints"},"retrieval":{"$ref":"#/components/schemas/DossierPackageRetrieval"},"evidenceSummary":{"$ref":"#/components/schemas/DossierPackageEvidenceSummary"},"reviewGuide":{"$ref":"#/components/schemas/DossierPackageReviewGuide"},"suggestedQuestions":{"type":"array","items":{"type":"string"}},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/DossierEvidenceCitation"}},"memoryEvidence":{"type":"array","items":{"$ref":"#/components/schemas/DossierMemoryEvidence"}},"citationRules":{"$ref":"#/components/schemas/DossierCitationRules"}},"additionalProperties":true},"AgentContextCandidate":{"type":"object","required":["name","currentRoles"],"properties":{"name":{"type":"string"},"currentRoles":{"type":"array","items":{"type":"string"}},"positioning":{"type":"string"}},"additionalProperties":true},"AgentContextSpace":{"type":"object","required":["slug","label","target","focus","suggestedQuestions","agentReadable"],"properties":{"slug":{"type":"string"},"label":{"type":"string"},"target":{"type":"string"},"focus":{"type":"array","items":{"type":"string"}},"resumeInstruction":{"type":"string"},"suggestedQuestions":{"type":"array","items":{"type":"string"}},"agentReadable":{"type":"object","required":["manifest","context","tenantQualifiedWorkspaceDossier","workspaceDossier","tenantQualifiedDossierPackage","dossierPackage","tenantQualifiedDossierPackageMarkdown","dossierPackageMarkdown","tenantQualifiedWorkspaceSearch","workspaceSearch","tenantQualifiedMemorySearch","memorySearch","query"],"properties":{"manifest":{"type":"string"},"context":{"type":"string"},"tenantQualifiedWorkspaceDossier":{"type":"string"},"workspaceDossier":{"type":"string"},"tenantQualifiedDossierPackage":{"type":"string"},"dossierPackage":{"type":"string"},"tenantQualifiedDossierPackageMarkdown":{"type":"string"},"dossierPackageMarkdown":{"type":"string"},"tenantQualifiedWorkspaceSearch":{"type":"string"},"workspaceSearch":{"type":"string"},"tenantQualifiedMemorySearch":{"type":"string"},"memorySearch":{"type":"string"},"query":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"AgentContextMemoryRetrieval":{"type":"object","required":["mode","indexedAt","workspaceUpdatedAt","publishedOnly","queryEmbedding"],"properties":{"mode":{"type":"string"},"indexedAt":{"type":["string","null"]},"workspaceUpdatedAt":{"type":["string","null"]},"publishedOnly":{"type":"boolean"},"queryEmbedding":{"oneOf":[{"$ref":"#/components/schemas/QueryEmbeddingMetadata"},{"type":"null"}]}},"additionalProperties":true},"AgentContextPrivacy":{"type":"object","required":["transcriptStoredByDefault","transcriptStorage","disclosure"],"properties":{"transcriptStoredByDefault":{"type":"boolean"},"transcriptStorage":{"$ref":"#/components/schemas/DossierTranscriptStoragePolicy"},"disclosure":{"type":"string"}},"additionalProperties":true},"AgentContextSource":{"type":"object","required":["label","href","content"],"properties":{"label":{"type":"string"},"href":{"type":"string"},"content":{"type":"string"}},"additionalProperties":true},"AgentContext":{"type":"object","required":["candidate","space","dossierSpace","workspace","workspaceSearchUrl","tenantQualifiedWorkspaceSearchUrl","workspaceMemorySearchUrl","tenantQualifiedWorkspaceMemorySearchUrl","workspaceEvidence","workspaceMemoryRetrieval","workspaceMemoryEvidence","privacy","sources"],"properties":{"candidate":{"$ref":"#/components/schemas/AgentContextCandidate"},"space":{"$ref":"#/components/schemas/AgentContextSpace"},"dossierSpace":{"oneOf":[{"$ref":"#/components/schemas/DossierPackageSpace"},{"type":"null"}]},"workspace":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"workspaceSearchUrl":{"type":"string"},"tenantQualifiedWorkspaceSearchUrl":{"type":"string"},"workspaceMemorySearchUrl":{"type":"string"},"tenantQualifiedWorkspaceMemorySearchUrl":{"type":"string"},"workspaceEvidence":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceEvidenceSearchResult"}},"workspaceMemoryRetrieval":{"oneOf":[{"$ref":"#/components/schemas/AgentContextMemoryRetrieval"},{"type":"null"}]},"workspaceMemoryEvidence":{"type":"array","items":{"$ref":"#/components/schemas/DossierMemoryEvidence"}},"privacy":{"$ref":"#/components/schemas/AgentContextPrivacy"},"sources":{"type":"array","items":{"$ref":"#/components/schemas/AgentContextSource"}}},"additionalProperties":true},"SourceConnectorCatalogSummary":{"type":"object","required":["connectorCount","implementedConnectorCount","automatedConnectorCount","manualReviewConnectorCount","registeredSourceCount","registeredByType"],"properties":{"connectorCount":{"type":"number"},"implementedConnectorCount":{"type":"number"},"automatedConnectorCount":{"type":"number"},"manualReviewConnectorCount":{"type":"number"},"registeredSourceCount":{"type":"number"},"registeredByType":{"type":"object","additionalProperties":{"type":"number"}}},"additionalProperties":true},"SourceConnectorDefinition":{"type":"object","required":["id","sourceType","label","implemented","syncMode","automatedSync","registeredSourceCount","reviewBoundary"],"properties":{"id":{"type":"string"},"sourceType":{"type":"string"},"label":{"type":"string"},"category":{"type":"string"},"implemented":{"type":"boolean"},"automatedSync":{"type":"boolean"},"syncMode":{"type":"string"},"connectionMode":{"type":"string"},"urlRequired":{"type":"boolean"},"acceptedUrlExamples":{"type":"array","items":{"type":"string"}},"setupFields":{"type":"array","items":{"type":"string"}},"signalExamples":{"type":"array","items":{"type":"string"}},"candidatePrompt":{"type":"string"},"safetyNotes":{"type":"array","items":{"type":"string"}},"defaultVisibility":{"type":"string"},"reviewBoundary":{"type":"string"},"registeredSourceCount":{"type":"number"},"matchTypes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"SourceConnectorCatalogPrivacy":{"type":"object","required":["candidatePrivate","rawRegisteredSourceUrlsExposed","connectorSecretsExposed","importedEvidenceBodiesExposed","publicWorkspaceExposesCatalog","reviewBoundary"],"properties":{"candidatePrivate":{"type":"boolean","const":true},"rawRegisteredSourceUrlsExposed":{"type":"boolean","const":false},"connectorSecretsExposed":{"type":"boolean","const":false},"importedEvidenceBodiesExposed":{"type":"boolean","const":false},"publicWorkspaceExposesCatalog":{"type":"boolean","const":false},"reviewBoundary":{"type":"string"}},"additionalProperties":true},"SourceConnectorCatalogResponse":{"type":"object","required":["workspace","summary","connectors","privacy"],"properties":{"workspace":{"$ref":"#/components/schemas/WorkspaceSummary"},"workspaceSlug":{"type":"string"},"generatedAt":{"type":"string"},"summary":{"$ref":"#/components/schemas/SourceConnectorCatalogSummary"},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/SourceConnectorDefinition"}},"privacy":{"$ref":"#/components/schemas/SourceConnectorCatalogPrivacy"}},"additionalProperties":true},"SourceOnboardingSummary":{"type":"object","required":["recommendationCount","recommendedNextActionCount","missingConnectorCount","needsUrlSourceCount","syncPausedSourceCount","registeredSourceCount","automatedSourceCount","syncableSourceCount","privateReviewSourceCount","registeredByType","workflowCompleteCount","workflowNeedsReviewCount","workflowPromptCount","workflowAnswerCount"],"properties":{"recommendationCount":{"type":"number"},"recommendedNextActionCount":{"type":"number"},"missingConnectorCount":{"type":"number"},"needsUrlSourceCount":{"type":"number"},"syncPausedSourceCount":{"type":"number"},"registeredSourceCount":{"type":"number"},"automatedSourceCount":{"type":"number"},"syncableSourceCount":{"type":"number"},"privateReviewSourceCount":{"type":"number"},"registeredByType":{"type":"object","additionalProperties":{"type":"number"}},"workflowCompleteCount":{"type":"number"},"workflowNeedsReviewCount":{"type":"number"},"workflowPromptCount":{"type":"number"},"workflowAnswerCount":{"type":"number"}},"additionalProperties":true},"SourceOnboardingWorkflowStep":{"type":"object","required":["id","label","status","action","detail"],"properties":{"id":{"type":"string","enum":["setup","prompt","answer","review"]},"label":{"type":"string"},"status":{"type":"string","enum":["needs_action","ready","complete","pending","needs_review"]},"action":{"type":"string"},"blocker":{"type":"string"},"detail":{"type":"string"}},"additionalProperties":true},"SourceOnboardingWorkflowCounts":{"type":"object","required":["promptCount","openPromptCount","answeredPromptCount","dismissedPromptCount","answerCount","draftClaimCount","reviewedClaimCount"],"properties":{"promptCount":{"type":"number"},"openPromptCount":{"type":"number"},"answeredPromptCount":{"type":"number"},"dismissedPromptCount":{"type":"number"},"answerCount":{"type":"number"},"draftClaimCount":{"type":"number"},"reviewedClaimCount":{"type":"number"}},"additionalProperties":true},"SourceOnboardingWorkflowRelated":{"type":"object","required":["promptIds","openPromptIds","latestPromptId","answerIds","latestAnswerId","draftClaimIds","reviewedClaimIds"],"properties":{"promptIds":{"type":"array","items":{"type":"string"}},"openPromptIds":{"type":"array","items":{"type":"string"}},"latestPromptId":{"type":["string","null"]},"answerIds":{"type":"array","items":{"type":"string"}},"latestAnswerId":{"type":["string","null"]},"draftClaimIds":{"type":"array","items":{"type":"string"}},"reviewedClaimIds":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"SourceOnboardingActionBody":{"type":"object","required":["action","recommendationId"],"properties":{"action":{"type":"string"},"recommendationId":{"type":"string"}},"additionalProperties":false},"SourceOnboardingGuidedAction":{"type":"object","required":["id","label","stage","recommendationId","executable","uiHint","reason"],"properties":{"id":{"type":"string","enum":["complete_source_setup","create_prompt","answer_prompt","review_claim","sync_source","review_workflow","workflow_complete"]},"label":{"type":"string"},"stage":{"type":"string"},"recommendationId":{"type":"string"},"executable":{"type":"boolean"},"method":{"type":"string"},"endpoint":{"type":"string"},"body":{"$ref":"#/components/schemas/SourceOnboardingActionBody"},"target":{"type":"string"},"promptId":{"type":["string","null"]},"claimIds":{"type":"array","items":{"type":"string"}},"uiHint":{"type":"string"},"reason":{"type":"string"}},"additionalProperties":true},"SourceOnboardingWorkflowPrivacy":{"type":"object","required":["rawRegisteredSourceUrlsExposed","rawPromptTextExposed","rawAnswerTextExposed","rawClaimTextExposed","reviewBoundary"],"properties":{"rawRegisteredSourceUrlsExposed":{"type":"boolean","const":false},"rawPromptTextExposed":{"type":"boolean","const":false},"rawAnswerTextExposed":{"type":"boolean","const":false},"rawClaimTextExposed":{"type":"boolean","const":false},"reviewBoundary":{"type":"string"}},"additionalProperties":true},"SourceOnboardingWorkflow":{"type":"object","required":["id","recommendationId","status","currentStage","completionPercent","promptGenerationAvailable","steps","counts","related","privacy"],"properties":{"id":{"type":"string"},"recommendationId":{"type":"string"},"status":{"type":"string","enum":["in_progress","complete"]},"currentStage":{"type":"string"},"completionPercent":{"type":"number"},"promptGenerationAvailable":{"type":"boolean"},"steps":{"type":"array","items":{"$ref":"#/components/schemas/SourceOnboardingWorkflowStep"}},"counts":{"$ref":"#/components/schemas/SourceOnboardingWorkflowCounts"},"related":{"$ref":"#/components/schemas/SourceOnboardingWorkflowRelated"},"nextAction":{"$ref":"#/components/schemas/SourceOnboardingGuidedAction"},"availableActions":{"type":"array","items":{"$ref":"#/components/schemas/SourceOnboardingGuidedAction"}},"privacy":{"$ref":"#/components/schemas/SourceOnboardingWorkflowPrivacy"}},"additionalProperties":true},"SourceOnboardingRecommendation":{"type":"object","required":["id","connectorId","sourceType","label","priority","status","action","reason","connector"],"properties":{"id":{"type":"string"},"connectorId":{"type":"string"},"sourceType":{"type":"string"},"label":{"type":"string"},"priority":{"type":"number"},"status":{"type":"string","enum":["missing","needs_url","sync_paused","ready_to_sync","present"]},"action":{"type":"string","enum":["add_source","review_existing_source","sync_source","import_packet","upload_artifacts"]},"reason":{"type":"string"},"evidenceGap":{"type":"string"},"suggestedLabel":{"type":"string"},"suggestedSignals":{"type":"array","items":{"type":"string"}},"setupPrompt":{"type":"string"},"matchedSourceCount":{"type":"number"},"matchedSourceLabels":{"type":"array","items":{"type":"string"}},"currentBlocker":{"type":"string"},"connector":{"$ref":"#/components/schemas/SourceConnectorDefinition"},"workflow":{"oneOf":[{"$ref":"#/components/schemas/SourceOnboardingWorkflow"},{"type":"null"}]}},"additionalProperties":true},"SourceOnboardingPrivacy":{"type":"object","required":["candidatePrivate","rawRegisteredSourceUrlsExposed","connectorSecretsExposed","importedEvidenceBodiesExposed","sourceBodiesExposed","workflowRawPromptTextExposed","workflowRawAnswerTextExposed","workflowRawClaimTextExposed","publicWorkspaceExposesRecommendations","reviewBoundary"],"properties":{"candidatePrivate":{"type":"boolean","const":true},"rawRegisteredSourceUrlsExposed":{"type":"boolean","const":false},"connectorSecretsExposed":{"type":"boolean","const":false},"importedEvidenceBodiesExposed":{"type":"boolean","const":false},"sourceBodiesExposed":{"type":"boolean","const":false},"workflowRawPromptTextExposed":{"type":"boolean","const":false},"workflowRawAnswerTextExposed":{"type":"boolean","const":false},"workflowRawClaimTextExposed":{"type":"boolean","const":false},"publicWorkspaceExposesRecommendations":{"type":"boolean","const":false},"reviewBoundary":{"type":"string"}},"additionalProperties":true},"SourceOnboardingResponse":{"type":"object","required":["workspace","summary","recommendations","workflows","privacy"],"properties":{"workspace":{"$ref":"#/components/schemas/WorkspaceSummary"},"workspaceSlug":{"type":"string"},"generatedAt":{"type":"string"},"summary":{"$ref":"#/components/schemas/SourceOnboardingSummary"},"recommendations":{"type":"array","items":{"$ref":"#/components/schemas/SourceOnboardingRecommendation"}},"workflows":{"type":"array","items":{"$ref":"#/components/schemas/SourceOnboardingWorkflow"}},"privacy":{"$ref":"#/components/schemas/SourceOnboardingPrivacy"}},"additionalProperties":true},"SourceOnboardingActionRequest":{"type":"object","required":["action","recommendationId"],"properties":{"action":{"type":"string","enum":["create_prompt","complete_source_setup","answer_prompt","review_claim","sync_source"],"description":"Guided action id. Only create_prompt is executable by this endpoint; candidate-input actions return guidance only."},"recommendationId":{"type":"string","description":"Source-onboarding recommendation id, such as source-rec-github or source-rec-writing."}},"additionalProperties":false},"SourceOnboardingActionResult":{"type":"object","required":["id","status","recommendationId"],"properties":{"id":{"type":"string"},"status":{"type":"string","enum":["completed","already_satisfied","requires_candidate_input","unavailable"]},"recommendationId":{"type":"string"},"generatedPromptCount":{"type":"number"},"generatedPromptIds":{"type":"array","items":{"type":"string"}},"skippedCount":{"type":"number"},"skipped":{"type":"array","items":{"$ref":"#/components/schemas/SourceOnboardingSkippedItem"}},"nextActionBefore":{"type":["string","null"]},"nextActionAfter":{"type":["string","null"]},"reviewBoundary":{"type":"string"}},"additionalProperties":true},"SourceOnboardingSkippedItem":{"type":"object","required":["reason"],"properties":{"recommendationId":{"type":["string","null"]},"reason":{"type":"string"}},"additionalProperties":true},"SourceOnboardingGeneratedPromptSource":{"type":"object","required":["recommendationId","connectorId","sourceType","label","status","action","matchedSourceCount","currentBlocker","reviewBoundary"],"properties":{"recommendationId":{"type":["string","null"]},"connectorId":{"type":["string","null"]},"sourceType":{"type":["string","null"]},"label":{"type":["string","null"]},"status":{"type":["string","null"]},"action":{"type":["string","null"]},"matchedSourceCount":{"type":"number"},"currentBlocker":{"type":"string"},"reviewBoundary":{"type":["string","null"]}},"additionalProperties":true},"SourceOnboardingGeneratedPromptGeneration":{"type":"object","required":["provider","method","reviewBoundary"],"properties":{"provider":{"type":["string","null"]},"method":{"type":["string","null"]},"reviewBoundary":{"type":["string","null"]}},"additionalProperties":true},"SourceOnboardingActionPrivacy":{"type":"object","required":["candidatePrivate","rawRegisteredSourceUrlsExposed","connectorSecretsExposed","importedEvidenceBodiesExposed","sourceBodiesExposed","rawPromptTextExposed","rawAnswerTextExposed","rawClaimTextExposed","publicWorkspaceExposesActions","reviewBoundary"],"properties":{"candidatePrivate":{"type":"boolean","const":true},"rawRegisteredSourceUrlsExposed":{"type":"boolean","const":false},"connectorSecretsExposed":{"type":"boolean","const":false},"importedEvidenceBodiesExposed":{"type":"boolean","const":false},"sourceBodiesExposed":{"type":"boolean","const":false},"rawPromptTextExposed":{"type":"boolean","const":false},"rawAnswerTextExposed":{"type":"boolean","const":false},"rawClaimTextExposed":{"type":"boolean","const":false},"publicWorkspaceExposesActions":{"type":"boolean","const":false},"reviewBoundary":{"type":"string"}},"additionalProperties":true},"SourceOnboardingGeneratedPrompt":{"type":"object","description":"Metadata-only prompt record returned by the source onboarding action runner. Raw prompt text is intentionally omitted.","required":["id","status","priority","sourceOnboarding","generation","privacy"],"properties":{"id":{"type":["string","null"]},"status":{"type":["string","null"]},"priority":{"type":"number"},"generatedFrom":{"type":["string","null"]},"sourceType":{"type":["string","null"]},"expectedSignal":{"type":["string","null"]},"purpose":{"type":["string","null"]},"generatedAt":{"type":["string","null"]},"generatedBy":{"type":["string","null"]},"requestedBy":{"type":["string","null"]},"sourceOnboarding":{"oneOf":[{"$ref":"#/components/schemas/SourceOnboardingGeneratedPromptSource"},{"type":"null"}]},"generation":{"oneOf":[{"$ref":"#/components/schemas/SourceOnboardingGeneratedPromptGeneration"},{"type":"null"}]},"privacy":{"$ref":"#/components/schemas/SourceOnboardingActionPrivacy"}},"additionalProperties":true},"SourceOnboardingActionContext":{"type":"object","required":["summary","privacy"],"properties":{"summary":{"$ref":"#/components/schemas/SourceOnboardingSummary"},"privacy":{"$ref":"#/components/schemas/SourceOnboardingActionPrivacy"}},"additionalProperties":true},"SourceOnboardingActionResponse":{"type":"object","required":["workspace","action","privacy"],"properties":{"workspace":{"$ref":"#/components/schemas/WorkspaceSummary"},"action":{"$ref":"#/components/schemas/SourceOnboardingActionResult"},"generatedPrompts":{"type":"array","description":"Metadata-only prompt records. Raw prompt text is intentionally omitted.","items":{"$ref":"#/components/schemas/SourceOnboardingGeneratedPrompt"}},"skipped":{"type":"array","items":{"$ref":"#/components/schemas/SourceOnboardingSkippedItem"}},"recommendation":{"$ref":"#/components/schemas/SourceOnboardingRecommendation"},"workflow":{"oneOf":[{"$ref":"#/components/schemas/SourceOnboardingWorkflow"},{"type":"null"}]},"sourceOnboarding":{"$ref":"#/components/schemas/SourceOnboardingActionContext"},"privacy":{"$ref":"#/components/schemas/SourceOnboardingActionPrivacy"}},"additionalProperties":true},"VerifyCodeRequest":{"type":"object","properties":{"code":{"type":"string","description":"Resume access code printed on the submitted resume or embedded in the gated URL."},"sourceHint":{"type":"string"}},"required":["code"],"additionalProperties":false},"ResumeAgentSession":{"type":"object","description":"Public resume-agent session metadata. The signed cookie contains the session id; this response omits raw codes, bearer URLs, hashes, and credential material.","required":["workspaceSlug","spaceSlug","spaceLabel","sourceHint","accessLinkId","accessKind","expiresAt"],"properties":{"workspaceSlug":{"type":"string"},"spaceSlug":{"type":"string"},"spaceLabel":{"type":"string"},"sourceHint":{"type":["string","null"]},"accessLinkId":{"type":["string","null"]},"accessKind":{"type":"string"},"expiresAt":{"type":"number"}},"additionalProperties":true},"VerifyCodeResponse":{"type":"object","description":"Successful gated resume access-code verification. The raw access code is consumed/verified but never echoed; generated access-link hashes remain private.","required":["authenticated","disclosure","session","space"],"properties":{"authenticated":{"type":"boolean","const":true},"disclosure":{"type":"string"},"session":{"$ref":"#/components/schemas/ResumeAgentSession"},"space":{"$ref":"#/components/schemas/AgentContextSpace"}},"additionalProperties":true},"ChatRequest":{"type":"object","properties":{"message":{"type":"string"},"history":{"type":"array","items":{"type":"object","additionalProperties":true}},"transcriptConsent":{"type":"boolean","description":"Optional visitor consent for raw question/answer transcript storage when operator transcript capture is enabled."}},"required":["message"],"additionalProperties":true},"AgentQueryRequest":{"type":"object","properties":{"accessCode":{"type":"string"},"message":{"type":"string"},"history":{"type":"array","items":{"type":"object","additionalProperties":true}},"sourceHint":{"type":"string"},"transcriptConsent":{"type":"boolean","description":"Optional visitor or recruiting-agent consent for raw question/answer transcript storage when operator transcript capture is enabled."}},"required":["accessCode","message"],"additionalProperties":false},"ChatSource":{"type":"object","required":["label","href"],"properties":{"label":{"type":"string"},"href":{"type":"string"}},"additionalProperties":true},"ChatGuardrail":{"type":"object","description":"Prompt-injection or knowledge-boundary refusal metadata. Raw blocked prompt text is not returned.","required":["type","blocked"],"properties":{"type":{"type":"string"},"blocked":{"type":"boolean"},"reason":{"type":"string"},"policy":{"type":"string"},"allowedAlternatives":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"ChatResponse":{"type":"object","description":"Hiring-manager chat or agent-query response. Live answers and guardrail refusals share this shape; private workspace material, raw memory bodies, storage paths, prompt internals, access-code hashes, and credentials are omitted.","required":["mode","model","sources","answer"],"properties":{"mode":{"type":"string","enum":["live","guardrail"]},"model":{"type":"string"},"transcriptStored":{"type":"boolean"},"transcriptStorage":{"$ref":"#/components/schemas/DossierTranscriptStoragePolicy"},"sources":{"type":"array","items":{"$ref":"#/components/schemas/ChatSource"}},"answer":{"type":"string"},"guardrail":{"$ref":"#/components/schemas/ChatGuardrail"}},"additionalProperties":true},"WorkspaceLoginRequest":{"type":"object","properties":{"workspaceSlug":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"key":{"type":"string"}},"additionalProperties":false},"PasswordResetRequest":{"type":"object","properties":{"workspaceSlug":{"type":"string"},"email":{"type":"string"}},"required":["workspaceSlug","email"],"additionalProperties":false},"PasswordResetConfirmRequest":{"type":"object","properties":{"workspaceSlug":{"type":"string"},"email":{"type":"string"},"resetToken":{"type":"string"},"newPassword":{"type":"string"}},"required":["workspaceSlug","email","resetToken","newPassword"],"additionalProperties":false},"CandidateProfileUpdateRequest":{"type":"object","properties":{"name":{"type":"string"},"headline":{"type":"string"},"location":{"type":"string"},"currentRoles":{"type":"array","items":{"type":"string"}},"positioning":{"type":"string"},"publicSummary":{"type":"string"},"links":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"url":{"type":"string","format":"uri"},"type":{"type":"string"}},"required":["url"],"additionalProperties":false}}},"required":["name"],"additionalProperties":false},"WorkspaceMemoryRefreshEmbeddingJob":{"type":"object","required":["id","status"],"properties":{"id":{"type":"string"},"status":{"type":"string"},"workspaceSlug":{"type":"string"},"sourceType":{"type":"string"},"sourceId":{"type":"string"},"reason":{"type":"string"},"requestedBy":{"type":"string"},"queuedAt":{"type":"string"},"completedAt":{"type":"string"}},"additionalProperties":true},"WorkspaceMemoryRefresh":{"type":"object","required":["embeddingJob","processedInline"],"properties":{"embeddingJob":{"$ref":"#/components/schemas/WorkspaceMemoryRefreshEmbeddingJob"},"memoryIndex":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"processedInline":{"type":"boolean"}},"additionalProperties":true},"CandidateProfileResponse":{"type":"object","required":["workspace","profile","disclosure"],"properties":{"workspace":{"$ref":"#/components/schemas/WorkspaceSummary"},"profile":{"$ref":"#/components/schemas/WorkspaceOwnerProfile"},"memoryRefresh":{"$ref":"#/components/schemas/WorkspaceMemoryRefresh"},"disclosure":{"type":"string"}},"additionalProperties":true},"WorkspaceDataExportScope":{"type":"object","required":["workspaceSlug","rangeDays","auditLimit","includesBillingStatus","includesAnalyticsMetadata","includesAuditMetadata","rawWorkspaceJsonIncluded"],"properties":{"workspaceSlug":{"type":"string"},"rangeDays":{"type":"number"},"auditLimit":{"type":"number"},"includesBillingStatus":{"type":"boolean"},"includesAnalyticsMetadata":{"type":"boolean"},"includesAuditMetadata":{"type":"boolean"},"rawWorkspaceJsonIncluded":{"type":"boolean","const":false}},"additionalProperties":true},"WorkspaceDataExportInventory":{"type":"object","required":["stats","sourcesByType","sourcesByStatus","artifactsByKind","artifactsByStatus","artifactsByVisibility","claimsByStatus","claimsByVisibility","projectsByStatus","promptsByStatus","answersByStatus","dossierSpacesByStatus","accessLinksByStatus"],"properties":{"stats":{"$ref":"#/components/schemas/WorkspaceStats"},"sourcesByType":{"type":"object","additionalProperties":{"type":"number"}},"sourcesByStatus":{"type":"object","additionalProperties":{"type":"number"}},"artifactsByKind":{"type":"object","additionalProperties":{"type":"number"}},"artifactsByStatus":{"type":"object","additionalProperties":{"type":"number"}},"artifactsByVisibility":{"type":"object","additionalProperties":{"type":"number"}},"claimsByStatus":{"type":"object","additionalProperties":{"type":"number"}},"claimsByVisibility":{"type":"object","additionalProperties":{"type":"number"}},"projectsByStatus":{"type":"object","additionalProperties":{"type":"number"}},"promptsByStatus":{"type":"object","additionalProperties":{"type":"number"}},"answersByStatus":{"type":"object","additionalProperties":{"type":"number"}},"dossierSpacesByStatus":{"type":"object","additionalProperties":{"type":"number"}},"accessLinksByStatus":{"type":"object","additionalProperties":{"type":"number"}}},"additionalProperties":true},"WorkspaceDataExportSource":{"type":"object","required":["id","type","connectorId","label","visibility","urlConfigured","urlIncluded","extractedSignals"],"properties":{"id":{"type":["string","null"]},"type":{"type":"string"},"connectorId":{"type":["string","null"]},"label":{"type":"string"},"status":{"type":["string","null"]},"visibility":{"type":"string"},"syncMode":{"type":["string","null"]},"lastSyncedAt":{"type":["string","null"]},"createdAt":{"type":["string","null"]},"updatedAt":{"type":["string","null"]},"urlConfigured":{"type":"boolean"},"urlIncluded":{"type":"boolean","const":false},"extractedSignals":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"WorkspaceDataExportArtifactStorage":{"type":"object","required":["hasStoredFile","privateObjectLocatorIncluded","privateStorageLocatorIncluded","localLocatorIncluded","checksumIncluded","filePayloadIncluded"],"properties":{"hasStoredFile":{"type":"boolean"},"byteLength":{"type":["number","null"]},"privateObjectLocatorIncluded":{"type":"boolean","const":false},"privateStorageLocatorIncluded":{"type":"boolean","const":false},"localLocatorIncluded":{"type":"boolean","const":false},"checksumIncluded":{"type":"boolean","const":false},"filePayloadIncluded":{"type":"boolean","const":false}},"additionalProperties":true},"WorkspaceDataExportArtifactContent":{"type":"object","required":["summaryPresent","extractedTextPresent","visualDescriptionPresent","visualAltTextPresent","rawEvidenceBodyIncluded"],"properties":{"summaryPresent":{"type":"boolean"},"extractedTextPresent":{"type":"boolean"},"visualDescriptionPresent":{"type":"boolean"},"visualAltTextPresent":{"type":"boolean"},"rawEvidenceBodyIncluded":{"type":"boolean","const":false}},"additionalProperties":true},"WorkspaceDataExportArtifactExtraction":{"type":"object","properties":{"mode":{"type":["string","null"]},"status":{"type":["string","null"]},"extractor":{"type":["string","null"]},"ocrStatus":{"type":["string","null"]},"dimensions":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]}},"additionalProperties":true},"WorkspaceDataExportDossierCoverage":{"type":"object","required":["slug","label","target","status","visibility","publishable","evidenceCount"],"properties":{"slug":{"type":"string"},"label":{"type":"string"},"target":{"type":"string"},"status":{"type":"string"},"visibility":{"type":"string"},"publishable":{"type":"boolean"},"evidenceCount":{"type":"number"},"agentReadable":{"type":"object","additionalProperties":true}},"additionalProperties":true},"WorkspaceDataExportArtifact":{"type":"object","required":["id","kind","label","visibility","publishable","storage","content","dossierCoverage"],"properties":{"id":{"type":["string","null"]},"kind":{"type":"string"},"label":{"type":"string"},"sourceId":{"type":["string","null"]},"mimeType":{"type":["string","null"]},"status":{"type":["string","null"]},"visibility":{"type":"string"},"createdAt":{"type":["string","null"]},"updatedAt":{"type":["string","null"]},"publishable":{"type":"boolean"},"storage":{"$ref":"#/components/schemas/WorkspaceDataExportArtifactStorage"},"content":{"$ref":"#/components/schemas/WorkspaceDataExportArtifactContent"},"extraction":{"oneOf":[{"$ref":"#/components/schemas/WorkspaceDataExportArtifactExtraction"},{"type":"null"}]},"dossierCoverage":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceDataExportDossierCoverage"}}},"additionalProperties":true},"WorkspaceDataExportProject":{"type":"object","required":["id","name","visibility","signalCount","evidenceIds","summaryIncluded","roleIncluded"],"properties":{"id":{"type":["string","null"]},"name":{"type":"string"},"status":{"type":["string","null"]},"visibility":{"type":"string"},"signalCount":{"type":"number"},"evidenceIds":{"type":"array","items":{"type":"string"}},"summaryIncluded":{"type":"boolean","const":false},"roleIncluded":{"type":"boolean","const":false}},"additionalProperties":true},"WorkspaceDataExportClaim":{"type":"object","required":["id","visibility","evidenceIds","textPresent","textLength","textIncluded"],"properties":{"id":{"type":["string","null"]},"category":{"type":["string","null"]},"status":{"type":["string","null"]},"visibility":{"type":"string"},"confidence":{"type":["number","null"]},"evidenceIds":{"type":"array","items":{"type":"string"}},"textPresent":{"type":"boolean"},"textLength":{"type":"number"},"textIncluded":{"type":"boolean","const":false}},"additionalProperties":true},"WorkspaceDataExportPrompt":{"type":"object","required":["id","priority","evidenceIds","promptPresent","promptLength","promptIncluded"],"properties":{"id":{"type":["string","null"]},"status":{"type":["string","null"]},"priority":{"type":"number"},"generatedFrom":{"type":["string","null"]},"sourceType":{"type":["string","null"]},"dossierSpaceSlug":{"type":["string","null"]},"evidenceIds":{"type":"array","items":{"type":"string"}},"expectedSignalPresent":{"type":"boolean"},"expectedSignalIncluded":{"type":"boolean","const":false},"promptPresent":{"type":"boolean"},"promptLength":{"type":"number"},"promptIncluded":{"type":"boolean","const":false}},"additionalProperties":true},"WorkspaceDataExportAnswer":{"type":"object","required":["id","visibility","evidenceIds","claimCandidateCount","answerPresent","answerLength","answerIncluded"],"properties":{"id":{"type":["string","null"]},"promptId":{"type":["string","null"]},"status":{"type":["string","null"]},"visibility":{"type":"string"},"evidenceIds":{"type":"array","items":{"type":"string"}},"claimCandidateCount":{"type":"number"},"answerPresent":{"type":"boolean"},"answerLength":{"type":"number"},"answerIncluded":{"type":"boolean","const":false}},"additionalProperties":true},"WorkspaceDataExportInterviewSessionProgress":{"type":"object","required":["promptCount","openCount","answeredCount","dismissedCount","resolvedCount","completionPercent"],"properties":{"promptCount":{"type":"number"},"openCount":{"type":"number"},"answeredCount":{"type":"number"},"dismissedCount":{"type":"number"},"resolvedCount":{"type":"number"},"completionPercent":{"type":"number"},"currentPromptId":{"type":["string","null"]},"currentPromptStatus":{"type":["string","null"]}},"additionalProperties":true},"WorkspaceDataExportInterviewSessionPrompt":{"type":"object","required":["id","priority","promptPresent","promptLength","promptIncluded","expectedSignalPresent","expectedSignalIncluded"],"properties":{"id":{"type":["string","null"]},"status":{"type":["string","null"]},"priority":{"type":"number"},"dossierSpaceSlug":{"type":"string"},"dossierSpaceLabel":{"type":"string"},"sourceType":{"type":"string"},"generatedFrom":{"type":"string"},"generatedBy":{"type":"string"},"coverage":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"promptPresent":{"type":"boolean"},"promptLength":{"type":"number"},"promptIncluded":{"type":"boolean","const":false},"expectedSignalPresent":{"type":"boolean"},"expectedSignalIncluded":{"type":"boolean","const":false}},"additionalProperties":true},"WorkspaceDataExportInterviewSession":{"type":"object","required":["id","label","status","promptIds","currentPromptId","sessionType","reviewBoundary","progress","prompts"],"properties":{"id":{"type":"string"},"label":{"type":"string"},"status":{"type":"string"},"dossierSpaceSlug":{"type":"string"},"dossierSpaceLabel":{"type":"string"},"promptIds":{"type":"array","items":{"type":"string"}},"currentPromptId":{"type":"string"},"createdAt":{"type":["string","null"]},"updatedAt":{"type":["string","null"]},"completedAt":{"type":["string","null"]},"createdBy":{"type":"string"},"updatedBy":{"type":["string","null"]},"sessionType":{"type":"string"},"reviewBoundary":{"type":"string"},"progress":{"$ref":"#/components/schemas/WorkspaceDataExportInterviewSessionProgress"},"currentPrompt":{"oneOf":[{"$ref":"#/components/schemas/WorkspaceDataExportInterviewSessionPrompt"},{"type":"null"}]},"prompts":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceDataExportInterviewSessionPrompt"}}},"additionalProperties":true},"WorkspaceDataExportMemory":{"type":"object","required":["memoryBodiesIncluded","vectorsIncluded"],"properties":{"currentRetrieval":{"type":["string","null"]},"plannedRetrieval":{"type":["string","null"]},"embeddingStatus":{"type":["string","null"]},"retrievalRuleCount":{"type":"number"},"memoryBodiesIncluded":{"type":"boolean","const":false},"vectorsIncluded":{"type":"boolean","const":false}},"additionalProperties":true},"WorkspaceDataExportData":{"type":"object","required":["profile","sources","artifacts","projects","claims","interviewPrompts","interviewAnswers","interviewSessions","dossierSpaces","accessLinks","memory","analytics","audit","billing"],"properties":{"profile":{"$ref":"#/components/schemas/WorkspaceOwnerProfile"},"sources":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceDataExportSource"}},"artifacts":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceDataExportArtifact"}},"projects":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceDataExportProject"}},"claims":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceDataExportClaim"}},"interviewPrompts":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceDataExportPrompt"}},"interviewAnswers":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceDataExportAnswer"}},"interviewSessions":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceDataExportInterviewSession"}},"dossierSpaces":{"type":"array","items":{"type":"object","additionalProperties":true}},"accessLinks":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceAccessLink"}},"memory":{"$ref":"#/components/schemas/WorkspaceDataExportMemory"},"analytics":{"type":"object","additionalProperties":true},"audit":{"type":"object","additionalProperties":true},"billing":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]}},"additionalProperties":true},"WorkspaceDataExportPrivacy":{"type":"object","required":["candidatePrivate","metadataOnly","rawWorkspaceJsonIncluded","sourceUrlsExposed","rawEvidenceBodiesExposed","promptTextExposed","answerTextExposed","transcriptTextExposed","accessCodesExposed","hashesExposed","privateObjectLocatorsExposed","privateStorageLocatorsExposed","localPathsExposed","vectorsExposed","credentialsExposed","disclosure"],"properties":{"candidatePrivate":{"type":"boolean","const":true},"metadataOnly":{"type":"boolean","const":true},"rawWorkspaceJsonIncluded":{"type":"boolean","const":false},"sourceUrlsExposed":{"type":"boolean","const":false},"rawEvidenceBodiesExposed":{"type":"boolean","const":false},"promptTextExposed":{"type":"boolean","const":false},"answerTextExposed":{"type":"boolean","const":false},"transcriptTextExposed":{"type":"boolean","const":false},"accessCodesExposed":{"type":"boolean","const":false},"hashesExposed":{"type":"boolean","const":false},"privateObjectLocatorsExposed":{"type":"boolean","const":false},"privateStorageLocatorsExposed":{"type":"boolean","const":false},"localPathsExposed":{"type":"boolean","const":false},"vectorsExposed":{"type":"boolean","const":false},"credentialsExposed":{"type":"boolean","const":false},"disclosure":{"type":"string"}},"additionalProperties":true},"WorkspaceDataExportResponse":{"type":"object","required":["schema","schemaVersion","exportType","generatedAt","workspace","scope","inventory","data","privacy","omissions"],"properties":{"schema":{"type":"string"},"schemaVersion":{"type":"number"},"exportType":{"type":"string","const":"candidate_private_redacted_workspace_export"},"generatedAt":{"type":"string"},"workspace":{"$ref":"#/components/schemas/WorkspaceSummary"},"scope":{"$ref":"#/components/schemas/WorkspaceDataExportScope"},"inventory":{"$ref":"#/components/schemas/WorkspaceDataExportInventory"},"data":{"$ref":"#/components/schemas/WorkspaceDataExportData"},"privacy":{"$ref":"#/components/schemas/WorkspaceDataExportPrivacy"},"omissions":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"OnboardingAcceptRequest":{"type":"object","properties":{"inviteCode":{"type":"string"},"ownerName":{"type":"string"},"ownerEmail":{"type":"string"},"password":{"type":"string"},"workspaceSlug":{"type":"string"}},"required":["inviteCode","ownerName","ownerEmail","password","workspaceSlug"],"additionalProperties":true},"ArtifactCreateRequest":{"type":"object","properties":{"label":{"type":"string"},"kind":{"type":"string"},"fileName":{"type":"string"},"mimeType":{"type":"string"},"contentBase64":{"type":"string","description":"Base64 upload body; accepted server-side only."},"summary":{"type":"string"}},"additionalProperties":true},"SourceUpdateRequest":{"type":"object","properties":{"label":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"visibility":{"type":"string","enum":["private_review","published","public_safe","generalized","confidential","off_limits"]},"status":{"type":"string","enum":["registered","synced","sync_error","manual_review_required","needs_review","disabled","paused","archived"]},"action":{"type":"string","enum":["save","disable","pause","reactivate","enable","archive"]},"extractedSignals":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"string"}]}},"additionalProperties":true},"InterviewPromptGenerateRequest":{"type":"object","properties":{"sourceId":{"type":"string","description":"Optional source id used to generate artifact follow-up prompts from one source."},"artifactId":{"type":"string","description":"Optional artifact id used to generate one artifact follow-up prompt."},"dossierSpaceSlug":{"type":"string","description":"Optional role-space slug used to generate private follow-up prompts from dossier coverage gaps."},"spaceSlug":{"type":"string","description":"Alias for dossierSpaceSlug."},"coverageGaps":{"type":"boolean","description":"When true, generate deterministic candidate-private prompts from role-space coverage gaps."},"sourceOnboarding":{"type":"boolean","description":"When true, generate deterministic candidate-private prompts from source onboarding recommendations."},"recommendationId":{"type":"string","description":"Optional source-onboarding recommendation id, such as source-rec-github, used to generate one targeted prompt."},"mode":{"type":"string","enum":["deterministic","coverage_gaps","coverage-gaps","dossier-coverage","source_onboarding","source-onboarding","source-onboarding-gaps"],"description":"Use deterministic artifact prompts, coverage-gap prompt generation, or source-onboarding prompt generation. Model-assisted artifact prompts remain controlled by server configuration."},"limit":{"type":"number","minimum":1,"maximum":25}},"additionalProperties":true},"InterviewPromptUpdateRequest":{"type":"object","properties":{"action":{"type":"string","enum":["save","dismiss","reopen","pin","unpin"],"description":"Candidate lifecycle action for the private interview prompt."},"prompt":{"type":"string","description":"Edited prompt wording. Must pass the private prompt safety filter."},"expectedSignal":{"type":"string","description":"Edited signal/category hint used by answer extraction."},"purpose":{"type":"string"},"priority":{"type":"number","minimum":1,"maximum":5},"dossierSpaceSlug":{"type":"string","description":"Attach this prompt to an existing role-specific dossier space for answer routing."},"spaceSlug":{"type":"string","description":"Alias for dossierSpaceSlug."},"status":{"type":"string","enum":["open","answered","dismissed"]}},"additionalProperties":false},"InterviewSessionCreateRequest":{"type":"object","properties":{"label":{"type":"string","description":"Candidate-private label for this prompt batch."},"dossierSpaceSlug":{"type":"string","description":"Optional role-space slug used to select open prompts for this session."},"spaceSlug":{"type":"string","description":"Alias for dossierSpaceSlug."},"promptIds":{"type":"array","items":{"type":"string"},"description":"Optional explicit prompt ids to include in this session."},"currentPromptId":{"type":"string","description":"Optional current prompt id; must belong to promptIds."},"limit":{"type":"number","minimum":1,"maximum":50}},"additionalProperties":false},"InterviewSessionUpdateRequest":{"type":"object","properties":{"action":{"type":"string","enum":["save","pause","complete","dismiss","reopen","advance"],"description":"Candidate-private session lifecycle action."},"label":{"type":"string"},"dossierSpaceSlug":{"type":"string"},"spaceSlug":{"type":"string"},"promptIds":{"type":"array","items":{"type":"string"}},"currentPromptId":{"type":"string"},"status":{"type":"string","enum":["open","paused","completed","dismissed"]}},"additionalProperties":false},"AccessLinkCreateRequest":{"type":"object","properties":{"spaceSlug":{"type":"string"},"sourceLabel":{"type":"string"},"recipientLabel":{"type":"string"},"expiresInDays":{"type":"number"},"maxUses":{"type":"number"}},"required":["spaceSlug"],"additionalProperties":true},"ResumeSpaceBuildRequest":{"type":"object","properties":{"label":{"type":"string","description":"Human-readable live resume-space label."},"slug":{"type":"string","description":"Optional dossier-space slug. Defaults to a slugified label."},"target":{"type":"string","description":"Target role, company, team, or hiring loop."},"focus":{"type":"array","items":{"type":"string"}},"suggestedQuestions":{"type":"array","items":{"type":"string"}},"evidenceIds":{"type":"array","items":{"type":"string"}},"evidenceLimit":{"type":"number"},"autoSelectEvidence":{"type":"boolean","description":"When true, select reviewed public-safe evidence scored against target/focus."},"updateExisting":{"type":"boolean","description":"When true, update an existing dossier space with the same slug."},"sourceLabel":{"type":"string"},"recipientLabel":{"type":"string"},"expiresInDays":{"type":"number"},"maxUses":{"type":"number"}},"required":["label"],"additionalProperties":true},"ResumeSpaceBuildPrivacy":{"type":"object","description":"Candidate-private live resume builder privacy contract. The response returns bearer material once and persists only public-safe space metadata plus hashed access-link material.","required":["candidatePrivate","rawCodeReturnedOnce","rawCodePersisted","qrBearerPayloadPersisted","resumeDraftPersisted","launchPacketPersisted","privateReviewEvidencePublishedAutomatically","publicSpaceUsesReviewedPublicSafeEvidence","publicWorkspaceExposesBuilder","reviewBoundary"],"properties":{"candidatePrivate":{"type":"boolean","const":true},"rawCodeReturnedOnce":{"type":"boolean","const":true},"rawCodePersisted":{"type":"boolean","const":false},"qrBearerPayloadPersisted":{"type":"boolean","const":false},"resumeDraftPersisted":{"type":"boolean","const":false},"launchPacketPersisted":{"type":"boolean","const":false},"privateReviewEvidencePublishedAutomatically":{"type":"boolean","const":false},"publicSpaceUsesReviewedPublicSafeEvidence":{"type":"boolean","const":true},"publicWorkspaceExposesBuilder":{"type":"boolean","const":false},"reviewBoundary":{"type":"string"}},"additionalProperties":true},"ResumeSpaceBuildBuilderPreviousState":{"type":"object","required":["status","visibility","evidenceCount"],"properties":{"status":{"type":"string"},"visibility":{"type":"string"},"evidenceCount":{"type":"number"}},"additionalProperties":true},"ResumeSpaceBuildBuilder":{"type":"object","description":"Candidate-private builder metadata for a live role-specific resume space and its one-time package issuance.","required":["mode","action","updateExisting","previousState","autoSelectEvidence","explicitEvidenceIds","autoSelectedEvidenceIds","selectedEvidenceIds","selectedEvidenceCount","packageIssued","reviewBoundary"],"properties":{"mode":{"type":"string","const":"role_specific_live_resume_space"},"action":{"type":"string","enum":["created_space","updated_existing_space"]},"updateExisting":{"type":"boolean"},"previousState":{"oneOf":[{"$ref":"#/components/schemas/ResumeSpaceBuildBuilderPreviousState"},{"type":"null"}]},"autoSelectEvidence":{"type":"boolean"},"explicitEvidenceIds":{"type":"array","items":{"type":"string"}},"autoSelectedEvidenceIds":{"type":"array","items":{"type":"string"}},"selectedEvidenceIds":{"type":"array","items":{"type":"string"}},"selectedEvidenceCount":{"type":"number"},"packageIssued":{"type":"boolean","const":true},"reviewBoundary":{"type":"string"}},"additionalProperties":true},"ResumeSpaceBuildReadinessEvidence":{"type":"object","required":["selectedEvidenceCount","publishableSelectedEvidenceCount","selectedByType","publishableByType","minimumRecommendedEvidenceCount","privateOrUnavailableSelectedCount"],"properties":{"selectedEvidenceCount":{"type":"number"},"publishableSelectedEvidenceCount":{"type":"number"},"selectedByType":{"$ref":"#/components/schemas/DossierCoverageCountMap"},"publishableByType":{"$ref":"#/components/schemas/DossierCoverageCountMap"},"minimumRecommendedEvidenceCount":{"type":"number"},"privateOrUnavailableSelectedCount":{"type":"number"}},"additionalProperties":true},"ResumeSpaceBuildReadinessWorkflowCounts":{"type":"object","required":["promptCount","answerCount","draftClaimCount","reviewedClaimCount"],"properties":{"promptCount":{"type":"number"},"answerCount":{"type":"number"},"draftClaimCount":{"type":"number"},"reviewedClaimCount":{"type":"number"}},"additionalProperties":true},"ResumeSpaceBuildReadinessWorkflow":{"type":"object","required":["status","currentStage","completionPercent","counts"],"properties":{"status":{"type":["string","null"]},"currentStage":{"type":["string","null"]},"completionPercent":{"type":"number"},"counts":{"$ref":"#/components/schemas/ResumeSpaceBuildReadinessWorkflowCounts"}},"additionalProperties":true},"ResumeSpaceBuildReadinessAction":{"type":"object","required":["id","label","executable","target","reason"],"properties":{"id":{"type":["string","null"]},"label":{"type":"string"},"stage":{"type":["string","null"]},"recommendationId":{"type":["string","null"]},"executable":{"type":"boolean"},"target":{"type":["string","null"]},"uiHint":{"type":["string","null"]},"reason":{"type":"string"},"method":{"type":"string"},"endpoint":{"type":"string"},"body":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"null"}]}},"additionalProperties":true},"ResumeSpaceBuildSourceRecommendation":{"type":"object","required":["id","label","status","priority","connectorId","sourceType","currentBlocker","evidenceGap","suggestedSignals","nextAction","availableActions","workflow"],"properties":{"id":{"type":["string","null"]},"label":{"type":"string"},"status":{"type":"string"},"priority":{"type":"number"},"connectorId":{"type":["string","null"]},"sourceType":{"type":["string","null"]},"currentBlocker":{"type":"string"},"evidenceGap":{"type":"string"},"suggestedSignals":{"type":"array","items":{"type":"string"}},"nextAction":{"oneOf":[{"$ref":"#/components/schemas/ResumeSpaceBuildReadinessAction"},{"type":"null"}]},"availableActions":{"type":"array","items":{"$ref":"#/components/schemas/ResumeSpaceBuildReadinessAction"}},"workflow":{"$ref":"#/components/schemas/ResumeSpaceBuildReadinessWorkflow"}},"additionalProperties":true},"ResumeSpaceBuildReadinessSourceOnboarding":{"type":"object","required":["recommendationCount","missingConnectorCount","needsUrlSourceCount","needsReviewCount","promptableGapCount","recommendations"],"properties":{"recommendationCount":{"type":"number"},"missingConnectorCount":{"type":"number"},"needsUrlSourceCount":{"type":"number"},"needsReviewCount":{"type":"number"},"promptableGapCount":{"type":"number"},"recommendations":{"type":"array","items":{"$ref":"#/components/schemas/ResumeSpaceBuildSourceRecommendation"}}},"additionalProperties":true},"ResumeSpaceBuildReadinessPrivacy":{"type":"object","required":["candidatePrivate","rawRegisteredSourceUrlsExposed","rawPromptTextExposed","rawAnswerTextExposed","rawClaimTextExposed","importedEvidenceBodiesExposed","publicWorkspaceExposesReadiness","reviewBoundary"],"properties":{"candidatePrivate":{"type":"boolean","const":true},"rawRegisteredSourceUrlsExposed":{"type":"boolean","const":false},"rawPromptTextExposed":{"type":"boolean","const":false},"rawAnswerTextExposed":{"type":"boolean","const":false},"rawClaimTextExposed":{"type":"boolean","const":false},"importedEvidenceBodiesExposed":{"type":"boolean","const":false},"publicWorkspaceExposesReadiness":{"type":"boolean","const":false},"reviewBoundary":{"type":"string"}},"additionalProperties":true},"ResumeSpaceBuildReadiness":{"type":"object","description":"Candidate-private metadata-only build readiness: evidence counts, source-onboarding gaps, and safe next actions.","required":["generatedAt","status","shippable","evidence","sourceOnboarding","nextActions","guidance","privacy"],"properties":{"generatedAt":{"type":"string"},"status":{"type":"string","enum":["needs_reviewed_evidence","ready_to_submit","shippable_with_source_followups","thin_but_submittable_with_followups"]},"shippable":{"type":"boolean"},"evidence":{"$ref":"#/components/schemas/ResumeSpaceBuildReadinessEvidence"},"sourceOnboarding":{"$ref":"#/components/schemas/ResumeSpaceBuildReadinessSourceOnboarding"},"nextActions":{"type":"array","items":{"$ref":"#/components/schemas/ResumeSpaceBuildReadinessAction"}},"guidance":{"type":"string"},"privacy":{"$ref":"#/components/schemas/ResumeSpaceBuildReadinessPrivacy"}},"additionalProperties":true},"ResumeSpaceBuildQr":{"type":"object","description":"One-time QR bearer payload returned to the authenticated candidate/operator; it is not persisted.","required":["svg","dataUrl","downloadFileName"],"properties":{"svg":{"type":"string"},"dataUrl":{"type":"string"},"downloadFileName":{"type":"string"}},"additionalProperties":true},"ResumeSpaceBuildUrls":{"type":"object","required":["humanResume","resumeUrl","qrSvg","agentPackage","liveQuery","openApi","llmsTxt"],"properties":{"humanResume":{"type":"string"},"resumeUrl":{"type":"string"},"qrSvg":{"type":"string"},"agentPackage":{"type":"string"},"liveQuery":{"type":"string"},"openApi":{"type":"string"},"llmsTxt":{"type":"string"}},"additionalProperties":true},"ResumeSpaceBuildInstruction":{"type":"object","required":["short","accessCodeLine","agentDisclosure"],"properties":{"short":{"type":"string"},"accessCodeLine":{"type":"string"},"agentDisclosure":{"type":"string"}},"additionalProperties":true},"ResumeSpaceDraftEvidence":{"type":"object","required":["citationId","type","id","label"],"properties":{"citationId":{"type":"string"},"type":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"}},"additionalProperties":true},"ResumeSpaceDraft":{"type":"object","description":"Candidate-private Markdown resume insert returned once. Issued drafts include bearer material and are not persisted by the builder.","required":["format","generatedAt","containsBearerCredential","evidenceCount","evidence","markdown"],"properties":{"format":{"type":"string","const":"markdown"},"generatedAt":{"type":"string"},"containsBearerCredential":{"type":"boolean","const":true},"evidenceCount":{"type":"number"},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/ResumeSpaceDraftEvidence"}},"markdown":{"type":"string"}},"additionalProperties":true},"ResumeSpaceBuildPackageWorkspaceOwner":{"type":"object","required":["name","currentRoles","headline"],"properties":{"name":{"type":"string"},"currentRoles":{"type":"array","items":{"type":"string"}},"headline":{"type":"string"}},"additionalProperties":true},"ResumeSpaceBuildPackageWorkspace":{"type":"object","required":["slug","owner"],"properties":{"slug":{"type":"string"},"owner":{"$ref":"#/components/schemas/ResumeSpaceBuildPackageWorkspaceOwner"}},"additionalProperties":true},"ResumeSpaceBuildLaunchSpace":{"type":"object","required":["slug","label","target","focus","suggestedQuestions","agentReadable"],"properties":{"slug":{"type":"string"},"label":{"type":"string"},"target":{"type":"string"},"focus":{"type":"array","items":{"type":"string"}},"suggestedQuestions":{"type":"array","items":{"type":"string"}},"agentReadable":{"type":"object","required":["package"],"properties":{"package":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"ResumeSpaceBuildLaunchSubmissionAccess":{"type":"object","required":["model","status","codePrefix","maxUses","uses","remainingUses","expiresAt","rawCodeReturnedOnce","rawCodePersisted","storedAsHashOnly"],"properties":{"model":{"type":"string","const":"resume_access_code"},"status":{"type":"string"},"codePrefix":{"type":["string","null"]},"maxUses":{"type":["number","null"]},"uses":{"type":"number"},"remainingUses":{"type":["number","null"]},"expiresAt":{"type":["string","null"]},"rawCodeReturnedOnce":{"type":"boolean","const":true},"rawCodePersisted":{"type":"boolean","const":false},"storedAsHashOnly":{"type":"boolean","const":true}},"additionalProperties":true},"ResumeSpaceBuildLaunchSubmission":{"type":"object","required":["sourceLabel","recipientLabel","targetRole","access"],"properties":{"sourceLabel":{"type":"string"},"recipientLabel":{"type":"string"},"targetRole":{"type":"string"},"access":{"$ref":"#/components/schemas/ResumeSpaceBuildLaunchSubmissionAccess"}},"additionalProperties":true},"ResumeSpaceBuildLaunchHumanReview":{"type":"object","required":["purpose","resumeInsertIncluded","qrIncluded","suggestedQuestions","reviewFlow"],"properties":{"purpose":{"type":"string"},"resumeInsertIncluded":{"type":"boolean","const":true},"qrIncluded":{"type":"boolean"},"suggestedQuestions":{"type":"array","items":{"type":"string"}},"reviewFlow":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"ResumeSpaceBuildLaunchAgentReview":{"type":"object","required":["preferredFirstFetch","openApi","llmsTxt","liveQuery","queryRequiresAccessCode","agentPackageContainsBearerCredential","recommendedPromptPrefix","agentToAgentBoundary"],"properties":{"preferredFirstFetch":{"type":"string"},"openApi":{"type":"string"},"llmsTxt":{"type":"string"},"liveQuery":{"type":"string"},"queryRequiresAccessCode":{"type":"boolean","const":true},"agentPackageContainsBearerCredential":{"type":"boolean","const":false},"recommendedPromptPrefix":{"type":"string"},"agentToAgentBoundary":{"type":"string"}},"additionalProperties":true},"ResumeSpaceBuildLaunchEvidenceCitation":{"type":"object","required":["citationId","type","id","label"],"properties":{"citationId":{"type":"string"},"type":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"}},"additionalProperties":true},"ResumeSpaceBuildLaunchEvidenceSummary":{"type":"object","required":["total","byType","selectedEvidenceCount","unavailableSelectedEvidenceCount","privateMaterialExcluded","citationIds","citationIndex"],"properties":{"total":{"type":"number"},"byType":{"$ref":"#/components/schemas/DossierCoverageCountMap"},"selectedEvidenceCount":{"type":"number"},"unavailableSelectedEvidenceCount":{"type":"number"},"privateMaterialExcluded":{"type":"boolean","const":true},"citationIds":{"type":"array","items":{"type":"string"}},"citationIndex":{"type":"array","items":{"$ref":"#/components/schemas/ResumeSpaceBuildLaunchEvidenceCitation"}}},"additionalProperties":true},"ResumeSpaceBuildOperatorOneTimeMaterial":{"type":"object","description":"Operator-only bearer material returned once with an issued live resume-space package.","required":["containsBearerCredential","accessCode","gatedResumeUrl","qrSvgUrl","accessCodeLine","handling"],"properties":{"containsBearerCredential":{"type":"boolean","const":true},"accessCode":{"type":"string"},"gatedResumeUrl":{"type":"string"},"qrSvgUrl":{"type":"string"},"accessCodeLine":{"type":"string"},"handling":{"type":"string"}},"additionalProperties":true},"ResumeSpaceBuildSmokeCommands":{"type":"object","required":["publicDiscovery","fullGatedReview","agentPackageFetch"],"properties":{"publicDiscovery":{"type":"string"},"fullGatedReview":{"type":"string"},"agentPackageFetch":{"type":"string"}},"additionalProperties":true},"ResumeSpaceBuildRedactionBoundary":{"type":"object","required":["publicSafeOnly","privateMaterialExcluded","omittedFromPublicAgentPackages","note"],"properties":{"publicSafeOnly":{"type":"boolean","const":true},"privateMaterialExcluded":{"type":"boolean","const":true},"omittedFromPublicAgentPackages":{"type":"array","items":{"type":"string"}},"note":{"type":"string"}},"additionalProperties":true},"ResumeSpaceBuildLaunchSourceOnboarding":{"type":"object","required":["recommendationCount","missingConnectorCount","needsUrlSourceCount","promptableGapCount"],"properties":{"recommendationCount":{"type":"number"},"missingConnectorCount":{"type":"number"},"needsUrlSourceCount":{"type":"number"},"promptableGapCount":{"type":"number"}},"additionalProperties":true},"ResumeSpaceBuildLaunchNextAction":{"type":"object","required":["id","label","target","executable","reason"],"properties":{"id":{"type":["string","null"]},"label":{"type":"string"},"target":{"type":["string","null"]},"executable":{"type":"boolean"},"reason":{"type":"string"}},"additionalProperties":true},"ResumeSpaceBuildLaunchReadiness":{"type":"object","required":["status","shippable","guidance","evidence","sourceOnboarding","nextActions","privacy"],"properties":{"status":{"type":"string","enum":["needs_reviewed_evidence","ready_to_submit","shippable_with_source_followups","thin_but_submittable_with_followups","unknown"]},"shippable":{"type":"boolean"},"guidance":{"type":"string"},"evidence":{"$ref":"#/components/schemas/ResumeSpaceBuildReadinessEvidence"},"sourceOnboarding":{"$ref":"#/components/schemas/ResumeSpaceBuildLaunchSourceOnboarding"},"nextActions":{"type":"array","items":{"$ref":"#/components/schemas/ResumeSpaceBuildLaunchNextAction"}},"privacy":{"$ref":"#/components/schemas/ResumeSpaceBuildReadinessPrivacy"}},"additionalProperties":true},"ResumeSpaceBuildLaunchPacket":{"type":"object","description":"Candidate-private launch packet for human and agent reviewers. Operator bearer material is returned once; public agent packages exclude it.","required":["schema","schemaVersion","packetType","status","generatedAt","containsBearerCredential","audience","workspace","space","submission","humanReview","agentReview","evidenceSummary","operatorOneTimeMaterial","smokeCommands","redactionBoundary","operatorReadiness"],"properties":{"schema":{"type":"string","const":"https://cvportal.local/schemas/dossier-launch-packet.v1.json"},"schemaVersion":{"type":"number","const":1},"packetType":{"type":"string","const":"role_dossier_launch_packet"},"status":{"type":"string","enum":["issued_private_once"]},"generatedAt":{"type":"string"},"containsBearerCredential":{"type":"boolean","const":true},"audience":{"type":"array","items":{"type":"string"}},"workspace":{"$ref":"#/components/schemas/ResumeSpaceBuildPackageWorkspace"},"space":{"$ref":"#/components/schemas/ResumeSpaceBuildLaunchSpace"},"submission":{"$ref":"#/components/schemas/ResumeSpaceBuildLaunchSubmission"},"humanReview":{"$ref":"#/components/schemas/ResumeSpaceBuildLaunchHumanReview"},"agentReview":{"$ref":"#/components/schemas/ResumeSpaceBuildLaunchAgentReview"},"evidenceSummary":{"$ref":"#/components/schemas/ResumeSpaceBuildLaunchEvidenceSummary"},"operatorOneTimeMaterial":{"$ref":"#/components/schemas/ResumeSpaceBuildOperatorOneTimeMaterial"},"smokeCommands":{"$ref":"#/components/schemas/ResumeSpaceBuildSmokeCommands"},"redactionBoundary":{"$ref":"#/components/schemas/ResumeSpaceBuildRedactionBoundary"},"operatorReadiness":{"$ref":"#/components/schemas/ResumeSpaceBuildLaunchReadiness"}},"additionalProperties":true},"ResumeSpaceBuildAccessCredential":{"type":"object","description":"One-time access credential metadata; the raw code is returned elsewhere in the response and persisted only as HMAC material.","required":["rawCodeReturnedOnce","storedAsHashOnly","workingLinkCreated","codePrefix","bearerWarning"],"properties":{"rawCodeReturnedOnce":{"type":"boolean","const":true},"storedAsHashOnly":{"type":"boolean","const":true},"workingLinkCreated":{"type":"boolean","const":true},"codePrefix":{"type":"string"},"bearerWarning":{"type":"string"}},"additionalProperties":true},"ResumeSpaceBuildIssuedAccessLink":{"type":"object","description":"Access-link metadata plus one-time raw access material for this issued builder response. Subsequent access-link reads return only redacted metadata.","required":["id","workspaceSlug","spaceSlug","status","codePrefix","maxUses","uses","remainingUses","accessCode","resumeUrl"],"properties":{"id":{"type":"string"},"workspaceSlug":{"type":"string"},"spaceSlug":{"type":"string"},"spaceLabel":{"type":"string"},"sourceLabel":{"type":"string"},"recipientLabel":{"type":"string"},"status":{"type":"string"},"codePrefix":{"type":"string"},"createdAt":{"type":["string","null"]},"updatedAt":{"type":["string","null"]},"expiresAt":{"type":["string","null"]},"maxUses":{"type":["number","null"]},"uses":{"type":"number"},"remainingUses":{"type":["number","null"]},"lastUsedAt":{"type":["string","null"]},"accessCode":{"type":"string"},"resumeUrl":{"type":"string"}},"additionalProperties":true},"ResumeSpaceBuildStorage":{"type":"object","description":"Persistence posture for the one-time builder artifacts.","required":["rawCodePersisted","qrPersisted","resumeDraftPersisted","launchPacketPersisted","persistedHashKeyVersion"],"properties":{"rawCodePersisted":{"type":"boolean","const":false},"qrPersisted":{"type":"boolean","const":false},"resumeDraftPersisted":{"type":"boolean","const":false},"launchPacketPersisted":{"type":"boolean","const":false},"persistedHashKeyVersion":{"type":["string","null"]}},"additionalProperties":true},"ResumeSpaceBuildResponse":{"type":"object","required":["schema","schemaVersion","status","generatedAt","builder","readiness","space","accessCode","resumeUrl","qr","agentPackageUrl","urls","resumeInstruction","resumeDraft","launchPacket","accessCredential","accessLink","accessLinks","workspace","memoryRefresh","storage","privacy"],"properties":{"schema":{"type":"string","const":"https://cvportal.local/schemas/workspace-resume-space-build.v1.json"},"schemaVersion":{"type":"number","const":1},"status":{"type":"string","enum":["issued"]},"generatedAt":{"type":"string"},"builder":{"$ref":"#/components/schemas/ResumeSpaceBuildBuilder"},"readiness":{"$ref":"#/components/schemas/ResumeSpaceBuildReadiness"},"space":{"$ref":"#/components/schemas/DossierPackageSpace"},"accessCode":{"type":"string"},"resumeUrl":{"type":"string"},"qr":{"$ref":"#/components/schemas/ResumeSpaceBuildQr"},"agentPackageUrl":{"type":"string"},"urls":{"$ref":"#/components/schemas/ResumeSpaceBuildUrls"},"resumeInstruction":{"$ref":"#/components/schemas/ResumeSpaceBuildInstruction"},"resumeDraft":{"$ref":"#/components/schemas/ResumeSpaceDraft"},"launchPacket":{"$ref":"#/components/schemas/ResumeSpaceBuildLaunchPacket"},"accessCredential":{"$ref":"#/components/schemas/ResumeSpaceBuildAccessCredential"},"accessLink":{"$ref":"#/components/schemas/ResumeSpaceBuildIssuedAccessLink"},"accessLinks":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceAccessLink"}},"workspace":{"$ref":"#/components/schemas/WorkspaceSummary"},"memoryRefresh":{"$ref":"#/components/schemas/WorkspaceMemoryRefresh"},"storage":{"$ref":"#/components/schemas/ResumeSpaceBuildStorage"},"privacy":{"$ref":"#/components/schemas/ResumeSpaceBuildPrivacy"}},"additionalProperties":true},"WorkerProcessRequest":{"type":"object","properties":{"workspaceSlug":{"type":"string"},"sourceId":{"type":"string"},"limit":{"type":"number"},"dryRun":{"type":"boolean","description":"When true, preview transcript retention cleanup without deleting rows."}},"additionalProperties":true},"WorkerProcessedSource":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"label":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"WorkerProcessedItem":{"type":"object","description":"Metadata-only worker result row for source-sync or embedding work. Raw source bodies, imported artifact bodies, vectors, worker tokens, hashes, local paths, and credentials are omitted.","properties":{"workspaceSlug":{"type":["string","null"]},"source":{"oneOf":[{"$ref":"#/components/schemas/WorkerProcessedSource"},{"type":"null"}]},"importedArtifactCount":{"type":"number"},"sourceSyncJob":{"type":"object","additionalProperties":true},"memoryRefresh":{"type":["object","null"],"additionalProperties":true},"status":{"type":["string","null"]},"provider":{"type":["string","null"]},"model":{"type":["string","null"]},"dimensions":{"type":["number","null"]},"usage":{"type":["object","null"],"additionalProperties":true},"error":{"type":["string","null"]},"embeddingJob":{"type":"object","additionalProperties":true},"memoryChunk":{"type":"object","additionalProperties":true}},"additionalProperties":true},"WorkerProcessPrivacy":{"type":"object","description":"Optional transcript-retention worker privacy contract for counts-only purge reports.","required":["transcriptTextExposed","localPathsExposed","credentialMaterialExposed","outputPolicy"],"properties":{"transcriptTextExposed":{"type":"boolean","const":false},"localPathsExposed":{"type":"boolean","const":false},"credentialMaterialExposed":{"type":"boolean","const":false},"outputPolicy":{"type":"string"}},"additionalProperties":true},"WorkerProcessResponse":{"type":"object","description":"Service-authenticated worker response for source-sync, embedding, or transcript-retention processing. Reports counts and redacted metadata only.","required":["workerMode","workspaceSlug","processedCount"],"properties":{"workerMode":{"type":"string","enum":["service_authenticated_source_sync_worker","service_authenticated_embedding_worker","service_authenticated_transcript_retention_worker"]},"workspaceSlug":{"type":["string","null"]},"sourceId":{"type":["string","null"]},"processedCount":{"type":"number"},"processed":{"type":"array","items":{"$ref":"#/components/schemas/WorkerProcessedItem"}},"embeddingProvider":{"type":"object","additionalProperties":true},"dryRun":{"type":"boolean"},"expiredCount":{"type":"number"},"deletedCount":{"type":"number"},"auditLogged":{"type":"boolean"},"purge":{"type":"object","additionalProperties":true},"privacy":{"$ref":"#/components/schemas/WorkerProcessPrivacy"}},"additionalProperties":true},"GenericResponse":{"type":"object","description":"Generic JSON response for simple mutation acknowledgements or metadata-only errors.","properties":{"ok":{"type":"boolean"},"status":{"type":"string"},"message":{"type":"string"},"error":{"type":"string"},"code":{"type":"string"}},"additionalProperties":true}}}}