{"openapi":"3.1.0","info":{"title":"Tin Lite Switchboard","version":"0.1.0"},"paths":{"/api/projects/{project_id}/workflow-packages/candidate":{"post":{"summary":"Candidate","operationId":"candidate_api_projects__project_id__workflow_packages_candidate_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateSelection"}}}},"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}/workflow-packages/qualify":{"post":{"summary":"Qualify","operationId":"qualify_api_projects__project_id__workflow_packages_qualify_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualificationSelection"}}}},"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}/workflow-packages/evaluate":{"post":{"summary":"Evaluate","description":"Explicit live evaluation; normal project admission, execution and billing apply.","operationId":"evaluate_api_projects__project_id__workflow_packages_evaluate_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationStart"}}}},"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}/workflow-packages/guide":{"get":{"summary":"Guide","operationId":"guide_api_projects__project_id__workflow_packages_guide_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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}/workflow-packages/validate":{"post":{"summary":"Validate","operationId":"validate_api_projects__project_id__workflow_packages_validate_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageSelection"}}}},"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}/workflow-packages/activate":{"post":{"summary":"Activate","operationId":"activate_api_projects__project_id__workflow_packages_activate_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageActivation"}}}},"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}/workflow-packages/{workflow_id}/archive":{"post":{"summary":"Archive","operationId":"archive_api_projects__project_id__workflow_packages__workflow_id__archive_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateWorkflowArchive"}}}},"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}/content-programs/{program_id}/runs/{run_id}/stop":{"post":{"summary":"Stop","operationId":"stop_api_projects__project_id__content_programs__program_id__runs__run_id__stop_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"program_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Program Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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/projects/{project_id}/content-programs/sources":{"get":{"summary":"Sources","operationId":"sources_api_projects__project_id__content_programs_sources_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"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}/content-programs/{program_id}":{"get":{"summary":"Facts","operationId":"facts_api_projects__project_id__content_programs__program_id__get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"program_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Program 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}/content-programs/{program_id}/plan":{"get":{"summary":"Read","operationId":"read_api_projects__project_id__content_programs__program_id__plan_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"program_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Program Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Save","operationId":"save_api_projects__project_id__content_programs__program_id__plan_put","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"program_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Program Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditPlan"}}}},"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}/content-programs/{program_id}/revisions":{"post":{"summary":"Revise","operationId":"revise_api_projects__project_id__content_programs__program_id__revisions_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"program_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Program Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevisionRequest"}}}},"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}/content-programs/{program_id}/revisions/{revision_id}":{"post":{"summary":"Resolve","operationId":"resolve_api_projects__project_id__content_programs__program_id__revisions__revision_id__post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"program_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Program Id"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Revision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveRevision"}}}},"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}/content-drafts/sources":{"get":{"summary":"Sources","operationId":"sources_api_projects__project_id__content_drafts_sources_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"program_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Program 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}/content-programs/{program_id}/delivery":{"get":{"summary":"Get Settings","operationId":"get_settings_api_projects__project_id__content_programs__program_id__delivery_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"program_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Program Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Save Settings","operationId":"save_settings_api_projects__project_id__content_programs__program_id__delivery_put","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"program_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Program Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveDelivery"}}}},"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}/content-drafts/{run_id}/delivery":{"get":{"summary":"Status","operationId":"status_api_projects__project_id__content_drafts__run_id__delivery_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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/projects/{project_id}/content-drafts/{run_id}/publish-preview":{"get":{"summary":"Preview","description":"The approval card's Publish line for a page Tin adapts to the site.","operationId":"preview_api_projects__project_id__content_drafts__run_id__publish_preview_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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/projects/{project_id}/content-drafts/{run_id}/delivery/retry":{"post":{"summary":"Retry","operationId":"retry_api_projects__project_id__content_drafts__run_id__delivery_retry_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/organic-system/runs/{run_id}":{"get":{"summary":"System Run","operationId":"system_run_api_projects__project_id__organic_system_runs__run_id__get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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/projects/{project_id}/organic-system/runs/{run_id}/stop":{"post":{"summary":"Stop Recipe","operationId":"stop_recipe_api_projects__project_id__organic_system_runs__run_id__stop_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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/projects/{project_id}/connections/secrets":{"get":{"summary":"List Secrets","operationId":"list_secrets_api_projects__project_id__connections_secrets_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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":"Save Secrets","operationId":"save_secrets_api_projects__project_id__connections_secrets_put","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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}/connections/secrets/{name}/{revision}":{"delete":{"summary":"Delete Secret","operationId":"delete_secret_api_projects__project_id__connections_secrets__name___revision__delete","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"revision","in":"path","required":true,"schema":{"type":"string","title":"Revision"}}],"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}/connections/{provider_key}":{"put":{"summary":"Save Connection","operationId":"save_connection_api_projects__project_id__connections__provider_key__put","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}}],"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}/authors":{"get":{"summary":"List Authors","operationId":"list_authors_api_projects__project_id__authors_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"members","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Members"}}],"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}/authors/{author_id}":{"put":{"summary":"Save Author","operationId":"save_author_api_projects__project_id__authors__author_id__put","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"author_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Author Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorInput"}}}},"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}/authors/member/{member_id}":{"post":{"summary":"Select Member Author","operationId":"select_member_author_api_projects__project_id__authors_member__member_id__post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member 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}/people":{"get":{"summary":"List People","operationId":"list_people_api_projects__project_id__people_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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}/people/{person_id}":{"get":{"summary":"Get Person","operationId":"get_person_api_projects__project_id__people__person_id__get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"person_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Person Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Change Person","operationId":"change_person_api_projects__project_id__people__person_id__patch","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"person_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Person Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Forget Person","operationId":"forget_person_api_projects__project_id__people__person_id__delete","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"person_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Person Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/people/{person_id}/notes":{"post":{"summary":"Add Note","operationId":"add_note_api_projects__project_id__people__person_id__notes_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"person_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Person Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteText"}}}},"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}/people/{person_id}/notes/{note_id}":{"patch":{"summary":"Edit Note","operationId":"edit_note_api_projects__project_id__people__person_id__notes__note_id__patch","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"person_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Person Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteText"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Note","operationId":"delete_note_api_projects__project_id__people__person_id__notes__note_id__delete","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"person_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Person Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note 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}/linkedin-requests":{"get":{"summary":"Read Requests","operationId":"read_requests_api_projects__project_id__linkedin_requests_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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}/linkedin-requests/sending":{"put":{"summary":"Change Sending","operationId":"change_sending_api_projects__project_id__linkedin_requests_sending_put","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendingChange"}}}},"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}/linkedin-requests/sending/resume":{"post":{"summary":"Resume Sending","operationId":"resume_sending_api_projects__project_id__linkedin_requests_sending_resume_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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}/linkedin-requests/batches/{batch_id}/approve":{"post":{"summary":"Approve","operationId":"approve_api_projects__project_id__linkedin_requests_batches__batch_id__approve_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Decision"}}}},"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}/linkedin-requests/batches/{batch_id}/discard":{"post":{"summary":"Discard","operationId":"discard_api_projects__project_id__linkedin_requests_batches__batch_id__discard_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Decision"}}}},"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}/linkedin-requests/send":{"post":{"summary":"Send","operationId":"send_api_projects__project_id__linkedin_requests_send_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Choice"}}}},"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}/linkedin-requests/people/{person_id}/cancel":{"post":{"summary":"Cancel","operationId":"cancel_api_projects__project_id__linkedin_requests_people__person_id__cancel_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"person_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Person 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}/connection-collection/pairing":{"post":{"summary":"Pairing","operationId":"pairing_api_projects__project_id__connection_collection_pairing_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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/connection-extension/pair":{"post":{"summary":"Pair","operationId":"pair_api_connection_extension_pair_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/projects/{project_id}/connection-extension/pending":{"get":{"summary":"Pending","operationId":"pending_api_projects__project_id__connection_extension_pending_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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}/connection-extension/status":{"get":{"summary":"Connection Status","operationId":"connection_status_api_projects__project_id__connection_extension_status_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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}/connection-extension/session":{"post":{"summary":"Connection Session","operationId":"connection_session_api_projects__project_id__connection_extension_session_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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}/connection-collection/preferences":{"put":{"summary":"Preferences","operationId":"preferences_api_projects__project_id__connection_collection_preferences_put","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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}/connection-extension/{run_id}/{operation}":{"post":{"summary":"Command","operationId":"command_api_projects__project_id__connection_extension__run_id___operation__post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"operation","in":"path","required":true,"schema":{"type":"string","title":"Operation"}}],"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}/connection-collection/{run_id}/resume":{"post":{"summary":"Resume","operationId":"resume_api_projects__project_id__connection_collection__run_id__resume_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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/public/workflows":{"get":{"summary":"Public Workflows","operationId":"public_workflows_api_public_workflows_get","parameters":[{"name":"if-none-match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-None-Match"}}],"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}/website-changes":{"get":{"summary":"List Changes","operationId":"list_changes_api_projects__project_id__website_changes_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["pending","approved","declined"],"type":"string"},{"type":"null"}],"title":"Status"}}],"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}/website-changes/questions":{"get":{"summary":"Judgment Calls","description":"The judgment calls the latest previews left open, for the Decisions page. The coding\nagent answers them with the next run, asking the founder when unsure.","operationId":"judgment_calls_api_projects__project_id__website_changes_questions_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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}/website-changes/{change_id}":{"get":{"summary":"Get Change","operationId":"get_change_api_projects__project_id__website_changes__change_id__get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"change_id","in":"path","required":true,"schema":{"type":"string","title":"Change 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}/website-changes/{change_id}/approve":{"post":{"summary":"Approve Change","description":"Approve one change row. website.change then publishes it, unless it is protected.","operationId":"approve_change_api_projects__project_id__website_changes__change_id__approve_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"change_id","in":"path","required":true,"schema":{"type":"string","title":"Change Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeDecision"}}}},"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}/website-changes/{change_id}/decline":{"post":{"summary":"Decline Change","description":"Decline one change row. Tin never makes it, and later runs do not propose it again.","operationId":"decline_change_api_projects__project_id__website_changes__change_id__decline_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"change_id","in":"path","required":true,"schema":{"type":"string","title":"Change Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeDecision"}}}},"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}/website-changes/preflight":{"post":{"summary":"Preflight Changes","description":"Record a source's change rows and preview the next run.\n\nStarts nothing: no run, compute, branch or pull request.","operationId":"preflight_changes_api_projects__project_id__website_changes_preflight_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TechnicalPreflight"}}}},"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}/protected-paths":{"get":{"summary":"Read Protected Paths","description":"The pages whose changes always wait for the founder's merge, and who changed them.","operationId":"read_protected_paths_api_projects__project_id__protected_paths_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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":"Save Protected Paths","description":"Replace the project's protected pages. /sign-in, /sign-up and /auth-complete stay.","operationId":"save_protected_paths_api_projects__project_id__protected_paths_put","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtectedPaths"}}}},"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}/official-profiles":{"get":{"summary":"Read Official Profiles","description":"The profiles and parent company website.change may write, and who confirmed them.","operationId":"read_official_profiles_api_projects__project_id__official_profiles_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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":"Save Official Profiles","description":"Replace the confirmed profiles and parent company.","operationId":"save_official_profiles_api_projects__project_id__official_profiles_put","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialProfiles"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/events/lock-page":{"post":{"summary":"Record Lock Page Event","description":"A browser sign-up met the locked dashboard and how far it watched the agent get.\n\nThe lock stands in for browser onboarding until it exists. Opened and copied show how\nmany people it sends to their coding agent; the other three are its steps ticking while\nthe page was open. The body is a fixed vocabulary, never free text.","operationId":"record_lock_page_event_api_events_lock_page_post","responses":{"204":{"description":"Successful Response"}},"security":[{"ClerkSession":[]}]}},"/api/projects/{project_id}/agent-setup":{"get":{"summary":"Get Agent Setup","description":"What the locked dashboard shows while the coding agent sets Tin up.\n\nAsked from the project the browser has open, usually the empty personal one, and\nanswered for the person: the agent often creates and onboards a separate project for\nthe business. Every project named in the answer is one they belong to.","operationId":"get_agent_setup_api_projects__project_id__agent_setup_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Agent Setup Api Projects  Project Id  Agent Setup Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/writing-style/guide":{"get":{"summary":"Get Writing Style Guide","operationId":"get_writing_style_guide_api_projects__project_id__writing_style_guide_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"author_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author 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}/writing-style/preview":{"post":{"summary":"Preview Writing Sample","operationId":"preview_writing_sample_api_projects__project_id__writing_style_preview_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"filename","in":"query","required":true,"schema":{"type":"string","maxLength":200,"title":"Filename"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/stop-procedure":{"post":{"summary":"Stop Codex Procedure Run","operationId":"stop_codex_procedure_run_api_workflows_runs__run_id__stop_procedure_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Stop Codex Procedure Run Api Workflows Runs  Run Id  Stop Procedure Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/stop-organic-audit":{"post":{"summary":"Stop Organic Audit Run","operationId":"stop_organic_audit_run_api_workflows_runs__run_id__stop_organic_audit_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Stop Organic Audit Run Api Workflows Runs  Run Id  Stop Organic Audit Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/stop-paid-ads-assessment":{"post":{"summary":"Stop Paid Ads Assessment Run","operationId":"stop_paid_ads_assessment_run_api_workflows_runs__run_id__stop_paid_ads_assessment_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Stop Paid Ads Assessment Run Api Workflows Runs  Run Id  Stop Paid Ads Assessment Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/stop-paid-ads-launch":{"post":{"summary":"Stop Paid Ads Launch Run","operationId":"stop_paid_ads_launch_run_api_workflows_runs__run_id__stop_paid_ads_launch_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Stop Paid Ads Launch Run Api Workflows Runs  Run Id  Stop Paid Ads Launch Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/stop-paid-ads-monitor":{"post":{"summary":"Stop Paid Ads Monitor Run","operationId":"stop_paid_ads_monitor_run_api_workflows_runs__run_id__stop_paid_ads_monitor_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Stop Paid Ads Monitor Run Api Workflows Runs  Run Id  Stop Paid Ads Monitor Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/paid-ads/proposals":{"get":{"summary":"List Paid Ads Proposals Route","operationId":"list_paid_ads_proposals_route_api_projects__project_id__paid_ads_proposals_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Paid Ads Proposals Route Api Projects  Project Id  Paid Ads Proposals Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/paid-ads/proposals/{proposal_id}/approve":{"post":{"summary":"Approve Paid Ads Proposal Route","operationId":"approve_paid_ads_proposal_route_api_paid_ads_proposals__proposal_id__approve_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Proposal Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Approve Paid Ads Proposal Route Api Paid Ads Proposals  Proposal Id  Approve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/paid-ads/proposals/{proposal_id}/discard":{"post":{"summary":"Discard Paid Ads Proposal Route","operationId":"discard_paid_ads_proposal_route_api_paid_ads_proposals__proposal_id__discard_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Proposal Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Discard Paid Ads Proposal Route Api Paid Ads Proposals  Proposal Id  Discard Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/stop-keyword-plan":{"post":{"summary":"Stop Keyword Plan Run","operationId":"stop_keyword_plan_run_api_workflows_runs__run_id__stop_keyword_plan_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Stop Keyword Plan Run Api Workflows Runs  Run Id  Stop Keyword Plan Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/healthz":{"get":{"summary":"Health","operationId":"health_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Health Healthz Get"}}}}}}},"/api/auth/me":{"get":{"summary":"Auth Me","operationId":"auth_me_api_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthView"}}}}},"security":[{"ClerkSession":[]}]}},"/api/projects/bootstrap":{"post":{"summary":"Bootstrap Personal Project","operationId":"bootstrap_personal_project_api_projects_bootstrap_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalProjectCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ClerkSession":[]}]}},"/api/workspaces":{"get":{"summary":"List Workspaces","operationId":"list_workspaces_api_workspaces_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WorkspaceView"},"type":"array","title":"Response List Workspaces Api Workspaces Get"}}}}},"security":[{"ClerkSession":[]}]}},"/api/workspaces/bootstrap":{"post":{"summary":"Bootstrap Personal Workspace","operationId":"bootstrap_personal_workspace_api_workspaces_bootstrap_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalProjectCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceBootstrapView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ClerkSession":[]}]}},"/api/workspaces/{workspace_id}/projects":{"post":{"summary":"Create Workspace Project","operationId":"create_workspace_project_api_workspaces__workspace_id__projects_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceProjectCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/members":{"get":{"summary":"List Project Members","operationId":"list_project_members_api_projects__project_id__members_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectMemberView"},"title":"Response List Project Members Api Projects  Project Id  Members Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/invitations":{"post":{"summary":"Create Project Invitation","operationId":"create_project_invitation_api_projects__project_id__invitations_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/invitations/{token}/accept":{"post":{"summary":"Accept Project Invitation","operationId":"accept_project_invitation_api_invitations__token__accept_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/integrations":{"get":{"summary":"List Project Integrations","operationId":"list_project_integrations_api_projects__project_id__integrations_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IntegrationView"},"title":"Response List Project Integrations Api Projects  Project Id  Integrations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/integrations/{provider_key}/connect":{"post":{"summary":"Start Integration Connection","operationId":"start_integration_connection_api_projects__project_id__integrations__provider_key__connect_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/IntegrationConnectRequest"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationConnectView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/google/complete":{"post":{"summary":"Complete Google Integration","operationId":"complete_google_integration_api_integrations_google_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleIntegrationComplete"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ClerkSession":[]}]}},"/api/integrations/posthog/complete":{"post":{"summary":"Complete Posthog Integration","description":"Finish PostHog OAuth; a repeated callback returns the connection it already made.","operationId":"complete_posthog_integration_api_integrations_posthog_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleIntegrationComplete"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ClerkSession":[]}]}},"/api/integrations/x/complete":{"post":{"summary":"Complete X Integration","description":"Finish the project-bound X PKCE grant after verifying the member and state.","operationId":"complete_x_integration_api_integrations_x_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleIntegrationComplete"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ClerkSession":[]}]}},"/api/integrations/linkedin/complete":{"post":{"summary":"Complete Linkedin Posting Integration","description":"Finish LinkedIn posting: record the accounts the founder picked in Zernio's connect.","operationId":"complete_linkedin_posting_integration_api_integrations_linkedin_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInPostingComplete"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ClerkSession":[]}]}},"/api/integrations/github-account/complete":{"post":{"summary":"Complete Github Account Integration","description":"Finish the GitHub OAuth App grant; a repeated callback returns the same connection.","operationId":"complete_github_account_integration_api_integrations_github_account_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleIntegrationComplete"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ClerkSession":[]}]}},"/api/integrations/github/authorize":{"post":{"summary":"Authorize Github Installation","operationId":"authorize_github_installation_api_integrations_github_authorize_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GitHubIntegrationAuthorize"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationConnectView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ClerkSession":[]}]}},"/api/integrations/github/complete":{"post":{"summary":"Complete Github Integration","operationId":"complete_github_integration_api_integrations_github_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GitHubIntegrationComplete"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ClerkSession":[]}]}},"/api/projects/{project_id}/integrations/{provider_key}/options":{"get":{"summary":"List Integration Options","operationId":"list_integration_options_api_projects__project_id__integrations__provider_key__options_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IntegrationOptionView"},"title":"Response List Integration Options Api Projects  Project Id  Integrations  Provider Key  Options Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/integrations/ads.google/link":{"post":{"summary":"Link Google Ads Account","description":"Record the founder's Google Ads customer id and send Tin's manager invitation.","operationId":"link_google_ads_account_api_projects__project_id__integrations_ads_google_link_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAdsLinkRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/integrations/ads.google/refresh":{"post":{"summary":"Refresh Google Ads Account","description":"Re-read the manager link, then billing and conversion health once it is active.","operationId":"refresh_google_ads_account_api_projects__project_id__integrations_ads_google_refresh_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/integrations/payments.stripe/key":{"post":{"summary":"Save Stripe Key","description":"Validate and store a pasted Stripe restricted key; replacing one names its revision.","operationId":"save_stripe_key_api_projects__project_id__integrations_payments_stripe_key_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/integrations/payments.stripe/refresh":{"post":{"summary":"Refresh Stripe Key","description":"Re-check which reads the stored key allows, after it was edited in Stripe.","operationId":"refresh_stripe_key_api_projects__project_id__integrations_payments_stripe_refresh_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/integrations/social.linkedin/refresh":{"post":{"summary":"Refresh Linkedin Posting","description":"Read the project's LinkedIn accounts from Zernio again.","operationId":"refresh_linkedin_posting_api_projects__project_id__integrations_social_linkedin_refresh_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/integrations/infra.github/code-repositories":{"put":{"summary":"Configure Code Repositories","operationId":"configure_code_repositories_api_projects__project_id__integrations_infra_github_code_repositories_put","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeRepositorySelection"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/integrations/{provider_key}":{"put":{"summary":"Configure Project Integration","operationId":"configure_project_integration_api_projects__project_id__integrations__provider_key__put","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationSelection"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Disconnect Project Integration","operationId":"disconnect_project_integration_api_projects__project_id__integrations__provider_key__delete","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/chat":{"post":{"summary":"Chat","operationId":"chat_api_chat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ClerkSession":[]}]}},"/api/projects/{project_id}/chat/messages":{"get":{"summary":"List Project Chat Messages","operationId":"list_project_chat_messages_api_projects__project_id__chat_messages_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessageView"},"title":"Response List Project Chat Messages Api Projects  Project Id  Chat Messages Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows":{"get":{"summary":"List Workflows","operationId":"list_workflows_api_workflows_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkflowView"},"title":"Response List Workflows Api Workflows Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/workflow-templates/{workflow_id}/saved":{"put":{"summary":"Save Workflow Template","operationId":"save_workflow_template_api_projects__project_id__workflow_templates__workflow_id__saved_put","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Remove Saved Workflow Template","operationId":"remove_saved_workflow_template_api_projects__project_id__workflow_templates__workflow_id__saved_delete","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects":{"get":{"summary":"List Projects","operationId":"list_projects_api_projects_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ProjectView"},"type":"array","title":"Response List Projects Api Projects Get"}}}}},"security":[{"ClerkSession":[]}]}},"/api/projects/{project_id}":{"delete":{"summary":"Delete Project","description":"Delete a project the caller created: stop its work, drop its schedules, connections\nand files, and hide it from every member. The row and billing history stay.","operationId":"delete_project_api_projects__project_id__delete","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"request_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}},{"name":"confirm_name","in":"query","required":true,"schema":{"type":"string","title":"Confirm Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectDeletionView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/x/drafts":{"get":{"summary":"Read X Drafts","operationId":"read_x_drafts_api_projects__project_id__x_drafts_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Read X Drafts Api Projects  Project Id  X Drafts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Save X Draft","operationId":"save_x_draft_api_projects__project_id__x_drafts_put","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XDraftSave"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Save X Draft Api Projects  Project Id  X Drafts Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/x/preview":{"post":{"summary":"Preview X Post","operationId":"preview_x_post_api_projects__project_id__x_preview_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XPostPreview"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Preview X Post Api Projects  Project Id  X Preview Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/x/publish":{"post":{"summary":"Publish X Post","operationId":"publish_x_post_api_projects__project_id__x_publish_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XPostPublish"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Publish X Post Api Projects  Project Id  X Publish Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/linkedin/drafts":{"get":{"summary":"Read Linkedin Drafts","operationId":"read_linkedin_drafts_api_projects__project_id__linkedin_drafts_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Read Linkedin Drafts Api Projects  Project Id  Linkedin Drafts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Save Linkedin Draft","operationId":"save_linkedin_draft_api_projects__project_id__linkedin_drafts_put","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XDraftSave"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Save Linkedin Draft Api Projects  Project Id  Linkedin Drafts Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/linkedin/publications":{"get":{"summary":"Read Linkedin Publications","description":"Where each post of one draft file stands on LinkedIn; the reader follows a publish.","operationId":"read_linkedin_publications_api_projects__project_id__linkedin_publications_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Read Linkedin Publications Api Projects  Project Id  Linkedin Publications Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/linkedin/request-changes":{"post":{"summary":"Request Linkedin Changes","description":"Redraft one post from a note with the drafting workflow that wrote the batch.","operationId":"request_linkedin_changes_api_projects__project_id__linkedin_request_changes_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInRevisionRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Request Linkedin Changes Api Projects  Project Id  Linkedin Request Changes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/linkedin/preview":{"post":{"summary":"Preview Linkedin Post","operationId":"preview_linkedin_post_api_projects__project_id__linkedin_preview_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XPostPreview"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Preview Linkedin Post Api Projects  Project Id  Linkedin Preview Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/linkedin/publish":{"post":{"summary":"Publish Linkedin Post","operationId":"publish_linkedin_post_api_projects__project_id__linkedin_publish_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XPostPublish"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Publish Linkedin Post Api Projects  Project Id  Linkedin Publish Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/files/upload":{"post":{"summary":"Upload Project Media","description":"Store one bounded image/video in project Files; bytes never enter MCP or JSON.","operationId":"upload_project_media_api_projects__project_id__files_upload_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"request_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Path"}},{"name":"expected_revision","in":"query","required":true,"schema":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Expected Revision"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Upload Project Media Api Projects  Project Id  Files Upload Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/files":{"get":{"summary":"List Project Files","operationId":"list_project_files_api_projects__project_id__files_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"revision","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{40}$"},{"type":"null"}],"title":"Revision"}},{"name":"include_modified","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Modified"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectFilesView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/files/search":{"get":{"summary":"Search Project Files","operationId":"search_project_files_api_projects__project_id__files_search_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":500,"title":"Query"}},{"name":"revision","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{40}$"},{"type":"null"}],"title":"Revision"}},{"name":"path","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"},"maxItems":100},{"type":"null"}],"title":"Path"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectFileSearchView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/files/history":{"get":{"summary":"Get Project File History","operationId":"get_project_file_history_api_projects__project_id__files_history_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Path"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":25,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectFileHistoryView"},"title":"Response Get Project File History Api Projects  Project Id  Files History Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/files/commit":{"post":{"summary":"Commit Project Files","operationId":"commit_project_files_api_projects__project_id__files_commit_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectFilesCommit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectFileCommitView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/files/revert":{"post":{"summary":"Revert Project Files","operationId":"revert_project_files_api_projects__project_id__files_revert_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectFilesRevert"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectFileCommitView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/files/raw":{"get":{"summary":"Get Project File","operationId":"get_project_file_api_projects__project_id__files_raw_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":1024,"title":"Path"}},{"name":"revision","in":"query","required":true,"schema":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Revision"}},{"name":"download","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Download"}}],"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}/files/document":{"get":{"summary":"Get Project File Document","operationId":"get_project_file_document_api_projects__project_id__files_document_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":1024,"title":"Path"}},{"name":"revision","in":"query","required":true,"schema":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Revision"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownDocumentView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/workflows":{"get":{"summary":"List Project Workflows","operationId":"list_project_workflows_api_projects__project_id__workflows_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectWorkflowView"},"title":"Response List Project Workflows Api Projects  Project Id  Workflows Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Project Workflow","operationId":"create_project_workflow_api_projects__project_id__workflows_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectWorkflowCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectWorkflowView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/workflows/{project_workflow_id}/diagram":{"get":{"summary":"Get Project Workflow Diagram","description":"How a saved workflow runs: its pinned revision's drawing, else today's, marked.","operationId":"get_project_workflow_diagram_api_projects__project_id__workflows__project_workflow_id__diagram_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"project_workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedWorkflowDiagramView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/workflow-setup":{"post":{"summary":"Workflow Setup","operationId":"workflow_setup_api_projects__project_id__workflow_setup_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowSetupRequest"}}}},"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}/system":{"get":{"summary":"Get Project System","operationId":"get_project_system_api_projects__project_id__system_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectSystemView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/week":{"get":{"summary":"Get Project Week","description":"A week of the System calendar in the viewer's time zone: runs, then what is to come.","operationId":"get_project_week_api_projects__project_id__week_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"start","in":"query","required":true,"schema":{"type":"string","format":"date","description":"The first of seven local days, usually a Monday.","title":"Start"},"description":"The first of seven local days, usually a Monday."},{"name":"timezone","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":100,"default":"UTC","title":"Timezone"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectWeekView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/decisions":{"get":{"summary":"List Project Decisions","operationId":"list_project_decisions_api_projects__project_id__decisions_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DecisionView"},"title":"Response List Project Decisions Api Projects  Project Id  Decisions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/decisions/{decision_id}/apply":{"post":{"summary":"Apply Decision","operationId":"apply_decision_api_decisions__decision_id__apply_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionApply"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/workflows/{project_workflow_id}":{"put":{"summary":"Update Project Workflow","operationId":"update_project_workflow_api_projects__project_id__workflows__project_workflow_id__put","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"project_workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Workflow Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectWorkflowUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectWorkflowView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Remove Project Workflow","operationId":"remove_project_workflow_api_projects__project_id__workflows__project_workflow_id__delete","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"project_workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Workflow Id"}},{"name":"expected_settings_revision","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Expected Settings Revision"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/workflows/{project_workflow_id}/runs":{"post":{"summary":"Start Project Workflow Run","operationId":"start_project_workflow_run_api_projects__project_id__workflows__project_workflow_id__runs_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"project_workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Workflow Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"Tin-Billing-Quote","in":"header","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Tin-Billing-Quote"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/workflows/{project_workflow_id}/retry":{"post":{"summary":"Retry Project Workflow Run","operationId":"retry_project_workflow_run_api_projects__project_id__workflows__project_workflow_id__retry_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"project_workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Workflow Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"Tin-Billing-Quote","in":"header","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Tin-Billing-Quote"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/workflows/{project_workflow_id}/pause":{"post":{"summary":"Pause Project Workflow","operationId":"pause_project_workflow_api_projects__project_id__workflows__project_workflow_id__pause_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"project_workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectWorkflowView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/workflows/{project_workflow_id}/skip-once":{"post":{"summary":"Skip Project Workflow Once","operationId":"skip_project_workflow_once_api_projects__project_id__workflows__project_workflow_id__skip_once_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"project_workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectWorkflowView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/workflows/{project_workflow_id}/resume":{"post":{"summary":"Resume Project Workflow","operationId":"resume_project_workflow_api_projects__project_id__workflows__project_workflow_id__resume_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"project_workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectWorkflowView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/runs":{"get":{"summary":"List Project Runs","operationId":"list_project_runs_api_projects__project_id__runs_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RunView"},"title":"Response List Project Runs Api Projects  Project Id  Runs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/activity":{"get":{"summary":"List Project Activity","operationId":"list_project_activity_api_projects__project_id__activity_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ActivityView"},"title":"Response List Project Activity Api Projects  Project Id  Activity Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/{workflow_id}":{"get":{"summary":"Get Workflow","operationId":"get_workflow_api_workflows__workflow_id__get","security":[{"ClerkSession":[]}],"parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}},{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/content.design_md/runs":{"post":{"summary":"Start Design Run","operationId":"start_design_run_api_workflows_content_design_md_runs_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/{workflow_id}/runs":{"post":{"summary":"Start Workflow Run","operationId":"start_workflow_run_api_workflows__workflow_id__runs_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workflow Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}":{"get":{"summary":"Get Run","operationId":"get_run_api_workflows_runs__run_id__get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/page-url":{"get":{"summary":"Get Run Page Url","description":"Where a proposed page appears; `check` asks GitHub and the public site, at most every\nten minutes per run, whether it merged and is live.","operationId":"get_run_page_url_api_workflows_runs__run_id__page_url_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"check","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Check"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Run Page Url Api Workflows Runs  Run Id  Page Url Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/usage":{"get":{"summary":"Get Run Usage","operationId":"get_run_usage_api_workflows_runs__run_id__usage_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Run Usage Api Workflows Runs  Run Id  Usage Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/output-comparison":{"get":{"summary":"Compare Run Output","operationId":"compare_run_output_api_workflows_runs__run_id__output_comparison_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Compare Run Output Api Workflows Runs  Run Id  Output Comparison Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/output-resolution":{"get":{"summary":"Get Run Output Resolution","operationId":"get_run_output_resolution_api_workflows_runs__run_id__output_resolution_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Run Output Resolution Api Workflows Runs  Run Id  Output Resolution Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Resolve Run Output","operationId":"resolve_run_output_api_workflows_runs__run_id__output_resolution_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutputResolutionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Resolve Run Output Api Workflows Runs  Run Id  Output Resolution Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/outreach/campaigns/{run_id}":{"get":{"summary":"Get Outreach Campaign","operationId":"get_outreach_campaign_api_outreach_campaigns__run_id__get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutreachCampaignView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/outreach/campaigns/{run_id}/deliveries":{"get":{"summary":"List Outreach Campaign Deliveries","operationId":"list_outreach_campaign_deliveries_api_outreach_campaigns__run_id__deliveries_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OutreachCampaignDeliveryView"},"title":"Response List Outreach Campaign Deliveries Api Outreach Campaigns  Run Id  Deliveries Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/outreach/campaigns/{run_id}/revisions":{"post":{"summary":"Revise Outreach Campaign","operationId":"revise_outreach_campaign_api_outreach_campaigns__run_id__revisions_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutreachCampaignRevisionCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutreachCampaignRevisionView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/outreach/campaigns/{run_id}/revisions/{revision_id}/approve":{"post":{"summary":"Approve Outreach Campaign Revision","operationId":"approve_outreach_campaign_revision_api_outreach_campaigns__run_id__revisions__revision_id__approve_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/outreach/campaigns/{run_id}/revisions/{revision_id}/discard":{"post":{"summary":"Discard Outreach Campaign Revision","operationId":"discard_outreach_campaign_revision_api_outreach_campaigns__run_id__revisions__revision_id__discard_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"revision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Revision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tasks/{run_id}":{"get":{"summary":"Get Project Task","operationId":"get_project_task_api_tasks__run_id__get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectTaskView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tasks/{run_id}/review/file":{"get":{"summary":"Get Project Task Review File","operationId":"get_project_task_review_file_api_tasks__run_id__review_file_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tasks/{run_id}/review/document":{"get":{"summary":"Get Project Task Review Document","operationId":"get_project_task_review_document_api_tasks__run_id__review_document_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownDocumentView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tasks/{run_id}/messages":{"post":{"summary":"Send Project Task Message","operationId":"send_project_task_message_api_tasks__run_id__messages_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskMessageCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectTaskView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tasks/{run_id}/pause":{"post":{"summary":"Pause Project Task","operationId":"pause_project_task_api_tasks__run_id__pause_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tasks/{run_id}/resume":{"post":{"summary":"Resume Project Task","operationId":"resume_project_task_api_tasks__run_id__resume_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tasks/{run_id}/stop":{"post":{"summary":"Stop Project Task","operationId":"stop_project_task_api_tasks__run_id__stop_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tasks/{run_id}/approve":{"post":{"summary":"Approve Project Task","operationId":"approve_project_task_api_tasks__run_id__approve_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/review":{"get":{"summary":"Workflow Review","operationId":"workflow_review_api_workflows_runs__run_id__review_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"post_id","in":"query","required":false,"schema":{"type":"string","default":"","title":"Post Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/proposal-revisions":{"post":{"summary":"Revise Capture Proposal","description":"Replace a waiting brand or style proposal's files; the founder still decides.","operationId":"revise_capture_proposal_api_workflows_runs__run_id__proposal_revisions_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProposalRevisionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Revise Capture Proposal Api Workflows Runs  Run Id  Proposal Revisions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/request-changes":{"post":{"summary":"Request Workflow Changes","operationId":"request_workflow_changes_api_workflows_runs__run_id__request_changes_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRevisionRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/review/compare":{"get":{"summary":"Compare Workflow Versions","operationId":"compare_workflow_versions_api_workflows_runs__run_id__review_compare_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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/workflows/runs/{run_id}/review/document":{"get":{"summary":"Read Previous Review Copy","description":"Read the current X guide, or an article revision's previous saved copy.","operationId":"read_previous_review_copy_api_workflows_runs__run_id__review_document_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownDocumentView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/approve":{"post":{"summary":"Approve Run","operationId":"approve_run_api_workflows_runs__run_id__approve_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/WorkflowReviewApproval"},{"type":"null"}],"title":"Payload"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/stop-email-campaign":{"post":{"summary":"Stop Email Campaign","operationId":"stop_email_campaign_api_workflows_runs__run_id__stop_email_campaign_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/brand":{"get":{"summary":"Get Project Brand","operationId":"get_project_brand_api_projects__project_id__brand_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"revision","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revision"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Project Brand Api Projects  Project Id  Brand Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/memory":{"get":{"summary":"Get Project Memory","operationId":"get_project_memory_api_projects__project_id__memory_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectMemoryView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/artifact":{"get":{"summary":"Get Artifact","operationId":"get_artifact_api_workflows_runs__run_id__artifact_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"source","in":"query","required":false,"schema":{"enum":["canonical","retained"],"type":"string","default":"canonical","title":"Source"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/artifact/document":{"get":{"summary":"Get Artifact Document","operationId":"get_artifact_document_api_workflows_runs__run_id__artifact_document_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"source","in":"query","required":false,"schema":{"enum":["canonical","retained"],"type":"string","default":"canonical","title":"Source"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownDocumentView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/runs/{run_id}":{"get":{"summary":"Run Card","operationId":"run_card_runs__run_id__get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{project_id}/billing":{"get":{"summary":"Overview","operationId":"overview_api_projects__project_id__billing_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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}/billing/estimate":{"post":{"summary":"Estimate","operationId":"estimate_api_projects__project_id__billing_estimate_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequest"}}}},"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}/billing/quotes":{"post":{"summary":"Quote","operationId":"quote_api_projects__project_id__billing_quotes_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequest"}}}},"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}/billing/limits":{"put":{"summary":"Policy","operationId":"policy_api_projects__project_id__billing_limits_put","security":[{"ClerkSession":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectSpendingPolicy"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workflows/runs/{run_id}/charge":{"get":{"summary":"Run Charge","operationId":"run_charge_api_workflows_runs__run_id__charge_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","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/workspaces/{workspace_id}/billing/test-enrollment":{"post":{"summary":"Enroll","operationId":"enroll_api_workspaces__workspace_id__billing_test_enrollment_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workspaces/{workspace_id}/billing/payments":{"get":{"summary":"Payment List","operationId":"payment_list_api_workspaces__workspace_id__billing_payments_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/payments/{payment_id}/return":{"get":{"summary":"Checkout Return","operationId":"checkout_return_api_billing_payments__payment_id__return_get","security":[{"ClerkSession":[]}],"parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workspaces/{workspace_id}/billing/checkout":{"post":{"summary":"Checkout","operationId":"checkout_api_workspaces__workspace_id__billing_checkout_post","security":[{"ClerkSession":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopupRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/stripe/tin-lite":{"post":{"summary":"Webhook","operationId":"webhook_webhooks_stripe_tin_lite_post","parameters":[{"name":"stripe-signature","in":"header","required":false,"schema":{"type":"string","default":"","title":"Stripe-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/twilio/sms":{"post":{"summary":"Twilio Inbound Sms","operationId":"twilio_inbound_sms_webhooks_twilio_sms_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"ActivityView":{"properties":{"id":{"type":"integer","title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"event_type":{"type":"string","title":"Event Type"},"details":{"additionalProperties":true,"type":"object","title":"Details"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"audience":{"type":"string","title":"Audience"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"workflow_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Key"},"workflow_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Title"}},"type":"object","required":["id","project_id","run_id","event_type","details","summary","audience","created_at","workflow_key","workflow_title"],"title":"ActivityView"},"AuthView":{"properties":{"clerk_user_id":{"type":"string","title":"Clerk User Id"},"project_count":{"type":"integer","title":"Project Count"}},"type":"object","required":["clerk_user_id","project_count"],"title":"AuthView"},"AuthorInput":{"properties":{"display_name":{"type":"string","maxLength":200,"minLength":1,"title":"Display Name"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"selected_guide":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Selected Guide"},"link_to_me":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Link To Me"}},"additionalProperties":false,"type":"object","required":["display_name","expected_version"],"title":"AuthorInput"},"CandidateSelection":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"additionalProperties":false,"type":"object","required":["run_id"],"title":"CandidateSelection"},"ChangeDecision":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"content_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Content Sha256"}},"additionalProperties":false,"type":"object","required":["request_id","content_sha256"],"title":"ChangeDecision","description":"The founder's decision on one change row, bound to the content they read."},"ChatCreate":{"properties":{"project_id":{"type":"string","format":"uuid","title":"Project Id"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"message":{"type":"string","maxLength":4000,"minLength":1,"title":"Message"}},"type":"object","required":["project_id","message"],"title":"ChatCreate"},"ChatMessageView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"role":{"type":"string","title":"Role"},"source":{"type":"string","title":"Source"},"content":{"type":"string","title":"Content"},"author_clerk_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author Clerk User Id"},"response_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response Id"},"routed_workflow_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Routed Workflow Key"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","project_id","request_id","role","source","content","author_clerk_user_id","response_id","routed_workflow_key","run_id","created_at"],"title":"ChatMessageView"},"ChatView":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"response_id":{"type":"string","title":"Response Id"},"message":{"type":"string","title":"Message"},"routed_workflow_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Routed Workflow Key"},"run":{"anyOf":[{"$ref":"#/components/schemas/RunView"},{"type":"null"}]}},"type":"object","required":["request_id","response_id","message","routed_workflow_key","run"],"title":"ChatView"},"Choice":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"people":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":100,"minItems":1,"title":"People"}},"additionalProperties":false,"type":"object","required":["request_id","people"],"title":"Choice"},"CodeRepositorySelection":{"properties":{"repositories":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Repositories"}},"additionalProperties":false,"type":"object","title":"CodeRepositorySelection"},"Decision":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"people":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":500,"title":"People"}},"additionalProperties":false,"type":"object","required":["request_id"],"title":"Decision"},"DecisionApply":{"properties":{"action":{"type":"string","enum":["approve","decline"],"title":"Action"},"feedback":{"anyOf":[{"type":"string","maxLength":8000},{"type":"null"}],"title":"Feedback"},"review_token":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Review Token"},"delivery":{"anyOf":[{"type":"string","enum":["github_pr","github_commit","none"]},{"type":"null"}],"title":"Delivery"},"remember":{"type":"boolean","title":"Remember","default":false}},"additionalProperties":false,"type":"object","required":["action"],"title":"DecisionApply"},"DecisionView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"workflow_key":{"type":"string","title":"Workflow Key"},"workflow_title":{"type":"string","title":"Workflow Title"},"kind":{"type":"string","enum":["review","select","response","output_conflict"],"title":"Kind"},"title":{"type":"string","title":"Title"},"explanation":{"type":"string","title":"Explanation"},"consequence":{"type":"string","title":"Consequence"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"},"response_schema":{"additionalProperties":true,"type":"object","title":"Response Schema"},"feedback_supported":{"type":"boolean","title":"Feedback Supported"},"status":{"type":"string","title":"Status"},"deadline_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deadline At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"output_resolution":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Output Resolution"},"version_saved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Version Saved At"},"revision":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Revision"},"output_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Title"}},"type":"object","required":["id","run_id","project_id","workflow_key","workflow_title","kind","title","explanation","consequence","items","response_schema","feedback_supported","status","created_at"],"title":"DecisionView"},"DeliverySettings":{"properties":{"mode":{"type":"string","enum":["draft_only","github_pr","github_commit"],"title":"Mode","default":"draft_only"},"repository":{"type":"string","maxLength":140,"title":"Repository","default":""},"path_pattern":{"type":"string","maxLength":240,"title":"Path Pattern","default":"content/blog/{slug}.md"},"frontmatter":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"integer"}]},"type":"object","maxProperties":20,"title":"Frontmatter"},"item_paths":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":100,"title":"Item Paths"}},"additionalProperties":false,"type":"object","title":"DeliverySettings"},"EditPlan":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"expected_revision":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Expected Revision"},"plan":{"additionalProperties":true,"type":"object","title":"Plan"}},"additionalProperties":false,"type":"object","required":["request_id","expected_revision","plan"],"title":"EditPlan"},"EvaluationStart":{"properties":{"path":{"type":"string","pattern":"^workflow_packages/[a-z][a-z0-9_.-]{0,79}/workflow\\.json$","title":"Path"},"revision":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Revision"},"runs":{"items":{"$ref":"#/components/schemas/RunCase"},"type":"array","maxItems":24,"title":"Runs"},"workflow_id":{"type":"string","format":"uuid","title":"Workflow Id"},"case_id":{"type":"string","pattern":"^[a-z][a-z0-9_-]{0,47}$","title":"Case Id"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"maximum_usd":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,3})(?:\\.[0-9]{1,2})?$","title":"Maximum Usd"}},"additionalProperties":false,"type":"object","required":["path","revision","workflow_id","case_id","request_id","maximum_usd"],"title":"EvaluationStart"},"Fit":{"properties":{"icp":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Icp"}},"additionalProperties":false,"type":"object","title":"Fit"},"GitHubIntegrationAuthorize":{"properties":{"installation_id":{"type":"integer","exclusiveMinimum":0.0,"title":"Installation Id"},"setup_action":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Setup Action"},"state":{"anyOf":[{"type":"string","maxLength":256,"minLength":1},{"type":"null"}],"title":"State"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"}},"additionalProperties":false,"type":"object","required":["installation_id"],"title":"GitHubIntegrationAuthorize","description":"GitHub came back with an installation but no code: the app was already installed."},"GitHubIntegrationComplete":{"properties":{"state":{"type":"string","maxLength":256,"minLength":1,"title":"State"},"code":{"type":"string","maxLength":4096,"minLength":1,"title":"Code"},"installation_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Installation Id"},"setup_action":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Setup Action"}},"additionalProperties":false,"type":"object","required":["state","code"],"title":"GitHubIntegrationComplete"},"GoogleAdsLinkRequest":{"properties":{"customer_id":{"type":"string","maxLength":14,"minLength":10,"title":"Customer Id"}},"additionalProperties":false,"type":"object","required":["customer_id"],"title":"GoogleAdsLinkRequest"},"GoogleIntegrationComplete":{"properties":{"state":{"type":"string","maxLength":256,"minLength":1,"title":"State"},"code":{"type":"string","maxLength":4096,"minLength":1,"title":"Code"}},"additionalProperties":false,"type":"object","required":["state","code"],"title":"GoogleIntegrationComplete"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IntegrationConnectRequest":{"properties":{"capabilities":{"anyOf":[{"items":{"type":"string"},"type":"array","minItems":1},{"type":"null"}],"title":"Capabilities"}},"additionalProperties":false,"type":"object","title":"IntegrationConnectRequest"},"IntegrationConnectView":{"properties":{"authorization_url":{"type":"string","title":"Authorization Url"}},"type":"object","required":["authorization_url"],"title":"IntegrationConnectView"},"IntegrationOptionView":{"properties":{"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"}},"type":"object","required":["id","label"],"title":"IntegrationOptionView"},"IntegrationSelection":{"properties":{"option_id":{"type":"string","maxLength":500,"minLength":1,"title":"Option Id"}},"additionalProperties":false,"type":"object","required":["option_id"],"title":"IntegrationSelection"},"IntegrationView":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"badge":{"type":"string","title":"Badge"},"description":{"type":"string","title":"Description"},"access_label":{"type":"string","title":"Access Label"},"capabilities":{"items":{"type":"string"},"type":"array","title":"Capabilities"},"unlocks":{"items":{"type":"string"},"type":"array","title":"Unlocks"},"setup_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Setup Url"},"configured":{"type":"boolean","title":"Configured"},"connection_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Connection Id"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"status":{"type":"string","title":"Status","default":"available"},"external_account_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Account Label"},"configuration":{"additionalProperties":true,"type":"object","title":"Configuration"},"connected_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Connected At"},"last_checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Checked At"},"last_error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error Code"}},"type":"object","required":["key","name","badge","description","access_label","capabilities","unlocks","configured"],"title":"IntegrationView"},"InvitationCreate":{"properties":{"email":{"type":"string","maxLength":320,"minLength":3,"title":"Email"}},"type":"object","required":["email"],"title":"InvitationCreate"},"InvitationView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"project_name":{"type":"string","title":"Project Name"},"email":{"type":"string","title":"Email"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"invitation_url":{"type":"string","title":"Invitation Url"}},"type":"object","required":["id","project_id","project_name","email","expires_at","invitation_url"],"title":"InvitationView"},"Limits":{"properties":{"daily_cap":{"anyOf":[{"type":"integer","maximum":25.0,"minimum":1.0},{"type":"null"}],"title":"Daily Cap"},"weekly_cap":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Weekly Cap"},"start_minute":{"anyOf":[{"type":"integer","maximum":1439.0,"minimum":0.0},{"type":"null"}],"title":"Start Minute"},"end_minute":{"anyOf":[{"type":"integer","maximum":1440.0,"minimum":1.0},{"type":"null"}],"title":"End Minute"}},"additionalProperties":false,"type":"object","title":"Limits"},"LinkedInPostingComplete":{"properties":{"state":{"type":"string","maxLength":256,"minLength":1,"title":"State"}},"additionalProperties":false,"type":"object","required":["state"],"title":"LinkedInPostingComplete","description":"Zernio returns without a code: the accounts are read from the project's profile."},"LinkedInRevisionRequest":{"properties":{"path":{"type":"string","maxLength":512,"minLength":1,"title":"Path"},"post_id":{"type":"string","pattern":"^p[1-6]$","title":"Post Id"},"feedback":{"type":"string","maxLength":4000,"minLength":1,"title":"Feedback"},"request_id":{"type":"string","format":"uuid","title":"Request Id"}},"additionalProperties":false,"type":"object","required":["path","post_id","feedback","request_id"],"title":"LinkedInRevisionRequest"},"MarkdownAssetView":{"properties":{"path":{"type":"string","title":"Path"},"media_type":{"type":"string","title":"Media Type"}},"type":"object","required":["path","media_type"],"title":"MarkdownAssetView","description":"A figure or embed the reader loads from the project at the document's revision."},"MarkdownDocumentView":{"properties":{"markdown":{"type":"string","title":"Markdown"},"html":{"type":"string","title":"Html"},"filename":{"type":"string","title":"Filename"},"source_url":{"type":"string","title":"Source Url"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"word_count":{"type":"integer","title":"Word Count"},"reading_minutes":{"type":"integer","title":"Reading Minutes"},"headings":{"items":{"$ref":"#/components/schemas/MarkdownHeadingView"},"type":"array","title":"Headings"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"},"revision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revision"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"related_documents":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","title":"Related Documents"},"sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sha256"},"assets":{"items":{"$ref":"#/components/schemas/MarkdownAssetView"},"type":"array","title":"Assets"},"asset_notes":{"items":{"type":"string"},"type":"array","title":"Asset Notes"}},"type":"object","required":["markdown","html","filename","source_url","timestamp","word_count","reading_minutes","headings"],"title":"MarkdownDocumentView"},"MarkdownHeadingView":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"}},"type":"object","required":["id","title"],"title":"MarkdownHeadingView"},"NoteText":{"properties":{"body":{"type":"string","maxLength":4000,"title":"Body"}},"additionalProperties":false,"type":"object","required":["body"],"title":"NoteText"},"OfficialProfiles":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"expected_revision":{"type":"integer","minimum":0.0,"title":"Expected Revision"},"profiles":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Profiles"},"parent_organization":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Parent Organization"}},"additionalProperties":false,"type":"object","required":["request_id","expected_revision","profiles"],"title":"OfficialProfiles","description":"The business's confirmed profiles and parent company, saved over the read revision."},"OutputResolutionRequest":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"action":{"type":"string","enum":["keep_current","use_saved"],"title":"Action"},"expected_revision":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Expected Revision"},"saved_revision":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Saved Revision"}},"additionalProperties":false,"type":"object","required":["request_id","action","expected_revision","saved_revision"],"title":"OutputResolutionRequest"},"OutreachCampaignDeliveryView":{"properties":{"recipient_address":{"type":"string","title":"Recipient Address"},"recipient_name":{"type":"string","title":"Recipient Name"},"recipient_status":{"type":"string","title":"Recipient Status"},"step":{"type":"string","enum":["initial","follow_up"],"title":"Step"},"status":{"type":"string","enum":["pending","started","sent","unknown","failed","skipped"],"title":"Status"},"scheduled_for":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Scheduled For"},"sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sent At"},"replied_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Replied At"}},"type":"object","required":["recipient_address","recipient_name","recipient_status","step","status"],"title":"OutreachCampaignDeliveryView"},"OutreachCampaignRevisionCreate":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"follow_up_body":{"type":"string","maxLength":20000,"minLength":1,"title":"Follow Up Body"}},"type":"object","required":["request_id","follow_up_body"],"title":"OutreachCampaignRevisionCreate"},"OutreachCampaignRevisionView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"campaign_run_id":{"type":"string","format":"uuid","title":"Campaign Run Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"revision_number":{"type":"integer","title":"Revision Number"},"status":{"type":"string","title":"Status"},"previous_follow_up_body":{"type":"string","title":"Previous Follow Up Body"},"follow_up_body":{"type":"string","title":"Follow Up Body"},"review_path":{"type":"string","title":"Review Path"},"review_commit_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review Commit Sha"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"reviewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reviewed At"}},"type":"object","required":["id","campaign_run_id","project_id","request_id","revision_number","status","previous_follow_up_body","follow_up_body","review_path","review_commit_sha","requested_at","reviewed_at"],"title":"OutreachCampaignRevisionView"},"OutreachCampaignView":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"channel":{"type":"string","title":"Channel"},"status":{"type":"string","title":"Status"},"source_path":{"type":"string","title":"Source Path"},"source_commit_sha":{"type":"string","title":"Source Commit Sha"},"review_path":{"type":"string","title":"Review Path"},"review_commit_sha":{"type":"string","title":"Review Commit Sha"},"recipient_count":{"type":"integer","title":"Recipient Count"},"sent_count":{"type":"integer","title":"Sent Count"},"replied_count":{"type":"integer","title":"Replied Count"},"failed_count":{"type":"integer","title":"Failed Count"},"delivered_count":{"type":"integer","title":"Delivered Count"},"unknown_delivery_count":{"type":"integer","title":"Unknown Delivery Count"},"failed_delivery_count":{"type":"integer","title":"Failed Delivery Count"},"daily_send_cap":{"type":"integer","title":"Daily Send Cap"},"send_interval_seconds":{"type":"integer","title":"Send Interval Seconds"},"send_window_start":{"type":"string","format":"time","title":"Send Window Start"},"send_window_end":{"type":"string","format":"time","title":"Send Window End"},"send_timezone":{"type":"string","title":"Send Timezone"},"next_delivery_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Delivery At"},"approved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Approved At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"current_follow_up_body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Follow Up Body"},"pending_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Pending Revision Id"},"pending_revision_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pending Revision Number"},"previous_follow_up_body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Previous Follow Up Body"},"proposed_follow_up_body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proposed Follow Up Body"},"pending_revision_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pending Revision Path"},"pending_revision_commit_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pending Revision Commit Sha"},"pending_revision_requested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Pending Revision Requested At"}},"type":"object","required":["run_id","project_id","channel","status","source_path","source_commit_sha","review_path","review_commit_sha","recipient_count","sent_count","replied_count","failed_count","delivered_count","unknown_delivery_count","failed_delivery_count","daily_send_cap","send_interval_seconds","send_window_start","send_window_end","send_timezone","next_delivery_at","approved_at","completed_at"],"title":"OutreachCampaignView"},"PackageActivation":{"properties":{"path":{"type":"string","pattern":"^workflow_packages/custom\\.[a-z][a-z0-9_]{0,47}/workflow\\.json$","title":"Path"},"revision":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Revision"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"expected_revision":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{40}$"},{"type":"null"}],"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["path","revision","request_id","expected_revision"],"title":"PackageActivation"},"PackageSelection":{"properties":{"path":{"type":"string","pattern":"^workflow_packages/custom\\.[a-z][a-z0-9_]{0,47}/workflow\\.json$","title":"Path"},"revision":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Revision"}},"additionalProperties":false,"type":"object","required":["path","revision"],"title":"PackageSelection"},"PersonChange":{"properties":{"fit":{"anyOf":[{"$ref":"#/components/schemas/Fit"},{"type":"null"}]},"customer":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Customer"}},"additionalProperties":false,"type":"object","title":"PersonChange"},"PersonalProjectCreate":{"properties":{"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"PersonalProjectCreate"},"PrivateWorkflowArchive":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"expected_revision":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["request_id","expected_revision"],"title":"PrivateWorkflowArchive"},"ProjectDeletionView":{"properties":{"project_id":{"type":"string","format":"uuid","title":"Project Id"},"name":{"type":"string","title":"Name"},"deleted_at":{"type":"string","format":"date-time","title":"Deleted At"},"stopped_runs":{"type":"integer","title":"Stopped Runs"},"removed_schedules":{"type":"integer","title":"Removed Schedules"},"disconnected":{"type":"integer","title":"Disconnected"},"repo_deleted":{"type":"boolean","title":"Repo Deleted"}},"type":"object","required":["project_id","name","deleted_at","stopped_runs","removed_schedules","disconnected","repo_deleted"],"title":"ProjectDeletionView"},"ProjectFileCommitView":{"properties":{"project_id":{"type":"string","format":"uuid","title":"Project Id"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"revision":{"type":"string","title":"Revision"},"changed_paths":{"items":{"type":"string"},"type":"array","title":"Changed Paths"},"operation":{"type":"string","title":"Operation"},"replayed":{"type":"boolean","title":"Replayed"}},"type":"object","required":["project_id","request_id","revision","changed_paths","operation","replayed"],"title":"ProjectFileCommitView"},"ProjectFileHistoryView":{"properties":{"revision":{"type":"string","title":"Revision"},"message":{"type":"string","title":"Message"},"author_name":{"type":"string","title":"Author Name"},"date":{"type":"string","format":"date-time","title":"Date"},"state":{"type":"string","title":"State"}},"type":"object","required":["revision","message","author_name","date","state"],"title":"ProjectFileHistoryView"},"ProjectFileMutationInput":{"properties":{"operation":{"type":"string","enum":["upsert","delete","rename"],"title":"Operation"},"path":{"type":"string","maxLength":512,"minLength":1,"title":"Path"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"new_path":{"anyOf":[{"type":"string","maxLength":512,"minLength":1},{"type":"null"}],"title":"New Path"}},"additionalProperties":false,"type":"object","required":["operation","path"],"title":"ProjectFileMutationInput","description":"One project file change as a client sends it over HTTP or MCP.\n\nupsert replaces the whole file at path with content; delete takes only path; rename moves\npath to new_path. Unknown keys are rejected so a wrong shape fails with the field named."},"ProjectFileSearchLineView":{"properties":{"line_number":{"type":"integer","title":"Line Number"},"text":{"type":"string","title":"Text"}},"type":"object","required":["line_number","text"],"title":"ProjectFileSearchLineView"},"ProjectFileSearchMatchView":{"properties":{"path":{"type":"string","title":"Path"},"lines":{"items":{"$ref":"#/components/schemas/ProjectFileSearchLineView"},"type":"array","title":"Lines"}},"type":"object","required":["path","lines"],"title":"ProjectFileSearchMatchView"},"ProjectFileSearchView":{"properties":{"revision":{"type":"string","title":"Revision"},"matches":{"items":{"$ref":"#/components/schemas/ProjectFileSearchMatchView"},"type":"array","title":"Matches"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["revision","matches","has_more"],"title":"ProjectFileSearchView"},"ProjectFileView":{"properties":{"path":{"type":"string","title":"Path"},"modified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Modified At"}},"type":"object","required":["path"],"title":"ProjectFileView"},"ProjectFilesCommit":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"expected_revision":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Expected Revision"},"message":{"type":"string","maxLength":240,"minLength":1,"title":"Message"},"changes":{"items":{"$ref":"#/components/schemas/ProjectFileMutationInput"},"type":"array","maxItems":50,"minItems":1,"title":"Changes"}},"additionalProperties":false,"type":"object","required":["expected_revision","message","changes"],"title":"ProjectFilesCommit"},"ProjectFilesRevert":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"commit_sha":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Commit Sha"},"expected_revision":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["commit_sha","expected_revision"],"title":"ProjectFilesRevert"},"ProjectFilesView":{"properties":{"project_id":{"type":"string","format":"uuid","title":"Project Id"},"revision":{"type":"string","title":"Revision"},"files":{"items":{"$ref":"#/components/schemas/ProjectFileView"},"type":"array","title":"Files"}},"type":"object","required":["project_id","revision","files"],"title":"ProjectFilesView"},"ProjectMemberView":{"properties":{"clerk_user_id":{"type":"string","title":"Clerk User Id"},"joined_at":{"type":"string","format":"date-time","title":"Joined At"}},"type":"object","required":["clerk_user_id","joined_at"],"title":"ProjectMemberView"},"ProjectMemoryView":{"properties":{"project_id":{"type":"string","format":"uuid","title":"Project Id"},"scope":{"type":"string","title":"Scope","default":"project"},"ready":{"type":"boolean","title":"Ready"},"commit_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commit Sha"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"}},"type":"object","required":["project_id","ready","commit_sha","path","content"],"title":"ProjectMemoryView"},"ProjectSpendingPolicy":{"properties":{"per_run_nanos":{"type":"integer","maximum":100000000000000.0,"minimum":0.0,"title":"Per Run Nanos"},"monthly_nanos":{"type":"integer","maximum":100000000000000.0,"minimum":0.0,"title":"Monthly Nanos"},"schedule_max_nanos":{"anyOf":[{"type":"integer","maximum":100000000000000.0,"minimum":0.0},{"type":"null"}],"title":"Schedule Max Nanos"},"expected_revision":{"type":"integer","minimum":0.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["per_run_nanos","monthly_nanos","expected_revision"],"title":"ProjectSpendingPolicy"},"ProjectSystemView":{"properties":{"workflow_count":{"type":"integer","title":"Workflow Count"},"running_count":{"type":"integer","title":"Running Count"},"runs_this_month":{"type":"integer","title":"Runs This Month"},"waiting_count":{"type":"integer","title":"Waiting Count"},"activity_count_30_days":{"type":"integer","title":"Activity Count 30 Days","default":0},"next_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Run At"},"set_up_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Set Up At"},"timezone":{"type":"string","title":"Timezone"},"last_mcp_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Mcp Used At"},"last_mcp_tool_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Mcp Tool Name"}},"type":"object","required":["workflow_count","running_count","runs_this_month","waiting_count","timezone"],"title":"ProjectSystemView"},"ProjectTaskView":{"properties":{"run":{"$ref":"#/components/schemas/RunView"},"entries":{"items":{"$ref":"#/components/schemas/TaskEntryView"},"type":"array","title":"Entries"}},"type":"object","required":["run","entries"],"title":"ProjectTaskView"},"ProjectView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"state_repo_id":{"type":"string","title":"State Repo Id"},"canonical_branch":{"type":"string","title":"Canonical Branch"},"timezone":{"type":"string","title":"Timezone","default":"UTC"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"workspace_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Name"},"can_create_project_in_workspace":{"type":"boolean","title":"Can Create Project In Workspace","default":false},"member_count":{"type":"integer","title":"Member Count","default":1},"can_delete":{"type":"boolean","title":"Can Delete","default":false}},"type":"object","required":["id","name","state_repo_id","canonical_branch"],"title":"ProjectView"},"ProjectWeekView":{"properties":{"start":{"type":"string","format":"date","title":"Start"},"timezone":{"type":"string","title":"Timezone"},"runs":{"items":{"$ref":"#/components/schemas/WeekRunView"},"type":"array","title":"Runs"},"occurrences":{"items":{"$ref":"#/components/schemas/WeekOccurrenceView"},"type":"array","title":"Occurrences"}},"type":"object","required":["start","timezone","runs","occurrences"],"title":"ProjectWeekView"},"ProjectWorkflowCreate":{"properties":{"workflow_id":{"type":"string","format":"uuid","title":"Workflow Id"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"inputs":{"additionalProperties":true,"type":"object","title":"Inputs"},"schedule":{"anyOf":[{"$ref":"#/components/schemas/WorkflowSchedule"},{"type":"null"}]},"request_id":{"type":"string","format":"uuid","title":"Request Id"}},"additionalProperties":false,"type":"object","required":["workflow_id","name","request_id"],"title":"ProjectWorkflowCreate"},"ProjectWorkflowUpdate":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"inputs":{"additionalProperties":true,"type":"object","title":"Inputs"},"schedule":{"anyOf":[{"$ref":"#/components/schemas/WorkflowSchedule"},{"type":"null"}]},"expected_settings_revision":{"type":"integer","minimum":1.0,"title":"Expected Settings Revision"}},"additionalProperties":false,"type":"object","required":["name","expected_settings_revision"],"title":"ProjectWorkflowUpdate"},"ProjectWorkflowView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"workflow_id":{"type":"string","format":"uuid","title":"Workflow Id"},"workflow_key":{"type":"string","title":"Workflow Key"},"workflow_title":{"type":"string","title":"Workflow Title"},"workflow_description":{"type":"string","title":"Workflow Description"},"workflow_drawn":{"type":"boolean","title":"Workflow Drawn","default":false},"version_label":{"type":"string","title":"Version Label"},"definition_commit_sha":{"type":"string","title":"Definition Commit Sha"},"name":{"type":"string","title":"Name"},"inputs":{"additionalProperties":true,"type":"object","title":"Inputs"},"input_schema":{"additionalProperties":true,"type":"object","title":"Input Schema"},"schedule":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Schedule"},"status":{"type":"string","title":"Status"},"next_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Run At"},"last_run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Last Run Id"},"last_run_status":{"anyOf":[{"$ref":"#/components/schemas/RunStatus"},{"type":"null"}]},"last_artifact_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Artifact Path"},"last_artifact_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Artifact Title"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"settings_revision":{"type":"integer","title":"Settings Revision"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"skip_scheduled_for":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Skip Scheduled For"},"last_result_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Result Summary"},"last_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Started At"},"last_finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Finished At"},"run_count":{"type":"integer","title":"Run Count","default":0},"done_count":{"type":"integer","title":"Done Count","default":0},"failed_count":{"type":"integer","title":"Failed Count","default":0},"typical_duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Typical Duration Seconds"},"content_revision":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Content Revision"}},"type":"object","required":["id","project_id","workflow_id","workflow_key","workflow_title","workflow_description","version_label","definition_commit_sha","name","inputs","input_schema","schedule","status","next_run_at","last_run_id","last_run_status","last_artifact_path","last_error","settings_revision","created_at","updated_at"],"title":"ProjectWorkflowView"},"ProposalFile":{"properties":{"path":{"type":"string","maxLength":512,"minLength":1,"title":"Path"},"content":{"type":"string","maxLength":64000,"minLength":1,"title":"Content"}},"additionalProperties":false,"type":"object","required":["path","content"],"title":"ProposalFile","description":"One proposal file's complete revised text, as an agent sends it over HTTP or MCP."},"ProposalRevisionRequest":{"properties":{"review_token":{"type":"string","maxLength":64,"minLength":64,"title":"Review Token"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"files":{"items":{"$ref":"#/components/schemas/ProposalFile"},"type":"array","maxItems":2,"minItems":1,"title":"Files"},"note":{"type":"string","maxLength":20000,"title":"Note","default":""},"client":{"anyOf":[{"type":"string","enum":["claude_code","codex","api"]},{"type":"null"}],"title":"Client"}},"additionalProperties":false,"type":"object","required":["review_token","request_id","files"],"title":"ProposalRevisionRequest","description":"A coding agent's revision of a brand or style proposal that waits in Decisions."},"ProtectedPaths":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"expected_revision":{"type":"integer","minimum":0.0,"title":"Expected Revision"},"paths":{"items":{"type":"string"},"type":"array","maxItems":40,"title":"Paths"}},"additionalProperties":false,"type":"object","required":["request_id","expected_revision","paths"],"title":"ProtectedPaths","description":"The project's protected pages, saved over the revision the caller read."},"QualificationSelection":{"properties":{"path":{"type":"string","pattern":"^workflow_packages/[a-z][a-z0-9_.-]{0,79}/workflow\\.json$","title":"Path"},"revision":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Revision"},"runs":{"items":{"$ref":"#/components/schemas/RunCase"},"type":"array","maxItems":24,"title":"Runs"}},"additionalProperties":false,"type":"object","required":["path","revision"],"title":"QualificationSelection"},"QuoteRequest":{"properties":{"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"project_workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Workflow Id"},"inputs":{"additionalProperties":true,"type":"object","title":"Inputs"}},"additionalProperties":false,"type":"object","title":"QuoteRequest"},"ResolveRevision":{"properties":{"action":{"type":"string","enum":["apply","discard"],"title":"Action"},"expected_revision":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{40}$"},{"type":"null"}],"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["action"],"title":"ResolveRevision"},"RetainedOutputView":{"properties":{"artifact_path":{"type":"string","title":"Artifact Path"},"revision":{"type":"string","title":"Revision"},"media_type":{"type":"string","title":"Media Type"},"byte_count":{"type":"integer","title":"Byte Count"},"reason":{"type":"string","enum":["publication_pending","reconciliation_pending","output_conflict","execution_interrupted","not_published"],"title":"Reason"}},"type":"object","required":["artifact_path","revision","media_type","byte_count","reason"],"title":"RetainedOutputView"},"RevisionRequest":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"expected_revision":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Expected Revision"},"batch_ids":{"items":{"type":"string"},"type":"array","maxItems":27,"minItems":1,"title":"Batch Ids"},"instruction":{"type":"string","maxLength":4000,"minLength":1,"title":"Instruction"},"context_paths":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Context Paths"}},"additionalProperties":false,"type":"object","required":["request_id","expected_revision","batch_ids","instruction"],"title":"RevisionRequest"},"RunCase":{"properties":{"case_id":{"type":"string","pattern":"^[a-z][a-z0-9_-]{0,47}$","title":"Case Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"additionalProperties":false,"type":"object","required":["case_id","run_id"],"title":"RunCase"},"RunCreate":{"properties":{"project_id":{"type":"string","format":"uuid","title":"Project Id"},"billing_quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Billing Quote Id"},"inputs":{"additionalProperties":true,"type":"object","title":"Inputs"},"payment_card":{"title":"Payment Card"},"instruction":{"anyOf":[{"type":"string","maxLength":8000,"minLength":1},{"type":"null"}],"title":"Instruction"},"title":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Title"}},"additionalProperties":false,"type":"object","required":["project_id"],"title":"RunCreate"},"RunStatus":{"type":"string","enum":["pending","running","needs_input","paused","stopped","succeeded","failed","superseded"],"title":"RunStatus"},"RunView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"workflow_id":{"type":"string","format":"uuid","title":"Workflow Id"},"project_workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Workflow Id"},"workflow_name":{"type":"string","title":"Workflow Name"},"definition_commit_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Definition Commit Sha"},"status":{"$ref":"#/components/schemas/RunStatus"},"trigger_source":{"type":"string","title":"Trigger Source","default":"manual"},"scheduled_for":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Scheduled For"},"review_required":{"type":"boolean","title":"Review Required","default":false},"review_root_run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Review Root Run Id"},"review_source_run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Review Source Run Id"},"review_version":{"type":"integer","title":"Review Version","default":1},"review_decision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review Decision"},"selected_sources":{"additionalProperties":true,"type":"object","title":"Selected Sources"},"x_draft":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"X Draft"},"review_requested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Review Requested At"},"reviewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reviewed At"},"system_wiki_commit_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Wiki Commit Sha"},"artifact_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Ref"},"retained_output":{"anyOf":[{"$ref":"#/components/schemas/RetainedOutputView"},{"type":"null"}]},"output_resolution":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Output Resolution"},"artifact_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Path"},"artifact_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Title"},"canonical_commit_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canonical Commit Sha"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"error_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Kind"},"error_action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Action"},"task_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Title"},"task_phase":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Phase"},"task_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Summary"},"task_question":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Question"},"task_question_requested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Task Question Requested At"},"task_turn_number":{"type":"integer","title":"Task Turn Number","default":0},"task_result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Result"},"task_diff":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Task Diff"},"task_has_changes":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Task Has Changes"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"trigger_client":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Client"},"retry_of_run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Retry Of Run Id"},"progress_mode":{"type":"string","title":"Progress Mode","default":"indeterminate"},"progress_step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Progress Step"},"progress_current":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Progress Current"},"progress_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Progress Total"},"progress_percent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Progress Percent"},"progress_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Progress Summary"},"progress_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Progress Updated At"},"heartbeat_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Heartbeat At"},"result_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Summary"},"prerequisite_evidence":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Prerequisite Evidence"},"content_delivery":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Content Delivery"},"page_url":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Page Url"}},"type":"object","required":["id","project_id","workflow_id","workflow_name","definition_commit_sha","status","artifact_ref","artifact_path","canonical_commit_sha","error_message"],"title":"RunView"},"SaveDelivery":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"expected_revision":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Expected Revision"},"settings":{"$ref":"#/components/schemas/DeliverySettings"}},"additionalProperties":false,"type":"object","required":["request_id","expected_revision","settings"],"title":"SaveDelivery"},"SavedWorkflowDiagramView":{"properties":{"flow":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Flow"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"pinned_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pinned Version"},"exact":{"type":"boolean","title":"Exact"}},"type":"object","required":["flow","version","pinned_version","exact"],"title":"SavedWorkflowDiagramView"},"SendingChange":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"consent_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Consent Version"},"limits":{"anyOf":[{"$ref":"#/components/schemas/Limits"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["enabled"],"title":"SendingChange"},"TaskEntryView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"},"request_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Request Id"},"kind":{"type":"string","title":"Kind"},"source":{"type":"string","title":"Source"},"content":{"type":"string","title":"Content"},"delivered_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Delivered At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","run_id","request_id","kind","source","content","delivered_at","created_at"],"title":"TaskEntryView"},"TaskMessageCreate":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"message":{"type":"string","maxLength":8000,"minLength":1,"title":"Message"}},"type":"object","required":["message"],"title":"TaskMessageCreate"},"TechnicalPreflight":{"properties":{"source":{"type":"string","enum":["audit","planned","feedback"],"title":"Source","default":"audit"},"expected_repository":{"type":"string","maxLength":140,"minLength":3,"title":"Expected Repository"},"repository_serves_site":{"type":"boolean","title":"Repository Serves Site"},"finding_ids":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Finding Ids"},"decisions":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Decisions"},"protected_paths":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Protected Paths"}},"additionalProperties":false,"type":"object","required":["expected_repository","repository_serves_site"],"title":"TechnicalPreflight","description":"What to preview: the latest audit's fixes, the planned URL changes, or the copy fix."},"TopupRequest":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"amount_cents":{"type":"integer","maximum":100000.0,"minimum":1000.0,"title":"Amount Cents"}},"additionalProperties":false,"type":"object","required":["request_id","amount_cents"],"title":"TopupRequest"},"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"},"WeekOccurrenceView":{"properties":{"project_workflow_id":{"type":"string","format":"uuid","title":"Project Workflow Id"},"name":{"type":"string","title":"Name"},"workflow_key":{"type":"string","title":"Workflow Key"},"at":{"type":"string","format":"date-time","title":"At"},"state":{"type":"string","enum":["planned","paused","held","skipped"],"title":"State"},"lands":{"type":"string","title":"Lands"}},"type":"object","required":["project_workflow_id","name","workflow_key","at","state","lands"],"title":"WeekOccurrenceView"},"WeekRunView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"project_workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Workflow Id"},"workflow_key":{"type":"string","title":"Workflow Key"},"workflow_title":{"type":"string","title":"Workflow Title"},"status":{"$ref":"#/components/schemas/RunStatus"},"trigger_source":{"type":"string","title":"Trigger Source"},"at":{"type":"string","format":"date-time","title":"At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"progress_current":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Progress Current"},"progress_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Progress Total"}},"type":"object","required":["id","project_workflow_id","workflow_key","workflow_title","status","trigger_source","at","finished_at","title","summary","progress_current","progress_total"],"title":"WeekRunView"},"WorkflowReviewApproval":{"properties":{"review_token":{"anyOf":[{"type":"string","maxLength":64,"minLength":64},{"type":"null"}],"title":"Review Token"},"delivery":{"anyOf":[{"type":"string","enum":["github_pr","github_commit","none"]},{"type":"null"}],"title":"Delivery"},"remember":{"type":"boolean","title":"Remember","default":false}},"additionalProperties":false,"type":"object","title":"WorkflowReviewApproval"},"WorkflowRevisionRequest":{"properties":{"post_id":{"type":"string","maxLength":2,"title":"Post Id","default":""},"feedback":{"type":"string","maxLength":8000,"minLength":1,"title":"Feedback"},"reference_files":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Reference Files"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"review_token":{"type":"string","maxLength":64,"minLength":64,"title":"Review Token"},"billing_quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Billing Quote Id"}},"additionalProperties":false,"type":"object","required":["feedback","request_id","review_token"],"title":"WorkflowRevisionRequest"},"WorkflowSchedule":{"properties":{"cadence":{"type":"string","enum":["daily","weekly","monthly"],"title":"Cadence"},"weekdays":{"items":{"type":"string","enum":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]},"type":"array","maxItems":7,"title":"Weekdays"},"day_of_month":{"anyOf":[{"type":"integer","maximum":28.0,"minimum":1.0},{"type":"null"}],"title":"Day Of Month"},"months":{"items":{"type":"integer"},"type":"array","maxItems":12,"title":"Months"},"local_time":{"type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d$","title":"Local Time"},"timezone":{"type":"string","maxLength":100,"minLength":1,"title":"Timezone"},"start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start At"},"end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End At"}},"additionalProperties":false,"type":"object","required":["cadence","local_time","timezone"],"title":"WorkflowSchedule"},"WorkflowSetupRequest":{"properties":{"workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workflow Id"},"project_workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Workflow Id"},"inputs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Inputs"}},"additionalProperties":false,"type":"object","title":"WorkflowSetupRequest"},"WorkflowStatus":{"type":"string","enum":["active","paused","archived"],"title":"WorkflowStatus"},"WorkflowView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"key":{"type":"string","title":"Key"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"executor":{"type":"string","title":"Executor"},"version_label":{"type":"string","title":"Version Label"},"current_commit_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Commit Sha"},"definition":{"additionalProperties":true,"type":"object","title":"Definition"},"status":{"$ref":"#/components/schemas/WorkflowStatus"},"system_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Id"},"system_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Name"},"system_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"System Order"},"forked_from_workflow_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Forked From Workflow Id"},"forked_from_commit_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Forked From Commit Sha"},"saved":{"type":"boolean","title":"Saved","default":false},"project_workflow_count":{"type":"integer","title":"Project Workflow Count","default":0},"last_run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Last Run Id"},"last_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run At"},"scope":{"type":"string","title":"Scope","default":"builtin"},"source":{"additionalProperties":true,"type":"object","title":"Source"},"definition_revision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Definition Revision"},"input_schema":{"additionalProperties":true,"type":"object","title":"Input Schema"},"allowed_actions":{"items":{"type":"string"},"type":"array","title":"Allowed Actions"},"runtime_available":{"type":"boolean","title":"Runtime Available","default":true},"collection_availability":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Collection Availability"},"prerequisites":{"items":{},"type":"array","title":"Prerequisites"},"readiness":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Readiness"}},"type":"object","required":["id","project_id","key","title","description","executor","version_label","current_commit_sha","definition","status","system_id","system_name","system_order","forked_from_workflow_id","forked_from_commit_sha"],"title":"WorkflowView"},"WorkspaceBootstrapView":{"properties":{"workspace":{"anyOf":[{"$ref":"#/components/schemas/WorkspaceView"},{"type":"null"}]},"project":{"$ref":"#/components/schemas/ProjectView"}},"type":"object","required":["workspace","project"],"title":"WorkspaceBootstrapView"},"WorkspaceProjectCreate":{"properties":{"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name"},"request_id":{"type":"string","format":"uuid","title":"Request Id"}},"type":"object","required":["name","request_id"],"title":"WorkspaceProjectCreate"},"WorkspaceView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"WorkspaceView"},"XDraftSave":{"properties":{"path":{"type":"string","maxLength":512,"minLength":1,"title":"Path"},"expected_revision":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Expected Revision"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"draft":{"additionalProperties":true,"type":"object","title":"Draft"}},"additionalProperties":false,"type":"object","required":["path","expected_revision","request_id","draft"],"title":"XDraftSave"},"XPostPreview":{"properties":{"path":{"type":"string","maxLength":512,"minLength":1,"title":"Path"},"post_id":{"type":"string","pattern":"^p[1-6]$","title":"Post Id"}},"additionalProperties":false,"type":"object","required":["path","post_id"],"title":"XPostPreview"},"XPostPublish":{"properties":{"preview_token":{"type":"string","format":"uuid","title":"Preview Token"},"request_id":{"type":"string","format":"uuid","title":"Request Id"}},"additionalProperties":false,"type":"object","required":["preview_token","request_id"],"title":"XPostPublish"}},"securitySchemes":{"ClerkSession":{"type":"http","description":"A Clerk session token minted for the signed-in Tin user.","scheme":"bearer"}}}}