{"openapi":"3.1.0","info":{"title":"Rakosun Workspace","version":"0.5.0"},"paths":{"/api/projects/{project_id}/execution":{"get":{"summary":"Execution Configuration","operationId":"execution_configuration_api_projects__project_id__execution_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Configure Execution","operationId":"configure_execution_api_projects__project_id__execution_put","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionPolicy"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/issues/{issue_id}/jobs":{"post":{"summary":"Create Job","operationId":"create_job_api_issues__issue_id__jobs_post","parameters":[{"name":"issue_id","in":"path","required":true,"schema":{"type":"string","title":"Issue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/jobs/{job_id}/approve":{"post":{"summary":"Approve Job","operationId":"approve_job_api_jobs__job_id__approve_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/hub__execution_api__ApprovalInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/jobs/{job_id}/cancel":{"post":{"summary":"Cancel Job","operationId":"cancel_job_api_jobs__job_id__cancel_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/jobs/{job_id}/retry":{"post":{"summary":"Retry Job","operationId":"retry_job_api_jobs__job_id__retry_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/jobs":{"get":{"summary":"List Jobs","operationId":"list_jobs_api_projects__project_id__jobs_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/jobs/{job_id}":{"get":{"summary":"Get Job","operationId":"get_job_api_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/runs/{run_id}/artifacts/{artifact_id}":{"get":{"summary":"Get Artifact","operationId":"get_artifact_api_runs__run_id__artifacts__artifact_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","title":"Artifact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workers":{"get":{"summary":"List Workers","operationId":"list_workers_api_workers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Worker","operationId":"create_worker_api_workers_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkerInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workers/{worker_id}":{"put":{"summary":"Set Worker State","operationId":"set_worker_state_api_workers__worker_id__put","parameters":[{"name":"worker_id","in":"path","required":true,"schema":{"type":"string","title":"Worker Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkerState"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workers/{worker_id}/projects":{"put":{"summary":"Set Worker Projects","operationId":"set_worker_projects_api_workers__worker_id__projects_put","parameters":[{"name":"worker_id","in":"path","required":true,"schema":{"type":"string","title":"Worker Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkerScopeInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/runner/heartbeat":{"post":{"summary":"Worker Heartbeat","operationId":"worker_heartbeat_api_runner_heartbeat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkerHeartbeat"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/runner/leases":{"post":{"summary":"Claim Lease","operationId":"claim_lease_api_runner_leases_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/runner/runs/{run_id}/heartbeat":{"post":{"summary":"Run Heartbeat","operationId":"run_heartbeat_api_runner_runs__run_id__heartbeat_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunHeartbeat"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/runner/runs/{run_id}/events":{"post":{"summary":"Record Event","operationId":"record_event_api_runner_runs__run_id__events_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/hub__execution_api__EventInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/runner/runs/{run_id}/publication-permit":{"post":{"summary":"Publication Permit","operationId":"publication_permit_api_runner_runs__run_id__publication_permit_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunHeartbeat"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/runner/runs/{run_id}/finish":{"post":{"summary":"Finish Attempt","operationId":"finish_attempt_api_runner_runs__run_id__finish_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/hub__execution_api__FinishInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deployment-workflows":{"get":{"summary":"Workflows","operationId":"workflows_api_deployment_workflows_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/projects/{project_id}/deployments":{"get":{"summary":"Project Deployments","operationId":"project_deployments_api_projects__project_id__deployments_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/deployment-targets":{"get":{"summary":"Deployment Targets","operationId":"deployment_targets_api_projects__project_id__deployment_targets_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/deployment-environments":{"post":{"summary":"Create Environment","operationId":"create_environment_api_projects__project_id__deployment_environments_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deployment-environments/{environment_id}":{"put":{"summary":"Update Environment","operationId":"update_environment_api_deployment_environments__environment_id__put","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","title":"Environment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deployment-environments/{environment_id}/jobs":{"post":{"summary":"Request Deployment","operationId":"request_deployment_api_deployment_environments__environment_id__jobs_post","parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","title":"Environment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deployments/{job_id}/approve":{"post":{"summary":"Approve Deployment","operationId":"approve_deployment_api_deployments__job_id__approve_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/hub__deployment_api__ApprovalInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deployments/{job_id}/cancel":{"post":{"summary":"Cancel Deployment","operationId":"cancel_deployment_api_deployments__job_id__cancel_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deployments/{job_id}":{"get":{"summary":"Get Deployment","operationId":"get_deployment_api_deployments__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deployment-executors":{"get":{"summary":"List Executors","operationId":"list_executors_api_deployment_executors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Enroll Executor","operationId":"enroll_executor_api_deployment_executors_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutorInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deployment-executors/{executor_id}":{"put":{"summary":"Enable Executor","operationId":"enable_executor_api_deployment_executors__executor_id__put","parameters":[{"name":"executor_id","in":"path","required":true,"schema":{"type":"string","title":"Executor Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutorState"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deployment-executor/heartbeat":{"post":{"summary":"Executor Heartbeat","operationId":"executor_heartbeat_api_deployment_executor_heartbeat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutorHeartbeat"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deployment-executor/artifacts":{"post":{"summary":"Register Artifact","operationId":"register_artifact_api_deployment_executor_artifacts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/hub__deployment_api__ArtifactInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deployment-executor/leases":{"post":{"summary":"Claim Deployment","operationId":"claim_deployment_api_deployment_executor_leases_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/deployment-executor/jobs/{job_id}/heartbeat":{"post":{"summary":"Deployment Heartbeat","operationId":"deployment_heartbeat_api_deployment_executor_jobs__job_id__heartbeat_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeartbeatInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deployment-executor/jobs/{job_id}/state":{"post":{"summary":"Deployment State","operationId":"deployment_state_api_deployment_executor_jobs__job_id__state_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaseInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deployment-executor/jobs/{job_id}/events":{"post":{"summary":"Deployment Event","operationId":"deployment_event_api_deployment_executor_jobs__job_id__events_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/hub__deployment_api__EventInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deployment-executor/jobs/{job_id}/activation-permit":{"post":{"summary":"Activation Permit","operationId":"activation_permit_api_deployment_executor_jobs__job_id__activation_permit_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaseInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deployment-executor/jobs/{job_id}/finish":{"post":{"summary":"Finish Deployment","operationId":"finish_deployment_api_deployment_executor_jobs__job_id__finish_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/hub__deployment_api__FinishInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/deployment-executor/jobs/{job_id}/recover":{"post":{"summary":"Recover Deployment","operationId":"recover_deployment_api_deployment_executor_jobs__job_id__recover_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/automation-policy":{"get":{"summary":"Get Policy","operationId":"get_policy_api_automation_policy_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"Put Policy","operationId":"put_policy_api_automation_policy_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/planning":{"get":{"summary":"Planning","operationId":"planning_api_planning_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/issues/{issue_id}/triage":{"get":{"summary":"Suggestions","operationId":"suggestions_api_issues__issue_id__triage_get","parameters":[{"name":"issue_id","in":"path","required":true,"schema":{"type":"string","title":"Issue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/triage/{suggestion_id}/adopt":{"post":{"summary":"Adopt","operationId":"adopt_api_triage__suggestion_id__adopt_post","parameters":[{"name":"suggestion_id","in":"path","required":true,"schema":{"type":"string","title":"Suggestion Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdoptionInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/prices":{"get":{"summary":"Prices","operationId":"prices_api_prices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Price","operationId":"create_price_api_prices_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/runs/{run_id}/costs":{"get":{"summary":"Run Costs","operationId":"run_costs_api_runs__run_id__costs_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/runs/{run_id}/price-options":{"get":{"summary":"Price Options","operationId":"price_options_api_runs__run_id__price_options_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/runs/{run_id}/costs/actual":{"post":{"summary":"Actual Cost","operationId":"actual_cost_api_runs__run_id__costs_actual_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActualCostInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/runs/{run_id}/costs/calculate":{"post":{"summary":"Calculate Cost","operationId":"calculate_cost_api_runs__run_id__costs_calculate_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculationInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/period-reports/capture":{"post":{"summary":"Capture","operationId":"capture_api_period_reports_capture_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/trends":{"get":{"summary":"Trends","operationId":"trends_api_trends_get","parameters":[{"name":"first","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First"}},{"name":"last","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last"}},{"name":"project","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/planning":{"get":{"summary":"Planning","operationId":"planning_api_projects__project_id__planning_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/issues":{"post":{"summary":"Create Issue","operationId":"create_issue_api_projects__project_id__issues_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/issues/{issue_id}/source":{"patch":{"summary":"Edit Issue","operationId":"edit_issue_api_issues__issue_id__source_patch","parameters":[{"name":"issue_id","in":"path","required":true,"schema":{"type":"string","title":"Issue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/milestones":{"post":{"summary":"Create Milestone","operationId":"create_milestone_api_projects__project_id__milestones_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MilestoneCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/milestones/{milestone_id}":{"patch":{"summary":"Edit Milestone","operationId":"edit_milestone_api_milestones__milestone_id__patch","parameters":[{"name":"milestone_id","in":"path","required":true,"schema":{"type":"string","title":"Milestone Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MilestoneEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/issues/{issue_id}/work-brief":{"get":{"summary":"Development","operationId":"development_api_issues__issue_id__work_brief_get","parameters":[{"name":"issue_id","in":"path","required":true,"schema":{"type":"string","title":"Issue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/issues/{issue_id}/development":{"get":{"summary":"Development","operationId":"development_api_issues__issue_id__development_get","parameters":[{"name":"issue_id","in":"path","required":true,"schema":{"type":"string","title":"Issue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/issues/{issue_id}/development-approval":{"post":{"summary":"Approve Development","operationId":"approve_development_api_issues__issue_id__development_approval_post","parameters":[{"name":"issue_id","in":"path","required":true,"schema":{"type":"string","title":"Issue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DevelopmentApproval"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/release-packages":{"get":{"summary":"List Packages","operationId":"list_packages_api_projects__project_id__release_packages_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Propose Package","operationId":"propose_package_api_projects__project_id__release_packages_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/release-packages/{package_id}":{"get":{"summary":"Get Package","operationId":"get_package_api_release_packages__package_id__get","parameters":[{"name":"package_id","in":"path","required":true,"schema":{"type":"string","title":"Package Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/release-packages/{package_id}/decision":{"post":{"summary":"Decide Package","operationId":"decide_package_api_release_packages__package_id__decision_post","parameters":[{"name":"package_id","in":"path","required":true,"schema":{"type":"string","title":"Package Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/issues/{issue_id}/time-entries":{"get":{"summary":"Entries","operationId":"entries_api_issues__issue_id__time_entries_get","parameters":[{"name":"issue_id","in":"path","required":true,"schema":{"type":"string","title":"Issue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Entry","operationId":"create_entry_api_issues__issue_id__time_entries_post","parameters":[{"name":"issue_id","in":"path","required":true,"schema":{"type":"string","title":"Issue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/time-entries/{entry_id}/corrections":{"post":{"summary":"Correct Entry","operationId":"correct_entry_api_time_entries__entry_id__corrections_post","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","title":"Entry Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectionInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/issues/{issue_id}/code-links":{"get":{"summary":"Get Links","operationId":"get_links_api_issues__issue_id__code_links_get","parameters":[{"name":"issue_id","in":"path","required":true,"schema":{"type":"string","title":"Issue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Link","operationId":"create_link_api_issues__issue_id__code_links_post","parameters":[{"name":"issue_id","in":"path","required":true,"schema":{"type":"string","title":"Issue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/code-links/{link_id}":{"delete":{"summary":"Revoke Link","operationId":"revoke_link_api_code_links__link_id__delete","parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","title":"Link Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/login":{"post":{"summary":"Login","operationId":"login_api_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/logout":{"post":{"summary":"Logout","operationId":"logout_api_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/me":{"get":{"summary":"Me","operationId":"me_api_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/directory":{"get":{"summary":"Directory","operationId":"directory_api_directory_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/directory/sync":{"post":{"summary":"Directory Sync","operationId":"directory_sync_api_directory_sync_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/projects":{"post":{"summary":"Create Project","operationId":"create_project_api_projects_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}":{"put":{"summary":"Update Project","operationId":"update_project_api_projects__project_id__put","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Project Detail","operationId":"project_detail_api_projects__project_id__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/members":{"put":{"summary":"Assign Member","operationId":"assign_member_api_projects__project_id__members_put","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/repositories":{"post":{"summary":"Add Repo","operationId":"add_repo_api_projects__project_id__repositories_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepositoryInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/members/{user_id}":{"delete":{"summary":"Revoke Member","operationId":"revoke_member_api_projects__project_id__members__user_id__delete","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/sync":{"post":{"summary":"Sync Project","operationId":"sync_project_api_projects__project_id__sync_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/report":{"get":{"summary":"Get Report","operationId":"get_report_api_report_get","parameters":[{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start"}},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End"}},{"name":"project","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project"}},{"name":"team","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team"}},{"name":"assignee","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignee"}},{"name":"issue_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issue Type"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"codex_completed","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Codex Completed"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/report.csv":{"get":{"summary":"Export Report","operationId":"export_report_api_report_csv_get","parameters":[{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start"}},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End"}},{"name":"project","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project"}},{"name":"team","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team"}},{"name":"assignee","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignee"}},{"name":"issue_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issue Type"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"codex_completed","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Codex Completed"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/issues/{issue_id}":{"get":{"summary":"Issue Detail","operationId":"issue_detail_api_issues__issue_id__get","parameters":[{"name":"issue_id","in":"path","required":true,"schema":{"type":"string","title":"Issue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Issue","operationId":"update_issue_api_issues__issue_id__put","parameters":[{"name":"issue_id","in":"path","required":true,"schema":{"type":"string","title":"Issue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/issues/{issue_id}/dependencies":{"post":{"summary":"Add Dependency","operationId":"add_dependency_api_issues__issue_id__dependencies_post","parameters":[{"name":"issue_id","in":"path","required":true,"schema":{"type":"string","title":"Issue Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependencyInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/issues/{issue_id}/dependencies/{target_id}":{"delete":{"summary":"Remove Dependency","operationId":"remove_dependency_api_issues__issue_id__dependencies__target_id__delete","parameters":[{"name":"issue_id","in":"path","required":true,"schema":{"type":"string","title":"Issue Id"}},{"name":"target_id","in":"path","required":true,"schema":{"type":"string","title":"Target Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/snapshots":{"get":{"summary":"Snapshots","operationId":"snapshots_api_snapshots_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Snapshot","operationId":"create_snapshot_api_snapshots_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnapshotInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/audit":{"get":{"summary":"Audit Log","operationId":"audit_log_api_audit_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":"Index","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"ActualCostInput":{"properties":{"amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string"}],"title":"Amount"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","title":"Currency"},"billing_type":{"type":"string","enum":["invoice","operator_allocation"],"title":"Billing Type"},"source":{"type":"string","maxLength":1000,"minLength":5,"title":"Source"},"external_reference":{"type":"string","maxLength":180,"minLength":3,"title":"External Reference"},"evidence_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Evidence Sha256"}},"type":"object","required":["amount","currency","billing_type","source","external_reference","evidence_sha256"],"title":"ActualCostInput"},"AdoptionInput":{"properties":{"issue_version":{"type":"integer","title":"Issue Version"},"fields":{"items":{"type":"string","enum":["issue_type","priority","acceptance_criteria","dependencies"]},"type":"array","maxItems":4,"minItems":1,"title":"Fields"}},"type":"object","required":["issue_version","fields"],"title":"AdoptionInput"},"CalculationInput":{"properties":{"price_id":{"type":"string","title":"Price Id"}},"type":"object","required":["price_id"],"title":"CalculationInput"},"CorrectionInput":{"properties":{"revision":{"type":"integer","minimum":0.0,"title":"Revision"},"minutes":{"type":"integer","maximum":1440.0,"minimum":0.0,"title":"Minutes"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"}},"type":"object","required":["revision","minutes","reason"],"title":"CorrectionInput"},"DependencyInput":{"properties":{"depends_on_id":{"type":"string","title":"Depends On Id"}},"type":"object","required":["depends_on_id"],"title":"DependencyInput"},"DeploymentInput":{"properties":{"artifact_id":{"type":"string","title":"Artifact Id"},"issue_id":{"type":"string","title":"Issue Id"},"environment_version":{"type":"integer","title":"Environment Version"},"rollback":{"type":"boolean","title":"Rollback","default":false}},"type":"object","required":["artifact_id","issue_id","environment_version"],"title":"DeploymentInput"},"DevelopmentApproval":{"properties":{"issue_version":{"type":"integer","minimum":1.0,"title":"Issue Version"},"project_version":{"type":"integer","minimum":1.0,"title":"Project Version"},"snapshot_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Snapshot Hash"}},"type":"object","required":["issue_version","project_version","snapshot_hash"],"title":"DevelopmentApproval"},"EnvironmentInput":{"properties":{"name":{"type":"string","enum":["development","staging","production"],"title":"Name"},"target_key":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9_-]{0,80}$","title":"Target Key"},"enabled":{"type":"boolean","title":"Enabled","default":false},"internal_only":{"type":"boolean","title":"Internal Only","default":false},"allowed_refs":{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1,"title":"Allowed Refs"},"required_checks":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Required Checks"},"approver_ids":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Approver Ids"},"require_separation":{"type":"boolean","title":"Require Separation","default":false},"target_version":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Target Version","default":"0000000000000000000000000000000000000000000000000000000000000000"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"}},"type":"object","required":["name","target_key","allowed_refs","required_checks","approver_ids"],"title":"EnvironmentInput"},"ExecutionPolicy":{"properties":{"enabled":{"type":"boolean","title":"Enabled","default":false},"model":{"type":"string","maxLength":100,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]*$","title":"Model"},"base_branch":{"type":"string","maxLength":200,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9_./-]*$","title":"Base Branch"},"test_profile":{"type":"string","enum":["python_pytest","python_compile","node_test","starfinder_engine","pi_noc"],"title":"Test Profile","default":"python_pytest"},"runtime_seconds":{"type":"integer","maximum":3600.0,"minimum":30.0,"title":"Runtime Seconds","default":900},"max_run_tokens":{"type":"integer","maximum":2000000.0,"minimum":1000.0,"title":"Max Run Tokens","default":100000}},"type":"object","required":["model","base_branch"],"title":"ExecutionPolicy"},"ExecutorHeartbeat":{"properties":{"targets":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Targets"},"workflows":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Workflows"},"target_versions":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":100,"title":"Target Versions"},"target_bindings":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object","maxProperties":100,"title":"Target Bindings"}},"type":"object","title":"ExecutorHeartbeat"},"ExecutorInput":{"properties":{"name":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,100}$","title":"Name"},"environment_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Environment Ids"}},"type":"object","required":["name","environment_ids"],"title":"ExecutorInput"},"ExecutorState":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["enabled"],"title":"ExecutorState"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HealthInput":{"properties":{"candidate_passed":{"type":"boolean","title":"Candidate Passed","default":false},"activated_passed":{"type":"boolean","title":"Activated Passed","default":false},"candidate_status":{"anyOf":[{"type":"integer","maximum":599.0,"minimum":100.0},{"type":"null"}],"title":"Candidate Status"},"activated_status":{"anyOf":[{"type":"integer","maximum":599.0,"minimum":100.0},{"type":"null"}],"title":"Activated Status"}},"type":"object","title":"HealthInput"},"HeartbeatInput":{"properties":{"lease":{"type":"string","maxLength":150,"minLength":30,"title":"Lease"},"phase":{"type":"string","enum":["preparing","candidate","activating","active","rolling_back","finishing"],"title":"Phase"}},"type":"object","required":["lease","phase"],"title":"HeartbeatInput"},"IssueCreate":{"properties":{"repository_id":{"type":"string","title":"Repository Id"},"title":{"type":"string","maxLength":255,"minLength":1,"title":"Title"},"description":{"type":"string","maxLength":20000,"title":"Description","default":""},"assignee":{"anyOf":[{"type":"string","maxLength":100,"pattern":"^[A-Za-z0-9_.-]+$"},{"type":"null"}],"title":"Assignee"},"milestone_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Milestone Id"},"mode":{"type":"string","enum":["human","human_codex","external_ai","internal_codex"],"title":"Mode","default":"human"},"status":{"type":"string","enum":["Inbox","Backlog","Ready","In Progress","Review","Done","Blocked","Failed","Cancelled"],"title":"Status","default":"Backlog"},"issue_type":{"type":"string","enum":["Epic","Feature","Bug","Task","Tech Debt","Deployment","Maintenance"],"title":"Issue Type","default":"Task"},"priority":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Priority","default":50},"acceptance_criteria":{"type":"string","maxLength":20000,"title":"Acceptance Criteria","default":""},"client_reference":{"type":"string","format":"uuid","title":"Client Reference"}},"type":"object","required":["repository_id","title","client_reference"],"title":"IssueCreate"},"IssueEdit":{"properties":{"version":{"type":"integer","minimum":1.0,"title":"Version"},"source_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Source Hash"},"title":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Description"},"assignee":{"anyOf":[{"type":"string","maxLength":100,"pattern":"^[A-Za-z0-9_.-]+$"},{"type":"null"}],"title":"Assignee"},"milestone_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Milestone Id"},"state":{"anyOf":[{"type":"string","enum":["open","closed"]},{"type":"null"}],"title":"State"},"mode":{"anyOf":[{"type":"string","enum":["human","human_codex","external_ai","internal_codex"]},{"type":"null"}],"title":"Mode"},"status":{"anyOf":[{"type":"string","enum":["Inbox","Backlog","Ready","In Progress","Review","Done","Blocked","Failed","Cancelled"]},{"type":"null"}],"title":"Status"},"issue_type":{"anyOf":[{"type":"string","enum":["Epic","Feature","Bug","Task","Tech Debt","Deployment","Maintenance"]},{"type":"null"}],"title":"Issue Type"},"priority":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Priority"},"acceptance_criteria":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Acceptance Criteria"}},"type":"object","required":["version","source_hash"],"title":"IssueEdit"},"IssueInput":{"properties":{"version":{"type":"integer","title":"Version"},"status":{"type":"string","enum":["Inbox","Backlog","Ready","In Progress","Review","Done","Blocked","Failed","Cancelled"],"title":"Status"},"issue_type":{"type":"string","enum":["Epic","Feature","Bug","Task","Tech Debt","Deployment","Maintenance"],"title":"Issue Type"},"priority":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Priority"},"mode":{"type":"string","enum":["human","human_codex","external_ai","internal_codex"],"title":"Mode"},"acceptance_criteria":{"type":"string","maxLength":20000,"title":"Acceptance Criteria","default":""}},"type":"object","required":["version","status","issue_type","priority","mode"],"title":"IssueInput"},"JobInput":{"properties":{"kind":{"type":"string","enum":["development","analysis","dispatch_assistance","deployment_assistance"],"title":"Kind","default":"development"}},"type":"object","title":"JobInput"},"LeaseInput":{"properties":{"lease":{"type":"string","maxLength":150,"minLength":30,"title":"Lease"}},"type":"object","required":["lease"],"title":"LeaseInput"},"LinkInput":{"properties":{"repository_id":{"type":"string","title":"Repository Id"},"pull_request_number":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Pull Request Number"},"commit_sha":{"anyOf":[{"type":"string","pattern":"^(?:[0-9a-f]{40}|[0-9a-f]{64})$"},{"type":"null"}],"title":"Commit Sha"}},"type":"object","required":["repository_id"],"title":"LinkInput"},"LoginInput":{"properties":{"organization":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,100}$","title":"Organization"},"token":{"type":"string","maxLength":500,"minLength":10,"title":"Token"}},"type":"object","required":["organization","token"],"title":"LoginInput"},"MemberInput":{"properties":{"user_id":{"type":"string","title":"User Id"},"role":{"type":"string","enum":["viewer","developer","lead"],"title":"Role"}},"type":"object","required":["user_id","role"],"title":"MemberInput"},"MilestoneCreate":{"properties":{"repository_id":{"type":"string","title":"Repository Id"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"description":{"type":"string","maxLength":10000,"title":"Description","default":""},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"state":{"type":"string","enum":["open","closed"],"title":"State","default":"open"}},"type":"object","required":["repository_id","title"],"title":"MilestoneCreate"},"MilestoneEdit":{"properties":{"source_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Source Hash"},"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":10000},{"type":"null"}],"title":"Description"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"state":{"anyOf":[{"type":"string","enum":["open","closed"]},{"type":"null"}],"title":"State"}},"type":"object","required":["source_hash"],"title":"MilestoneEdit"},"PackageDecision":{"properties":{"decision":{"type":"string","enum":["approve","reject"],"title":"Decision"},"snapshot_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Snapshot Hash"}},"type":"object","required":["decision","snapshot_hash"],"title":"PackageDecision"},"PackageInput":{"properties":{"repository_id":{"type":"string","title":"Repository Id"},"issue_id":{"type":"string","title":"Issue Id"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"kind":{"type":"string","enum":["docker_image","native_archive"],"title":"Kind","default":"docker_image"},"commit_sha":{"type":"string","pattern":"^(?:[0-9a-f]{40}|[0-9a-f]{64})$","title":"Commit Sha"},"source_ref":{"type":"string","pattern":"^refs/(?:heads|tags)/[A-Za-z0-9_./-]{1,200}$","title":"Source Ref"},"pull_request_number":{"type":"integer","exclusiveMinimum":0.0,"title":"Pull Request Number"},"image_digest":{"anyOf":[{"type":"string","pattern":"^(?:[a-zA-Z0-9][a-zA-Z0-9._:/-]{0,350}@)?sha256:[0-9a-f]{64}$"},{"type":"null"}],"title":"Image Digest"},"package_reference":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Package Reference"},"package_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Package Sha256"},"release_notes":{"type":"string","maxLength":10000,"title":"Release Notes","default":""}},"type":"object","required":["repository_id","issue_id","title","commit_sha","source_ref","pull_request_number"],"title":"PackageInput"},"PolicyInput":{"properties":{"version":{"type":"integer","minimum":0.0,"title":"Version"},"max_active_runs":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Max Active Runs"},"aging_hours":{"type":"integer","maximum":168.0,"minimum":1.0,"title":"Aging Hours","default":24},"monthly_enabled":{"type":"boolean","title":"Monthly Enabled","default":false},"timezone":{"type":"string","maxLength":50,"title":"Timezone","default":"Europe/Berlin"}},"type":"object","required":["version","max_active_runs"],"title":"PolicyInput"},"PriceInput":{"properties":{"model":{"type":"string","maxLength":100,"minLength":1,"title":"Model"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","title":"Currency"},"valid_from":{"type":"string","format":"date-time","title":"Valid From"},"valid_to":{"type":"string","format":"date-time","title":"Valid To"},"input_per_million":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string"}],"title":"Input Per Million"},"cached_per_million":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string"}],"title":"Cached Per Million"},"output_per_million":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string"}],"title":"Output Per Million"},"billing_type":{"type":"string","enum":["api_usage","subscription_token_value"],"title":"Billing Type"},"source":{"type":"string","maxLength":1000,"minLength":5,"title":"Source"}},"type":"object","required":["model","currency","valid_from","valid_to","input_per_million","cached_per_million","output_per_million","billing_type","source"],"title":"PriceInput"},"ProjectInput":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"description":{"type":"string","maxLength":10000,"title":"Description","default":""},"status":{"type":"string","enum":["Active","Paused","Archived"],"title":"Status","default":"Active"},"priority":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Priority","default":50},"lead_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lead Id"},"team_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id"},"risks":{"type":"string","maxLength":10000,"title":"Risks","default":""},"budget_tokens":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Budget Tokens"},"budget_period":{"anyOf":[{"type":"string","enum":["lifetime","weekly"]},{"type":"null"}],"title":"Budget Period"},"budget_timezone":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Budget Timezone"},"budget_unlimited":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Budget Unlimited"},"capacity":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Capacity","default":1},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"}},"type":"object","required":["name"],"title":"ProjectInput"},"QualityInput":{"properties":{"passed":{"type":"boolean","title":"Passed","default":false},"profile":{"type":"string","maxLength":50,"title":"Profile","default":""},"exit_code":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Exit Code"},"duration_ms":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Duration Ms"},"tests":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Tests"}},"type":"object","title":"QualityInput"},"RecoveryInput":{"properties":{"lease":{"type":"string","maxLength":150,"minLength":30,"title":"Lease"},"active_artifact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Active Artifact Id"},"healthy":{"type":"boolean","title":"Healthy"}},"type":"object","required":["lease","healthy"],"title":"RecoveryInput"},"RepositoryInput":{"properties":{"name":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,100}$","title":"Name"}},"type":"object","required":["name"],"title":"RepositoryInput"},"RollbackInput":{"properties":{"attempted":{"type":"boolean","title":"Attempted","default":false},"passed":{"type":"boolean","title":"Passed","default":false},"restored_artifact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Restored Artifact Id"}},"type":"object","title":"RollbackInput"},"RunHeartbeat":{"properties":{"lease":{"type":"string","maxLength":200,"minLength":20,"title":"Lease"},"phase":{"type":"string","enum":["preparing","codex","testing","publishing"],"title":"Phase"},"runtime_ms":{"anyOf":[{"type":"integer","maximum":4000000.0,"minimum":0.0},{"type":"null"}],"title":"Runtime Ms"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"}},"type":"object","required":["lease","phase"],"title":"RunHeartbeat"},"SnapshotInput":{"properties":{"month":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$","title":"Month"}},"type":"object","required":["month"],"title":"SnapshotInput"},"TimeInput":{"properties":{"minutes":{"type":"integer","maximum":1440.0,"minimum":1.0,"title":"Minutes"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"client_reference":{"type":"string","format":"uuid","title":"Client Reference"}},"type":"object","required":["minutes","occurred_at","client_reference"],"title":"TimeInput"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WorkerHeartbeat":{"properties":{"authenticated":{"type":"boolean","title":"Authenticated"},"sandbox_verified":{"type":"boolean","title":"Sandbox Verified"},"cli_version":{"type":"string","maxLength":100,"title":"Cli Version"},"models":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Models"}},"type":"object","required":["authenticated","sandbox_verified","cli_version"],"title":"WorkerHeartbeat"},"WorkerInput":{"properties":{"name":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,100}$","title":"Name"},"project_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Project Ids"}},"type":"object","required":["name","project_ids"],"title":"WorkerInput"},"WorkerScopeInput":{"properties":{"current_project_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Current Project Ids"},"project_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Project Ids"}},"type":"object","required":["current_project_ids","project_ids"],"title":"WorkerScopeInput"},"WorkerState":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["enabled"],"title":"WorkerState"},"hub__deployment_api__ApprovalInput":{"properties":{"plan_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Plan Hash"},"production_consent":{"type":"boolean","title":"Production Consent","default":false},"confirmation":{"type":"string","maxLength":100,"title":"Confirmation","default":""}},"type":"object","required":["plan_hash"],"title":"ApprovalInput"},"hub__deployment_api__ArtifactInput":{"properties":{"project_id":{"type":"string","title":"Project Id"},"repository_id":{"type":"string","title":"Repository Id"},"commit_sha":{"type":"string","pattern":"^(?:[0-9a-f]{40}|[0-9a-f]{64})$","title":"Commit Sha"},"image_digest":{"type":"string","pattern":"^(?:[a-zA-Z0-9][a-zA-Z0-9._:/-]{0,350}@)?sha256:[0-9a-f]{64}$","title":"Image Digest"},"source_ref":{"type":"string","maxLength":250,"minLength":12,"title":"Source Ref"},"pull_request_number":{"type":"integer","exclusiveMinimum":0.0,"title":"Pull Request Number"},"passed":{"type":"boolean","const":true,"title":"Passed"},"test_log_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Test Log Sha256"},"image_revision":{"type":"string","pattern":"^(?:[0-9a-f]{40}|[0-9a-f]{64})$","title":"Image Revision"}},"type":"object","required":["project_id","repository_id","commit_sha","image_digest","source_ref","pull_request_number","passed","test_log_sha256","image_revision"],"title":"ArtifactInput"},"hub__deployment_api__EventInput":{"properties":{"lease":{"type":"string","maxLength":150,"minLength":30,"title":"Lease"},"sequence":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Sequence"},"step":{"type":"string","pattern":"^[a-z_]{1,50}$","title":"Step"},"status":{"type":"string","enum":["started","passed","failed","info"],"title":"Status"},"message":{"type":"string","maxLength":8000,"title":"Message","default":""}},"type":"object","required":["lease","sequence","step","status"],"title":"EventInput"},"hub__deployment_api__FinishInput":{"properties":{"lease":{"type":"string","maxLength":150,"minLength":30,"title":"Lease"},"status":{"type":"string","enum":["succeeded","failed","cancelled","rolled_back","rollback_failed"],"title":"Status"},"last_event_sequence":{"type":"integer","minimum":0.0,"title":"Last Event Sequence"},"active_artifact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Active Artifact Id"},"error_category":{"anyOf":[{"type":"string","pattern":"^[a-z_]{1,100}$"},{"type":"null"}],"title":"Error Category"},"health":{"$ref":"#/components/schemas/HealthInput"},"rollback":{"$ref":"#/components/schemas/RollbackInput"}},"type":"object","required":["lease","status","last_event_sequence"],"title":"FinishInput"},"hub__execution_api__ApprovalInput":{"properties":{"issue_version":{"type":"integer","title":"Issue Version"},"project_version":{"type":"integer","title":"Project Version"}},"type":"object","required":["issue_version","project_version"],"title":"ApprovalInput"},"hub__execution_api__ArtifactInput":{"properties":{"kind":{"type":"string","enum":["patch","test_log","analysis","runner_log"],"title":"Kind"},"name":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,100}$","title":"Name"},"content":{"type":"string","maxLength":600000,"title":"Content"}},"type":"object","required":["kind","name","content"],"title":"ArtifactInput"},"hub__execution_api__EventInput":{"properties":{"lease":{"type":"string","maxLength":200,"minLength":20,"title":"Lease"},"sequence":{"type":"integer","maximum":1000000.0,"minimum":1.0,"title":"Sequence"},"event":{"additionalProperties":true,"type":"object","title":"Event"}},"type":"object","required":["lease","sequence","event"],"title":"EventInput"},"hub__execution_api__FinishInput":{"properties":{"lease":{"type":"string","maxLength":200,"minLength":20,"title":"Lease"},"status":{"type":"string","enum":["succeeded","failed","cancelled"],"title":"Status"},"ended_at":{"type":"string","format":"date-time","title":"Ended At"},"runtime_ms":{"anyOf":[{"type":"integer","maximum":4000000.0,"minimum":0.0},{"type":"null"}],"title":"Runtime Ms"},"runtime_completeness":{"type":"string","enum":["complete","partial","unknown"],"title":"Runtime Completeness","default":"complete"},"error_category":{"anyOf":[{"type":"string","pattern":"^[a-z_]{1,80}$"},{"type":"null"}],"title":"Error Category"},"successful_exit":{"type":"boolean","title":"Successful Exit","default":false},"last_event_sequence":{"type":"integer","minimum":0.0,"title":"Last Event Sequence"},"quality":{"$ref":"#/components/schemas/QualityInput"},"summary":{"type":"string","maxLength":20000,"title":"Summary","default":""},"result_commit":{"anyOf":[{"type":"string","pattern":"^(?:[0-9a-f]{40}|[0-9a-f]{64})$"},{"type":"null"}],"title":"Result Commit"},"pull_request_number":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Pull Request Number"},"artifacts":{"items":{"$ref":"#/components/schemas/hub__execution_api__ArtifactInput"},"type":"array","maxItems":5,"title":"Artifacts"}},"type":"object","required":["lease","status","ended_at","last_event_sequence"],"title":"FinishInput"}}}}