{"openapi":"3.1.0","info":{"title":"API Reference","version":"1.0.0"},"paths":{"/v1/auth/device/config":{"get":{"operationId":"auth_get_device_configuration","summary":"Device Configuration","tags":["auth"],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceConfiguration"}}}}}}},"/v1/channel-bindings/{binding_id}/messages":{"post":{"operationId":"httpChannels_invoke","summary":"Invoke","tags":["httpChannels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Sikaru-User-Assertion","in":"header","required":false,"schema":{"type":["string","null"]}},{"name":"X-Sikaru-Member-Authorization","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPReceipt"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPMessage"}}}},"security":[{"BindingBearerAuth":[]}]}},"/v1/channel-bindings/{binding_id}/messages/{receipt_id}":{"get":{"operationId":"httpChannels_poll","summary":"Poll","tags":["httpChannels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Sikaru-User-Assertion","in":"header","required":false,"schema":{"type":["string","null"]}},{"name":"X-Sikaru-Member-Authorization","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPReceipt"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BindingBearerAuth":[]}]}},"/v1/channel-bindings/{binding_id}/slack-links":{"post":{"operationId":"httpChannels_start_slack_link","summary":"Link","tags":["httpChannels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Sikaru-User-Assertion","in":"header","required":false,"schema":{"type":["string","null"]}},{"name":"X-Sikaru-Member-Authorization","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalSlackChallenge"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlackLink"}}}},"security":[{"BindingBearerAuth":[]}]}},"/v1/channel-bindings/{binding_id}/slack-links/{installation_id}":{"delete":{"operationId":"httpChannels_unlink_slack_identity","summary":"Unlink","tags":["httpChannels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"installation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Sikaru-User-Assertion","in":"header","required":false,"schema":{"type":["string","null"]}},{"name":"X-Sikaru-Member-Authorization","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"204":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BindingBearerAuth":[]}]}},"/v1/organizations/{organization_id}/subscription":{"get":{"operationId":"organizations_get_subscription","summary":"Get Subscription","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionStatus"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"organizations_subscribe","summary":"Subscribe","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionSetup"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/organizations/{organization_id}/subscription/cancel":{"post":{"operationId":"organizations_cancel_subscription","summary":"Cancel Subscription","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionCancellation"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/organizations/{organization_id}/subscription/change":{"post":{"operationId":"organizations_change_subscription","summary":"Change Subscription","tags":["organizations"],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionPlanChange"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/personal-channel-bindings/{binding_id}/messages/{receipt_id}":{"get":{"operationId":"personalChannels_get_message","summary":"Message","tags":["personalChannels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Sikaru-User-Assertion","in":"header","required":false,"schema":{"type":["string","null"]}},{"name":"X-Sikaru-Member-Authorization","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalChannelReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/personal-channel-bindings/{binding_id}/messages/{receipt_id}/connections/{connection_id}/authorize":{"post":{"operationId":"personalChannels_authorize_connection","summary":"Authorize","tags":["personalChannels"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Sikaru-User-Assertion","in":"header","required":false,"schema":{"type":["string","null"]}},{"name":"X-Sikaru-Member-Authorization","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionAuthorization"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/personal-channel-bindings/{binding_id}/messages/{receipt_id}/connections/{connection_id}/complete":{"post":{"operationId":"personalChannels_complete_connection","summary":"Complete","tags":["personalChannels"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Sikaru-User-Assertion","in":"header","required":false,"schema":{"type":["string","null"]}},{"name":"X-Sikaru-Member-Authorization","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalChannelConnection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompleteAuthorization"}}}}}},"/v1/personal-channel-bindings/{binding_id}/messages/{receipt_id}/connections/{connection_id}/credentials":{"put":{"operationId":"personalChannels_replace_connection_credentials","summary":"Credentials","tags":["personalChannels"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Sikaru-User-Assertion","in":"header","required":false,"schema":{"type":["string","null"]}},{"name":"X-Sikaru-Member-Authorization","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalChannelConnection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplaceCredentials"}}}}}},"/v1/personal-channel-bindings/{binding_id}/messages/{receipt_id}/files":{"get":{"operationId":"personalChannels_list_files","summary":"Files","tags":["personalChannels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Sikaru-User-Assertion","in":"header","required":false,"schema":{"type":["string","null"]}},{"name":"X-Sikaru-Member-Authorization","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalChannelFiles"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/personal-channel-bindings/{binding_id}/messages/{receipt_id}/files/{file_id}/content":{"get":{"operationId":"personalChannels_download_file","summary":"Download","tags":["personalChannels"],"parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Sikaru-User-Assertion","in":"header","required":false,"schema":{"type":["string","null"]}},{"name":"X-Sikaru-Member-Authorization","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/personal-channel-bindings/{binding_id}/messages/{receipt_id}/tool-calls/{tool_call_id}/approval":{"post":{"operationId":"personalChannels_decide_approval","summary":"Approve","tags":["personalChannels"],"parameters":[{"name":"tool_call_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Sikaru-User-Assertion","in":"header","required":false,"schema":{"type":["string","null"]}},{"name":"X-Sikaru-Member-Authorization","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalChannelApproval"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalInput"}}}}}},"/v1/personal-channel-bindings/{binding_id}/slack-link-verifications/{verification_id}":{"get":{"operationId":"personalChannels_get_slack_link","summary":"Status","tags":["personalChannels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"verification_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Sikaru-User-Assertion","in":"header","required":false,"schema":{"type":["string","null"]}},{"name":"X-Sikaru-Member-Authorization","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalSlackStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/personal-channel-bindings/{binding_id}/slack-links":{"post":{"operationId":"personalChannels_start_slack_link","summary":"Start","tags":["personalChannels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Sikaru-User-Assertion","in":"header","required":false,"schema":{"type":["string","null"]}},{"name":"X-Sikaru-Member-Authorization","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalSlackChallenge"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlackLink"}}}}}},"/v1/personal-channel-bindings/{binding_id}/slack-links/{installation_id}":{"delete":{"operationId":"personalChannels_unlink_slack_identity","summary":"Unlink","tags":["personalChannels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"installation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Sikaru-User-Assertion","in":"header","required":false,"schema":{"type":["string","null"]}},{"name":"X-Sikaru-Member-Authorization","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"204":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/projects/{project_id}/activation":{"get":{"operationId":"activation_project_activation_status","summary":"Project Activation Status","tags":["activation"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/agent-documents/draft":{"post":{"operationId":"agentDocuments_draft","summary":"Draft","description":"Draft a first agent document, starter checks and suggested apps from a description or past conversations.","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDocumentDraft"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftDocumentInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/agent-documents/import":{"post":{"operationId":"agentDocuments_import_files","summary":"Import Document Files","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportedDocument"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportDocumentFiles"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/agent-documents/resources":{"get":{"operationId":"agentDocuments_list_resources","summary":"Document Resources","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResources"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/agent-documents/settings":{"post":{"operationId":"agentDocuments_edit_setting","summary":"Edit Document Setting","description":"Set or remove one setting without rewriting the rest of the document.","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportedDocument"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditDocumentSetting"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/agent-documents/templates":{"get":{"operationId":"agentDocuments_list_templates","summary":"Document Templates","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentTemplates"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/agent-documents/validate":{"post":{"operationId":"agentDocuments_validate_text","summary":"Validate Project Document","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentValidationView"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/document":{"get":{"operationId":"agentDocuments_get","summary":"Get Document","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDocument"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"put":{"operationId":"agentDocuments_save","summary":"Save Document","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDocument"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveDocument"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/document/compare":{"get":{"operationId":"agentDocuments_compare","summary":"Compare","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentComparison"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/document/discard":{"post":{"operationId":"agentDocuments_discard","summary":"Discard Document","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDocument"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscardDocument"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/document/publish":{"post":{"operationId":"agentDocuments_publish","summary":"Publish","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentPublication"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishDocument"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/document/revert":{"post":{"operationId":"agentDocuments_revert","summary":"Revert","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentPublication"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevertDocument"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/document/review":{"post":{"operationId":"agentDocuments_review","summary":"Review Document","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentReview"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewDocument"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/document/snippets":{"get":{"operationId":"agentDocuments_snippets","summary":"Document Snippets","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSnippets"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/document/suggestions":{"get":{"operationId":"agentDocuments_list_suggestions","summary":"Suggestions","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentSuggestions"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/document/suggestions/{suggestion_id}/adopt":{"post":{"operationId":"agentDocuments_adopt_suggestion","summary":"Adopt Suggestion","tags":["agentDocuments"],"parameters":[{"name":"suggestion_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDocument"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdoptSuggestion"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/document/suggestions/{suggestion_id}/dismiss":{"post":{"operationId":"agentDocuments_dismiss_suggestion","summary":"Dismiss Suggestion","tags":["agentDocuments"],"parameters":[{"name":"suggestion_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentSuggestion"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/document/validate":{"post":{"operationId":"agentDocuments_validate","summary":"Validate Agent Document","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentValidationView"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/document/versions":{"get":{"operationId":"agentDocuments_list_versions","summary":"Versions","tags":["agentDocuments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentVersions"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/agent-imports":{"get":{"operationId":"agentImports_list_agent_imports","summary":"List Agent Imports","tags":["agentImports"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"agentImports_create_agent_import","summary":"Create Agent Import","tags":["agentImports"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAgentImportRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/agents/{agent_id}/sessions":{"post":{"operationId":"agents_create_managed_session","summary":"Create Managed Session","tags":["agents"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateManagedSessionRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/capability-ceilings":{"get":{"operationId":"capabilityCeilings_get","summary":"Get Capability Ceilings","tags":["capabilityCeilings"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilityCeilingsView"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"put":{"operationId":"capabilityCeilings_update","summary":"Update Capability Ceilings","tags":["capabilityCeilings"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilityCeilingsView"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilityCeilings"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/changesets":{"get":{"operationId":"changesets_list_changesets","summary":"List Changesets","tags":["changesets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"oneOf":[{"$ref":"#/components/schemas/V1ProjectsProjectIdChangesetsGetParametersStatusSchema"},{"type":"null"}]}},{"name":"improvement","in":"query","required":false,"schema":{"type":["boolean","null"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"changesets_create_changeset","summary":"Create Changeset","tags":["changesets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChangeSetRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/changesets/{changeset_id}":{"get":{"operationId":"changesets_get_changeset","summary":"Get Changeset","tags":["changesets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"changeset_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/changesets/{changeset_id}/approve":{"post":{"operationId":"changesets_approve_changeset","summary":"Approve Changeset","tags":["changesets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"changeset_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ReleaseActionRequest"},{"type":"null"}]}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/changesets/{changeset_id}/diffs":{"get":{"operationId":"changesets_list_changeset_diffs","summary":"List Changeset Diffs","tags":["changesets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"changeset_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/changesets/{changeset_id}/evidence":{"get":{"operationId":"changesets_list_changeset_evidence","summary":"List Changeset Evidence","tags":["changesets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"changeset_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/changesets/{changeset_id}/promote":{"post":{"operationId":"changesets_promote_changeset","summary":"Promote Changeset","tags":["changesets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"changeset_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ReleaseActionRequest"},{"type":"null"}]}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/changesets/{changeset_id}/reject":{"post":{"operationId":"changesets_reject_changeset","summary":"Reject Changeset","tags":["changesets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"changeset_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ReleaseActionRequest"},{"type":"null"}]}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/changesets/{changeset_id}/rollback":{"post":{"operationId":"changesets_rollback_changeset","summary":"Rollback Changeset","tags":["changesets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"changeset_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ReleaseActionRequest"},{"type":"null"}]}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/changesets/{changeset_id}/stage":{"post":{"operationId":"changesets_stage_changeset","summary":"Stage Changeset","tags":["changesets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"changeset_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ReleaseActionRequest"},{"type":"null"}]}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/availability":{"get":{"operationId":"channels_availability","summary":"Availability","tags":["Channels"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Availability"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/bindings":{"get":{"operationId":"channels_bindings","summary":"Bindings","tags":["Channels"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Binding"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"channels_create_binding","summary":"Create Binding","tags":["Channels"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Binding"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBinding"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/bindings/{binding_id}":{"delete":{"operationId":"channels_delete_http_binding","summary":"Delete Http Binding","tags":["Channels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"patch":{"operationId":"channels_status","summary":"Status","tags":["Channels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Binding"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindingStatus"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/bindings/{binding_id}/configuration":{"patch":{"operationId":"channels_configure_http_binding","summary":"Configure Http Binding","tags":["Channels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Binding"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPConfiguration"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/bindings/{binding_id}/credential":{"post":{"operationId":"channels_issue_http_credential","summary":"Issue Http Credential","tags":["Channels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPCredential"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/bindings/{binding_id}/personal-access":{"put":{"operationId":"channels_configure_personal_access","summary":"Configure","tags":["Channels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalAccessConfiguration"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalAccess"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/bindings/{binding_id}/receipts":{"get":{"operationId":"channels_recent_receipts","summary":"Recent Receipts","tags":["Channels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReceiptSummary"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/bindings/{binding_id}/slack-link-verifications/{verification_id}":{"get":{"operationId":"channels_get_member_slack_link","summary":"Member Link Status","tags":["Channels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"verification_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalSlackStatus"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/bindings/{binding_id}/slack-links":{"post":{"operationId":"channels_start_member_slack_link","summary":"Link","tags":["Channels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalSlackChallenge"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlackLink"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/bindings/{binding_id}/slack-links/{installation_id}":{"delete":{"operationId":"channels_unlink_member_slack_identity","summary":"Member Unlink","tags":["Channels"],"parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"installation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/creation-resumes":{"post":{"operationId":"channels_save_creation_resume","summary":"Save Creation Resume","tags":["Channels"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreationResumeID"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreationResume"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/creation-resumes/{resume_id}":{"get":{"operationId":"channels_get_creation_resume","summary":"Get Creation Resume","tags":["Channels"],"parameters":[{"name":"resume_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreationResume"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/identity-apps":{"get":{"operationId":"channels_list_identity_apps","summary":"List Apps","tags":["Channels"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ChannelIdentityApp"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"channels_create_identity_app","summary":"Create","tags":["Channels"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelIdentityAppID"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityApp"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/identity-apps/{app_id}":{"delete":{"operationId":"channels_revoke_identity_app","summary":"Revoke","tags":["Channels"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"patch":{"operationId":"channels_update_identity_app_urls","summary":"Update Urls","tags":["Channels"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelIdentityAppURLs"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationURLs"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/identity-apps/{app_id}/subjects/revoke":{"post":{"operationId":"channels_revoke_subject","summary":"Revoke Subject","tags":["Channels"],"parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Subject"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/personal-slack-bindings":{"post":{"operationId":"channels_create_personal_slack_binding","summary":"Customer Dm","tags":["Channels"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Binding"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerDM"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/runs/{run_id}/delivery":{"get":{"operationId":"channels_delivery","summary":"Delivery","tags":["Channels"],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Delivery"},{"type":"null"}]}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/runs/{run_id}/delivery/resend":{"post":{"operationId":"channels_resend_delivery","summary":"Resend Delivery","tags":["Channels"],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Delivery"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResendDelivery"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/slack/dm-verifications/{verification_id}":{"get":{"operationId":"channels_dm_status","summary":"Dm Status","tags":["Channels"],"parameters":[{"name":"verification_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DMStatus"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/slack/installations":{"get":{"operationId":"channels_installations","summary":"Installations","tags":["Channels"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Installation"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/slack/installations/{installation_id}/disconnect":{"post":{"operationId":"channels_disconnect","summary":"Disconnect","tags":["Channels"],"parameters":[{"name":"installation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Installation"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/slack/installations/{installation_id}/dm-verifications":{"post":{"operationId":"channels_start_dm","summary":"Start Dm","tags":["Channels"],"parameters":[{"name":"installation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DMChallenge"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/slack/installations/{installation_id}/rooms":{"get":{"operationId":"channels_rooms","summary":"Rooms","tags":["Channels"],"parameters":[{"name":"installation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Room"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/slack/oauth/complete":{"post":{"operationId":"channels_complete","summary":"Complete","tags":["Channels"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthResult"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompleteOAuth"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/channels/slack/oauth/start":{"post":{"operationId":"channels_start","summary":"Start","tags":["Channels"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Authorization"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartOAuth"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}":{"get":{"operationId":"computeAttachments_get","summary":"Get Compute Attachment","tags":["computeAttachments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/abandon":{"post":{"operationId":"computeAttachments_abandon","summary":"Abandon Compute Attachment","description":"Irreversibly abandon execution authority, preserving unknown effects. Cleanup is still required.","tags":["computeAttachments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AbandonInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/cancel":{"post":{"operationId":"computeAttachments_cancel","summary":"Cancel Compute Attachment","description":"Idempotently request stopping. This never asserts child cleanup.","tags":["computeAttachments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/claim":{"post":{"operationId":"computeAttachments_claim","summary":"Claim Compute Attachment","description":"Same attachment/key/worker returns the same launch identity, never another launch.","tags":["computeAttachments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/cleanup":{"post":{"operationId":"computeAttachments_cleanup","summary":"Cleanup Compute Executor","tags":["computeAttachments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CleanupInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/connect":{"post":{"operationId":"computeAttachments_connect","summary":"Connect Compute Executor","description":"Attest original workspace/journal. Reconnection never replays uncertain effects.","tags":["computeAttachments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadyInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/credentials":{"post":{"operationId":"computeAttachments_issue_credential","summary":"Issue Compute Executor Credential","tags":["computeAttachments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialIssued"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutorCredentialInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/heartbeat":{"post":{"operationId":"computeAttachments_heartbeat","summary":"Heartbeat Compute Executor","tags":["computeAttachments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/ready":{"post":{"operationId":"computeAttachments_ready","summary":"Ready Compute Executor","tags":["computeAttachments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadyInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/reconcile":{"post":{"operationId":"computeAttachments_reconcile","summary":"Reconcile Compute Executor","tags":["computeAttachments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReconcileView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReconcileInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/status":{"get":{"operationId":"computeAttachments_status","summary":"Compute Executor Status","tags":["computeAttachments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/stop":{"post":{"operationId":"computeAttachments_stop","summary":"Stop Compute Executor","description":"Executor can stop its own attachment and cancel its runs; cleanup is separately reported.","tags":["computeAttachments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/teardown":{"post":{"operationId":"computeAttachments_teardown","summary":"Report Compute Teardown","description":"Controller or owning worker attests sandbox teardown; clean parked turns stay resumable.","tags":["computeAttachments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeardownInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-sessions/{session_id}/compute-attachments":{"post":{"operationId":"computeAttachments_create","summary":"Create Compute Attachment","description":"Same session/key/workspace returns the original binding; changed workspace conflicts.","tags":["computeAttachments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/receipts":{"post":{"operationId":"computeOperations_submit_receipt","summary":"Submit Compute Receipt","description":"Only exact immutable receipt retries are idempotent; changed content conflicts.","tags":["computeOperations"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/work":{"get":{"operationId":"computeOperations_poll","summary":"Poll Compute Work","tags":["computeOperations"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"wait_seconds","in":"query","required":false,"schema":{"type":"integer","minimum":0,"maximum":30,"default":0}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkPage"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/workspace-checkpoints":{"post":{"operationId":"computeWorkspaces_record","summary":"Record Workspace Checkpoint","description":"Record a verified uploaded manifest as this session's workspace checkpoint.","tags":["computeWorkspaces"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceCheckpointView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceCheckpointInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/workspace-content":{"put":{"operationId":"computeWorkspaces_upload","summary":"Upload Workspace Content","description":"Upload file or manifest bytes before acknowledging a workspace checkpoint.","tags":["computeWorkspaces"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceContentView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-attachments/{attachment_id}/workspace-policy":{"get":{"operationId":"computeWorkspaces_policy","summary":"Workspace Policy","description":"Read the pinned publication rules before capturing workspace files.","tags":["computeWorkspaces"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"query","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspacePolicyView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-credentials/renew":{"post":{"operationId":"computeCredentials_renew","summary":"Renew Compute Credential","tags":["computeCredentials"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialRenewed"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-credentials/{credential_id}/revoke":{"post":{"operationId":"computeCredentials_revoke","summary":"Revoke Compute Credential","tags":["computeCredentials"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"credential_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialRevoked"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-environments":{"post":{"operationId":"computeEnvironments_create","summary":"Create Compute Environment","description":"Same key + same configuration returns the same environment; changed input conflicts.","tags":["computeEnvironments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-environments/{environment_id}":{"get":{"operationId":"computeEnvironments_get","summary":"Get Compute Environment","tags":["computeEnvironments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"environment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-environments/{environment_id}/disable":{"post":{"operationId":"computeEnvironments_disable","summary":"Disable Compute Environment","description":"Idempotently disable future claims and credentials; existing cleanup remains required.","tags":["computeEnvironments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"environment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentView"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-environments/{environment_id}/credentials":{"post":{"operationId":"computeWorkers_issue_credential","summary":"Issue Compute Worker Credential","description":"Issue a new secret once; retries issue independent revocable credentials.","tags":["computeWorkers"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"environment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialIssued"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/compute-environments/{environment_id}/queue":{"get":{"operationId":"computeWorkers_poll","summary":"Poll Compute Queue","description":"Bounded queue snapshot. wait_seconds is a maximum; server may return immediately.","tags":["computeWorkers"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"environment_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"wait_seconds","in":"query","required":false,"schema":{"type":"integer","minimum":0,"maximum":30,"default":0}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueuePage"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/connections":{"get":{"operationId":"connections_list_connections","summary":"List Connections","tags":["Connections"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Connection"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"connections_create_connection","summary":"Create Connection","tags":["Connections"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Connection"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConnection"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/connections/catalog/apps":{"get":{"operationId":"connections_list_apps","summary":"Catalog Apps","tags":["Connections"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"search","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":100}},{"name":"category","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":100}},{"name":"cursor","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":2048}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionApps"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/connections/{connection_id}":{"get":{"operationId":"connections_get_connection","summary":"Get Connection","tags":["Connections"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Connection"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"patch":{"operationId":"connections_update_connection","summary":"Update Connection","tags":["Connections"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Connection"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateConnection"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/connections/{connection_id}/authorize":{"post":{"operationId":"connections_authorize","summary":"Authorize","tags":["Connections"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionAuthorization"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/connections/{connection_id}/complete":{"post":{"operationId":"connections_complete","summary":"Complete","tags":["Connections"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Connection"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompleteAuthorization"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/connections/{connection_id}/credentials":{"put":{"operationId":"connections_credentials","summary":"Credentials","tags":["Connections"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Connection"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplaceCredentials"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/connections/{connection_id}/disable":{"post":{"operationId":"connections_disable","summary":"Disable","tags":["Connections"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Connection"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/connections/{connection_id}/disconnect":{"post":{"operationId":"connections_disconnect","summary":"Disconnect","tags":["Connections"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Connection"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/connections/{connection_id}/discover":{"post":{"operationId":"connections_discover","summary":"Discover","description":"Retry loading tools. Tools load automatically after sign-in and on creation; the outcome is recorded in `tool_load`.","tags":["Connections"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Connection"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/connections/{connection_id}/enable":{"post":{"operationId":"connections_enable","summary":"Enable","tags":["Connections"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Connection"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/connections/{connection_id}/events":{"get":{"operationId":"connections_events","summary":"Events","tags":["Connections"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":512}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionEventPage"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/connections/{connection_id}/grants":{"post":{"operationId":"connections_grant","summary":"Grant","tags":["Connections"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Connection"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantConnection"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/connections/{connection_id}/grants/{grant_id}":{"delete":{"operationId":"connections_revoke_grant","summary":"Revoke Grant","tags":["Connections"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"grant_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Connection"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/connections/{connection_id}/revoke":{"post":{"operationId":"connections_revoke","summary":"Revoke","tags":["Connections"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionRevocation"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/connections/{connection_id}/usage":{"get":{"operationId":"connections_usage","summary":"Usage","tags":["Connections"],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionUsage"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/context-registry":{"post":{"operationId":"contextRegistry_create_context_registry_change","summary":"Create Context Registry Change","tags":["contextRegistry"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContextRegistryChangeRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/conversations/{conversation_id}/messages":{"get":{"operationId":"conversations_list_messages","summary":"List Messages","tags":["conversations"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"account_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":2048}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"conversations_record_message","summary":"Record Message","tags":["conversations"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"account_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveredMessage"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/datasets":{"get":{"operationId":"datasets_list_datasets","summary":"List Datasets","tags":["Datasets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"purpose","in":"query","required":false,"schema":{"oneOf":[{"$ref":"#/components/schemas/V1ProjectsProjectIdDatasetsGetParametersPurposeSchema"},{"type":"null"}]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetList"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"datasets_create_dataset","summary":"Create Dataset","tags":["Datasets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetResponse"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDataset"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/datasets/capture":{"post":{"operationId":"datasets_capture_into_new_dataset","summary":"Capture Into New Dataset","description":"Creates the named dataset and adds the runs to it; a retry of the key reuses both.","tags":["Datasets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchResult"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureIntoNewRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/datasets/{dataset_id}":{"get":{"operationId":"datasets_get_dataset","summary":"Get Dataset","tags":["Datasets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetResponse"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"delete":{"operationId":"datasets_delete_dataset","summary":"Delete Dataset","tags":["Datasets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"patch":{"operationId":"datasets_update_dataset","summary":"Update Dataset","tags":["Datasets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetResponse"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDataset"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/datasets/{dataset_id}/capture":{"post":{"operationId":"datasets_capture_into_dataset","summary":"Capture Into Dataset","tags":["Datasets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchResult"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/datasets/{dataset_id}/checks":{"post":{"operationId":"datasets_start_dataset_checks","summary":"Start Dataset Checks","description":"One Check per eligible example, each started as a production run of the agent's live version.\n\nCredits are admitted before anything is created. A retry of the same key\nreturns the same checks and starts only what did not start before.","tags":["Datasets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetChecksStarted"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartDatasetChecks"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/datasets/{dataset_id}/checks/preview":{"get":{"operationId":"datasets_preview_dataset_checks","summary":"Preview Dataset Checks","description":"How many examples can run as Checks, why the rest cannot, and the estimated model cost on ``agent``.","tags":["Datasets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent","in":"query","required":false,"schema":{"type":["string","null"]}},{"name":"version","in":"query","required":false,"schema":{"type":["integer","null"],"minimum":1}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetChecksPreview"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/datasets/{dataset_id}/checks/results":{"get":{"operationId":"datasets_list_dataset_check_results","summary":"List Dataset Check Results","description":"Pass rate per agent version for each dataset version run as Checks; failures name their example and run.","tags":["Datasets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"query","required":false,"schema":{"type":["integer","null"],"minimum":1}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetCheckResults"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/datasets/{dataset_id}/examples":{"get":{"operationId":"datasets_list_examples","summary":"List Examples","tags":["Datasets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"query","required":false,"schema":{"type":["integer","null"],"minimum":1}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetExamplePage"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/datasets/{dataset_id}/examples/{example_id}":{"delete":{"operationId":"datasets_delete_example","summary":"Delete Example","description":"Permanently removes every copy of the example, including from older versions.","tags":["Datasets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"example_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetVersionResponse"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"patch":{"operationId":"datasets_update_example","summary":"Update Example","description":"Editing the expected answer or tags creates a version; edited fields are human-written.\n\nSikaru's own tags survive a tag edit unless it comes from the signed-in dashboard, which shows them.","tags":["Datasets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"example_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetExampleResponse"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateExample"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/datasets/{dataset_id}/export":{"get":{"operationId":"datasets_export_dataset","summary":"Export Dataset","tags":["Datasets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"query","required":false,"schema":{"type":["integer","null"],"minimum":1}}],"responses":{"200":{"description":"A header line, then one example per line.","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/datasets/{dataset_id}/uploads":{"post":{"operationId":"datasets_upload_examples","summary":"Upload Examples","tags":["Datasets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchResult"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/datasets/{dataset_id}/versions":{"get":{"operationId":"datasets_list_versions","summary":"List Versions","tags":["Datasets"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetVersionList"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/deployments":{"get":{"operationId":"deployments_list_console_deployments","summary":"List Console Deployments","tags":["deployments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/environments":{"get":{"operationId":"environments_list_managed_environments","summary":"List Managed Environments","tags":["environments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"environments_create_managed_environment","summary":"Create Managed Environment","tags":["environments"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateManagedEnvironmentRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/evaluation-comparisons":{"get":{"operationId":"evaluationComparisons_list_comparisons","summary":"List Comparisons","tags":["evaluationComparisons"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"after","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":128}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"evaluationComparisons_create_comparison","summary":"Create Comparison","tags":["evaluationComparisons"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/evaluation-comparisons/{comparison_id}":{"get":{"operationId":"evaluationComparisons_get_comparison","summary":"Get Comparison","tags":["evaluationComparisons"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/evaluation-comparisons/{comparison_id}/cancel":{"post":{"operationId":"evaluationComparisons_cancel_comparison","summary":"Cancel Comparison","tags":["evaluationComparisons"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/evaluation-criteria":{"get":{"operationId":"evaluationCriteria_list_criteria","summary":"List Criteria","tags":["evaluationCriteria"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"after","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":1024}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/evaluation-jobs":{"get":{"operationId":"evaluationJobs_list_jobs","summary":"List Jobs","tags":["evaluationJobs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":1024}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"evaluationJobs_create_job","summary":"Create Job","tags":["evaluationJobs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/evaluation-jobs/{job_id}":{"get":{"operationId":"evaluationJobs_get_job","summary":"Get Job","tags":["evaluationJobs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/evaluation-jobs/{job_id}/cancel":{"post":{"operationId":"evaluationJobs_cancel_job","summary":"Cancel Job","tags":["evaluationJobs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/evaluation-results":{"get":{"operationId":"evaluationResults_list_results","summary":"List Results","tags":["evaluationResults"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"environment","in":"query","required":false,"schema":{"$ref":"#/components/schemas/V1ProjectsProjectIdEvaluationResultsGetParametersEnvironment","default":"production"}},{"name":"evaluator","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":120}},{"name":"verdict","in":"query","required":false,"schema":{"oneOf":[{"$ref":"#/components/schemas/V1ProjectsProjectIdEvaluationResultsGetParametersVerdictSchema"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"cursor","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":2048}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"evaluationResults_record_result","summary":"Record Result","tags":["evaluationResults"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResult"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/evaluator-runs":{"post":{"operationId":"evaluatorRuns_create_evaluator_run","summary":"Create Evaluator Run","tags":["evaluatorRuns"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEvaluatorRunRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-objectives":{"get":{"operationId":"executionObjectives_list_objectives","summary":"List Objectives","tags":["executionObjectives"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"query","required":false,"schema":{"type":["string","null"]}},{"name":"status","in":"query","required":false,"schema":{"type":["string","null"]}},{"name":"after","in":"query","required":false,"schema":{"type":["string","null"]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"executionObjectives_create","summary":"Create","tags":["executionObjectives"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectiveInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-objectives/{objective_id}":{"get":{"operationId":"executionObjectives_get","summary":"Get","tags":["executionObjectives"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"objective_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-objectives/{objective_id}/cancel":{"post":{"operationId":"executionObjectives_cancel","summary":"Cancel","tags":["executionObjectives"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"objective_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-objectives/{objective_id}/pause":{"post":{"operationId":"executionObjectives_pause","summary":"Pause","tags":["executionObjectives"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"objective_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-objectives/{objective_id}/resume":{"post":{"operationId":"executionObjectives_resume","summary":"Resume","tags":["executionObjectives"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"objective_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ResumeInput"},{"type":"null"}]}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-sessions":{"get":{"operationId":"executionSessions_list","summary":"List Sessions","tags":["executionSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"harness_id","in":"query","required":false,"schema":{"type":["string","null"]}},{"name":"after","in":"query","required":false,"schema":{"type":["string","null"]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50}},{"name":"agent_slug","in":"query","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionSessionPage"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"`execution_storage_unavailable`: session, file or workspace storage is unavailable right now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-sessions/{session_id}":{"get":{"operationId":"executionSessions_get","summary":"Get Session","tags":["executionSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionSessionResponse"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"`execution_storage_unavailable`: session, file or workspace storage is unavailable right now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-sessions/{session_id}/branches":{"post":{"operationId":"executionSessions_branch","summary":"Branch Session","tags":["executionSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`idempotency_conflict`: the idempotency key was already used for a different request, or for a file that was deleted. `branch_unavailable`: the session cannot be branched at that run.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"`execution_storage_unavailable`: session, file or workspace storage is unavailable right now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-sessions/{session_id}/files":{"get":{"operationId":"executionSessions_list_files","summary":"List Files","tags":["executionSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"`execution_storage_unavailable`: session, file or workspace storage is unavailable right now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"executionSessions_upload_file","summary":"Upload File","tags":["executionSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"filename","in":"query","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"`insufficient_credits`: billing does not allow this request now; check your plan, credits and the agent's spending cap.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`idempotency_conflict`: the idempotency key was already used for a different request, or for a file that was deleted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"`execution_storage_unavailable`: session, file or workspace storage is unavailable right now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-sessions/{session_id}/files/{file_id}":{"delete":{"operationId":"executionSessions_delete_file","summary":"Delete File","tags":["executionSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"`execution_storage_unavailable`: session, file or workspace storage is unavailable right now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-sessions/{session_id}/files/{file_id}/content":{"get":{"operationId":"executionSessions_download_file","summary":"Download File","tags":["executionSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"`execution_storage_unavailable`: session, file or workspace storage is unavailable right now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-sessions/{session_id}/inputs":{"get":{"operationId":"executionSessions_list_session_inputs","summary":"List Session Inputs","tags":["executionSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"`execution_storage_unavailable`: session, file or workspace storage is unavailable right now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-sessions/{session_id}/spend":{"get":{"operationId":"executionSessions_spend","summary":"Session Spend","tags":["executionSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionSpend"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-sessions/{session_id}/turns":{"post":{"operationId":"executionSessions_append_turn","summary":"Append Turn","tags":["executionSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionTurnResponse"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"`insufficient_credits`: billing does not allow this request now; check your plan, credits and the agent's spending cap.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`idempotency_conflict`: the idempotency key was already used for a different request, or for a file that was deleted. `concurrent_request`: another request is changing the same resource; send the same request again. `agent_disabled`: the agent is turned off; turn it on before starting new work. `release_unavailable`: the agent has no release that can run. `state_conflict`: the request conflicts with the resource's current state; read it before trying again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"`agent_capacity_full`: the agent's turn capacity is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"`agent_unavailable`: execution is switched off for this agent. `turn_delivery_pending`: the message was recorded but has not started; send it again with the same idempotency key. `execution_storage_unavailable`: session, file or workspace storage is unavailable right now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TurnInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/harnesses/{harness_id}/execution-sessions":{"post":{"operationId":"executionSessions_create","summary":"Create Session","tags":["executionSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"harness_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionSessionResponse"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`idempotency_conflict`: the idempotency key was already used for a different request, or for a file that was deleted. `concurrent_request`: another request is changing the same resource; send the same request again. `release_unavailable`: the agent has no release that can run. `state_conflict`: the request conflicts with the resource's current state; read it before trying again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"`execution_storage_unavailable`: session, file or workspace storage is unavailable right now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/harnesses/{harness_id}/releases":{"get":{"operationId":"executionSessions_list_eligible_releases","summary":"List Eligible Releases","description":"List release identities eligible for an optional session pin.","tags":["executionSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"harness_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"environment","in":"query","required":false,"schema":{"$ref":"#/components/schemas/V1ProjectsProjectIdHarnessesHarnessIdReleasesGetParametersEnvironment","default":"production"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EligibleReleases"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-sessions/{session_id}/specialists":{"get":{"operationId":"specialists_list","summary":"List Specialists","tags":["Specialists"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpecialistThreads"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-sessions/{session_id}/specialists/{thread_id}":{"get":{"operationId":"specialists_get","summary":"Get Specialist","tags":["Specialists"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpecialistThread"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-sessions/{session_id}/specialists/{thread_id}/cancel":{"post":{"operationId":"specialists_cancel","summary":"Cancel Specialist","tags":["Specialists"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpecialistReceipt"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpecialistCancel"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/execution-sessions/{session_id}/specialists/{thread_id}/messages":{"post":{"operationId":"specialists_message","summary":"Message Specialist","tags":["Specialists"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpecialistReceipt"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpecialistMessage"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/executions/{trace_id}/runtime":{"get":{"operationId":"executions_execution_runtime_lineage","summary":"Execution Runtime Lineage","tags":["executions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"trace_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"account_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"inference_after","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":2048}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/feedback":{"post":{"operationId":"feedback_create_feedback","summary":"Create Feedback","tags":["feedback"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFeedbackRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/git-credentials":{"get":{"operationId":"gitCredentials_list","summary":"List Git Credentials","description":"The project's git credentials and their grants, without values.","tags":["gitCredentials"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GitCredential"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"gitCredentials_create","summary":"Create Git Credential","description":"Store a git credential for one host. The value is write-only.","tags":["gitCredentials"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GitCredential"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGitCredential"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/git-credentials/{credential_id}/grants":{"post":{"operationId":"gitCredentials_grant","summary":"Grant Git Credential","description":"Let an agent use a git credential for its declared repos.","tags":["gitCredentials"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"credential_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GitCredential"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantGitCredential"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/harnesses/{harness_id}/budget/invoice":{"get":{"operationId":"harnesses_get_invoice_budget","summary":"Get Invoice Budget","tags":["harnesses"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"harness_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceBudget"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/harnesses/{harness_id}/improvement-options":{"get":{"operationId":"harnesses_improvement_options","summary":"Improvement Options","tags":["harnesses"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"harness_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/harnesses/{harness_id}/improvements":{"get":{"operationId":"harnesses_list_improvements","summary":"List Improvements","tags":["harnesses"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"harness_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"after","in":"query","required":false,"schema":{"type":"string","default":""}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"harnesses_start_improvement","summary":"Start Improvement","tags":["harnesses"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"harness_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImprovementInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/harnesses/{harness_id}/improvements/{job_id}":{"get":{"operationId":"harnesses_get_improvement","summary":"Get Improvement","tags":["harnesses"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"harness_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/harnesses/{harness_id}/improvements/{job_id}/resume":{"post":{"operationId":"harnesses_resume_improvement","summary":"Resume Improvement","tags":["harnesses"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"harness_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ResumeImprovementInput"},{"type":"null"}]}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/harnesses/{harness_id}/training":{"post":{"operationId":"harnesses_train_model_stub","summary":"Train Model Stub","description":"Reserved, unavailable model-training step; no learning job is submitted.","tags":["harnesses"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"harness_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/harnesses/{harness_id}/runs":{"post":{"operationId":"runs_start","summary":"Start Managed Harness Run","tags":["runs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"harness_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedRun"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"`insufficient_credits`: billing does not allow this request now; check your plan, credits and the agent's spending cap.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`idempotency_conflict`: the idempotency key was already used for a different request, or for a file that was deleted. `concurrent_request`: another request is changing the same resource; send the same request again. `agent_disabled`: the agent is turned off; turn it on before starting new work. `release_unavailable`: the agent has no release that can run. `state_conflict`: the request conflicts with the resource's current state; read it before trying again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"`agent_capacity_full`: the agent's turn capacity is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"`agent_unavailable`: execution is switched off for this agent. `turn_delivery_pending`: the message was recorded but has not started; send it again with the same idempotency key. `execution_storage_unavailable`: session, file or workspace storage is unavailable right now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartHarnessRunRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/runs/record":{"post":{"operationId":"runs_record","summary":"Record External Run","description":"Record input and output, optionally deduplicating retries with Idempotency-Key.\n\nReusing a key with different content returns 409. No execution timing is\ninferred; the run is ordered by when Sikaru receives it.","tags":["runs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`idempotency_conflict`: the idempotency key was already used for a different request, or for a file that was deleted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordRunRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/runs/{run_id}":{"get":{"operationId":"runs_get","summary":"Managed Run Summary","tags":["runs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedRun"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/runs/{run_id}/actions":{"get":{"operationId":"runs_pending_actions","summary":"Pending Actions","tags":["runs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/runs/{run_id}/cancel":{"post":{"operationId":"runs_cancel","summary":"Cancel Run","tags":["runs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"`execution_storage_unavailable`: session, file or workspace storage is unavailable right now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/runs/{run_id}/events":{"get":{"operationId":"runs_events","summary":"Managed Run Events","tags":["runs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"after","in":"query","required":false,"schema":{"type":"string","default":"0"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string","default":"100"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEvents"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/runs/{run_id}/events/stream":{"get":{"operationId":"runs_stream_events","summary":"Managed Run Event Stream","description":"Replay and stream durable run events; resume using after or Last-Event-ID.\n\nA terminal run event ends the stream. Idle streams may also close: callers\ncan resume from their last delivered event without restarting the run.","tags":["runs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"after","in":"query","required":false,"schema":{"type":"string","default":"0"}},{"name":"Last-Event-ID","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"Successful Response","content":{"text/event-stream":{"schema":{"$ref":"#/components/schemas/RunEvent"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/runs/{run_id}/recover":{"post":{"operationId":"runs_recover","summary":"Recover Managed Run","tags":["runs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedRun"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`concurrent_request`: another request is changing the same resource; send the same request again. `state_conflict`: the request conflicts with the resource's current state; read it before trying again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoverRunRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/runs/{run_id}/retry":{"post":{"operationId":"runs_retry","summary":"Retry Run","description":"Retry a failed turn as a new turn with its own run ID; the failed run stays failed. The retry\nstarts from the session's last completed turn, and external effects the failed turn already\ncompleted are not repeated. Repeating the request returns the same retry. A run that did not\nfail, whose `error.recoverable` is false, or that failed too long ago is refused with 409\n`not_retryable`.","tags":["runs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionTurnResponse"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"`insufficient_credits`: billing does not allow this request now; check your plan, credits and the agent's spending cap.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`idempotency_conflict`: the idempotency key was already used for a different request, or for a file that was deleted. `concurrent_request`: another request is changing the same resource; send the same request again. `agent_disabled`: the agent is turned off; turn it on before starting new work. `release_unavailable`: the agent has no release that can run. `state_conflict`: the request conflicts with the resource's current state; read it before trying again. `not_retryable`: the run cannot be retried: it did not fail, its failure is not recoverable, or it failed too long ago.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"`agent_capacity_full`: the agent's turn capacity is full.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"`agent_unavailable`: execution is switched off for this agent. `turn_delivery_pending`: the message was recorded but has not started; send it again with the same idempotency key. `execution_storage_unavailable`: session, file or workspace storage is unavailable right now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/runs/{run_id}/tool-calls/{tool_call_id}/approval":{"post":{"operationId":"runs_decide_approval","summary":"Decide Approval","tags":["runs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"tool_call_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`action_not_pending`: the tool call or approval is not waiting for this input: it already has an outcome, its run finished, it is handled by Sikaru, or it does not match a pending request. `idempotency_conflict`: the idempotency key was already used for a different request, or for a file that was deleted. `concurrent_request`: another request is changing the same resource; send the same request again. `state_conflict`: the request conflicts with the resource's current state; read it before trying again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/runs/{run_id}/tool-results":{"post":{"operationId":"runs_submit_tool_result","summary":"Submit Tool Result","tags":["runs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`action_not_pending`: the tool call or approval is not waiting for this input: it already has an outcome, its run finished, it is handled by Sikaru, or it does not match a pending request. `idempotency_conflict`: the idempotency key was already used for a different request, or for a file that was deleted. `concurrent_request`: another request is changing the same resource; send the same request again. `state_conflict`: the request conflicts with the resource's current state; read it before trying again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitToolResultRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/runs/{run_id}/trajectory":{"get":{"operationId":"runs_get_trajectory","summary":"Managed Run Trajectory","description":"Read retained ATIF structure and usage with private content redacted.\n\nThis is a committed snapshot and can be partial while a run is active or\ninterrupted. Messages, reasoning, tool payloads and provider metadata are\nomitted. No trajectory is synthesized when retained evidence is unavailable.","tags":["runs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`record_invalid`: the retained record cannot be read.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"`trajectory_storage_unavailable`: retained run records cannot be read right now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/runs/{run_id}/transcript":{"get":{"operationId":"runs_get_transcript","summary":"Managed Run Transcript","tags":["runs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunTranscript"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`record_invalid`: the retained record cannot be read.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"503":{"description":"`trajectory_storage_unavailable`: retained run records cannot be read right now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/runs/{run_id}/transcript/events/stream":{"get":{"operationId":"runs_stream_transcript_events","summary":"Managed Transcript Stream","tags":["runs"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"Last-Event-ID","in":"header","required":false,"schema":{"type":["integer","null"],"minimum":0}}],"responses":{"200":{"description":"Successful Response","content":{"text/event-stream":{"schema":{"$ref":"#/components/schemas/TranscriptEvent"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/import-sessions":{"get":{"operationId":"importSessions_list_import_sessions","summary":"List Import Sessions","tags":["importSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"importSessions_create_import_session","summary":"Create Import Session","tags":["importSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateImportSessionRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/import-sessions/{import_session_id}":{"get":{"operationId":"importSessions_get_import_session","summary":"Get Import Session","tags":["importSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"import_session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/import-sessions/{import_session_id}/compatibility-profile":{"post":{"operationId":"importSessions_create_compatibility_profile","summary":"Create Compatibility Profile","tags":["importSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"import_session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompatibilityProfileRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/import-sessions/{import_session_id}/diffs":{"get":{"operationId":"importSessions_list_import_session_diffs","summary":"List Import Session Diffs","tags":["importSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"import_session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/import-sessions/{import_session_id}/parity-report":{"get":{"operationId":"importSessions_get_parity_report","summary":"Get Parity Report","tags":["importSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"import_session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/import-sessions/{import_session_id}/promote":{"post":{"operationId":"importSessions_promote_import_session","summary":"Promote Import Session","tags":["importSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"import_session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoteImportSessionRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/import-sessions/{import_session_id}/replay-runs":{"post":{"operationId":"importSessions_create_replay_run","summary":"Create Replay Run","tags":["importSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"import_session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateParityRunRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/import-sessions/{import_session_id}/source-artifacts":{"get":{"operationId":"importSessions_list_source_artifacts","summary":"List Source Artifacts","tags":["importSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"import_session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"importSessions_create_source_artifact","summary":"Create Source Artifact","tags":["importSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"import_session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSourceArtifactRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/import-sessions/{import_session_id}/staging-runs":{"post":{"operationId":"importSessions_create_staging_run","summary":"Create Staging Run","tags":["importSessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"import_session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateParityRunRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/issue-clusters":{"get":{"operationId":"issueClusters_list_issue_clusters","summary":"List Issue Clusters","tags":["issueClusters"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":["string","null"]}},{"name":"severity","in":"query","required":false,"schema":{"type":["string","null"]}},{"name":"agent_id","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":256}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"issueClusters_upsert_issue_cluster","summary":"Upsert Issue Cluster","tags":["issueClusters"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertIssueClusterRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/issue-clusters/{cluster_id}":{"get":{"operationId":"issueClusters_get_issue_cluster","summary":"Get Issue Cluster","tags":["issueClusters"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"cluster_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"patch":{"operationId":"issueClusters_update_issue_cluster_status","summary":"Update Issue Cluster Status","tags":["issueClusters"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"cluster_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateIssueClusterStatusRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/issue-clusters/{cluster_id}/propose-fix":{"post":{"operationId":"issueClusters_propose_issue_cluster_fix","summary":"Propose Issue Cluster Fix","tags":["issueClusters"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"cluster_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/judge-alignment":{"get":{"operationId":"judgeAlignment_get_judge_alignment","summary":"Get Judge Alignment","tags":["judgeAlignment"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"evaluator","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":120}},{"name":"revision","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"environment","in":"query","required":false,"schema":{"$ref":"#/components/schemas/V1ProjectsProjectIdJudgeAlignmentGetParametersEnvironment","default":"production"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents":{"get":{"operationId":"managedAgents_list_managed_agents","summary":"List Managed Agents","tags":["managedAgents"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"managedAgents_create_managed_agent","summary":"Create Managed Agent","tags":["managedAgents"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatedManagedAgent"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateManagedAgentRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}":{"delete":{"operationId":"managedAgents_delete_managed_agent","summary":"Delete Managed Agent","description":"Delete an agent that has never gone live, with its drafts, checks and schedules.","tags":["managedAgents"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"patch":{"operationId":"managedAgents_rename_managed_agent","summary":"Rename Managed Agent","description":"Change the agent's display name. The slug and every reference to the agent stay the same.","tags":["managedAgents"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenamedManagedAgent"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenameAgent"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/definition-revisions":{"post":{"operationId":"managedAgents_create_definition_revision","summary":"Create Definition Revision","description":"Stage a changed definition as a draft revision; the live definition is a no-op.","tags":["managedAgents"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefinitionRevisionResult"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefinitionRevisionRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/definition-revisions/{changeset_id}":{"get":{"operationId":"managedAgents_get_definition_revision","summary":"Get Definition Revision","tags":["managedAgents"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"changeset_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefinitionRevisionView"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/checks":{"get":{"operationId":"checks_list","summary":"List Checks","tags":["Checks"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckList"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"checks_create","summary":"Create Check","description":"Same key and definition return the same check; a changed definition conflicts.","tags":["Checks"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckResponse"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCheck"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/checks/{check_id}/results":{"get":{"operationId":"checks_list_results","summary":"List Check Results","tags":["Checks"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"check_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckResultList"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/managed-agents/{agent_slug}/checks/{check_id}/runs":{"post":{"operationId":"checks_run","summary":"Run Check","description":"Start the check's task as a real run of the agent's active release; the result settles later.","tags":["Checks"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"agent_slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"check_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckResultResponse"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunCheck"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/memory-registry":{"post":{"operationId":"memoryRegistry_create_memory_registry_change","summary":"Create Memory Registry Change","tags":["memoryRegistry"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMemoryRegistryChangeRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/model-gateway/{provider}/chat/completions/capture":{"post":{"operationId":"modelGateway_capture_model_gateway_chat_completion","summary":"Capture Model Gateway Chat Completion","tags":["modelGateway"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"provider","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelGatewayCaptureRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/model-settings":{"get":{"operationId":"modelSettings_get_model_settings","summary":"Get Model Settings","tags":["modelSettings"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"put":{"operationId":"modelSettings_update_model_settings","summary":"Update Model Settings","tags":["modelSettings"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelSelection"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/online-evaluations":{"get":{"operationId":"onlineEvaluations_list_policies","summary":"List Policies","tags":["onlineEvaluations"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"after","in":"query","required":false,"schema":{"type":["string","null"],"maxLength":128}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"onlineEvaluations_create_policy","summary":"Create Policy","tags":["onlineEvaluations"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/online-evaluations/preview":{"get":{"operationId":"onlineEvaluations_preview_policy_eligibility","summary":"Preview Policy Eligibility","tags":["onlineEvaluations"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"environment","in":"query","required":false,"schema":{"$ref":"#/components/schemas/V1ProjectsProjectIdOnlineEvaluationsPreviewGetParametersEnvironment","default":"production"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/online-evaluations/{policy_id}":{"patch":{"operationId":"onlineEvaluations_update_policy","summary":"Update Policy","tags":["onlineEvaluations"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"policy_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyState"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/release-watches":{"post":{"operationId":"releaseWatches_create_release_watch","summary":"Create Release Watch","tags":["releaseWatches"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateReleaseWatchRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/retention-policies":{"post":{"operationId":"retentionPolicies_create_retention_policy_update","summary":"Create Retention Policy Update","tags":["retentionPolicies"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRetentionPolicyUpdateRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/review-queue":{"post":{"operationId":"reviewQueue_create_review_queue_item","summary":"Create Review Queue Item","tags":["reviewQueue"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateReviewQueueItemRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/run-references/{reference}":{"get":{"operationId":"runReferences_resolve_run_reference","summary":"Resolve Run Reference","tags":["runReferences"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"reference","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"asOf","in":"query","required":false,"schema":{"type":["string","null"],"format":"date-time"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/run-schedules":{"get":{"operationId":"runSchedules_list_schedules","summary":"List Schedules","tags":["runSchedules"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"query","required":false,"schema":{"type":["string","null"]}},{"name":"agent_slug","in":"query","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleList"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"runSchedules_create_schedule","summary":"Create Schedule","tags":["runSchedules"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleResponse"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/run-schedules/{schedule_id}":{"delete":{"operationId":"runSchedules_delete_schedule","summary":"Delete Schedule","tags":["runSchedules"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleDeleted"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"patch":{"operationId":"runSchedules_pause_schedule","summary":"Pause Schedule","tags":["runSchedules"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulePaused"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PauseInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/run-schedules/{schedule_id}/notices":{"get":{"operationId":"runSchedules_schedule_notices","summary":"Schedule Notices","tags":["runSchedules"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleNotices"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/run-schedules/{schedule_id}/occurrences":{"get":{"operationId":"runSchedules_schedule_history","summary":"Schedule History","tags":["runSchedules"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"before","in":"query","required":false,"schema":{"type":["number","null"],"format":"double"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleHistory"}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/run-webhooks":{"get":{"operationId":"runWebhooks_list_webhooks","summary":"List Webhooks","tags":["runWebhooks"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"runWebhooks_create_webhook","summary":"Create Webhook","tags":["runWebhooks"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookInput"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/run-webhooks/{webhook_id}":{"delete":{"operationId":"runWebhooks_delete_webhook","summary":"Delete Webhook","tags":["runWebhooks"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/sessions/{session_id}":{"get":{"operationId":"sessions_get_managed_session","summary":"Get Managed Session","tags":["sessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/sessions/{session_id}/events":{"get":{"operationId":"sessions_list_managed_session_events","summary":"List Managed Session Events","tags":["sessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"after","in":"query","required":false,"schema":{"type":"string","default":"0"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string","default":"100"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/sessions/{session_id}/files":{"get":{"operationId":"sessions_list_managed_session_files","summary":"List Managed Session Files","tags":["sessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/sessions/{session_id}/plan":{"get":{"operationId":"sessions_list_managed_session_plan","summary":"List Managed Session Plan","tags":["sessions"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/tool-providers":{"post":{"operationId":"toolProviders_register_tool_provider","summary":"Register Tool Provider","tags":["toolProviders"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterToolProviderRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/tool-providers/{tool_provider_id}/skills":{"post":{"operationId":"toolProviders_attach_source_tool_skill","summary":"Attach Source Tool Skill","tags":["toolProviders"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"tool_provider_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachSourceToolSkillRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/trace-import-connections":{"get":{"operationId":"traceImportConnections_list_trace_import_connections","summary":"List Trace Import Connections","tags":["traceImportConnections"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/trace-imports":{"get":{"operationId":"traceImports_list_trace_imports","summary":"List Trace Imports","tags":["traceImports"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]},"post":{"operationId":"traceImports_create_trace_import","summary":"Create Trace Import","tags":["traceImports"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTraceImportRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/trace-imports/plan":{"post":{"operationId":"traceImports_plan_trace_import","summary":"Plan Trace Import","tags":["traceImports"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanTraceImportRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/trace-imports/{trace_import_id}":{"get":{"operationId":"traceImports_get_trace_import","summary":"Get Trace Import","tags":["traceImports"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"trace_import_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/trace-imports/{trace_import_id}/cancel":{"post":{"operationId":"traceImports_cancel_trace_import","summary":"Cancel Trace Import","tags":["traceImports"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"trace_import_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionedTraceImportAction"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/trace-imports/{trace_import_id}/receipt":{"get":{"operationId":"traceImports_get_trace_import_receipt","summary":"Get Trace Import Receipt","tags":["traceImports"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"trace_import_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/trace-imports/{trace_import_id}/retry":{"post":{"operationId":"traceImports_retry_trace_import","summary":"Retry Trace Import","tags":["traceImports"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"trace_import_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionedTraceImportAction"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/workflow-intents":{"post":{"operationId":"workflowIntents_create_project_workflow_intent","summary":"Create Project Workflow Intent","tags":["workflowIntents"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProductWorkflowIntentRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/workflow-intents/{intent_id}/compile":{"post":{"operationId":"workflowIntents_compile_project_workflow_intent","summary":"Compile Project Workflow Intent","tags":["workflowIntents"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"intent_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/workflow-runs/{run_id}/events":{"get":{"operationId":"workflowRuns_project_workflow_run_events","summary":"Project Workflow Run Events","tags":["workflowRuns"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/workflow-runs/{run_id}/recover":{"post":{"operationId":"workflowRuns_recover_project_workflow_run","summary":"Recover Project Workflow Run","tags":["workflowRuns"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoverRunRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/workflows/import":{"post":{"operationId":"workflows_import_workflow","summary":"Import Workflow","tags":["workflows"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportWorkflowRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/workflows/{workflow_id}/export":{"get":{"operationId":"workflows_export_product_workflow","summary":"Export Product Workflow","tags":["workflows"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/workflows/{workflow_id}/runs":{"post":{"operationId":"workflows_start_project_workflow_run","summary":"Start Project Workflow Run","tags":["workflows"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartWorkflowRunRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/projects/{project_id}/workflows/{workflow_id}/versions":{"post":{"operationId":"workflows_create_project_workflow_version","summary":"Create Project Workflow Version","tags":["workflows"],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWorkflowVersionRequest"}}}},"security":[{"BearerAuth":[]}]}},"/v1/trace-streams":{"post":{"operationId":"traceStreams_stream_openinference_spans","summary":"Stream Openinference Spans","tags":["traceStreams"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":["string","null"]}},{"name":"X-Sikaru-Client-Id","in":"header","required":false,"schema":{"type":["string","null"]}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing or invalid credentials (`unauthenticated`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The credential lacks access or a required scope (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The resource or route does not exist (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"`idempotency_conflict`: the idempotency key was already used for a different request, or for a file that was deleted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceStreamRequest"}}}},"security":[{"BearerAuth":[]}]}}},"tags":[{"name":"auth"},{"name":"httpChannels"},{"name":"organizations"},{"name":"personalChannels"},{"name":"activation"},{"name":"agentDocuments"},{"name":"agentImports"},{"name":"agents"},{"name":"capabilityCeilings"},{"name":"changesets"},{"name":"Channels"},{"name":"computeAttachments"},{"name":"computeOperations"},{"name":"computeWorkspaces"},{"name":"computeCredentials"},{"name":"computeEnvironments"},{"name":"computeWorkers"},{"name":"Connections"},{"name":"contextRegistry"},{"name":"conversations"},{"name":"Datasets"},{"name":"deployments"},{"name":"environments"},{"name":"evaluationComparisons"},{"name":"evaluationCriteria"},{"name":"evaluationJobs"},{"name":"evaluationResults"},{"name":"evaluatorRuns"},{"name":"executionObjectives"},{"name":"executionSessions"},{"name":"Specialists"},{"name":"executions"},{"name":"feedback"},{"name":"gitCredentials"},{"name":"harnesses"},{"name":"runs"},{"name":"importSessions"},{"name":"issueClusters"},{"name":"judgeAlignment"},{"name":"managedAgents"},{"name":"Checks"},{"name":"memoryRegistry"},{"name":"modelGateway"},{"name":"modelSettings"},{"name":"onlineEvaluations"},{"name":"releaseWatches"},{"name":"retentionPolicies"},{"name":"reviewQueue"},{"name":"runReferences"},{"name":"runSchedules"},{"name":"runWebhooks"},{"name":"sessions"},{"name":"toolProviders"},{"name":"traceImportConnections"},{"name":"traceImports"},{"name":"workflowIntents"},{"name":"workflowRuns"},{"name":"workflows"},{"name":"traceStreams"}],"servers":[{"url":"https://api.sikaru.ai","description":"https://api.sikaru.ai"}],"components":{"schemas":{"DeviceConfiguration":{"type":"object","properties":{"clientId":{"type":"string"}},"required":["clientId"],"title":"DeviceConfiguration"},"HttpMessagePrivacy":{"type":"string","enum":["shared","private"],"default":"shared","title":"HttpMessagePrivacy"},"HTTPMessage":{"type":"object","properties":{"actor":{"type":["string","null"],"maxLength":128},"content":{"type":"string","minLength":1,"description":"Text content, at most 16 KiB encoded as UTF-8."},"conversation_id":{"type":"string","minLength":1,"maxLength":128},"message_id":{"type":"string","minLength":1,"maxLength":128},"privacy":{"$ref":"#/components/schemas/HttpMessagePrivacy","default":"shared"}},"required":["content","conversation_id","message_id"],"title":"HTTPMessage"},"HTTPOutput":{"type":"object","properties":{"content":{"type":"string"}},"required":["content"],"title":"HTTPOutput"},"HttpReceiptStatus":{"type":"string","enum":["accepted","queued","running","approval-needed","connection-needed","completed","failed","suppressed","expired"],"title":"HttpReceiptStatus"},"HTTPReceipt":{"type":"object","properties":{"id":{"type":"string"},"operator_url":{"type":["string","null"]},"output":{"oneOf":[{"$ref":"#/components/schemas/HTTPOutput"},{"type":"null"}]},"run_id":{"type":["string","null"]},"session_id":{"type":["string","null"]},"status":{"$ref":"#/components/schemas/HttpReceiptStatus"},"status_url":{"type":"string"}},"required":["id","operator_url","output","run_id","session_id","status","status_url"],"title":"HTTPReceipt"},"ErrorResponse":{"type":"object","properties":{"code":{"type":"string","description":"Stable machine code. Specific values: `insufficient_credits` (402): billing does not allow this request now; check your plan, credits and the agent's spending cap; `idempotency_conflict` (409): the idempotency key was already used for a different request, or for a file that was deleted; `concurrent_request` (409): another request is changing the same resource; send the same request again; `agent_disabled` (409): the agent is turned off; turn it on before starting new work; `release_unavailable` (409): the agent has no release that can run; `action_not_pending` (409): the tool call or approval is not waiting for this input: it already has an outcome, its run finished, it is handled by Sikaru, or it does not match a pending request; `not_retryable` (409): the run cannot be retried: it did not fail, its failure is not recoverable, or it failed too long ago; `branch_unavailable` (409): the session cannot be branched at that run; `record_invalid` (409): the retained record cannot be read; `state_conflict` (409): the request conflicts with the resource's current state; read it before trying again; `agent_capacity_full` (429): the agent's turn capacity is full; `agent_unavailable` (503): execution is switched off for this agent; `turn_delivery_pending` (503): the message was recorded but has not started; send it again with the same idempotency key; `execution_storage_unavailable` (503): session, file or workspace storage is unavailable right now; `storage_unavailable` (503): the storage behind this resource is unavailable right now; `trajectory_storage_unavailable` (503): retained run records cannot be read right now. Otherwise a status default: `bad_request` (400), `unauthenticated` (401), `payment_required` (402), `forbidden` (403), `not_found` (404), `method_not_allowed` (405), `not_acceptable` (406), `request_timeout` (408), `conflict` (409), `gone` (410), `length_required` (411), `precondition_failed` (412), `payload_too_large` (413), `unsupported_media_type` (415), `range_not_satisfiable` (416), `invalid_request` (422), `locked` (423), `precondition_required` (428), `rate_limited` (429), `internal_error` (500), `not_implemented` (501), `bad_gateway` (502), `service_unavailable` (503), `gateway_timeout` (504). `429` and `503` refusals with a specific code carry `Retry-After` in seconds."},"detail":{"type":"string"}},"required":["code","detail"],"description":"A refused or failed request. Branch on `code`; `detail` is for people.","title":"ErrorResponse"},"ValidationErrorCtx":{"type":"object","properties":{},"title":"ValidationErrorCtx"},"ValidationErrorLocItems":{"oneOf":[{"type":"string"},{"type":"integer"}],"title":"ValidationErrorLocItems"},"ValidationError":{"type":"object","properties":{"ctx":{"$ref":"#/components/schemas/ValidationErrorCtx"},"input":{"description":"Any type"},"loc":{"type":"array","items":{"$ref":"#/components/schemas/ValidationErrorLocItems"}},"msg":{"type":"string"},"type":{"type":"string"}},"required":["loc","msg","type"],"title":"ValidationError"},"HTTPValidationError":{"type":"object","properties":{"detail":{"type":"array","items":{"$ref":"#/components/schemas/ValidationError"}}},"title":"HTTPValidationError"},"SlackLink":{"type":"object","properties":{"installation_id":{"type":"string","minLength":1,"maxLength":128}},"required":["installation_id"],"title":"SlackLink"},"PersonalSlackChallenge":{"type":"object","properties":{"challenge":{"type":"string"},"verification_id":{"type":"string"}},"required":["challenge","verification_id"],"title":"PersonalSlackChallenge"},"SubscriptionStatusPlan":{"type":"string","enum":["build","team"],"title":"SubscriptionStatusPlan"},"SubscriptionPlanChangePlan":{"type":"string","enum":["build","team"],"title":"SubscriptionPlanChangePlan"},"SubscriptionPlanChange":{"type":"object","properties":{"effective_at":{"type":"integer"},"id":{"type":"string"},"plan":{"$ref":"#/components/schemas/SubscriptionPlanChangePlan"},"state":{"type":"string"}},"required":["effective_at","id","plan","state"],"title":"SubscriptionPlanChange"},"TrialStatusState":{"type":"string","enum":["available","active","exhausted","expired","paused"],"title":"TrialStatusState"},"TrialStatus":{"type":"object","properties":{"ends_at":{"type":["integer","null"]},"remaining_usd":{"type":"string"},"state":{"$ref":"#/components/schemas/TrialStatusState"}},"required":["ends_at","remaining_usd","state"],"title":"TrialStatus"},"SubscriptionStatus":{"type":"object","properties":{"cancel_at":{"type":["integer","null"]},"configured":{"type":"boolean"},"mode":{"type":"string","enum":["usage"]},"plan":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionStatusPlan"},{"type":"null"}]},"plan_change":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionPlanChange"},{"type":"null"}]},"state":{"type":"string"},"trial":{"oneOf":[{"$ref":"#/components/schemas/TrialStatus"},{"type":"null"}]}},"required":["configured","mode","plan","state"],"title":"SubscriptionStatus"},"SubscriptionInputPlan":{"type":"string","enum":["build","team"],"title":"SubscriptionInputPlan"},"SubscriptionInput":{"type":"object","properties":{"accepted_recurring_terms":{"type":"boolean"},"idempotency_key":{"type":"string","minLength":1,"maxLength":128},"plan":{"$ref":"#/components/schemas/SubscriptionInputPlan"}},"required":["accepted_recurring_terms","idempotency_key","plan"],"title":"SubscriptionInput"},"SubscriptionSetupPlan":{"type":"string","enum":["build","team"],"title":"SubscriptionSetupPlan"},"SubscriptionSetup":{"type":"object","properties":{"cancel_at":{"type":["integer","null"]},"configured":{"type":"boolean"},"mode":{"type":"string","enum":["usage"]},"plan":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionSetupPlan"},{"type":"null"}]},"plan_change":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionPlanChange"},{"type":"null"}]},"state":{"type":"string"},"trial":{"oneOf":[{"$ref":"#/components/schemas/TrialStatus"},{"type":"null"}]},"url":{"type":["string","null"]}},"required":["configured","mode","plan","state","url"],"title":"SubscriptionSetup"},"SubscriptionCancellation":{"type":"object","properties":{"cancel_at":{"type":"integer"},"state":{"type":"string","enum":["cancellation_pending"]}},"required":["cancel_at","state"],"title":"SubscriptionCancellation"},"PersonalChannelAction":{"type":"object","properties":{"approval":{"type":"string"},"capability_name":{"type":["string","null"]},"execution_owner":{"type":["string","null"]},"idempotency_key":{"type":["string","null"]},"status":{"type":"string"},"tool_call_id":{"type":["string","null"]},"tool_provider_id":{"type":["string","null"]}},"required":["approval","status"],"title":"PersonalChannelAction"},"PersonalChannelConnection":{"type":"object","properties":{"account_status":{"type":"string"},"display_name":{"type":"string"},"id":{"type":"string"},"kind":{"type":"string"}},"required":["account_status","display_name","id","kind"],"title":"PersonalChannelConnection"},"PersonalChannelReceiptStatus":{"type":"string","enum":["accepted","queued","running","approval-needed","connection-needed","completed","failed","suppressed","expired"],"title":"PersonalChannelReceiptStatus"},"PersonalChannelReceipt":{"type":"object","properties":{"actions":{"type":"array","items":{"$ref":"#/components/schemas/PersonalChannelAction"}},"connection_prompts":{"type":"array","items":{"$ref":"#/components/schemas/PersonalChannelConnection"}},"id":{"type":"string"},"operator_url":{"type":["string","null"]},"output":{"oneOf":[{"$ref":"#/components/schemas/HTTPOutput"},{"type":"null"}]},"run_id":{"type":["string","null"]},"session_id":{"type":["string","null"]},"status":{"$ref":"#/components/schemas/PersonalChannelReceiptStatus"},"status_url":{"type":"string"}},"required":["actions","connection_prompts","id","operator_url","output","run_id","session_id","status","status_url"],"title":"PersonalChannelReceipt"},"ConnectionAuthorization":{"type":"object","properties":{"expires_at":{"type":"number","format":"double"},"state":{"type":"string"},"url":{"type":"string"}},"required":["expires_at","state","url"],"title":"ConnectionAuthorization"},"CompleteAuthorization":{"type":"object","properties":{"query":{"type":"object","additionalProperties":{"type":"string"}},"state":{"type":"string","minLength":16,"maxLength":256}},"required":["state"],"title":"CompleteAuthorization"},"ConnectionCredentials":{"type":"object","properties":{"oauth_client_secret":{"type":["string","null"],"format":"password","maxLength":16000},"token":{"type":["string","null"],"format":"password","maxLength":16000},"value":{"type":["string","null"],"format":"password","minLength":1,"maxLength":16000}},"title":"ConnectionCredentials"},"ReplaceCredentials":{"type":"object","properties":{"credentials":{"$ref":"#/components/schemas/ConnectionCredentials"}},"required":["credentials"],"title":"ReplaceCredentials"},"PersonalChannelFile":{"type":"object","properties":{"contentType":{"type":"string"},"createdAt":{"type":"number","format":"double"},"direction":{"type":"string"},"filename":{"type":"string"},"id":{"type":"string"},"path":{"type":"string"},"sha256":{"type":"string"},"size":{"type":"integer"},"sourceRunId":{"type":["string","null"]}},"required":["contentType","createdAt","direction","filename","id","path","sha256","size","sourceRunId"],"title":"PersonalChannelFile"},"PersonalChannelFiles":{"type":"object","properties":{"files":{"type":"array","items":{"$ref":"#/components/schemas/PersonalChannelFile"}}},"required":["files"],"title":"PersonalChannelFiles"},"ApprovalInputDecision":{"type":"string","enum":["approved","denied"],"title":"ApprovalInputDecision"},"ApprovalInput":{"type":"object","properties":{"decision":{"$ref":"#/components/schemas/ApprovalInputDecision"},"idempotency_key":{"type":"string","minLength":1,"maxLength":128}},"required":["decision","idempotency_key"],"title":"ApprovalInput"},"PersonalChannelApprovalDecisionDecision":{"type":"string","enum":["approved","denied"],"title":"PersonalChannelApprovalDecisionDecision"},"PersonalChannelApprovalDecision":{"type":"object","properties":{"capability_name":{"type":"string"},"decision":{"$ref":"#/components/schemas/PersonalChannelApprovalDecisionDecision"},"idempotency_key":{"type":"string"},"tool_call_id":{"type":"string"},"tool_provider_id":{"type":"string"}},"required":["capability_name","decision","idempotency_key","tool_call_id","tool_provider_id"],"title":"PersonalChannelApprovalDecision"},"PersonalChannelApproval":{"type":"object","properties":{"approval":{"$ref":"#/components/schemas/PersonalChannelApprovalDecision"}},"required":["approval"],"title":"PersonalChannelApproval"},"PersonalSlackStatusStatus":{"type":"string","enum":["verified","pending","expired"],"title":"PersonalSlackStatusStatus"},"PersonalSlackStatus":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/PersonalSlackStatusStatus"},"verification_id":{"type":"string"}},"required":["status","verification_id"],"title":"PersonalSlackStatus"},"DraftDocumentInput":{"type":"object","properties":{"description":{"type":["string","null"],"maxLength":8000},"note":{"type":["string","null"],"maxLength":4000},"runIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"templateId":{"type":["string","null"],"maxLength":64},"traceIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256}}},"title":"DraftDocumentInput"},"StarterCheck":{"type":"object","properties":{"instruction":{"type":"string","description":"A realistic user message to test the agent with."},"name":{"type":"string"},"rubric":{"type":"string","description":"What a good answer must do to pass."}},"required":["instruction","name","rubric"],"title":"StarterCheck"},"AgentDocumentDraft":{"type":"object","properties":{"checks":{"type":"array","items":{"$ref":"#/components/schemas/StarterCheck"}},"document":{"type":"string"},"name":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}},"tools":{"type":"array","items":{"type":"string"},"description":"Toolkit slugs the agent expects, connected or not."}},"required":["checks","document","name","notes","tools"],"title":"AgentDocumentDraft"},"ImportDocumentFiles":{"type":"object","properties":{"files":{"type":"object","additionalProperties":{"type":"string"}}},"required":["files"],"title":"ImportDocumentFiles"},"DocumentEditorMetadata":{"type":"object","properties":{"bodyOffset":{"type":["integer","null"]},"ceilings":{"type":"object","additionalProperties":{"description":"Any type"}},"settings":{"type":"object","additionalProperties":{"description":"Any type"}}},"required":["bodyOffset","settings"],"title":"DocumentEditorMetadata"},"DocumentIssue":{"type":"object","properties":{"column":{"type":"integer","default":1},"line":{"type":"integer","default":1},"message":{"type":"string"}},"required":["message"],"title":"DocumentIssue"},"Mention":{"type":"object","properties":{"column":{"type":"integer"},"end":{"type":"integer"},"kind":{"type":"string"},"line":{"type":"integer"},"slug":{"type":"string"},"start":{"type":"integer"},"text":{"type":"string"}},"required":["column","end","kind","line","slug","start","text"],"title":"Mention"},"ResolvedMention":{"type":"object","properties":{"allowed_hosts":{"type":"array","items":{"type":"string"},"default":[]},"mention":{"$ref":"#/components/schemas/Mention"},"reason":{"type":["string","null"]},"resource_id":{"type":["string","null"]},"state":{"type":"string"},"tool_digests":{"type":"object","additionalProperties":{"type":"string"}},"warning":{"type":["string","null"]}},"required":["mention","state"],"title":"ResolvedMention"},"DocumentValidationView":{"type":"object","properties":{"editor":{"oneOf":[{"$ref":"#/components/schemas/DocumentEditorMetadata"},{"type":"null"}]},"errors":{"type":"array","items":{"$ref":"#/components/schemas/DocumentIssue"}},"mentions":{"type":"array","items":{"$ref":"#/components/schemas/ResolvedMention"}},"publishable":{"type":"boolean"}},"required":["errors","mentions","publishable"],"title":"DocumentValidationView"},"ImportedDocument":{"type":"object","properties":{"document":{"type":"string"},"validation":{"$ref":"#/components/schemas/DocumentValidationView"}},"required":["document","validation"],"title":"ImportedDocument"},"MentionResource":{"type":"object","properties":{"aliases":{"type":"array","items":{"type":"string"},"default":[]},"allowed_hosts":{"type":"array","items":{"type":"string"},"default":[]},"blocked_reason":{"type":["string","null"]},"broken_reason":{"type":["string","null"]},"connected":{"type":"boolean","default":true},"kind":{"type":"string"},"ownership":{"type":"string","default":"shared"},"resource_id":{"type":"string"},"slug":{"type":"string"},"tool_digests":{"type":"object","additionalProperties":{"type":"string"}}},"required":["kind","resource_id","slug"],"title":"MentionResource"},"DocumentResources":{"type":"object","properties":{"resources":{"type":"array","items":{"$ref":"#/components/schemas/MentionResource"}}},"required":["resources"],"title":"DocumentResources"},"EditDocumentSettingOp":{"type":"string","enum":["set","remove"],"default":"set","title":"EditDocumentSettingOp"},"EditDocumentSetting":{"type":"object","properties":{"document":{"type":"string","maxLength":1000000},"op":{"$ref":"#/components/schemas/EditDocumentSettingOp","default":"set"},"path":{"type":"array","items":{"type":"string"}},"value":{"description":"Any type"}},"required":["document","path"],"title":"EditDocumentSetting"},"DocumentTemplate":{"type":"object","properties":{"checks":{"type":"array","items":{"$ref":"#/components/schemas/StarterCheck"}},"connectors":{"type":"array","items":{"type":"string"},"description":"Toolkit slugs this template works best with."},"description":{"type":"string"},"document":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"}},"required":["description","document","id","name"],"title":"DocumentTemplate"},"DocumentTemplates":{"type":"object","properties":{"templates":{"type":"array","items":{"$ref":"#/components/schemas/DocumentTemplate"}}},"required":["templates"],"title":"DocumentTemplates"},"DocumentInput":{"type":"object","properties":{"document":{"type":"string","maxLength":1000000}},"required":["document"],"title":"DocumentInput"},"DocumentAccessDelta":{"type":"object","properties":{"added":{"type":"array","items":{"type":"string"}},"capabilities":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"changed":{"type":"array","items":{"type":"string"}},"removed":{"type":"array","items":{"type":"string"}}},"required":["added","changed","removed"],"title":"DocumentAccessDelta"},"AgentDocument":{"type":"object","properties":{"accessDelta":{"$ref":"#/components/schemas/DocumentAccessDelta"},"actor":{"type":"string"},"baseLiveVersionId":{"type":["string","null"]},"contentOrigin":{"type":"string"},"createdAt":{"type":"string"},"document":{"type":"string"},"revision":{"type":"integer"},"validation":{"$ref":"#/components/schemas/DocumentValidationView"}},"required":["accessDelta","actor","baseLiveVersionId","contentOrigin","createdAt","document","revision","validation"],"title":"AgentDocument"},"SaveDocument":{"type":"object","properties":{"document":{"type":"string","maxLength":1000000},"expectedRevision":{"type":"integer","minimum":0}},"required":["document","expectedRevision"],"title":"SaveDocument"},"DocumentRevision":{"type":"object","properties":{"actor":{"type":"string"},"baseLiveVersionId":{"type":["string","null"]},"contentOrigin":{"type":"string"},"createdAt":{"type":"string"},"document":{"type":"string"},"revision":{"type":"integer"}},"required":["actor","baseLiveVersionId","contentOrigin","createdAt","document","revision"],"title":"DocumentRevision"},"DocumentComparison":{"type":"object","properties":{"diff":{"type":"string"},"draft":{"$ref":"#/components/schemas/DocumentRevision"},"liveDocument":{"type":"string"},"liveVersionId":{"type":["string","null"]}},"required":["diff","draft","liveDocument","liveVersionId"],"title":"DocumentComparison"},"DiscardDocument":{"type":"object","properties":{"expectedLiveVersionId":{"type":["string","null"]},"expectedRevision":{"type":"integer","minimum":1}},"required":["expectedRevision"],"title":"DiscardDocument"},"PublishDocument":{"type":"object","properties":{"acknowledgeRemovals":{"type":"boolean","default":false},"acknowledgeWidening":{"type":"boolean","default":false},"expectedAccessDigest":{"type":["string","null"]},"expectedLiveVersionId":{"type":["string","null"]},"revision":{"type":"integer","minimum":1}},"required":["revision"],"title":"PublishDocument"},"DocumentBlocker":{"type":"object","properties":{"mention":{"type":["string","null"]},"reason":{"type":["string","null"]},"state":{"type":["string","null"]}},"title":"DocumentBlocker"},"EarlierDocumentSession":{"type":"object","properties":{"harnessVersionId":{"type":"string"},"sessionId":{"type":"string"}},"required":["harnessVersionId","sessionId"],"title":"EarlierDocumentSession"},"DocumentPublicationPublicationStatus":{"type":"string","enum":["pending","completed"],"default":"completed","title":"DocumentPublicationPublicationStatus"},"DocumentPublication":{"type":"object","properties":{"accessDelta":{"$ref":"#/components/schemas/DocumentAccessDelta"},"activatedAt":{"type":["string","null"]},"activationId":{"type":["string","null"]},"actor":{"type":["string","null"]},"affectedSchedules":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"blockers":{"type":"array","items":{"$ref":"#/components/schemas/DocumentBlocker"}},"ceilingViolations":{"type":"array","items":{"$ref":"#/components/schemas/DocumentIssue"}},"contentOrigin":{"type":["string","null"]},"createdAt":{"type":["string","null"]},"earlierSessions":{"type":"array","items":{"$ref":"#/components/schemas/EarlierDocumentSession"}},"harnessVersionId":{"type":"string"},"priorVersionId":{"type":["string","null"]},"publicationStatus":{"$ref":"#/components/schemas/DocumentPublicationPublicationStatus","default":"completed"},"revision":{"type":["integer","null"]},"unchanged":{"type":"boolean","default":false}},"required":["accessDelta","affectedSchedules","blockers","ceilingViolations","earlierSessions","harnessVersionId"],"title":"DocumentPublication"},"RevertDocument":{"type":"object","properties":{"acknowledgeRemovals":{"type":"boolean","default":false},"acknowledgeWidening":{"type":"boolean","default":false},"expectedAccessDigest":{"type":["string","null"]},"expectedLiveVersionId":{"type":["string","null"]},"harnessVersionId":{"type":"string"},"revision":{"type":"integer","minimum":0}},"required":["harnessVersionId","revision"],"title":"RevertDocument"},"ReviewDocument":{"type":"object","properties":{"acknowledgeRemovals":{"type":"boolean","default":false},"acknowledgeWidening":{"type":"boolean","default":false},"expectedAccessDigest":{"type":["string","null"]},"expectedLiveVersionId":{"type":["string","null"]},"harnessVersionId":{"type":["string","null"]},"revision":{"type":"integer","minimum":0}},"required":["revision"],"title":"ReviewDocument"},"ReviewedAccess":{"type":"object","properties":{"allowed_hosts":{"type":"array","items":{"type":"string"}},"ownership":{"type":["string","null"]},"policy":{"type":["string","null"]},"resource_id":{"type":["string","null"]},"tools":{"type":"object","additionalProperties":{"type":"string"}}},"required":["resource_id","tools"],"title":"ReviewedAccess"},"DocumentReview":{"type":"object","properties":{"accessAfter":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ReviewedAccess"}},"accessBefore":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ReviewedAccess"}},"accessDelta":{"$ref":"#/components/schemas/DocumentAccessDelta"},"accessDigest":{"type":"string"},"affectedSchedules":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"blockers":{"type":"array","items":{"$ref":"#/components/schemas/DocumentBlocker"}},"ceilingViolations":{"type":"array","items":{"$ref":"#/components/schemas/DocumentIssue"}},"diff":{"type":"string"},"document":{"type":"string"},"earlierSessions":{"type":"array","items":{"$ref":"#/components/schemas/EarlierDocumentSession"}},"harnessVersionId":{"type":["string","null"]},"liveVersionId":{"type":["string","null"]},"revision":{"type":"integer"},"validation":{"$ref":"#/components/schemas/DocumentValidationView"}},"required":["accessAfter","accessBefore","accessDelta","accessDigest","affectedSchedules","blockers","ceilingViolations","diff","document","earlierSessions","harnessVersionId","liveVersionId","revision","validation"],"title":"DocumentReview"},"AgentSnippets":{"type":"object","properties":{"cli":{"type":"string"},"curl":{"type":"string"},"python":{"type":"string"},"typescript":{"type":"string"}},"required":["cli","curl","python","typescript"],"title":"AgentSnippets"},"DocumentSuggestion":{"type":"object","properties":{"actor":{"type":"string"},"affectedRuns":{"type":["integer","null"],"description":"This agent's runs that showed the issue."},"affectedShare":{"type":["number","null"],"format":"double","minimum":0,"maximum":1,"description":"Share of runs affected; omitted when unknown."},"baseLiveVersionId":{"type":"string"},"candidateVersionId":{"type":"string"},"citedRunIds":{"type":["array","null"],"items":{"type":"string"},"description":"Visible project runs that show the problem."},"contentOrigin":{"type":"string"},"createdAt":{"type":"string"},"diff":{"type":["string","null"]},"document":{"type":"string"},"id":{"type":"string"},"rationale":{"type":["string","null"],"description":"Why it was suggested, in at most 280 characters."},"signalId":{"type":["string","null"],"description":"The linked issue, when the change came from one."},"status":{"type":"string"},"title":{"type":["string","null"],"description":"The change this suggestion came from, when it has one."}},"required":["actor","baseLiveVersionId","candidateVersionId","contentOrigin","createdAt","document","id","status"],"title":"DocumentSuggestion"},"DocumentSuggestions":{"type":"object","properties":{"suggestions":{"type":"array","items":{"$ref":"#/components/schemas/DocumentSuggestion"}}},"required":["suggestions"],"title":"DocumentSuggestions"},"AdoptSuggestion":{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":1}},"required":["expectedRevision"],"title":"AdoptSuggestion"},"DocumentVersions":{"type":"object","properties":{"versions":{"type":"array","items":{"$ref":"#/components/schemas/DocumentPublication"}}},"required":["versions"],"title":"DocumentVersions"},"AgentImportEvalSuiteRequest":{"type":"object","properties":{"kind":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"description":"Any type"}},"primaryMetric":{"type":"string"},"storageRef":{"type":"string"}},"required":["kind","primaryMetric","storageRef"],"title":"AgentImportEvalSuiteRequest"},"AgentImportImproveRequest":{"type":"object","properties":{"mode":{"type":"string"},"objective":{"type":"string"},"promotionGate":{"type":"string"}},"required":["mode","objective","promotionGate"],"title":"AgentImportImproveRequest"},"AgentImportModelCaptureRequest":{"type":"object","properties":{"metadata":{"type":"object","additionalProperties":{"description":"Any type"}},"mode":{"type":"string"}},"required":["mode"],"title":"AgentImportModelCaptureRequest"},"AgentImportRunnerRequest":{"type":"object","properties":{"entrypoint":{"type":"string"},"environmentRef":{"type":["string","null"]},"kind":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"description":"Any type"}}},"required":["entrypoint","kind"],"title":"AgentImportRunnerRequest"},"AgentImportSourceRefRequestExportPolicy":{"type":"string","enum":["customer_source_exportable","customer_source_private","reference_only"],"default":"customer_source_private","title":"AgentImportSourceRefRequestExportPolicy"},"AgentImportSourceRefRequest":{"type":"object","properties":{"contentDigest":{"type":"string"},"exportPolicy":{"$ref":"#/components/schemas/AgentImportSourceRefRequestExportPolicy","default":"customer_source_private"},"metadata":{"type":"object","additionalProperties":{"description":"Any type"}},"role":{"type":"string"},"storageRef":{"type":"string"}},"required":["contentDigest","role","storageRef"],"title":"AgentImportSourceRefRequest"},"CreateAgentImportRequest":{"type":"object","properties":{"evalSuites":{"type":"array","items":{"$ref":"#/components/schemas/AgentImportEvalSuiteRequest"}},"improve":{"$ref":"#/components/schemas/AgentImportImproveRequest"},"modelCapture":{"oneOf":[{"$ref":"#/components/schemas/AgentImportModelCaptureRequest"},{"type":"null"}]},"name":{"type":"string"},"runner":{"oneOf":[{"$ref":"#/components/schemas/AgentImportRunnerRequest"},{"type":"null"}]},"sourceRefs":{"type":"array","items":{"$ref":"#/components/schemas/AgentImportSourceRefRequest"}}},"required":["improve","name"],"title":"CreateAgentImportRequest"},"CreateManagedSessionRequest":{"type":"object","properties":{"environmentId":{"type":"string"},"externalRunId":{"type":["string","null"]},"externalThreadId":{"type":["string","null"]},"idempotencyKey":{"type":["string","null"]}},"required":["environmentId"],"title":"CreateManagedSessionRequest"},"CapabilityCeilingsDisallowedToolsItems":{"type":"string","enum":["bash","workspace","agents","memory","web_search","web_fetch"],"title":"CapabilityCeilingsDisallowedToolsItems"},"CapabilityCeilings":{"type":"object","properties":{"allowedGitHosts":{"type":["array","null"],"items":{"type":"string"}},"disallowedTools":{"type":"array","items":{"$ref":"#/components/schemas/CapabilityCeilingsDisallowedToolsItems"}},"domainDenylist":{"type":"array","items":{"type":"string"}},"egressEnabled":{"type":"boolean","default":true}},"description":"Per-project ceilings. The defaults impose no limit.","title":"CapabilityCeilings"},"CapabilityCeilingsView":{"type":"object","properties":{"canEdit":{"type":"boolean"},"ceilings":{"$ref":"#/components/schemas/CapabilityCeilings"}},"required":["canEdit","ceilings"],"title":"CapabilityCeilingsView"},"V1ProjectsProjectIdChangesetsGetParametersStatusSchema":{"type":"string","enum":["draft","ready_for_review","approved","staging","production","rejected","rolled_back"],"title":"V1ProjectsProjectIdChangesetsGetParametersStatusSchema"},"ScopeType":{"type":"string","enum":["global","organization","project","product","agent","workflow","cohort","user","run"],"title":"ScopeType"},"SourceType":{"type":"string","enum":["import","optimizer","manual_release","rollback"],"title":"SourceType"},"CreateChangeSetRequest":{"type":"object","properties":{"agentId":{"type":["string","null"]},"baseReleaseId":{"type":["string","null"]},"candidateReleaseId":{"type":["string","null"]},"publicSummary":{"type":"string"},"publicTitle":{"type":"string"},"scopeRef":{"type":"string"},"scopeType":{"$ref":"#/components/schemas/ScopeType"},"sourceType":{"$ref":"#/components/schemas/SourceType"},"workflowId":{"type":["string","null"]}},"required":["publicSummary","publicTitle","scopeRef","scopeType","sourceType"],"title":"CreateChangeSetRequest"},"ReleaseActionRequest":{"type":"object","properties":{"acknowledgeMissingEvidence":{"type":"boolean","default":false,"description":"Promote even though no check evidence is passing yet."},"reason":{"type":["string","null"],"maxLength":500},"releaseTarget":{"type":["string","null"]}},"title":"ReleaseActionRequest"},"Availability":{"type":"object","properties":{"http":{"type":"boolean"},"imessage":{"type":"boolean"},"slack":{"type":"boolean"}},"required":["http","imessage","slack"],"title":"Availability"},"BindingTransport":{"type":"string","enum":["http","slack"],"title":"BindingTransport"},"Binding":{"type":"object","properties":{"agent_id":{"type":"string"},"destination_id":{"type":["string","null"]},"destination_kind":{"type":["string","null"]},"generation":{"type":"integer"},"id":{"type":"string"},"identity_app_ids":{"type":"array","items":{"type":"string"}},"installation_generation":{"type":["integer","null"]},"installation_id":{"type":["string","null"]},"name":{"type":"string","default":"HTTP integration"},"pending_cap":{"type":"integer","default":100},"per_minute":{"type":"integer","default":60},"personal_access":{"type":"boolean","default":false},"recipient_id":{"type":["string","null"]},"status":{"type":"string"},"transport":{"$ref":"#/components/schemas/BindingTransport"}},"required":["agent_id","destination_id","destination_kind","generation","id","installation_generation","installation_id","recipient_id","status","transport"],"title":"Binding"},"CreateBindingDestinationKind":{"type":"string","enum":["room","dm"],"title":"CreateBindingDestinationKind"},"CreateBindingTransport":{"type":"string","enum":["http","slack"],"title":"CreateBindingTransport"},"CreateBinding":{"type":"object","properties":{"agent_id":{"type":"string"},"destination_id":{"type":["string","null"]},"destination_kind":{"oneOf":[{"$ref":"#/components/schemas/CreateBindingDestinationKind"},{"type":"null"}]},"installation_id":{"type":["string","null"]},"recipient_id":{"type":["string","null"]},"transport":{"$ref":"#/components/schemas/CreateBindingTransport"},"verification_id":{"type":["string","null"]}},"required":["agent_id","transport"],"title":"CreateBinding"},"BindingStatusStatus":{"type":"string","enum":["active","paused","revoked"],"title":"BindingStatusStatus"},"BindingStatus":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/BindingStatusStatus"}},"required":["status"],"title":"BindingStatus"},"HTTPConfiguration":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128,"default":"HTTP integration"},"pending_cap":{"type":"integer","minimum":1,"default":100},"per_minute":{"type":"integer","minimum":1,"default":60}},"title":"HTTPConfiguration"},"HTTPCredential":{"type":"object","properties":{"credential":{"type":"string"}},"required":["credential"],"title":"HTTPCredential"},"PersonalAccess":{"type":"object","properties":{"enabled":{"type":"boolean"},"identity_app_ids":{"type":"array","items":{"type":"string"}}},"required":["enabled"],"title":"PersonalAccess"},"PersonalAccessConfiguration":{"type":"object","properties":{"enabled":{"type":"boolean"},"identity_app_ids":{"type":"array","items":{"type":"string"}}},"required":["enabled","identity_app_ids"],"title":"PersonalAccessConfiguration"},"ReceiptSummary":{"type":"object","properties":{"created_at":{"type":"number","format":"double"},"id":{"type":"string"},"run_id":{"type":["string","null"]},"session_id":{"type":["string","null"]},"status":{"type":"string"}},"required":["created_at","id","run_id","session_id","status"],"title":"ReceiptSummary"},"CreationResume":{"type":"object","properties":{"payload":{"type":"object","additionalProperties":{"description":"Any type"}}},"required":["payload"],"title":"CreationResume"},"CreationResumeID":{"type":"object","properties":{"resume_id":{"type":"string"}},"required":["resume_id"],"title":"CreationResumeID"},"ChannelIdentityApp":{"type":"object","properties":{"audience":{"type":"string"},"connection_callback_url":{"type":["string","null"]},"id":{"type":"string"},"issuer":{"type":"string"},"private_channel_url":{"type":["string","null"]},"status":{"type":"string"}},"required":["audience","id","issuer","status"],"title":"ChannelIdentityApp"},"IdentityApp":{"type":"object","properties":{"audience":{"type":"string","minLength":1,"maxLength":256},"connection_callback_url":{"type":["string","null"],"maxLength":2048},"issuer":{"type":"string","minLength":1,"maxLength":512},"private_channel_url":{"type":["string","null"],"maxLength":2048},"public_jwk":{"type":"object","additionalProperties":{"description":"Any type"}}},"required":["audience","issuer","public_jwk"],"title":"IdentityApp"},"ChannelIdentityAppID":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"title":"ChannelIdentityAppID"},"ApplicationURLs":{"type":"object","properties":{"connection_callback_url":{"type":["string","null"],"maxLength":2048},"private_channel_url":{"type":["string","null"],"maxLength":2048}},"title":"ApplicationURLs"},"ChannelIdentityAppURLs":{"type":"object","properties":{"connection_callback_url":{"type":["string","null"]},"id":{"type":"string"},"private_channel_url":{"type":["string","null"]}},"required":["id"],"title":"ChannelIdentityAppURLs"},"Subject":{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":128},"tenant_id":{"type":"string","minLength":1,"maxLength":128}},"required":["subject","tenant_id"],"title":"Subject"},"CustomerDM":{"type":"object","properties":{"agent_id":{"type":"string","minLength":1,"maxLength":128},"identity_app_id":{"type":"string","minLength":1,"maxLength":128},"installation_id":{"type":"string","minLength":1,"maxLength":128},"verification_id":{"type":"string","minLength":1,"maxLength":128}},"required":["agent_id","identity_app_id","installation_id","verification_id"],"title":"CustomerDM"},"DeliveryStatus":{"type":"string","enum":["pending","sending","delivered","failed","delivery_unknown","suppressed","expired"],"title":"DeliveryStatus"},"Delivery":{"type":"object","properties":{"attempts":{"type":"integer"},"id":{"type":"string"},"message_ts":{"type":["string","null"]},"retry_at":{"type":"number","format":"double"},"run_id":{"type":"string"},"status":{"$ref":"#/components/schemas/DeliveryStatus"}},"required":["attempts","id","message_ts","retry_at","run_id","status"],"title":"Delivery"},"ResendDelivery":{"type":"object","properties":{"acknowledge_possible_duplicate":{"type":"boolean","enum":[true]}},"required":["acknowledge_possible_duplicate"],"title":"ResendDelivery"},"DmStatusStatus":{"type":"string","enum":["verified","pending","expired"],"title":"DmStatusStatus"},"DMStatus":{"type":"object","properties":{"destination_id":{"type":["string","null"]},"recipient_id":{"type":["string","null"]},"status":{"$ref":"#/components/schemas/DmStatusStatus"},"verification_id":{"type":"string"}},"required":["destination_id","recipient_id","status","verification_id"],"title":"DMStatus"},"Installation":{"type":"object","properties":{"app_id":{"type":"string"},"bot_user_id":{"type":"string"},"generation":{"type":"integer"},"id":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"team_id":{"type":"string"}},"required":["app_id","bot_user_id","generation","id","scopes","status","team_id"],"title":"Installation"},"DMChallenge":{"type":"object","properties":{"bot_user_id":{"type":"string"},"challenge":{"type":"string"},"verification_id":{"type":"string"}},"required":["bot_user_id","challenge","verification_id"],"title":"DMChallenge"},"Room":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"title":"Room"},"CompleteOAuth":{"type":"object","properties":{"code":{"type":["string","null"],"maxLength":2048},"error":{"type":["string","null"],"maxLength":128},"state":{"type":"string","maxLength":256}},"required":["state"],"title":"CompleteOAuth"},"OAuthResultStatus":{"type":"string","enum":["connected","cancelled"],"title":"OAuthResultStatus"},"OAuthResult":{"type":"object","properties":{"installation":{"oneOf":[{"$ref":"#/components/schemas/Installation"},{"type":"null"}]},"return_path":{"type":"string"},"status":{"$ref":"#/components/schemas/OAuthResultStatus"}},"required":["installation","return_path","status"],"title":"OAuthResult"},"StartOAuth":{"type":"object","properties":{"installation_id":{"type":["string","null"]},"resume_id":{"type":["string","null"]}},"title":"StartOAuth"},"Authorization":{"type":"object","properties":{"authorization_url":{"type":"string"}},"required":["authorization_url"],"title":"Authorization"},"AttachmentViewCleanupStatus":{"type":"string","enum":["unconfirmed","confirmed"],"title":"AttachmentViewCleanupStatus"},"ProcessObservationStatus":{"type":"string","enum":["running","exited","cancelled","lost"],"title":"ProcessObservationStatus"},"ProcessObservation":{"type":"object","properties":{"evidence":{"type":"string","minLength":1,"maxLength":3096},"handle_id":{"type":"string","minLength":1,"maxLength":128},"status":{"$ref":"#/components/schemas/ProcessObservationStatus"}},"required":["evidence","handle_id","status"],"title":"ProcessObservation"},"AttachmentViewStatus":{"type":"string","enum":["pending","starting","ready","stopping","cleaned","startup_expired","recovery_required","abandoned"],"title":"AttachmentViewStatus"},"UncertainOperation":{"type":"object","properties":{"method":{"type":"string"},"owner_epoch":{"type":"integer"},"request_digest":{"type":"string"},"run_id":{"type":"string"},"tool_call_id":{"type":"string"},"workspace_generation":{"type":"string"}},"required":["method","owner_epoch","request_digest","run_id","tool_call_id","workspace_generation"],"title":"UncertainOperation"},"WorkspaceProvenanceKind":{"type":"string","enum":["existing_directory","container","sandbox"],"title":"WorkspaceProvenanceKind"},"WorkspaceProvenance":{"type":"object","properties":{"identity":{"type":"string","minLength":1,"maxLength":128},"kind":{"$ref":"#/components/schemas/WorkspaceProvenanceKind"}},"required":["identity","kind"],"title":"WorkspaceProvenance"},"AttachmentView":{"type":"object","properties":{"capabilities":{"type":"array","items":{"type":"string"}},"cleanup_at":{"type":["number","null"],"format":"double"},"cleanup_status":{"$ref":"#/components/schemas/AttachmentViewCleanupStatus"},"environment_id":{"type":"string"},"id":{"type":"string"},"journal_id":{"type":"string"},"lease_ttl_seconds":{"type":"integer","default":60,"description":"Renewal TTL; anchor only ready/heartbeat acknowledgments to request-start monotonic time. Status and poll responses never renew the lease."},"lease_until":{"type":"number","format":"double"},"owner_epoch":{"type":"integer"},"owner_id":{"type":["string","null"]},"processes":{"type":"array","items":{"$ref":"#/components/schemas/ProcessObservation"}},"project_id":{"type":"string"},"protocol_version":{"type":["string","null"]},"provider_id":{"type":"string"},"session_id":{"type":"string"},"startup_deadline":{"type":"number","format":"double"},"status":{"$ref":"#/components/schemas/AttachmentViewStatus"},"uncertain_operations":{"type":"array","items":{"$ref":"#/components/schemas/UncertainOperation"}},"workspace_generation":{"type":"string"},"workspace_provenance":{"$ref":"#/components/schemas/WorkspaceProvenance"}},"required":["capabilities","cleanup_at","cleanup_status","environment_id","id","journal_id","lease_until","owner_epoch","owner_id","processes","project_id","protocol_version","provider_id","session_id","startup_deadline","status","uncertain_operations","workspace_generation","workspace_provenance"],"title":"AttachmentView"},"AbandonInput":{"type":"object","properties":{"evidence":{"type":"string","minLength":1,"maxLength":3096}},"required":["evidence"],"title":"AbandonInput"},"ClaimInput":{"type":"object","properties":{"idempotency_key":{"type":"string","minLength":1,"maxLength":128}},"required":["idempotency_key"],"title":"ClaimInput"},"ClaimView":{"type":"object","properties":{"attachment_id":{"type":"string"},"id":{"type":"string"},"lease_until":{"type":"number","format":"double"},"owner_epoch":{"type":"integer"},"owner_id":{"type":"string"},"startup_ttl_seconds":{"type":"integer","default":180,"description":"Initial launch bound anchored at the first claim request start; idempotent claim retries never restart this clock. Workers cannot renew a ready executor lease."},"status":{"type":"string"}},"required":["attachment_id","id","lease_until","owner_epoch","owner_id","status"],"title":"ClaimView"},"CleanupInput":{"type":"object","properties":{"children_terminated":{"type":"boolean"},"evidence":{"type":"string","minLength":1,"maxLength":3096}},"required":["children_terminated","evidence"],"title":"CleanupInput"},"ReadyInputCapabilitiesItems":{"type":"string","enum":["compute.execute","bash.run","condition-waits-v1"],"title":"ReadyInputCapabilitiesItems"},"ReadyInput":{"type":"object","properties":{"capabilities":{"type":"array","items":{"$ref":"#/components/schemas/ReadyInputCapabilitiesItems"},"description":"Optional features beyond compute.execute. 'condition-waits-v1' serves bash.wait_for (WaitForArguments -> WaitForResult) and jobs.next_completed (NextCompletedArguments -> NextCompletedResult); only executors declaring it receive those operations."},"executor_instance_id":{"type":"string","minLength":1,"maxLength":128},"journal_id":{"type":"string","minLength":1,"maxLength":128},"protocol_version":{"type":"string","enum":["sikaru-compute-v1"]},"workspace_provenance":{"$ref":"#/components/schemas/WorkspaceProvenance"}},"required":["capabilities","executor_instance_id","journal_id","protocol_version","workspace_provenance"],"title":"ReadyInput"},"ExecutorCredentialInput":{"type":"object","properties":{"owner_epoch":{"type":"integer","minimum":1},"owner_id":{"type":"string","minLength":1,"maxLength":128}},"required":["owner_epoch","owner_id"],"title":"ExecutorCredentialInput"},"CredentialIssued":{"type":"object","properties":{"credential_id":{"type":"string"},"expires_at":{"type":"number","format":"double"},"token":{"type":"string","description":"Secret returned only on issuance. Never passed as a command-line argument."}},"required":["credential_id","expires_at","token"],"title":"CredentialIssued"},"ReceiptInputStatus":{"type":"string","enum":["completed","failed"],"title":"ReceiptInputStatus"},"ReceiptInput":{"type":"object","properties":{"capability_name":{"type":"string","enum":["compute.execute"],"default":"compute.execute"},"idempotency_key":{"type":"string","minLength":1,"maxLength":128},"payload":{"type":"object","additionalProperties":{"description":"Any type"}},"request_digest":{"type":"string","pattern":"^[a-f0-9]{64}$"},"run_id":{"type":"string","minLength":1,"maxLength":128},"status":{"$ref":"#/components/schemas/ReceiptInputStatus"},"tool_call_id":{"type":"string","minLength":1,"maxLength":128},"tool_provider_id":{"type":"string","minLength":1,"maxLength":128}},"required":["idempotency_key","payload","request_digest","run_id","status","tool_call_id","tool_provider_id"],"title":"ReceiptInput"},"ReconcileInput":{"type":"object","properties":{"executor_instance_id":{"type":"string","minLength":1,"maxLength":128},"journal_id":{"type":"string","minLength":1,"maxLength":128},"processes":{"type":"array","items":{"$ref":"#/components/schemas/ProcessObservation"}},"receipts":{"type":"array","items":{"$ref":"#/components/schemas/ReceiptInput"}},"uncertain_operation_ids":{"type":"array","items":{"type":"string","minLength":1,"maxLength":128}},"workspace_provenance":{"$ref":"#/components/schemas/WorkspaceProvenance"}},"required":["executor_instance_id","journal_id","workspace_provenance"],"title":"ReconcileInput"},"ReceiptView":{"type":"object","properties":{"created":{"type":"boolean"},"status":{"type":"string","enum":["accepted"],"default":"accepted"},"tool_call_id":{"type":"string"}},"required":["created","tool_call_id"],"title":"ReceiptView"},"ReconcileView":{"type":"object","properties":{"attachment":{"$ref":"#/components/schemas/AttachmentView"},"receipts":{"type":"array","items":{"$ref":"#/components/schemas/ReceiptView"}}},"required":["attachment","receipts"],"title":"ReconcileView"},"TeardownInput":{"type":"object","properties":{"children_terminated":{"type":"boolean"},"evidence":{"type":"string","minLength":1,"maxLength":3096},"owner_epoch":{"type":"integer","minimum":1},"owner_id":{"type":"string","minLength":1,"maxLength":128},"workspace_generation":{"type":"string","minLength":1,"maxLength":128}},"required":["children_terminated","evidence","owner_epoch","owner_id","workspace_generation"],"title":"TeardownInput"},"AttachmentInput":{"type":"object","properties":{"environment_id":{"type":"string","minLength":1,"maxLength":128},"idempotency_key":{"type":"string","minLength":1,"maxLength":128},"replace_existing":{"type":"boolean","default":false},"workspace_provenance":{"$ref":"#/components/schemas/WorkspaceProvenance"}},"required":["environment_id","idempotency_key","workspace_provenance"],"title":"AttachmentInput"},"ExecutionView":{"type":"object","properties":{"approval_required":{"type":"boolean"},"run_id":{"type":"string"},"status":{"type":"string"},"terminal":{"type":"boolean"}},"required":["approval_required","run_id","status","terminal"],"title":"ExecutionView"},"WorkPageExecutionPhase":{"type":"string","enum":["idle","running","waiting_approval","terminal"],"title":"WorkPageExecutionPhase"},"LiveHandle":{"type":"object","properties":{"handle_id":{"type":"string"},"run_id":{"type":"string"},"tool_call_id":{"type":"string"}},"required":["handle_id","run_id","tool_call_id"],"title":"LiveHandle"},"OperationViewMethod":{"type":"string","enum":["bash.run","bash.start","bash.read","bash.wait","bash.cancel","workspace.write_text","bash.wait_for","jobs.next_completed"],"title":"OperationViewMethod"},"OperationView":{"type":"object","properties":{"arguments":{"type":"object","additionalProperties":{"description":"Any type"}},"capability_name":{"type":"string","enum":["compute.execute"]},"method":{"$ref":"#/components/schemas/OperationViewMethod"},"owner_epoch":{"type":"integer"},"request_digest":{"type":"string"},"run_id":{"type":"string"},"tool_call_id":{"type":"string"},"tool_provider_id":{"type":"string"},"workspace_generation":{"type":"string"}},"required":["arguments","capability_name","method","owner_epoch","request_digest","run_id","tool_call_id","tool_provider_id","workspace_generation"],"title":"OperationView"},"WorkPageTransport":{"type":"string","enum":["channel","poll"],"default":"poll","description":"Transport the current blocking turn's harness selects for this attachment. Use the executor channel only while this is 'channel'; otherwise poll this route.","title":"WorkPageTransport"},"WorkPage":{"type":"object","properties":{"attachment":{"$ref":"#/components/schemas/AttachmentView"},"execution":{"oneOf":[{"$ref":"#/components/schemas/ExecutionView"},{"type":"null"}]},"execution_phase":{"$ref":"#/components/schemas/WorkPageExecutionPhase"},"issued_operations":{"type":"array","items":{"$ref":"#/components/schemas/UncertainOperation"}},"live_handles":{"type":"array","items":{"$ref":"#/components/schemas/LiveHandle"}},"operations":{"type":"array","items":{"$ref":"#/components/schemas/OperationView"}},"poll_after_seconds":{"type":"integer","default":1},"transport":{"$ref":"#/components/schemas/WorkPageTransport","default":"poll","description":"Transport the current blocking turn's harness selects for this attachment. Use the executor channel only while this is 'channel'; otherwise poll this route."}},"required":["attachment","execution","execution_phase","issued_operations","live_handles","operations"],"title":"WorkPage"},"WorkspaceCheckpointInputTrigger":{"type":"string","enum":["turn","stop","signal","lease_lost","interrupted"],"title":"WorkspaceCheckpointInputTrigger"},"WorkspaceCheckpointInput":{"type":"object","properties":{"manifest_digest":{"type":"string","pattern":"^[0-9a-f]{64}$"},"run_id":{"type":["string","null"],"minLength":1,"maxLength":128},"trigger":{"$ref":"#/components/schemas/WorkspaceCheckpointInputTrigger"}},"required":["manifest_digest","trigger"],"title":"WorkspaceCheckpointInput"},"WorkspaceCheckpointView":{"type":"object","properties":{"branch":{"type":"string"},"commit_sha":{"type":"string"},"recorded_at":{"type":"string"}},"required":["branch","commit_sha","recorded_at"],"title":"WorkspaceCheckpointView"},"WorkspaceContentView":{"type":"object","properties":{"sha256":{"type":"string"},"size":{"type":"integer"}},"required":["sha256","size"],"title":"WorkspaceContentView"},"WorkspacePolicyView":{"type":"object","properties":{"credentials":{"type":"array","items":{"type":"string"}},"ignore":{"type":"array","items":{"type":"string"}}},"required":["credentials","ignore"],"title":"WorkspacePolicyView"},"CredentialRenewed":{"type":"object","properties":{"credential_id":{"type":"string"},"expires_at":{"type":"number","format":"double"}},"required":["credential_id","expires_at"],"title":"CredentialRenewed"},"CredentialRevoked":{"type":"object","properties":{"credential_id":{"type":"string"},"revoked_at":{"type":"number","format":"double"}},"required":["credential_id","revoked_at"],"title":"CredentialRevoked"},"EnvironmentInput":{"type":"object","properties":{"environment_slug":{"type":"string","minLength":1,"maxLength":128},"idempotency_key":{"type":"string","minLength":1,"maxLength":128},"product_id":{"type":["string","null"],"minLength":1,"maxLength":128},"session_id":{"type":["string","null"],"minLength":1,"maxLength":128}},"required":["environment_slug","idempotency_key"],"title":"EnvironmentInput"},"EnvironmentViewStatus":{"type":"string","enum":["active","disabled"],"title":"EnvironmentViewStatus"},"EnvironmentView":{"type":"object","properties":{"environment_slug":{"type":"string"},"id":{"type":"string"},"product_id":{"type":"string"},"project_id":{"type":"string"},"status":{"$ref":"#/components/schemas/EnvironmentViewStatus"}},"required":["environment_slug","id","product_id","project_id","status"],"title":"EnvironmentView"},"QueuePage":{"type":"object","properties":{"attachments":{"type":"array","items":{"$ref":"#/components/schemas/AttachmentView"}},"poll_after_seconds":{"type":"integer","default":1}},"required":["attachments"],"title":"QueuePage"},"ConnectionConfigAuth":{"type":"string","enum":["none","bearer","api_key","oauth"],"default":"none","title":"ConnectionConfigAuth"},"ConnectionConfig":{"type":"object","properties":{"allowed_hosts":{"type":"array","items":{"type":"string"}},"auth":{"$ref":"#/components/schemas/ConnectionConfigAuth","default":"none"},"endpoint":{"type":["string","null"],"maxLength":2048},"header_name":{"type":["string","null"],"maxLength":100},"oauth_client_id":{"type":["string","null"],"maxLength":512},"oauth_scopes":{"type":"array","items":{"type":"string"}},"toolkit":{"type":["string","null"],"pattern":"^[a-z0-9_]{1,100}$"}},"title":"ConnectionConfig"},"ConnectionGrant":{"type":"object","properties":{"active":{"type":"boolean"},"agent_id":{"type":"string"},"approval":{"type":"string"},"environment":{"type":"string"},"id":{"type":"string"},"tools":{"type":"object","additionalProperties":{"type":"string"}}},"required":["active","agent_id","approval","environment","id","tools"],"title":"ConnectionGrant"},"ConnectionToolLoadStatus":{"type":"string","enum":["loaded","unchanged","failed"],"title":"ConnectionToolLoadStatus"},"ConnectionToolLoad":{"type":"object","properties":{"at":{"type":"number","format":"double"},"removed":{"type":"array","items":{"type":"string"},"description":"Tools the provider no longer offers."},"removed_used_by":{"type":"array","items":{"type":"string"},"description":"Agents whose selected tools include a removed tool."},"status":{"$ref":"#/components/schemas/ConnectionToolLoadStatus"},"tool_count":{"type":"integer"}},"required":["at","status","tool_count"],"description":"The latest tool discovery: loaded, unchanged, or failed (retry by discovering again).","title":"ConnectionToolLoad"},"ConnectionTool":{"type":"object","properties":{"description":{"type":"string","default":""},"digest":{"type":"string"},"input_schema":{"type":"object","additionalProperties":{"description":"Any type"}},"name":{"type":"string"},"version":{"type":["string","null"]}},"required":["digest","input_schema","name"],"title":"ConnectionTool"},"ConnectionAgentUsage":{"type":"object","properties":{"draft":{"type":"boolean"},"draft_valid":{"type":"boolean"},"id":{"type":"string"},"live":{"type":"boolean"},"name":{"type":"string"},"slug":{"type":"string"}},"required":["draft","draft_valid","id","live","name","slug"],"title":"ConnectionAgentUsage"},"ConnectionUsage":{"type":"object","properties":{"agents":{"type":"array","items":{"$ref":"#/components/schemas/ConnectionAgentUsage"}},"count":{"type":"integer"},"schedules":{"type":"array","items":{"type":"string"}}},"required":["agents","count","schedules"],"title":"ConnectionUsage"},"Connection":{"type":"object","properties":{"account_status":{"type":["string","null"]},"config":{"$ref":"#/components/schemas/ConnectionConfig"},"display_name":{"type":"string"},"expires_at":{"type":["number","null"],"format":"double"},"grants":{"type":"array","items":{"$ref":"#/components/schemas/ConnectionGrant"}},"id":{"type":"string"},"kind":{"type":"string"},"owner":{"type":"string"},"ownership":{"type":"string"},"revocation":{"type":"string"},"slug":{"type":"string"},"status":{"type":"string"},"tool_count":{"type":"integer","default":0},"tool_load":{"oneOf":[{"$ref":"#/components/schemas/ConnectionToolLoad"},{"type":"null"}]},"tools":{"type":"array","items":{"$ref":"#/components/schemas/ConnectionTool"}},"used_by":{"$ref":"#/components/schemas/ConnectionUsage"},"version":{"type":"integer"}},"required":["config","display_name","grants","id","kind","owner","ownership","revocation","slug","status","tools","version"],"title":"Connection"},"CreateConnectionKind":{"type":"string","enum":["mcp","composio","secret"],"title":"CreateConnectionKind"},"CreateConnectionOwnership":{"type":"string","enum":["workspace","shared","personal"],"default":"workspace","title":"CreateConnectionOwnership"},"CreateConnection":{"type":"object","properties":{"config":{"$ref":"#/components/schemas/ConnectionConfig"},"credentials":{"$ref":"#/components/schemas/ConnectionCredentials"},"display_name":{"type":"string","minLength":1,"maxLength":120},"kind":{"$ref":"#/components/schemas/CreateConnectionKind"},"ownership":{"$ref":"#/components/schemas/CreateConnectionOwnership","default":"workspace"},"slug":{"type":["string","null"],"pattern":"^[a-z0-9][a-z0-9_-]{0,127}$"}},"required":["config","display_name","kind"],"title":"CreateConnection"},"ToolkitCategory":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]}},"required":["id"],"title":"ToolkitCategory"},"ConnectionApp":{"type":"object","properties":{"auth_schemes":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"$ref":"#/components/schemas/ToolkitCategory"}},"logo":{"type":["string","null"]},"name":{"type":"string"},"slug":{"type":"string"}},"required":["auth_schemes","categories","name","slug"],"title":"ConnectionApp"},"ConnectionApps":{"type":"object","properties":{"categories":{"type":"array","items":{"$ref":"#/components/schemas/ToolkitCategory"}},"items":{"type":"array","items":{"$ref":"#/components/schemas/ConnectionApp"}},"next_cursor":{"type":["string","null"]},"stale":{"type":"boolean"}},"required":["categories","items","stale"],"title":"ConnectionApps"},"UpdateConnection":{"type":"object","properties":{"allowed_hosts":{"type":["array","null"],"items":{"type":"string"}},"display_name":{"type":["string","null"],"minLength":1,"maxLength":120},"expected_version":{"type":"integer","minimum":1}},"required":["expected_version"],"title":"UpdateConnection"},"ConnectionEvent":{"type":"object","properties":{"action":{"type":"string"},"actor":{"type":"string"},"created_at":{"type":"number","format":"double"},"id":{"type":"string"}},"required":["action","actor","created_at","id"],"title":"ConnectionEvent"},"ConnectionEventPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ConnectionEvent"}},"next_cursor":{"type":["string","null"]}},"required":["items"],"title":"ConnectionEventPage"},"GrantConnectionApproval":{"type":"string","enum":["always","never"],"default":"always","title":"GrantConnectionApproval"},"GrantConnectionEnvironment":{"type":"string","enum":["draft","staging","production"],"default":"production","title":"GrantConnectionEnvironment"},"GrantConnection":{"type":"object","properties":{"agent_id":{"type":"string","minLength":1,"maxLength":128},"approval":{"$ref":"#/components/schemas/GrantConnectionApproval","default":"always"},"environment":{"$ref":"#/components/schemas/GrantConnectionEnvironment","default":"production"},"tools":{"type":"array","items":{"type":"string"}}},"required":["agent_id","tools"],"title":"GrantConnection"},"ConnectionRevocation":{"type":"object","properties":{"agents":{"type":"array","items":{"$ref":"#/components/schemas/ConnectionAgentUsage"}},"connection":{"$ref":"#/components/schemas/Connection"},"count":{"type":"integer"},"schedules":{"type":"array","items":{"type":"string"}}},"required":["agents","connection","count","schedules"],"title":"ConnectionRevocation"},"CreateContextRegistryChangeRequestAction":{"type":"string","enum":["review","promote","rollback"],"default":"review","title":"CreateContextRegistryChangeRequestAction"},"CreateContextRegistryChangeRequest":{"type":"object","properties":{"action":{"$ref":"#/components/schemas/CreateContextRegistryChangeRequestAction","default":"review"},"files":{"type":"array","items":{"type":"string"},"default":[]},"kind":{"type":["string","null"],"minLength":1,"maxLength":120},"linkedSignal":{"type":["string","null"],"maxLength":180},"name":{"type":"string","minLength":1,"maxLength":160},"owner":{"type":["string","null"],"maxLength":120},"productionCommit":{"type":["string","null"],"maxLength":160},"productionTag":{"type":["string","null"],"maxLength":160},"repoId":{"type":"string","minLength":1},"repoType":{"type":["string","null"],"maxLength":120},"sourceTraceIds":{"type":"array","items":{"type":"string"},"default":[]},"stagingCommit":{"type":["string","null"],"maxLength":160},"stagingTag":{"type":["string","null"],"maxLength":160},"tools":{"type":"array","items":{"type":"string"},"default":[]},"variables":{"type":"array","items":{"type":"string"},"default":[]},"visibility":{"type":["string","null"],"maxLength":80}},"required":["name","repoId"],"title":"CreateContextRegistryChangeRequest"},"DeliveredMessageEnvironment":{"type":"string","enum":["production","staging","development"],"title":"DeliveredMessageEnvironment"},"DeliveredMessageRole":{"type":"string","enum":["user","assistant","tool"],"title":"DeliveredMessageRole"},"DeliveredMessage":{"type":"object","properties":{"content":{"type":"string","maxLength":65536},"deliveredAt":{"type":"string","format":"date-time"},"environment":{"oneOf":[{"$ref":"#/components/schemas/DeliveredMessageEnvironment"},{"type":"null"}]},"messageId":{"type":"string","minLength":1,"maxLength":128},"position":{"type":"integer","minimum":0,"maximum":9007199254740991},"role":{"$ref":"#/components/schemas/DeliveredMessageRole"},"traceId":{"type":["string","null"],"maxLength":128}},"required":["content","deliveredAt","messageId","position","role"],"title":"DeliveredMessage"},"V1ProjectsProjectIdDatasetsGetParametersPurposeSchema":{"type":"string","enum":["eval","training","experiment"],"title":"V1ProjectsProjectIdDatasetsGetParametersPurposeSchema"},"DatasetPurpose":{"type":"string","enum":["eval","training","experiment"],"title":"DatasetPurpose"},"DatasetUsage":{"type":"object","properties":{"agents":{"type":"array","items":{"type":"string"}},"checks":{"type":"integer"}},"required":["agents","checks"],"title":"DatasetUsage"},"Dataset":{"type":"object","properties":{"createdAt":{"type":"string"},"createdBy":{"type":"string"},"description":{"type":"string"},"exampleCount":{"type":"integer"},"id":{"type":"string"},"name":{"type":"string"},"purpose":{"oneOf":[{"$ref":"#/components/schemas/DatasetPurpose"},{"type":"null"}]},"updatedAt":{"type":"string"},"usedBy":{"oneOf":[{"$ref":"#/components/schemas/DatasetUsage"},{"type":"null"}]},"version":{"type":"integer"}},"required":["createdAt","createdBy","description","exampleCount","id","name","updatedAt","version"],"title":"Dataset"},"DatasetList":{"type":"object","properties":{"datasets":{"type":"array","items":{"$ref":"#/components/schemas/Dataset"}}},"required":["datasets"],"title":"DatasetList"},"CreateDatasetPurpose":{"type":"string","enum":["eval","training","experiment"],"title":"CreateDatasetPurpose"},"CreateDataset":{"type":"object","properties":{"description":{"type":"string","maxLength":2000,"default":""},"idempotency_key":{"type":["string","null"],"minLength":1,"maxLength":128},"name":{"type":"string","minLength":1,"maxLength":200},"purpose":{"oneOf":[{"$ref":"#/components/schemas/CreateDatasetPurpose"},{"type":"null"}]}},"required":["name"],"title":"CreateDataset"},"DatasetResponse":{"type":"object","properties":{"dataset":{"$ref":"#/components/schemas/Dataset"}},"required":["dataset"],"title":"DatasetResponse"},"NewDatasetPurpose":{"type":"string","enum":["eval","training","experiment"],"title":"NewDatasetPurpose"},"NewDataset":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"purpose":{"oneOf":[{"$ref":"#/components/schemas/NewDatasetPurpose"},{"type":"null"}]}},"required":["name"],"title":"NewDataset"},"CaptureItem":{"type":"object","properties":{"flag_labels":{"type":"array","items":{"type":"string"},"description":"A flag's labels, kept as tags that stay in Sikaru."},"run_id":{"type":"string","minLength":1,"maxLength":128},"seq_to":{"type":["integer","null"],"minimum":1,"description":"The agent step to use as the expected answer; earlier messages become the input. Omit for the whole run and its final answer."}},"required":["run_id"],"title":"CaptureItem"},"CaptureIntoNewRequest":{"type":"object","properties":{"dataset":{"$ref":"#/components/schemas/NewDataset"},"idempotency_key":{"type":"string","minLength":1,"maxLength":128},"items":{"type":"array","items":{"$ref":"#/components/schemas/CaptureItem"}}},"required":["dataset","idempotency_key","items"],"title":"CaptureIntoNewRequest"},"BatchCounts":{"type":"object","properties":{"added":{"type":"integer"},"duplicate":{"type":"integer"},"skipped":{"type":"integer"}},"required":["added","duplicate","skipped"],"title":"BatchCounts"},"BatchItemOutcome":{"type":"string","enum":["added","duplicate","skipped"],"title":"BatchItemOutcome"},"BatchItem":{"type":"object","properties":{"exampleId":{"type":["string","null"]},"outcome":{"$ref":"#/components/schemas/BatchItemOutcome"},"reason":{"type":["string","null"]},"row":{"type":["integer","null"]},"runId":{"type":["string","null"]},"seqTo":{"type":["integer","null"]}},"required":["outcome"],"title":"BatchItem"},"DatasetVersion":{"type":"object","properties":{"createdAt":{"type":"string"},"createdBy":{"type":"string"},"exampleCount":{"type":"integer"},"note":{"type":"string"},"number":{"type":"integer"}},"required":["createdAt","createdBy","exampleCount","note","number"],"title":"DatasetVersion"},"BatchResult":{"type":"object","properties":{"counts":{"$ref":"#/components/schemas/BatchCounts"},"dataset":{"$ref":"#/components/schemas/Dataset"},"items":{"type":"array","items":{"$ref":"#/components/schemas/BatchItem"}},"version":{"oneOf":[{"$ref":"#/components/schemas/DatasetVersion"},{"type":"null"}]}},"required":["counts","dataset","items","version"],"title":"BatchResult"},"UpdateDatasetPurpose":{"type":"string","enum":["eval","training","experiment"],"title":"UpdateDatasetPurpose"},"UpdateDataset":{"type":"object","properties":{"description":{"type":["string","null"],"maxLength":2000},"name":{"type":["string","null"],"minLength":1,"maxLength":200},"purpose":{"oneOf":[{"$ref":"#/components/schemas/UpdateDatasetPurpose"},{"type":"null"}]}},"title":"UpdateDataset"},"CaptureRequest":{"type":"object","properties":{"idempotency_key":{"type":"string","minLength":1,"maxLength":128},"items":{"type":"array","items":{"$ref":"#/components/schemas/CaptureItem"}}},"required":["idempotency_key","items"],"title":"CaptureRequest"},"StartDatasetChecks":{"type":"object","properties":{"agent_slug":{"type":"string","minLength":1,"maxLength":128},"dataset_version":{"type":["integer","null"],"minimum":1,"description":"Omit for the latest dataset version."},"idempotency_key":{"type":"string","minLength":1,"maxLength":128},"version":{"type":["string","null"],"maxLength":128,"description":"The agent version to check; Checks run on the agent's live version."}},"required":["agent_slug","idempotency_key"],"title":"StartDatasetChecks"},"StartedCheckOutcome":{"type":"string","enum":["started","failed"],"title":"StartedCheckOutcome"},"StartedCheck":{"type":"object","properties":{"checkId":{"type":["string","null"]},"exampleId":{"type":"string"},"outcome":{"$ref":"#/components/schemas/StartedCheckOutcome"},"reason":{"type":["string","null"]},"resultId":{"type":["string","null"]},"runId":{"type":["string","null"]}},"required":["exampleId","outcome"],"title":"StartedCheck"},"DatasetChecksStarted":{"type":"object","properties":{"agentVersion":{"type":"string"},"checks":{"type":"array","items":{"$ref":"#/components/schemas/StartedCheck"}},"datasetVersion":{"type":"integer"},"notEligible":{"type":"object","additionalProperties":{"type":"integer"}}},"required":["agentVersion","checks","datasetVersion","notEligible"],"title":"DatasetChecksStarted"},"CheckAgent":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"versionId":{"type":"string"}},"required":["name","slug","versionId"],"title":"CheckAgent"},"DatasetChecksPreview":{"type":"object","properties":{"agents":{"type":"array","items":{"$ref":"#/components/schemas/CheckAgent"}},"averageRunCostUsd":{"type":["number","null"],"format":"double"},"datasetVersion":{"type":"integer"},"eligible":{"type":"integer"},"estimatedCostUsd":{"type":["number","null"],"format":"double"},"notEligible":{"type":"object","additionalProperties":{"type":"integer"}}},"required":["agents","averageRunCostUsd","datasetVersion","eligible","estimatedCostUsd","notEligible"],"title":"DatasetChecksPreview"},"DatasetCheckFailure":{"type":"object","properties":{"checkId":{"type":"string"},"checkName":{"type":"string"},"exampleId":{"type":"string"},"reason":{"type":"string"},"runId":{"type":"string"}},"required":["checkId","checkName","exampleId","reason","runId"],"title":"DatasetCheckFailure"},"DatasetCheckGroup":{"type":"object","properties":{"agentSlug":{"type":"string"},"agentVersion":{"type":["string","null"]},"datasetVersion":{"type":"integer"},"failed":{"type":"integer"},"failures":{"type":"array","items":{"$ref":"#/components/schemas/DatasetCheckFailure"}},"notStarted":{"type":"integer"},"passRate":{"type":["number","null"],"format":"double"},"passed":{"type":"integer"},"running":{"type":"integer"},"total":{"type":"integer"}},"required":["agentSlug","agentVersion","datasetVersion","failed","failures","notStarted","passRate","passed","running","total"],"title":"DatasetCheckGroup"},"DatasetCheckResults":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/DatasetCheckGroup"}}},"required":["results"],"title":"DatasetCheckResults"},"DatasetExampleProvenance":{"type":"string","enum":["customer","human","sikaru_derived"],"title":"DatasetExampleProvenance"},"ExampleSourceKind":{"type":"string","enum":["run","step","upload","flag"],"title":"ExampleSourceKind"},"ExampleSource":{"type":"object","properties":{"kind":{"$ref":"#/components/schemas/ExampleSourceKind"},"runId":{"type":["string","null"]},"seqFrom":{"type":["integer","null"]},"seqTo":{"type":["integer","null"]}},"required":["kind","runId","seqFrom","seqTo"],"title":"ExampleSource"},"DatasetExample":{"type":"object","properties":{"createdAt":{"type":"string"},"createdBy":{"type":"string"},"expected":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"id":{"type":"string"},"input":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"metadata":{"type":"object","additionalProperties":{"description":"Any type"}},"provenance":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/DatasetExampleProvenance"}},"source":{"$ref":"#/components/schemas/ExampleSource"},"tags":{"type":"array","items":{"type":"string"},"description":"Sikaru's own labels appear only in the signed-in dashboard."},"tagsKeptInSikaru":{"type":"integer","description":"How many tags are Sikaru's labels: never exported, and left out of `tags` for API keys."},"version":{"type":"integer"}},"required":["createdAt","createdBy","expected","id","input","metadata","provenance","source","tags","tagsKeptInSikaru","version"],"title":"DatasetExample"},"DatasetExamplePage":{"type":"object","properties":{"examples":{"type":"array","items":{"$ref":"#/components/schemas/DatasetExample"}},"latest":{"type":"integer"},"total":{"type":"integer"},"version":{"type":"integer"}},"required":["examples","latest","total","version"],"title":"DatasetExamplePage"},"DatasetVersionResponse":{"type":"object","properties":{"version":{"$ref":"#/components/schemas/DatasetVersion"}},"required":["version"],"title":"DatasetVersionResponse"},"UpdateExampleExpected":{"oneOf":[{"type":"object","additionalProperties":{"description":"Any type"}},{"type":"string"}],"title":"UpdateExampleExpected"},"UpdateExample":{"type":"object","properties":{"expected":{"oneOf":[{"$ref":"#/components/schemas/UpdateExampleExpected"},{"type":"null"}]},"tags":{"type":["array","null"],"items":{"type":"string"}}},"title":"UpdateExample"},"DatasetExampleResponse":{"type":"object","properties":{"example":{"$ref":"#/components/schemas/DatasetExample"}},"required":["example"],"title":"DatasetExampleResponse"},"UploadRequestFormat":{"type":"string","enum":["csv","jsonl"],"title":"UploadRequestFormat"},"UploadRequest":{"type":"object","properties":{"content":{"type":"string","minLength":1,"description":"CSV with input, expected and tags columns, or JSONL in the export shape."},"format":{"$ref":"#/components/schemas/UploadRequestFormat"},"idempotency_key":{"type":"string","minLength":1,"maxLength":128}},"required":["content","format","idempotency_key"],"title":"UploadRequest"},"DatasetVersionList":{"type":"object","properties":{"versions":{"type":"array","items":{"$ref":"#/components/schemas/DatasetVersion"}}},"required":["versions"],"title":"DatasetVersionList"},"CreateManagedEnvironmentRequest":{"type":"object","properties":{"configRefs":{"type":"object","additionalProperties":{"description":"Any type"}},"environmentSlug":{"type":"string"},"providerType":{"type":"string"},"runtimeProvider":{"type":"string"},"status":{"type":"string","default":"active"}},"required":["environmentSlug","providerType","runtimeProvider"],"title":"CreateManagedEnvironmentRequest"},"AnswerRef":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128},"conversationId":{"type":"string","minLength":1,"maxLength":128},"messageId":{"type":"string","minLength":1,"maxLength":128}},"required":["accountId","conversationId","messageId"],"title":"AnswerRef"},"CaseInput":{"type":"object","properties":{"baseline":{"$ref":"#/components/schemas/AnswerRef"},"candidate":{"$ref":"#/components/schemas/AnswerRef"},"caseId":{"type":"string","minLength":1,"maxLength":128}},"required":["baseline","candidate","caseId"],"title":"CaseInput"},"ComparisonInput":{"type":"object","properties":{"cases":{"type":"array","items":{"$ref":"#/components/schemas/CaseInput"}},"evaluator":{"type":"string","minLength":1,"maxLength":120},"id":{"type":"string","minLength":1,"maxLength":128},"revision":{"type":"string","minLength":1,"maxLength":128},"rubric":{"type":"string","minLength":1,"maxLength":16000}},"required":["cases","evaluator","id","revision","rubric"],"title":"ComparisonInput"},"JobInputEnvironment":{"type":"string","enum":["production","staging","development"],"default":"production","title":"JobInputEnvironment"},"JudgmentTargetKind":{"type":"string","enum":["message","span"],"title":"JudgmentTargetKind"},"JudgmentTarget":{"type":"object","properties":{"accountId":{"type":"string","minLength":1,"maxLength":128},"conversationId":{"type":["string","null"],"maxLength":128},"kind":{"$ref":"#/components/schemas/JudgmentTargetKind"},"messageId":{"type":["string","null"],"maxLength":128},"spanId":{"type":["string","null"],"maxLength":128}},"required":["accountId","kind"],"title":"JudgmentTarget"},"TargetInput":{"type":"object","properties":{"target":{"$ref":"#/components/schemas/JudgmentTarget"},"traceId":{"type":"string","minLength":1,"maxLength":128}},"required":["target","traceId"],"title":"TargetInput"},"JobInput":{"type":"object","properties":{"environment":{"$ref":"#/components/schemas/JobInputEnvironment","default":"production"},"evaluator":{"type":"string","minLength":1,"maxLength":120},"requestId":{"type":"string","minLength":1,"maxLength":128},"revision":{"type":"string","minLength":1,"maxLength":128},"rubric":{"type":"string","minLength":1,"maxLength":16000},"targets":{"type":"array","items":{"$ref":"#/components/schemas/TargetInput"}}},"required":["evaluator","requestId","revision","rubric","targets"],"title":"JobInput"},"V1ProjectsProjectIdEvaluationResultsGetParametersEnvironment":{"type":"string","enum":["production","staging","development"],"default":"production","title":"V1ProjectsProjectIdEvaluationResultsGetParametersEnvironment"},"V1ProjectsProjectIdEvaluationResultsGetParametersVerdictSchema":{"type":"string","enum":["pass","fail","unable_to_judge","error"],"title":"V1ProjectsProjectIdEvaluationResultsGetParametersVerdictSchema"},"JudgmentContext":{"type":"object","properties":{"content":{"type":"string","maxLength":65536},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["content","sha256"],"title":"JudgmentContext"},"EvaluationResultEnvironment":{"type":"string","enum":["production","staging","development"],"title":"EvaluationResultEnvironment"},"EvaluationResultSource":{"type":"string","enum":["human","automated"],"title":"EvaluationResultSource"},"EvaluationResultVerdict":{"type":"string","enum":["pass","fail","unable_to_judge","error"],"title":"EvaluationResultVerdict"},"EvaluationResult":{"type":"object","properties":{"adjudicates":{"type":"array","items":{"type":"string"},"default":[]},"context":{"oneOf":[{"$ref":"#/components/schemas/JudgmentContext"},{"type":"null"}]},"environment":{"$ref":"#/components/schemas/EvaluationResultEnvironment"},"evaluator":{"type":"string","minLength":1,"maxLength":120},"id":{"type":"string","minLength":1,"maxLength":128},"publicReason":{"type":"string","minLength":1,"maxLength":1000},"revision":{"type":"string","minLength":1,"maxLength":128},"source":{"$ref":"#/components/schemas/EvaluationResultSource"},"target":{"oneOf":[{"$ref":"#/components/schemas/JudgmentTarget"},{"type":"null"}]},"traceId":{"type":"string","minLength":1,"maxLength":128},"verdict":{"$ref":"#/components/schemas/EvaluationResultVerdict"}},"required":["environment","evaluator","id","publicReason","revision","source","traceId","verdict"],"title":"EvaluationResult"},"CreateEvaluatorRunRequest":{"type":"object","properties":{"agentId":{"type":["string","null"],"minLength":1},"backfillWindow":{"type":["string","null"]},"datasetName":{"type":["string","null"]},"evaluatorName":{"type":["string","null"]},"filterExpression":{"type":["string","null"]},"issueId":{"type":["string","null"],"minLength":1},"issueTitle":{"type":["string","null"],"minLength":1},"sampleRate":{"type":["string","null"]},"signalTags":{"type":"array","items":{"type":"string"},"default":[]},"traceIds":{"type":"array","items":{"type":"string"}}},"required":["traceIds"],"title":"CreateEvaluatorRunRequest"},"ObjectiveInput":{"type":"object","properties":{"criterion":{"type":"string","minLength":1,"maxLength":16000},"evidence_paths":{"type":"array","items":{"type":"string"},"default":[]},"idempotency_key":{"type":"string","minLength":1,"maxLength":128},"max_rounds":{"type":"integer","minimum":1,"maximum":20,"default":3},"objective":{"type":"string","minLength":1,"maxLength":16000},"run_id":{"type":"string","minLength":1,"maxLength":128},"session_id":{"type":"string","minLength":1,"maxLength":128}},"required":["criterion","idempotency_key","objective","run_id","session_id"],"title":"ObjectiveInput"},"ResumeInput":{"type":"object","properties":{"source_run_id":{"type":["string","null"],"minLength":1,"maxLength":128}},"title":"ResumeInput"},"ExecutionSessionRecordChannelOrigin":{"type":"string","enum":["http","slack"],"title":"ExecutionSessionRecordChannelOrigin"},"ExecutionSessionRecordEnvironment":{"type":"string","enum":["production","draft"],"default":"production","title":"ExecutionSessionRecordEnvironment"},"ExecutionSessionRecord":{"type":"object","properties":{"activeRunId":{"type":["string","null"]},"agentSlug":{"type":["string","null"]},"autoImprove":{"type":["boolean","null"]},"channelOrigin":{"oneOf":[{"$ref":"#/components/schemas/ExecutionSessionRecordChannelOrigin"},{"type":"null"}]},"contentVisible":{"type":"boolean","default":true},"createdAt":{"type":"string"},"draftRevision":{"type":["integer","null"]},"environment":{"$ref":"#/components/schemas/ExecutionSessionRecordEnvironment","default":"production"},"finalOutputSchema":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"harnessId":{"type":"string"},"harnessVersionId":{"type":"string"},"id":{"type":"string"},"modelId":{"type":["string","null"]},"nextTurn":{"type":"integer"},"personal":{"type":"boolean","default":false},"pinnedGenerationId":{"type":["string","null"]},"preview":{"type":["string","null"]},"projectId":{"type":"string"},"reasoningEffort":{"type":["string","null"]}},"required":["createdAt","harnessId","harnessVersionId","id","nextTurn","projectId"],"title":"ExecutionSessionRecord"},"ExecutionSessionPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ExecutionSessionRecord"}},"nextCursor":{"type":["string","null"]}},"required":["items"],"title":"ExecutionSessionPage"},"ExecutionSessionResponse":{"type":"object","properties":{"session":{"$ref":"#/components/schemas/ExecutionSessionRecord"}},"required":["session"],"title":"ExecutionSessionResponse"},"BranchInput":{"type":"object","properties":{"idempotency_key":{"type":"string","minLength":1,"maxLength":128},"source_run_id":{"type":"string","minLength":1,"maxLength":128}},"required":["idempotency_key","source_run_id"],"title":"BranchInput"},"RunSpend":{"type":"object","properties":{"reserved_usd":{"type":"string"},"run_id":{"type":"string"},"used_usd":{"type":"string"}},"required":["reserved_usd","run_id","used_usd"],"title":"RunSpend"},"SessionSpend":{"type":"object","properties":{"reserved_usd":{"type":"string"},"runs":{"type":"array","items":{"$ref":"#/components/schemas/RunSpend"}},"used_usd":{"type":"string"}},"required":["reserved_usd","runs","used_usd"],"title":"SessionSpend"},"TurnInputDeliveryMode":{"type":"string","enum":["steer","queue"],"default":"steer","title":"TurnInputDeliveryMode"},"TurnInputRunMode":{"type":"string","enum":["interactive","background_subagent","sandbox_execution"],"default":"interactive","title":"TurnInputRunMode"},"TurnInput":{"type":"object","properties":{"capability_grants":{"type":"array","items":{"type":"string"},"default":[]},"compute_attachment_id":{"type":["string","null"],"minLength":1,"maxLength":128},"delivery_mode":{"$ref":"#/components/schemas/TurnInputDeliveryMode","default":"steer"},"file_ids":{"type":"array","items":{"type":"string"},"default":[]},"idempotency_key":{"type":"string","minLength":1,"maxLength":128},"input":{"type":"object","additionalProperties":{"description":"Any type"}},"pinned_generation_id":{"type":["string","null"],"minLength":1,"maxLength":128,"description":"Set a release pin for new turns; explicit null resumes following promotions. Omit to preserve policy."},"product_context":{"type":"object","additionalProperties":{"description":"Any type"}},"run_mode":{"$ref":"#/components/schemas/TurnInputRunMode","default":"interactive"},"tool_provider_refs":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}},"default":[]}},"required":["idempotency_key","input"],"title":"TurnInput"},"ExecutionInputReceipt":{"type":"object","properties":{"id":{"type":"string"},"idempotencyKey":{"type":"string"},"mode":{"type":"string"},"runId":{"type":"string"},"status":{"type":"string"}},"required":["id","idempotencyKey","mode","runId","status"],"title":"ExecutionInputReceipt"},"ExecutionTurnRun":{"type":"object","properties":{"harnessVersionId":{"type":"string"},"id":{"type":"string"},"inputId":{"type":"string"},"sessionId":{"type":"string"},"status":{"type":"string"},"traceId":{"type":["string","null"]}},"required":["harnessVersionId","id","inputId","sessionId","status","traceId"],"title":"ExecutionTurnRun"},"ExecutionTurnResponse":{"type":"object","properties":{"input":{"$ref":"#/components/schemas/ExecutionInputReceipt"},"run":{"$ref":"#/components/schemas/ExecutionTurnRun"}},"required":["input","run"],"title":"ExecutionTurnResponse"},"SessionInputEnvironment":{"type":"string","enum":["production","draft"],"default":"production","description":"Draft sessions test the pinned agent definition without activation. Creating or appending draft sessions also requires harness:write.","title":"SessionInputEnvironment"},"SessionInputReasoningEffort":{"type":"string","enum":["none","minimal","low","medium","high","xhigh"],"title":"SessionInputReasoningEffort"},"SessionInput":{"type":"object","properties":{"acknowledge_widening":{"type":"boolean","default":false},"auto_improve":{"type":"boolean","default":false,"description":"Automatically request evaluated harness improvements after completed turns. Requires harness:write and configured improvement policy."},"conversation_id":{"type":["string","null"],"maxLength":128},"draft_revision":{"type":["integer","null"],"minimum":1,"description":"Saved document revision to test. Required for document Draft sessions."},"environment":{"$ref":"#/components/schemas/SessionInputEnvironment","default":"production","description":"Draft sessions test the pinned agent definition without activation. Creating or appending draft sessions also requires harness:write."},"expected_access_digest":{"type":["string","null"],"minLength":64,"maxLength":64},"final_output_schema":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"idempotency_key":{"type":["string","null"],"minLength":1,"maxLength":128},"model":{"type":["string","null"],"minLength":1,"maxLength":200,"description":"Default model for this session. Use a Sikaru model catalog ID, such as kimi-k3. Omit to inherit the project default."},"pinned_generation_id":{"type":["string","null"],"minLength":1,"maxLength":128,"description":"Optional previously serving release generation. Omit to follow promotions."},"reasoning_effort":{"oneOf":[{"$ref":"#/components/schemas/SessionInputReasoningEffort"},{"type":"null"}]},"tenant_id":{"type":["string","null"],"minLength":1,"maxLength":128},"user_id":{"type":["string","null"],"minLength":1,"maxLength":128}},"title":"SessionInput"},"V1ProjectsProjectIdHarnessesHarnessIdReleasesGetParametersEnvironment":{"type":"string","enum":["production","staging"],"default":"production","title":"V1ProjectsProjectIdHarnessesHarnessIdReleasesGetParametersEnvironment"},"EligibleRelease":{"type":"object","properties":{"generationId":{"type":"string"},"harnessVersionId":{"type":"string"}},"required":["generationId","harnessVersionId"],"title":"EligibleRelease"},"EligibleReleases":{"type":"object","properties":{"releases":{"type":"array","items":{"$ref":"#/components/schemas/EligibleRelease"}}},"required":["releases"],"title":"EligibleReleases"},"SpecialistThread":{"type":"object","properties":{"finalText":{"type":["string","null"]},"id":{"type":"string"},"name":{"type":"string"},"parentThreadId":{"type":["string","null"]},"runId":{"type":"string"},"status":{"type":"string"}},"required":["finalText","id","name","parentThreadId","runId","status"],"title":"SpecialistThread"},"SpecialistThreads":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/SpecialistThread"}}},"required":["items"],"title":"SpecialistThreads"},"SpecialistCancel":{"type":"object","properties":{"idempotency_key":{"type":"string","minLength":1,"maxLength":128}},"required":["idempotency_key"],"title":"SpecialistCancel"},"SpecialistReceipt":{"type":"object","properties":{"id":{"type":"string"},"reason":{"type":["string","null"]},"status":{"type":"string"},"threadId":{"type":"string"}},"required":["id","reason","status","threadId"],"title":"SpecialistReceipt"},"SpecialistMessageDeliveryMode":{"type":"string","enum":["steer","queue"],"default":"steer","title":"SpecialistMessageDeliveryMode"},"SpecialistMessage":{"type":"object","properties":{"delivery_mode":{"$ref":"#/components/schemas/SpecialistMessageDeliveryMode","default":"steer"},"idempotency_key":{"type":"string","minLength":1,"maxLength":128},"input":{"type":"object","additionalProperties":{"description":"Any type"}}},"required":["idempotency_key","input"],"title":"SpecialistMessage"},"CreateFeedbackRequestKind":{"type":"string","enum":["thumbs_up","thumbs_down","annotation"],"title":"CreateFeedbackRequestKind"},"CreateFeedbackRequestTarget":{"type":"string","enum":["trace","span","session","issue"],"title":"CreateFeedbackRequestTarget"},"CreateFeedbackRequest":{"type":"object","properties":{"issueId":{"type":["string","null"]},"kind":{"$ref":"#/components/schemas/CreateFeedbackRequestKind"},"note":{"type":["string","null"],"maxLength":4000},"sessionId":{"type":["string","null"]},"spanId":{"type":["string","null"]},"tag":{"type":["string","null"],"minLength":1,"maxLength":96},"target":{"$ref":"#/components/schemas/CreateFeedbackRequestTarget"},"targetId":{"type":"string","minLength":1},"traceId":{"type":["string","null"]}},"required":["kind","target","targetId"],"title":"CreateFeedbackRequest"},"GitCredential":{"type":"object","properties":{"agentId":{"type":["string","null"]},"createdAt":{"type":"number","format":"double"},"grants":{"type":"array","items":{"type":"string"}},"host":{"type":"string"},"id":{"type":"string"}},"required":["agentId","createdAt","grants","host","id"],"title":"GitCredential"},"CreateGitCredential":{"type":"object","properties":{"agentId":{"type":["string","null"],"maxLength":128},"host":{"type":"string"},"token":{"type":"string","pattern":"^[\\x21-\\x7e]+$","minLength":1,"maxLength":4096},"username":{"type":"string","pattern":"^[\\x21-\\x39\\x3b-\\x7e]+$","minLength":1,"maxLength":256,"default":"x-access-token"}},"required":["host","token"],"title":"CreateGitCredential"},"GrantGitCredential":{"type":"object","properties":{"agentId":{"type":"string","maxLength":128}},"required":["agentId"],"title":"GrantGitCredential"},"ResourceBudget":{"type":"object","properties":{"limit_usd":{"type":["string","null"],"description":"Spending cap in USD; null means uncapped complimentary usage"},"reserved_usd":{"type":"string"},"used_usd":{"type":"string"}},"required":["limit_usd","reserved_usd","used_usd"],"title":"ResourceBudget"},"InvoiceBudget":{"type":"object","properties":{"learning":{"$ref":"#/components/schemas/ResourceBudget"},"period_end":{"type":"integer"},"period_start":{"type":"integer"},"production":{"$ref":"#/components/schemas/ResourceBudget"},"state":{"type":"string"}},"required":["learning","period_end","period_start","production","state"],"title":"InvoiceBudget"},"ImprovementInputObjective":{"type":"string","enum":["quality","cost","balanced"],"title":"ImprovementInputObjective"},"ImprovementInput":{"type":"object","properties":{"idempotency_key":{"type":"string","pattern":".*\\S.*","minLength":1,"maxLength":128},"objective":{"oneOf":[{"$ref":"#/components/schemas/ImprovementInputObjective"},{"type":"null"}]}},"required":["idempotency_key"],"title":"ImprovementInput"},"ResumeImprovementInput":{"type":"object","properties":{},"title":"ResumeImprovementInput"},"EventDeliveryRequest":{"type":"object","properties":{"callback_url":{"type":["string","null"]},"mode":{"type":"string","default":"sse"}},"title":"EventDeliveryRequest"},"StartHarnessRunRequestRunMode":{"type":"string","enum":["interactive","background_subagent","sandbox_execution"],"default":"interactive","title":"StartHarnessRunRequestRunMode"},"ToolProviderRefRequest":{"type":"object","properties":{"capability_prefix":{"type":"string"},"source_skill_refs":{"type":"array","items":{"type":"string"},"default":[]},"tool_provider_id":{"type":"string"}},"required":["capability_prefix","tool_provider_id"],"title":"ToolProviderRefRequest"},"StartHarnessRunRequest":{"type":"object","properties":{"auto_improve":{"type":"boolean","default":false,"description":"Automatically request evaluated harness improvements after completed turns. Requires harness:write and configured improvement policy; active runs keep their pinned release."},"capability_grants":{"type":"array","items":{"type":"string"},"default":[]},"compute_environment_id":{"type":["string","null"],"minLength":1,"maxLength":128},"compute_workspace_provenance":{"oneOf":[{"$ref":"#/components/schemas/WorkspaceProvenance"},{"type":"null"}]},"conversation_id":{"type":["string","null"]},"correlation_id":{"type":["string","null"]},"event_delivery":{"$ref":"#/components/schemas/EventDeliveryRequest"},"idempotency_key":{"type":["string","null"],"minLength":1,"maxLength":128},"input":{"type":"object","additionalProperties":{"description":"Any type"}},"job_id":{"type":["string","null"]},"model":{"type":["string","null"],"minLength":1,"maxLength":256,"description":"Catalog model for this run. Omit to use the project default; list choices through model settings."},"policy":{"type":"object","additionalProperties":{"description":"Any type"}},"product_context":{"type":"object","additionalProperties":{"description":"Any type"}},"run_mode":{"$ref":"#/components/schemas/StartHarnessRunRequestRunMode","default":"interactive"},"tenant_id":{"type":"string"},"tool_provider_refs":{"type":"array","items":{"$ref":"#/components/schemas/ToolProviderRefRequest"},"default":[]},"trace_id":{"type":["string","null"]},"user_id":{"type":"string"}},"required":["input","policy","product_context","tenant_id","user_id"],"title":"StartHarnessRunRequest"},"PersonalConnectionPrompt":{"type":"object","properties":{"display_name":{"type":"string"},"id":{"type":"string"},"kind":{"type":"string"}},"required":["display_name","id","kind"],"title":"PersonalConnectionPrompt"},"RunErrorStage":{"type":"string","enum":["admission","setup","model","tool","python","recovery","persistence","execution"],"description":"Execution stage where the failure occurred.","title":"RunErrorStage"},"RunError":{"type":"object","properties":{"code":{"type":"string","description":"Stable failure code. Known values: `model_timeout`, `model_unavailable`, `insufficient_credits`, `setup_failed`, `tool_not_allowed`, `evidence_unavailable`, `interrupted`, `capacity_unavailable`, `recovery_unavailable`, `execution_connection_lost`, `execution_process_exited`, `execution_session_failed`, `execution_failed`. Treat an unrecognized code like `execution_failed`."},"message":{"type":"string","description":"Customer-facing explanation and next step."},"recoverable":{"type":"boolean","description":"Whether `retry` can run the failed turn again. When false, follow the message instead, for example by starting a new session."},"stage":{"$ref":"#/components/schemas/RunErrorStage","description":"Execution stage where the failure occurred."}},"required":["code","message","recoverable","stage"],"description":"Why a run failed: a stable code, a customer-facing message and whether `retry` can run it again.","title":"RunError"},"ManagedRun":{"type":"object","properties":{"compatibilityProfileId":{"type":["string","null"]},"completedAt":{"type":["string","null"]},"connections":{"type":"array","items":{"$ref":"#/components/schemas/PersonalConnectionPrompt"}},"contentVisible":{"type":"boolean"},"costSummary":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"error":{"oneOf":[{"$ref":"#/components/schemas/RunError"},{"type":"null"}],"description":"Why the run failed; set when `status` is `failed`, otherwise null. Omitted when `contentVisible` is false."},"eventsUrl":{"type":"string"},"harnessId":{"type":"string"},"harnessVersionId":{"type":"string"},"latencyMs":{"type":["number","null"],"format":"double"},"personal":{"type":"boolean"},"runId":{"type":"string"},"status":{"type":"string"},"usageSummary":{"type":["object","null"],"additionalProperties":{"description":"Any type"}}},"required":["eventsUrl","harnessId","harnessVersionId","runId","status"],"title":"ManagedRun"},"RecordRunRequest":{"type":"object","properties":{"account_id":{"type":["string","null"]},"agent_name":{"type":"string","minLength":1,"default":"Agent"},"input":{"type":"string","minLength":1},"output":{"type":"string"}},"required":["input","output"],"description":"A completed external agent exchange, without a trace-format envelope.","title":"RecordRunRequest"},"RunEvent":{"type":"object","properties":{"createdAt":{"type":"string"},"eventType":{"type":"string"},"id":{"type":"string"},"payload":{"type":"object","additionalProperties":{"description":"Any type"},"description":"Fields specific to `eventType`; open by design. Documented shapes: `run.failed` carries `error`, a RunError (`code`, `message`, `recoverable`). `run.tool_call.failed` may carry `error` with `code` and `message`, where `code` is one of `effect_unconfirmed`, `approval_denied`, `access_changed`; the action did not run, or its outcome could not be confirmed and it was not repeated. `run.paused` carries `reason`: `credits_required` (credits or the agent spending cap ran out; the run resumes once funded) or `admission_deferred` (the run is waiting to be admitted and resumes on its own)."},"sequence":{"type":"integer"}},"required":["createdAt","eventType","id","payload","sequence"],"title":"RunEvent"},"RunEvents":{"type":"object","properties":{"contentVisible":{"type":"boolean"},"events":{"type":"array","items":{"$ref":"#/components/schemas/RunEvent"}},"nextAfter":{"type":"integer"},"personal":{"type":"boolean"}},"required":["events","nextAfter"],"title":"RunEvents"},"RecoverRunRequest":{"type":"object","properties":{"reason":{"type":"string","default":"client_reconnect"}},"title":"RecoverRunRequest"},"SubmitToolResultRequestStatus":{"type":"string","enum":["completed","failed","requires_approval"],"title":"SubmitToolResultRequestStatus"},"SubmitToolResultRequest":{"type":"object","properties":{"capability_name":{"type":"string"},"idempotency_key":{"type":"string"},"payload":{"type":"object","additionalProperties":{"description":"Any type"}},"status":{"$ref":"#/components/schemas/SubmitToolResultRequestStatus"},"tool_call_id":{"type":"string"},"tool_provider_id":{"type":"string"}},"required":["capability_name","idempotency_key","payload","status","tool_call_id","tool_provider_id"],"title":"SubmitToolResultRequest"},"TranscriptEvent":{"type":"object","properties":{"createdAt":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"sequence":{"type":"integer"}},"required":["createdAt","id","label","sequence"],"title":"TranscriptEvent"},"RunTranscriptEvidence":{"type":"string","enum":["retained_snapshot","retained_progress","unavailable","personal"],"title":"RunTranscriptEvidence"},"TranscriptProgressBlockAvailability":{"type":"string","enum":["retained","redacted","expired","not_recorded","unsupported","not_loaded"],"title":"TranscriptProgressBlockAvailability"},"TranscriptProgressBlockFormat":{"type":"string","enum":["text","json"],"default":"text","title":"TranscriptProgressBlockFormat"},"TranscriptProgressBlockKind":{"type":"string","enum":["text","input","result"],"title":"TranscriptProgressBlockKind"},"TranscriptProgressBlock":{"type":"object","properties":{"availability":{"$ref":"#/components/schemas/TranscriptProgressBlockAvailability"},"format":{"$ref":"#/components/schemas/TranscriptProgressBlockFormat","default":"text"},"kind":{"$ref":"#/components/schemas/TranscriptProgressBlockKind"},"text":{"type":["string","null"]},"value":{"description":"Any type"}},"required":["availability","kind"],"title":"TranscriptProgressBlock"},"TranscriptProgressEventKind":{"type":"string","enum":["message","tool","execution"],"title":"TranscriptProgressEventKind"},"TranscriptProgressEventOrdering":{"type":"string","enum":["source_sequence","timestamp","unknown"],"title":"TranscriptProgressEventOrdering"},"TranscriptProgressEvent":{"type":"object","properties":{"blocks":{"type":"array","items":{"$ref":"#/components/schemas/TranscriptProgressBlock"}},"id":{"type":"string"},"kind":{"$ref":"#/components/schemas/TranscriptProgressEventKind"},"label":{"type":"string"},"observedAt":{"type":["string","null"]},"ordering":{"$ref":"#/components/schemas/TranscriptProgressEventOrdering"},"role":{"type":["string","null"]},"status":{"type":["string","null"]}},"required":["id","kind","label","ordering"],"title":"TranscriptProgressEvent"},"TranscriptRunEnvironment":{"type":"string","enum":["Draft","Live"],"title":"TranscriptRunEnvironment"},"TranscriptRun":{"type":"object","properties":{"accountId":{"type":"string"},"completedAt":{"type":["string","null"]},"contentVisible":{"type":"boolean","default":true},"conversationId":{"type":["string","null"]},"environment":{"$ref":"#/components/schemas/TranscriptRunEnvironment"},"error":{"oneOf":[{"$ref":"#/components/schemas/RunError"},{"type":"null"}]},"harnessVersionId":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"personal":{"type":"boolean","default":false},"sessionId":{"type":"string"},"startedAt":{"type":"string"},"status":{"type":"string"},"traceId":{"type":["string","null"]}},"required":["accountId","completedAt","conversationId","environment","harnessVersionId","id","name","sessionId","startedAt","status","traceId"],"title":"TranscriptRun"},"TranscriptHostToolCall":{"type":"object","properties":{"arguments":{"description":"Any type"},"name":{"type":"string"},"operation_id":{"type":"string"},"result":{"description":"Any type"},"status":{"type":"string"}},"required":["arguments","name","operation_id","status"],"title":"TranscriptHostToolCall"},"TranscriptToolResult":{"type":"object","properties":{"content":{"description":"Any type"},"source_call_id":{"type":["string","null"]},"tool_calls":{"type":"array","items":{"$ref":"#/components/schemas/TranscriptHostToolCall"}}},"title":"TranscriptToolResult"},"TranscriptStepSource":{"type":"string","enum":["user","agent"],"title":"TranscriptStepSource"},"TranscriptToolCall":{"type":"object","properties":{"arguments":{"description":"Any type"},"function_name":{"type":["string","null"]},"tool_call_id":{"type":["string","null"]}},"title":"TranscriptToolCall"},"TranscriptStep":{"type":"object","properties":{"llm_call_count":{"type":["integer","null"]},"message":{"type":"string"},"metrics":{"type":"object","additionalProperties":{"type":"integer"}},"reasoning_content":{"type":["string","null"]},"results":{"type":"array","items":{"$ref":"#/components/schemas/TranscriptToolResult"}},"source":{"$ref":"#/components/schemas/TranscriptStepSource"},"step_id":{"type":"integer"},"tool_calls":{"type":"array","items":{"$ref":"#/components/schemas/TranscriptToolCall"}}},"required":["message","results","source","step_id","tool_calls"],"title":"TranscriptStep"},"TranscriptTrajectory":{"type":"object","properties":{"agent":{"type":"object","additionalProperties":{"type":"string"}},"extra":{"type":"object","additionalProperties":{"description":"Any type"}},"final_metrics":{"type":"object","additionalProperties":{"type":"integer"}},"schema_version":{"type":"string"},"session_id":{"type":"string"},"steps":{"type":"array","items":{"$ref":"#/components/schemas/TranscriptStep"}},"subagent_trajectories":{"type":"array","items":{"$ref":"#/components/schemas/TranscriptTrajectory"}},"trajectory_id":{"type":["string","null"]}},"required":["agent","extra","schema_version","session_id","steps"],"title":"TranscriptTrajectory"},"TranscriptUsage":{"type":"object","properties":{"cachedTokens":{"type":["integer","null"]},"inputTokens":{"type":["integer","null"]},"outputTokens":{"type":["integer","null"]}},"title":"TranscriptUsage"},"RunTranscript":{"type":"object","properties":{"connections":{"type":"array","items":{"$ref":"#/components/schemas/PersonalConnectionPrompt"}},"events":{"type":"array","items":{"$ref":"#/components/schemas/TranscriptEvent"}},"evidence":{"$ref":"#/components/schemas/RunTranscriptEvidence"},"progress":{"type":"array","items":{"$ref":"#/components/schemas/TranscriptProgressEvent"}},"run":{"$ref":"#/components/schemas/TranscriptRun"},"trajectory":{"oneOf":[{"$ref":"#/components/schemas/TranscriptTrajectory"},{"type":"null"}]},"usage":{"oneOf":[{"$ref":"#/components/schemas/TranscriptUsage"},{"type":"null"}]}},"required":["events","evidence","run","trajectory"],"title":"RunTranscript"},"CreateImportSessionRequestMode":{"type":"string","enum":["workflow","harness","trace_only"],"title":"CreateImportSessionRequestMode"},"CreateImportSessionRequest":{"type":"object","properties":{"displayName":{"type":"string"},"mode":{"$ref":"#/components/schemas/CreateImportSessionRequestMode"}},"required":["displayName","mode"],"title":"CreateImportSessionRequest"},"CreateCompatibilityProfileRequest":{"type":"object","properties":{"approvalMap":{"type":"object","additionalProperties":{"description":"Any type"}},"displayName":{"type":"string"},"evalMap":{"type":"object","additionalProperties":{"description":"Any type"}},"harnessId":{"type":"string"},"inputSchema":{"type":"object","additionalProperties":{"description":"Any type"}},"memoryMap":{"type":"object","additionalProperties":{"description":"Any type"}},"outputSchema":{"type":"object","additionalProperties":{"description":"Any type"}},"runModes":{"type":"array","items":{"type":"string"},"default":["interactive"]},"toolMap":{"type":"object","additionalProperties":{"description":"Any type"}},"traceCoverageSummary":{"type":"object","additionalProperties":{"description":"Any type"}}},"required":["displayName","harnessId"],"title":"CreateCompatibilityProfileRequest"},"PromoteImportSessionRequest":{"type":"object","properties":{"activeHarnessVersionId":{"type":"string"},"agentSlug":{"type":"string"},"compatibilityProfileId":{"type":"string"},"displayName":{"type":"string"},"harnessId":{"type":"string"}},"required":["activeHarnessVersionId","agentSlug","compatibilityProfileId","displayName","harnessId"],"title":"PromoteImportSessionRequest"},"CreateParityRunRequest":{"type":"object","properties":{"compatibilityProfileId":{"type":"string"},"samples":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}}},"required":["compatibilityProfileId"],"title":"CreateParityRunRequest"},"CreateSourceArtifactRequestExportPolicy":{"type":"string","enum":["customer_source_exportable","customer_source_private","reference_only"],"title":"CreateSourceArtifactRequestExportPolicy"},"CreateSourceArtifactRequestSourceKind":{"type":"string","enum":["workflow_json","langgraph","n8n_json","yaml_dag","source_bundle","repo_ref","container_ref","adapter_endpoint","prompt_bundle","skill_tree","memory_profile","eval_suite","trace_bundle","natural_language"],"title":"CreateSourceArtifactRequestSourceKind"},"CreateSourceArtifactRequest":{"type":"object","properties":{"analysisSummary":{"type":"object","additionalProperties":{"description":"Any type"}},"contentDigest":{"type":"string"},"exportPolicy":{"$ref":"#/components/schemas/CreateSourceArtifactRequestExportPolicy"},"sourceKind":{"$ref":"#/components/schemas/CreateSourceArtifactRequestSourceKind"},"storageRef":{"type":"string"}},"required":["contentDigest","exportPolicy","sourceKind","storageRef"],"title":"CreateSourceArtifactRequest"},"UpsertIssueClusterRequest":{"type":"object","properties":{"agentId":{"type":["string","null"],"minLength":1},"impact":{"type":["integer","null"],"minimum":0,"maximum":100},"issueId":{"type":["string","null"],"minLength":1},"issueTitle":{"type":["string","null"],"minLength":1},"label":{"type":"string","minLength":1,"maxLength":160},"signalTags":{"type":"array","items":{"type":"string"},"default":[]},"traceIds":{"type":"array","items":{"type":"string"}}},"required":["label","traceIds"],"title":"UpsertIssueClusterRequest"},"UpdateIssueClusterStatusRequest":{"type":"object","properties":{"reason":{"type":["string","null"],"maxLength":500},"status":{"type":"string","minLength":1}},"required":["status"],"title":"UpdateIssueClusterStatusRequest"},"V1ProjectsProjectIdJudgeAlignmentGetParametersEnvironment":{"type":"string","enum":["production","staging","development"],"default":"production","title":"V1ProjectsProjectIdJudgeAlignmentGetParametersEnvironment"},"InitialHTTPChannel":{"type":"object","properties":{"transport":{"type":"string","enum":["http"]}},"required":["transport"],"title":"InitialHTTPChannel"},"InitialSlackRoom":{"type":"object","properties":{"destination_id":{"type":"string","minLength":1},"destination_kind":{"type":"string","enum":["room"]},"installation_id":{"type":"string","minLength":1},"transport":{"type":"string","enum":["slack"]}},"required":["destination_id","destination_kind","installation_id","transport"],"title":"InitialSlackRoom"},"InitialSlackDM":{"type":"object","properties":{"destination_id":{"type":"string","minLength":1},"destination_kind":{"type":"string","enum":["dm"]},"installation_id":{"type":"string","minLength":1},"recipient_id":{"type":"string","minLength":1},"transport":{"type":"string","enum":["slack"]},"verification_id":{"type":"string","minLength":1}},"required":["destination_id","destination_kind","installation_id","recipient_id","transport","verification_id"],"title":"InitialSlackDM"},"CreateManagedAgentRequestInitialChannel":{"oneOf":[{"$ref":"#/components/schemas/InitialHTTPChannel"},{"$ref":"#/components/schemas/InitialSlackRoom"},{"$ref":"#/components/schemas/InitialSlackDM"}],"title":"CreateManagedAgentRequestInitialChannel"},"AgentDefinitionAccess":{"type":"object","properties":{},"title":"AgentDefinitionAccess"},"AgentDocumentBudget":{"type":"object","properties":{"max_calls":{"type":["integer","null"],"minimum":1,"maximum":1000000000},"max_tokens":{"type":["integer","null"],"minimum":1,"maximum":1000000000}},"title":"AgentDocumentBudget"},"AgentSetupPackages":{"type":"object","properties":{"npm":{"type":"array","items":{"type":"string"}},"pip":{"type":"array","items":{"type":"string"}}},"title":"AgentSetupPackages"},"AgentSetupRepo":{"type":"object","properties":{"git_credential":{"type":["string","null"],"pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,127}$"},"path":{"type":"string","maxLength":512},"url":{"type":"string","maxLength":2048}},"required":["path","url"],"title":"AgentSetupRepo"},"AgentSetup":{"type":"object","properties":{"commands":{"type":"array","items":{"type":"string","maxLength":4000}},"packages":{"$ref":"#/components/schemas/AgentSetupPackages"},"repos":{"type":"array","items":{"$ref":"#/components/schemas/AgentSetupRepo"}}},"title":"AgentSetup"},"AgentDefinitionSourceEncoding":{"type":"string","enum":["utf-8","base64"],"default":"utf-8","title":"AgentDefinitionSourceEncoding"},"AgentDefinitionSourceKind":{"type":"string","enum":["agent_document","agents_md","agent_md","agent_skill","skill_md","skills_md","skill_asset","eval_md"],"title":"AgentDefinitionSourceKind"},"AgentDefinitionSource":{"type":"object","properties":{"content":{"type":"string"},"digest":{"type":["string","null"]},"encoding":{"$ref":"#/components/schemas/AgentDefinitionSourceEncoding","default":"utf-8"},"kind":{"$ref":"#/components/schemas/AgentDefinitionSourceKind"},"path":{"type":"string"}},"required":["content","kind","path"],"title":"AgentDefinitionSource"},"BuiltInToolSettingPolicy":{"type":"string","enum":["allow","require_approval","deny"],"default":"allow","title":"BuiltInToolSettingPolicy"},"BuiltInToolSetting":{"type":"object","properties":{"enabled":{"type":"boolean","default":true},"policy":{"$ref":"#/components/schemas/BuiltInToolSettingPolicy","default":"allow"}},"title":"BuiltInToolSetting"},"MemoryToolSettingPolicy":{"type":"string","enum":["allow","require_approval","deny"],"default":"allow","title":"MemoryToolSettingPolicy"},"MemoryToolSetting":{"type":"object","properties":{"enabled":{"type":"boolean","default":true},"policy":{"$ref":"#/components/schemas/MemoryToolSettingPolicy","default":"allow"},"shared":{"type":"boolean","default":true},"user":{"type":"boolean","default":true}},"title":"MemoryToolSetting"},"AgentToolCapabilities":{"type":"object","properties":{"agents":{"$ref":"#/components/schemas/BuiltInToolSetting"},"bash":{"$ref":"#/components/schemas/BuiltInToolSetting"},"memory":{"$ref":"#/components/schemas/MemoryToolSetting"},"web_fetch":{"$ref":"#/components/schemas/BuiltInToolSetting"},"web_search":{"$ref":"#/components/schemas/BuiltInToolSetting"},"workspace":{"$ref":"#/components/schemas/BuiltInToolSetting"}},"title":"AgentToolCapabilities"},"ConnectionToolRef":{"type":"object","properties":{"connection_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,127}$"},"tool":{"type":"string","minLength":1,"maxLength":256}},"required":["connection_id","tool"],"description":"A tool from a Composio or MCP connection granted to this agent.","title":"ConnectionToolRef"},"AgentWebCapabilitiesProvider":{"oneOf":[{"type":"string","enum":["sikaru"]},{"$ref":"#/components/schemas/ConnectionToolRef"}],"title":"AgentWebCapabilitiesProvider"},"AgentWebCapabilities":{"type":"object","properties":{"allow_domains":{"type":"array","items":{"type":"string"}},"block_domains":{"type":"array","items":{"type":"string"}},"provider":{"$ref":"#/components/schemas/AgentWebCapabilitiesProvider","default":"sikaru"}},"title":"AgentWebCapabilities"},"AgentDefinition":{"type":"object","properties":{"access":{"$ref":"#/components/schemas/AgentDefinitionAccess"},"budget":{"oneOf":[{"$ref":"#/components/schemas/AgentDocumentBudget"},{"type":"null"}]},"instructions":{"type":["string","null"]},"model":{"type":["string","null"],"minLength":1,"maxLength":128},"outcomes":{"type":"array","items":{"type":"string"}},"schema":{"type":"string","enum":["sikaru.agent.contract.v1"]},"setup":{"$ref":"#/components/schemas/AgentSetup"},"sources":{"type":"array","items":{"$ref":"#/components/schemas/AgentDefinitionSource"}},"tools":{"$ref":"#/components/schemas/AgentToolCapabilities"},"web":{"$ref":"#/components/schemas/AgentWebCapabilities"}},"required":["schema"],"description":"The customer-authored `sikaru.agent.contract.v1` agent definition.","title":"AgentDefinition"},"CreateManagedAgentSourceRequestExportPolicy":{"type":"string","enum":["customer_source_exportable","customer_source_private","reference_only"],"default":"customer_source_private","title":"CreateManagedAgentSourceRequestExportPolicy"},"CreateManagedAgentSourceRequestSourceKind":{"type":"string","enum":["agent_document","workflow_json","langgraph","n8n_json","yaml_dag","source_bundle","repo_ref","container_ref","adapter_endpoint","prompt_bundle","skill_tree","memory_profile","eval_suite","trace_bundle","natural_language"],"default":"source_bundle","title":"CreateManagedAgentSourceRequestSourceKind"},"CreateManagedAgentSourceRequest":{"type":"object","properties":{"analysisSummary":{"type":"object","additionalProperties":{"description":"Any type"}},"contentDigest":{"type":["string","null"]},"definition":{"oneOf":[{"$ref":"#/components/schemas/AgentDefinition"},{"type":"null"}]},"document":{"type":["string","null"],"maxLength":1000000},"exportPolicy":{"$ref":"#/components/schemas/CreateManagedAgentSourceRequestExportPolicy","default":"customer_source_private"},"sourceKind":{"$ref":"#/components/schemas/CreateManagedAgentSourceRequestSourceKind","default":"source_bundle"},"storageRef":{"type":["string","null"]}},"title":"CreateManagedAgentSourceRequest"},"CreateManagedAgentRequestStatus":{"type":"string","enum":["active","inactive"],"default":"active","title":"CreateManagedAgentRequestStatus"},"CreateManagedAgentRequest":{"type":"object","properties":{"activeHarnessVersionId":{"type":["string","null"]},"agentSlug":{"type":"string"},"compatibilityProfileId":{"type":["string","null"]},"displayName":{"type":["string","null"]},"harnessId":{"type":["string","null"]},"initialChannel":{"$ref":"#/components/schemas/CreateManagedAgentRequestInitialChannel"},"personal":{"type":["boolean","null"],"description":"Fixed at creation; new agents are shared unless set. A personal agent's conversations stay private to the person who runs them. Omit it to keep an existing agent's choice."},"source":{"oneOf":[{"$ref":"#/components/schemas/CreateManagedAgentSourceRequest"},{"type":"null"}]},"status":{"$ref":"#/components/schemas/CreateManagedAgentRequestStatus","default":"active"}},"required":["agentSlug"],"title":"CreateManagedAgentRequest"},"StagedDefinitionRevision":{"type":"object","properties":{"baseHarnessVersionId":{"type":"string"},"candidateHarnessVersionId":{"type":"string"},"changeset":{"type":"object","additionalProperties":{"description":"Any type"}},"definitionDigest":{"type":"string"}},"required":["baseHarnessVersionId","candidateHarnessVersionId","changeset","definitionDigest"],"description":"A draft revision staged by agent creation. Get the revision to see its changes.","title":"StagedDefinitionRevision"},"CreatedManagedAgent":{"type":"object","properties":{"definitionRevision":{"oneOf":[{"$ref":"#/components/schemas/StagedDefinitionRevision"},{"type":"null"}]},"harnessVersion":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"managedAgent":{"type":"object","additionalProperties":{"description":"Any type"}}},"required":["managedAgent"],"description":"The created or existing agent. `definitionRevision` is present when a changed\ndefinition for an existing agent was staged as a draft revision.","title":"CreatedManagedAgent"},"RenameAgent":{"type":"object","properties":{"displayName":{"type":"string","maxLength":1000}},"required":["displayName"],"title":"RenameAgent"},"ManagedAgentView":{"type":"object","properties":{"activeHarnessVersionId":{"type":["string","null"]},"agentSlug":{"type":"string"},"compatibilityProfileId":{"type":"string"},"displayName":{"type":"string"},"harnessId":{"type":"string"},"id":{"type":"string"},"organizationId":{"type":"string"},"personal":{"type":"boolean"},"projectId":{"type":"string"},"status":{"type":"string"}},"required":["activeHarnessVersionId","agentSlug","compatibilityProfileId","displayName","harnessId","id","organizationId","personal","projectId","status"],"title":"ManagedAgentView"},"RenamedManagedAgent":{"type":"object","properties":{"managedAgent":{"$ref":"#/components/schemas/ManagedAgentView"}},"required":["managedAgent"],"title":"RenamedManagedAgent"},"DefinitionRevisionRequest":{"type":"object","properties":{"contentDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"definition":{"$ref":"#/components/schemas/AgentDefinition"}},"required":["contentDigest","definition"],"title":"DefinitionRevisionRequest"},"DefinitionChange":{"type":"object","properties":{"after":{"description":"Any type"},"before":{"description":"Any type"},"path":{"type":"string"}},"required":["path"],"title":"DefinitionChange"},"DefinitionRevision":{"type":"object","properties":{"baseHarnessVersionId":{"type":"string"},"candidateHarnessVersionId":{"type":"string"},"changes":{"type":"array","items":{"$ref":"#/components/schemas/DefinitionChange"}},"changeset":{"type":"object","additionalProperties":{"description":"Any type"}},"definitionDigest":{"type":"string"}},"required":["baseHarnessVersionId","candidateHarnessVersionId","changes","changeset","definitionDigest"],"title":"DefinitionRevision"},"DefinitionRevisionResult":{"type":"object","properties":{"revision":{"oneOf":[{"$ref":"#/components/schemas/DefinitionRevision"},{"type":"null"}]},"unchanged":{"type":"boolean"}},"required":["revision","unchanged"],"title":"DefinitionRevisionResult"},"DefinitionRevisionView":{"type":"object","properties":{"revision":{"$ref":"#/components/schemas/DefinitionRevision"}},"required":["revision"],"title":"DefinitionRevisionView"},"CheckEnvironmentViewKind":{"type":"string","enum":["managed","local"],"title":"CheckEnvironmentViewKind"},"CheckEnvironmentView":{"type":"object","properties":{"computeEnvironmentId":{"type":["string","null"]},"kind":{"$ref":"#/components/schemas/CheckEnvironmentViewKind"}},"required":["computeEnvironmentId","kind"],"title":"CheckEnvironmentView"},"CheckResultEnvironment":{"type":"string","enum":["managed","local"],"title":"CheckResultEnvironment"},"CheckResultStatus":{"type":"string","enum":["running","passed","failed"],"title":"CheckResultStatus"},"CheckResult":{"type":"object","properties":{"checkId":{"type":"string"},"createdAt":{"type":"string"},"environment":{"$ref":"#/components/schemas/CheckResultEnvironment"},"finishedAt":{"type":["string","null"]},"id":{"type":"string"},"reason":{"type":"string"},"reward":{"type":["number","null"],"format":"double"},"runId":{"type":"string"},"sessionId":{"type":"string"},"status":{"$ref":"#/components/schemas/CheckResultStatus"},"traceId":{"type":"string"},"trajectoryUrl":{"type":"string"}},"required":["checkId","createdAt","environment","finishedAt","id","reason","reward","runId","sessionId","status","traceId","trajectoryUrl"],"title":"CheckResult"},"CheckSource":{"type":"object","properties":{"agentVersion":{"type":["string","null"]},"datasetId":{"type":"string"},"datasetName":{"type":["string","null"]},"datasetVersion":{"type":"integer"},"exampleId":{"type":"string"}},"required":["datasetId","datasetVersion","exampleId"],"description":"The dataset example a check was compiled from; datasetName is None once the dataset is deleted.","title":"CheckSource"},"CheckVerification":{"type":"string","enum":["script","rubric"],"title":"CheckVerification"},"Check":{"type":"object","properties":{"agentSlug":{"type":"string"},"createdAt":{"type":"string"},"environment":{"$ref":"#/components/schemas/CheckEnvironmentView"},"id":{"type":"string"},"instruction":{"type":"string"},"latestResult":{"oneOf":[{"$ref":"#/components/schemas/CheckResult"},{"type":"null"}]},"name":{"type":"string"},"source":{"oneOf":[{"$ref":"#/components/schemas/CheckSource"},{"type":"null"}]},"verification":{"$ref":"#/components/schemas/CheckVerification"}},"required":["agentSlug","createdAt","environment","id","instruction","latestResult","name","verification"],"title":"Check"},"CheckList":{"type":"object","properties":{"checks":{"type":"array","items":{"$ref":"#/components/schemas/Check"}}},"required":["checks"],"title":"CheckList"},"CheckEnvironmentKind":{"type":"string","enum":["managed","local"],"description":"managed runs in the Sikaru sandbox; local runs on a named compute environment.","title":"CheckEnvironmentKind"},"CheckEnvironment":{"type":"object","properties":{"compute_environment_id":{"type":["string","null"],"minLength":1,"maxLength":128,"description":"Required for local: the compute environment the run executes on."},"kind":{"$ref":"#/components/schemas/CheckEnvironmentKind","description":"managed runs in the Sikaru sandbox; local runs on a named compute environment."},"workspace_provenance":{"oneOf":[{"$ref":"#/components/schemas/WorkspaceProvenance"},{"type":"null"}],"description":"Required for local: the workspace the environment provides."}},"required":["kind"],"title":"CheckEnvironment"},"HarborTaskFiles":{"type":"object","properties":{"files":{"type":"object","additionalProperties":{"type":"string"},"description":"A Harbor task directory as relative path to text: instruction.md, optional task.toml, and tests/test.sh (writes /logs/verifier/reward.txt) or tests/rubric.toml."}},"required":["files"],"title":"HarborTaskFiles"},"CreateCheck":{"type":"object","properties":{"environment":{"$ref":"#/components/schemas/CheckEnvironment"},"idempotency_key":{"type":"string","minLength":1,"maxLength":128},"name":{"type":"string","minLength":1,"maxLength":200},"task":{"$ref":"#/components/schemas/HarborTaskFiles"}},"required":["environment","idempotency_key","name","task"],"title":"CreateCheck"},"CheckResponse":{"type":"object","properties":{"check":{"$ref":"#/components/schemas/Check"}},"required":["check"],"title":"CheckResponse"},"CheckResultList":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/CheckResult"}}},"required":["results"],"title":"CheckResultList"},"RunCheck":{"type":"object","properties":{"idempotency_key":{"type":"string","minLength":1,"maxLength":128}},"required":["idempotency_key"],"title":"RunCheck"},"CheckResultResponse":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/CheckResult"}},"required":["result"],"title":"CheckResultResponse"},"CreateMemoryRegistryChangeRequestAction":{"type":"string","enum":["review","approve","reject"],"default":"review","title":"CreateMemoryRegistryChangeRequestAction"},"CreateMemoryRegistryChangeRequest":{"type":"object","properties":{"action":{"$ref":"#/components/schemas/CreateMemoryRegistryChangeRequestAction","default":"review"},"candidateReleaseId":{"type":["string","null"],"maxLength":160},"confidence":{"type":["string","null"],"maxLength":80},"memoryId":{"type":"string","minLength":1},"memoryType":{"type":"string","minLength":1,"maxLength":120},"name":{"type":"string","minLength":1,"maxLength":160},"policy":{"type":["string","null"],"maxLength":120},"provenance":{"type":["string","null"],"maxLength":300},"scope":{"type":"string","minLength":1,"maxLength":80},"source":{"type":["string","null"],"maxLength":160},"sourceTraceIds":{"type":"array","items":{"type":"string"},"default":[]},"ttl":{"type":["string","null"],"maxLength":80}},"required":["memoryId","memoryType","name","scope"],"title":"CreateMemoryRegistryChangeRequest"},"ModelGatewayCaptureRequest":{"type":"object","properties":{"error":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"metadata":{"type":"object","additionalProperties":{"description":"Any type"}},"request":{"type":"object","additionalProperties":{"description":"Any type"}},"response":{"type":["object","null"],"additionalProperties":{"description":"Any type"}}},"required":["request"],"title":"ModelGatewayCaptureRequest"},"ModelSelection":{"type":"object","properties":{"selectedModelId":{"type":"string","minLength":1,"maxLength":256}},"required":["selectedModelId"],"title":"ModelSelection"},"PolicyInputEnvironment":{"type":"string","enum":["production","staging","development"],"default":"production","title":"PolicyInputEnvironment"},"PolicyInput":{"type":"object","properties":{"environment":{"$ref":"#/components/schemas/PolicyInputEnvironment","default":"production"},"evaluator":{"type":"string","minLength":1,"maxLength":120},"id":{"type":"string","minLength":1,"maxLength":128},"revision":{"type":"string","minLength":1,"maxLength":128},"rubric":{"type":"string","minLength":1,"maxLength":16000},"samplePercent":{"type":"integer","minimum":1,"maximum":100}},"required":["evaluator","id","revision","rubric","samplePercent"],"title":"PolicyInput"},"V1ProjectsProjectIdOnlineEvaluationsPreviewGetParametersEnvironment":{"type":"string","enum":["production","staging","development"],"default":"production","title":"V1ProjectsProjectIdOnlineEvaluationsPreviewGetParametersEnvironment"},"PolicyState":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"],"title":"PolicyState"},"CreateReleaseWatchRequest":{"type":"object","properties":{"agentId":{"type":["string","null"],"minLength":1},"backfillWindow":{"type":["string","null"]},"filterExpression":{"type":["string","null"]},"issueId":{"type":["string","null"],"minLength":1},"issueTitle":{"type":["string","null"],"minLength":1},"releaseId":{"type":["string","null"],"minLength":1},"ruleId":{"type":["string","null"],"minLength":1},"ruleName":{"type":["string","null"],"minLength":1},"sampleRate":{"type":["string","null"]},"signalTags":{"type":"array","items":{"type":"string"},"default":[]},"target":{"type":["string","null"],"minLength":1},"traceIds":{"type":"array","items":{"type":"string"}}},"required":["traceIds"],"title":"CreateReleaseWatchRequest"},"CreateRetentionPolicyUpdateRequest":{"type":"object","properties":{"agentId":{"type":["string","null"],"minLength":1},"backfillWindow":{"type":["string","null"]},"filterExpression":{"type":["string","null"]},"issueId":{"type":["string","null"],"minLength":1},"issueTitle":{"type":["string","null"],"minLength":1},"retentionDays":{"type":"integer","minimum":1,"maximum":3650,"default":90},"ruleId":{"type":["string","null"],"minLength":1},"ruleName":{"type":["string","null"],"minLength":1},"sampleRate":{"type":["string","null"]},"signalTags":{"type":"array","items":{"type":"string"},"default":[]},"target":{"type":["string","null"],"minLength":1},"traceIds":{"type":"array","items":{"type":"string"}}},"required":["traceIds"],"title":"CreateRetentionPolicyUpdateRequest"},"CreateReviewQueueItemRequestAction":{"type":"string","enum":["review_queue","notify_reviewer"],"default":"review_queue","title":"CreateReviewQueueItemRequestAction"},"CreateReviewQueueItemRequest":{"type":"object","properties":{"action":{"$ref":"#/components/schemas/CreateReviewQueueItemRequestAction","default":"review_queue"},"agentId":{"type":["string","null"],"minLength":1},"backfillWindow":{"type":["string","null"]},"filterExpression":{"type":["string","null"]},"issueId":{"type":["string","null"],"minLength":1},"issueTitle":{"type":["string","null"],"minLength":1},"ruleId":{"type":["string","null"],"minLength":1},"ruleName":{"type":["string","null"],"minLength":1},"sampleRate":{"type":["string","null"]},"signalTags":{"type":"array","items":{"type":"string"},"default":[]},"target":{"type":["string","null"],"minLength":1},"traceIds":{"type":"array","items":{"type":"string"}}},"required":["traceIds"],"title":"CreateReviewQueueItemRequest"},"ScheduleRecordSessionMode":{"type":"string","enum":["fresh","persistent"],"title":"ScheduleRecordSessionMode"},"ScheduleRecord":{"type":"object","properties":{"agentId":{"type":["string","null"]},"creator":{"type":["string","null"]},"cron":{"type":["string","null"]},"environment":{"type":["string","null"]},"id":{"type":"string"},"intervalSeconds":{"type":["integer","null"]},"nextAt":{"type":["number","null"],"format":"double"},"paused":{"type":["boolean","null"]},"sessionId":{"type":["string","null"]},"sessionMode":{"$ref":"#/components/schemas/ScheduleRecordSessionMode"},"timezone":{"type":"string"}},"required":["id","sessionMode","timezone"],"title":"ScheduleRecord"},"ScheduleList":{"type":"object","properties":{"schedules":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleRecord"}}},"required":["schedules"],"title":"ScheduleList"},"ScheduleInputSessionMode":{"type":"string","enum":["persistent","fresh"],"title":"ScheduleInputSessionMode"},"ScheduleInput":{"type":"object","properties":{"agent_slug":{"type":["string","null"],"minLength":1,"maxLength":128},"cron":{"type":["string","null"],"maxLength":256},"environment":{"type":"string","enum":["production"],"default":"production"},"idempotency_key":{"type":["string","null"],"minLength":1,"maxLength":128},"input":{"type":"object","additionalProperties":{"description":"Any type"}},"interval_seconds":{"type":["integer","null"],"minimum":60,"maximum":2592000},"session_id":{"type":["string","null"],"minLength":1,"maxLength":128},"session_mode":{"oneOf":[{"$ref":"#/components/schemas/ScheduleInputSessionMode"},{"type":"null"}]},"timezone":{"type":"string","maxLength":128,"default":"UTC"}},"required":["input"],"title":"ScheduleInput"},"ScheduleResponse":{"type":"object","properties":{"schedule":{"$ref":"#/components/schemas/ScheduleRecord"}},"required":["schedule"],"title":"ScheduleResponse"},"ScheduleDeleted":{"type":"object","properties":{"deleted":{"type":"boolean"}},"required":["deleted"],"title":"ScheduleDeleted"},"PauseInput":{"type":"object","properties":{"paused":{"type":"boolean"}},"required":["paused"],"title":"PauseInput"},"SchedulePaused":{"type":"object","properties":{"paused":{"type":"boolean"}},"required":["paused"],"title":"SchedulePaused"},"ScheduleNotice":{"type":"object","properties":{"createdAt":{"type":"number","format":"double"},"reason":{"type":"string"},"recipient":{"type":"string"}},"required":["createdAt","reason","recipient"],"title":"ScheduleNotice"},"ScheduleNotices":{"type":"object","properties":{"notices":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleNotice"}}},"required":["notices"],"title":"ScheduleNotices"},"ScheduleOccurrenceStatus":{"type":"string","enum":["admitted","skipped_overlap"],"title":"ScheduleOccurrenceStatus"},"ScheduleOccurrence":{"type":"object","properties":{"access":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"admittedAt":{"type":"number","format":"double"},"harnessVersionId":{"type":["string","null"]},"runId":{"type":["string","null"]},"scheduledAt":{"type":"number","format":"double"},"sessionId":{"type":["string","null"]},"status":{"$ref":"#/components/schemas/ScheduleOccurrenceStatus"}},"required":["access","admittedAt","harnessVersionId","runId","scheduledAt","sessionId","status"],"title":"ScheduleOccurrence"},"ScheduleHistory":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleOccurrence"}},"nextBefore":{"type":["number","null"],"format":"double"}},"required":["items","nextBefore"],"title":"ScheduleHistory"},"WebhookInput":{"type":"object","properties":{"idempotency_key":{"type":["string","null"],"minLength":1,"maxLength":128},"run_id":{"type":"string","minLength":1,"maxLength":128},"url":{"type":"string","maxLength":2048}},"required":["run_id","url"],"title":"WebhookInput"},"RegisterToolProviderRequest":{"type":"object","properties":{"approval_policy_ref":{"type":["string","null"]},"broker_endpoint_ref":{"type":"string"},"capability_prefix":{"type":"string"},"credential_owner":{"type":"string","default":"product"},"display_name":{"type":"string"},"provider_type":{"type":"string"},"tool_catalog_ref":{"type":"string"}},"required":["broker_endpoint_ref","capability_prefix","display_name","provider_type","tool_catalog_ref"],"title":"RegisterToolProviderRequest"},"ToolSkillSourceRequest":{"type":"object","properties":{"content":{"type":["string","null"]},"kind":{"type":"string"},"ref":{"type":["string","null"]}},"required":["kind"],"title":"ToolSkillSourceRequest"},"AttachSourceToolSkillRequest":{"type":"object","properties":{"capability_refs":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"source":{"$ref":"#/components/schemas/ToolSkillSourceRequest"}},"required":["capability_refs","description","source"],"title":"AttachSourceToolSkillRequest"},"TraceImportGroupingRequest":{"type":"object","properties":{"contractVersion":{"type":"string","default":"v1"},"joinOn":{"type":["string","null"]}},"title":"TraceImportGroupingRequest"},"CreateTraceImportRequestMode":{"type":"string","enum":["historical","selective"],"title":"CreateTraceImportRequestMode"},"TraceImportOptionsRequest":{"type":"object","properties":{"includeFeedback":{"type":"boolean","default":true},"includePendingSpans":{"type":"boolean","default":false},"inferAgentBoundaries":{"type":"boolean","default":false},"inferToolCallLinks":{"type":"boolean","default":false}},"title":"TraceImportOptionsRequest"},"CreateTraceImportRequestProvider":{"type":"string","enum":["langsmith","langfuse","braintrust","logfire","harbor","opentelemetry","openinference"],"title":"CreateTraceImportRequestProvider"},"TraceImportScopeRequest":{"type":"object","properties":{"externalIds":{"type":"array","items":{"type":"string"},"default":[]},"since":{"type":["string","null"],"format":"date-time"},"until":{"type":["string","null"],"format":"date-time"}},"title":"TraceImportScopeRequest"},"CreateTraceImportRequest":{"type":"object","properties":{"connectionId":{"type":"string","minLength":1},"converterVersion":{"type":"string","minLength":1},"dataset":{"type":"string","minLength":1},"externalProjectId":{"type":"string","minLength":1},"grouping":{"$ref":"#/components/schemas/TraceImportGroupingRequest"},"mode":{"$ref":"#/components/schemas/CreateTraceImportRequestMode"},"options":{"$ref":"#/components/schemas/TraceImportOptionsRequest"},"provider":{"$ref":"#/components/schemas/CreateTraceImportRequestProvider"},"scope":{"$ref":"#/components/schemas/TraceImportScopeRequest"},"sourceInstance":{"type":"string","minLength":1},"tags":{"type":"array","items":{"type":"string"},"default":[]}},"required":["connectionId","converterVersion","dataset","externalProjectId","mode","provider","scope","sourceInstance"],"title":"CreateTraceImportRequest"},"PlanTraceImportRequestMode":{"type":"string","enum":["historical","selective"],"title":"PlanTraceImportRequestMode"},"PlanTraceImportRequestProvider":{"type":"string","enum":["langsmith","langfuse","braintrust","logfire","harbor","opentelemetry","openinference"],"title":"PlanTraceImportRequestProvider"},"PlanTraceImportRequest":{"type":"object","properties":{"connectionId":{"type":"string","minLength":1},"converterVersion":{"type":"string","minLength":1},"dataset":{"type":"string","minLength":1},"externalProjectId":{"type":"string","minLength":1},"grouping":{"$ref":"#/components/schemas/TraceImportGroupingRequest"},"mode":{"$ref":"#/components/schemas/PlanTraceImportRequestMode"},"options":{"$ref":"#/components/schemas/TraceImportOptionsRequest"},"provider":{"$ref":"#/components/schemas/PlanTraceImportRequestProvider"},"scope":{"$ref":"#/components/schemas/TraceImportScopeRequest"},"sourceInstance":{"type":"string","minLength":1},"tags":{"type":"array","items":{"type":"string"},"default":[]},"windowDurationHours":{"type":["integer","null"],"minimum":1,"maximum":744}},"required":["connectionId","converterVersion","dataset","externalProjectId","mode","provider","scope","sourceInstance"],"title":"PlanTraceImportRequest"},"VersionedTraceImportAction":{"type":"object","properties":{"expectedVersion":{"type":"integer","minimum":0}},"required":["expectedVersion"],"title":"VersionedTraceImportAction"},"CreateProductWorkflowIntentRequest":{"type":"object","properties":{"description":{"type":"string"}},"required":["description"],"title":"CreateProductWorkflowIntentRequest"},"ImportWorkflowRequest":{"type":"object","properties":{"payload":{"type":"object","additionalProperties":{"description":"Any type"}},"sourceArtifactId":{"type":["string","null"]},"workflowId":{"type":["string","null"]}},"required":["payload"],"title":"ImportWorkflowRequest"},"StartWorkflowRunRequest":{"type":"object","properties":{"input":{"type":"object","additionalProperties":{"description":"Any type"}},"workflowVersionId":{"type":["string","null"]}},"title":"StartWorkflowRunRequest"},"CreateWorkflowVersionRequestReleaseChannel":{"type":"string","enum":["draft","staging","production"],"default":"draft","title":"CreateWorkflowVersionRequestReleaseChannel"},"CreateWorkflowVersionRequestStatus":{"type":"string","enum":["draft","active","replaced","archived"],"default":"draft","title":"CreateWorkflowVersionRequestStatus"},"CreateWorkflowVersionRequest":{"type":"object","properties":{"releaseChannel":{"$ref":"#/components/schemas/CreateWorkflowVersionRequestReleaseChannel","default":"draft"},"status":{"$ref":"#/components/schemas/CreateWorkflowVersionRequestStatus","default":"draft"}},"title":"CreateWorkflowVersionRequest"},"TraceStreamRequestFormat":{"type":"string","enum":["openinference.v1","opentelemetry.otlp.v1","harbor.atif.v1"],"title":"TraceStreamRequestFormat"},"TraceMetadata":{"type":"object","properties":{"account_id":{"type":"string"},"base_harness_version_id":{"type":["string","null"]},"compatibility_profile_id":{"type":["string","null"]},"conversation_id":{"type":["string","null"]},"converter_version":{"type":["string","null"]},"correlation_id":{"type":["string","null"]},"harness_id":{"type":["string","null"]},"harness_version_id":{"type":["string","null"]},"import_generation_id":{"type":["string","null"]},"job_id":{"type":["string","null"]},"organization_id":{"type":["string","null"]},"product_id":{"type":["string","null"]},"project_id":{"type":"string"},"source":{"type":"string"},"source_instance":{"type":["string","null"]},"tenant_id":{"type":["string","null"]},"trace_id":{"type":["string","null"]},"user_id":{"type":["string","null"]}},"required":["account_id","project_id","source"],"title":"TraceMetadata"},"OpenInferenceSpan":{"type":"object","properties":{"attributes":{"type":"object","additionalProperties":{"description":"Any type"}},"end_time":{"type":["string","null"]},"name":{"type":["string","null"]},"openinference_kind":{"type":["string","null"]},"parent_span_id":{"type":["string","null"]},"raw":{"type":"object","additionalProperties":{"description":"Any type"}},"resource_attributes":{"type":"object","additionalProperties":{"description":"Any type"}},"span_id":{"type":"string"},"start_time":{"type":["string","null"]},"status_code":{"type":["string","null"]},"status_message":{"type":["string","null"]},"trace_id":{"type":"string"}},"required":["span_id","trace_id"],"title":"OpenInferenceSpan"},"TraceStreamRequest":{"type":"object","properties":{"dataset":{"type":"string","default":"live"},"format":{"$ref":"#/components/schemas/TraceStreamRequestFormat"},"metadata":{"$ref":"#/components/schemas/TraceMetadata"},"resourceSpans":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"spans":{"type":"array","items":{"$ref":"#/components/schemas/OpenInferenceSpan"}},"trajectories":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}},"trajectory":{"type":["object","null"],"additionalProperties":{"description":"Any type"}}},"required":["format","metadata"],"title":"TraceStreamRequest"}},"securitySchemes":{"BindingBearerAuth":{"type":"apiKey","in":"header","name":"Authorization"},"BearerAuth":{"type":"http","scheme":"bearer"}}}}