{"openapi":"3.1.0","info":{"title":"Wherobots Cloud API","description":"Wherobots Cloud API OpenAPI specification.\n\n    These are the API docs for the Wherobots API. You can use this to test out the API and see what it does.\n    The underlying OPENAPI spec can be found at /openapi.json. This can be used to generate clients for the API.\n\n    The Authorize button below will allow you to input an access token to authenticate to our API.\n    Then all of the requests on the page should work.\n    ","version":"0.0.1"},"servers":[{"url":"https://api.cloud.wherobots.com","description":"Wherobots Cloud API"}],"paths":{"/apikey":{"get":{"tags":["apikey"],"summary":"List API keys","operationId":"getApiKeys","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"customerId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customerid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiKey"},"title":"Response Getapikeys"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"post":{"tags":["apikey"],"summary":"Create an API key","operationId":"createApiKey","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiKeyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiKeyResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/apikey/{api_key_id}":{"post":{"tags":["apikey"],"summary":"Update API key expiry","operationId":"updateApiKey","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string","title":"Api Key Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateApiKeyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKey"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"delete":{"tags":["apikey"],"summary":"Revoke an API key","operationId":"revokeApiKey","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string","title":"Api Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/audit-log":{"get":{"tags":["audit-log"],"summary":"Query audit log events","operationId":"queryAuditLog","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"startTime","in":"query","required":false,"schema":{"type":"string","format":"date-time","title":"Starttime"}},{"name":"endTime","in":"query","required":false,"schema":{"type":"string","format":"date-time","title":"Endtime"}},{"name":"searchTerm","in":"query","required":false,"schema":{"type":"string","title":"Searchterm"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Cursor for the next page","title":"Cursor"},"description":"Cursor for the next page"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":0,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CursorPage__T_Customized_AuditLogEventPublic_"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/audit-log/export":{"get":{"tags":["audit-log"],"summary":"Export audit log as CSV","operationId":"exportAuditLog","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"startTime","in":"query","required":false,"schema":{"type":"string","format":"date-time","title":"Starttime"}},{"name":"endTime","in":"query","required":false,"schema":{"type":"string","format":"date-time","title":"Endtime"}},{"name":"searchTerm","in":"query","required":false,"schema":{"type":"string","title":"Searchterm"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":false}},"/catalogs":{"get":{"tags":["catalogs"],"summary":"List all catalogs","description":"Lists all catalogs","operationId":"listCatalogs","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCatalogsResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true},"post":{"tags":["catalogs"],"summary":"Create a new managed catalog","description":"Creates a new managed catalog.","operationId":"createCatalog","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCatalogRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExplorerUICatalog"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/catalogs/{catalog_id}/namespaces":{"get":{"tags":["catalogs"],"summary":"List namespaces in a catalog","description":"Lists all namespaces for a given catalog.","operationId":"listNamespaces","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","description":"The ID of the catalog.","title":"Catalog Id"},"description":"The ID of the catalog."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListNamespacesResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/catalogs/{catalog_id}/namespaces/{namespace_name}/tables":{"get":{"tags":["catalogs"],"summary":"List tables in a namespace","description":"Lists all tables for a given namespace.","operationId":"listTables","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","description":"The ID of the catalog.","title":"Catalog Id"},"description":"The ID of the catalog."},{"name":"namespace_name","in":"path","required":true,"schema":{"type":"string","description":"The name of the namespace. Must be URL-encoded.","title":"Namespace Name"},"description":"The name of the namespace. Must be URL-encoded."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTablesResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/catalogs/{catalog_id}/namespaces/{namespace_name}/tables/{table_name}":{"get":{"tags":["catalogs"],"summary":"Get table details","description":"Gets detailed information about a single table.","operationId":"getTable","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","description":"The ID of the catalog.","title":"Catalog Id"},"description":"The ID of the catalog."},{"name":"namespace_name","in":"path","required":true,"schema":{"type":"string","description":"The name of the namespace. Must be URL-encoded.","title":"Namespace Name"},"description":"The name of the namespace. Must be URL-encoded."},{"name":"table_name","in":"path","required":true,"schema":{"type":"string","description":"The name of the table. Must be URL-encoded.","title":"Table Name"},"description":"The name of the table. Must be URL-encoded."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableDetail"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"delete":{"tags":["catalogs"],"summary":"Delete a table","description":"Removes a table from the catalog. **This operation does not purge the underlying data files** — only the catalog entry is removed. If the table's metadata file is broken or missing, the deletion will fail. In that case, set `force_delete_catalog_entry=true` to forcibly remove the catalog database entry. When force-deleting, data files are left intact and the user is responsible for cleaning them up. Requires admin privileges. Not supported for foreign catalogs (Unity, AWS Glue, S3 Tables).","operationId":"deleteTable","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","description":"The ID of the catalog.","title":"Catalog Id"},"description":"The ID of the catalog."},{"name":"namespace_name","in":"path","required":true,"schema":{"type":"string","description":"The name of the namespace. Must be URL-encoded.","title":"Namespace Name"},"description":"The name of the namespace. Must be URL-encoded."},{"name":"table_name","in":"path","required":true,"schema":{"type":"string","description":"The name of the table. Must be URL-encoded.","title":"Table Name"},"description":"The name of the table. Must be URL-encoded."},{"name":"force_delete_catalog_entry","in":"query","required":false,"schema":{"type":"boolean","description":"If true, forcibly removes the catalog database entry even when the table's metadata file is broken or missing. Data files will NOT be purged; the user is responsible for cleaning them up.","default":false,"title":"Force Delete Catalog Entry"},"description":"If true, forcibly removes the catalog database entry even when the table's metadata file is broken or missing. Data files will NOT be purged; the user is responsible for cleaning them up."}],"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/catalogs/{catalog_id}/namespaces/{namespace_name}/tables/{table_name}/credentials":{"post":{"tags":["catalogs"],"summary":"Get temporary table storage credentials","description":"Generates temporary credentials to access the underlying storage of a table.","operationId":"getTableCredentials","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","description":"The ID of the catalog.","title":"Catalog Id"},"description":"The ID of the catalog."},{"name":"namespace_name","in":"path","required":true,"schema":{"type":"string","description":"The name of the namespace. Must be URL-encoded.","title":"Namespace Name"},"description":"The name of the namespace. Must be URL-encoded."},{"name":"table_name","in":"path","required":true,"schema":{"type":"string","description":"The name of the table. Must be URL-encoded.","title":"Table Name"},"description":"The name of the table. Must be URL-encoded."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableCredentials"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/catalogs/{catalog_id}/namespaces/{namespace_name}/views/{view_name}":{"get":{"tags":["catalogs"],"summary":"Get view details","description":"Gets detailed information about a single view.","operationId":"getView","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","description":"The ID of the catalog.","title":"Catalog Id"},"description":"The ID of the catalog."},{"name":"namespace_name","in":"path","required":true,"schema":{"type":"string","description":"The name of the namespace. Must be URL-encoded.","title":"Namespace Name"},"description":"The name of the namespace. Must be URL-encoded."},{"name":"view_name","in":"path","required":true,"schema":{"type":"string","description":"The name of the view. Must be URL-encoded.","title":"View Name"},"description":"The name of the view. Must be URL-encoded."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViewDetail"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/catalogs/hierarchy":{"get":{"tags":["catalogs"],"summary":"Get full catalog hierarchy","description":"Gets the complete catalog hierarchy including all databases and tables.","operationId":"getCatalogHierarchy","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCatalogHierarchyResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/cloud-connections":{"get":{"tags":["cloud-connections"],"summary":"List cloud connections","operationId":"listCloudConnections","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CloudConnectionRead"},"type":"array","title":"Response Listcloudconnections"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true},"post":{"tags":["cloud-connections"],"summary":"Create a cloud connection","operationId":"createCloudConnection","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwsCloudConnectionCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudConnectionRead"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/cloud-connections/{connection_id}":{"get":{"tags":["cloud-connections"],"summary":"Get a cloud connection","operationId":"getCloudConnection","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudConnectionRead"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"delete":{"tags":["cloud-connections"],"summary":"Delete a cloud connection","operationId":"deleteCloudConnection","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/cloud-connections/{connection_id}/verify":{"post":{"tags":["cloud-connections"],"summary":"Verify a cloud connection (optionally with a proposed binding)","operationId":"verifyCloudConnection","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudConnectionVerifyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudConnectionVerifyResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/cloud-connections/{connection_id}/create-link/connection":{"get":{"tags":["cloud-connections"],"summary":"Get a CloudFormation Quick-Create link for the connection stack","operationId":"getCloudConnectionCreateLink","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickCreateLinkResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/cloud-connections/{connection_id}/create-link/storage":{"get":{"tags":["cloud-connections"],"summary":"Get a CloudFormation Quick-Create link for an S3 binding stack","operationId":"getCloudConnectionStorageCreateLink","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"bucket","in":"query","required":true,"schema":{"type":"string","minLength":3,"maxLength":63,"pattern":"^[a-z0-9.\\-]+$","description":"Name of the S3 bucket to grant access to (not an ARN or s3:// URL)","title":"Bucket"},"description":"Name of the S3 bucket to grant access to (not an ARN or s3:// URL)"},{"name":"prefix","in":"query","required":false,"schema":{"type":"string","maxLength":1024,"pattern":"^[^&#\\x00-\\x1f\\x7f]*$","description":"Optional key prefix to scope access to; empty grants the whole bucket","default":"","title":"Prefix"},"description":"Optional key prefix to scope access to; empty grants the whole bucket"},{"name":"access","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CftAccessType","description":"Access level for the S3 binding stack"},"description":"Access level for the S3 binding stack"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickCreateLinkResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/cloud-connections/{connection_id}/cft/connection":{"get":{"tags":["cloud-connections"],"summary":"Download the rendered CloudFormation template for the connection stack","operationId":"downloadCloudConnectionTemplate","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/cloud-connections/{connection_id}/cft/storage":{"get":{"tags":["cloud-connections"],"summary":"Download the rendered CloudFormation template for an S3 binding stack","operationId":"downloadCloudConnectionStorageTemplate","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"bucket","in":"query","required":true,"schema":{"type":"string","minLength":3,"maxLength":63,"pattern":"^[a-z0-9.\\-]+$","description":"Name of the S3 bucket to grant access to (not an ARN or s3:// URL)","title":"Bucket"},"description":"Name of the S3 bucket to grant access to (not an ARN or s3:// URL)"},{"name":"prefix","in":"query","required":false,"schema":{"type":"string","maxLength":1024,"pattern":"^[^&#\\x00-\\x1f\\x7f]*$","description":"Optional key prefix to scope access to; empty grants the whole bucket","default":"","title":"Prefix"},"description":"Optional key prefix to scope access to; empty grants the whole bucket"},{"name":"access","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CftAccessType","description":"Access level for the S3 binding stack"},"description":"Access level for the S3 binding stack"}],"responses":{"200":{"description":"Successful Response"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/cloud-connections/{connection_id}/create-link/glue":{"get":{"tags":["cloud-connections"],"summary":"Get a CloudFormation Quick-Create link for a Glue binding stack","operationId":"getCloudConnectionGlueCreateLink","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"name","in":"query","required":true,"schema":{"type":"string","minLength":1,"description":"Name of the Glue binding/catalog; feeds the recommended stack name","title":"Name"},"description":"Name of the Glue binding/catalog; feeds the recommended stack name"},{"name":"access","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CftAccessType","description":"Access level for the Glue binding stack"},"description":"Access level for the Glue binding stack"},{"name":"region","in":"query","required":true,"schema":{"type":"string","pattern":"^[a-z]{2}(-[a-z]+)+-\\d$","description":"AWS region where the Glue catalog lives","title":"Region"},"description":"AWS region where the Glue catalog lives"},{"name":"awsAccountId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\d{12}$"},{"type":"null"}],"description":"AWS account ID hosting the Glue catalog; defaults to the connection's account","title":"Awsaccountid"},"description":"AWS account ID hosting the Glue catalog; defaults to the connection's account"},{"name":"bucket","in":"query","required":false,"schema":{"type":"string","pattern":"^$|^[a-z0-9.\\-]{3,63}$","description":"Optional S3 bucket for direct data access; empty grants no extra S3 access","default":"","title":"Bucket"},"description":"Optional S3 bucket for direct data access; empty grants no extra S3 access"},{"name":"prefix","in":"query","required":false,"schema":{"type":"string","maxLength":1024,"pattern":"^[^&#\\x00-\\x1f\\x7f]*$","description":"Optional key prefix to scope access to; empty grants the whole bucket","default":"","title":"Prefix"},"description":"Optional key prefix to scope access to; empty grants the whole bucket"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickCreateLinkResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/cloud-connections/{connection_id}/cft/glue":{"get":{"tags":["cloud-connections"],"summary":"Download the rendered CloudFormation template for a Glue binding stack","operationId":"downloadCloudConnectionGlueTemplate","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"name","in":"query","required":true,"schema":{"type":"string","minLength":1,"description":"Name of the Glue binding/catalog; feeds the recommended stack name","title":"Name"},"description":"Name of the Glue binding/catalog; feeds the recommended stack name"},{"name":"access","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CftAccessType","description":"Access level for the Glue binding stack"},"description":"Access level for the Glue binding stack"},{"name":"region","in":"query","required":true,"schema":{"type":"string","pattern":"^[a-z]{2}(-[a-z]+)+-\\d$","description":"AWS region where the Glue catalog lives","title":"Region"},"description":"AWS region where the Glue catalog lives"},{"name":"awsAccountId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\d{12}$"},{"type":"null"}],"description":"AWS account ID hosting the Glue catalog; defaults to the connection's account","title":"Awsaccountid"},"description":"AWS account ID hosting the Glue catalog; defaults to the connection's account"},{"name":"bucket","in":"query","required":false,"schema":{"type":"string","pattern":"^$|^[a-z0-9.\\-]{3,63}$","description":"Optional S3 bucket for direct data access; empty grants no extra S3 access","default":"","title":"Bucket"},"description":"Optional S3 bucket for direct data access; empty grants no extra S3 access"},{"name":"prefix","in":"query","required":false,"schema":{"type":"string","maxLength":1024,"pattern":"^[^&#\\x00-\\x1f\\x7f]*$","description":"Optional key prefix to scope access to; empty grants the whole bucket","default":"","title":"Prefix"},"description":"Optional key prefix to scope access to; empty grants the whole bucket"}],"responses":{"200":{"description":"Successful Response"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/cloud-connections/{connection_id}/create-link/s3tables":{"get":{"tags":["cloud-connections"],"summary":"Get a CloudFormation Quick-Create link for an S3 Tables binding stack","operationId":"getCloudConnectionS3TablesCreateLink","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"tableBucketArn","in":"query","required":true,"schema":{"type":"string","pattern":"^arn:aws:s3tables:[a-z0-9\\-]+:\\d{12}:bucket/[a-z0-9][a-z0-9\\-]{1,61}[a-z0-9]$","description":"ARN of the S3 Table Bucket to grant access to","title":"Tablebucketarn"},"description":"ARN of the S3 Table Bucket to grant access to"},{"name":"access","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CftAccessType","description":"Access level for the S3 Tables binding stack"},"description":"Access level for the S3 Tables binding stack"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickCreateLinkResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/cloud-connections/{connection_id}/cft/s3tables":{"get":{"tags":["cloud-connections"],"summary":"Download the rendered CloudFormation template for an S3 Tables binding stack","operationId":"downloadCloudConnectionS3TablesTemplate","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"tableBucketArn","in":"query","required":true,"schema":{"type":"string","pattern":"^arn:aws:s3tables:[a-z0-9\\-]+:\\d{12}:bucket/[a-z0-9][a-z0-9\\-]{1,61}[a-z0-9]$","description":"ARN of the S3 Table Bucket to grant access to","title":"Tablebucketarn"},"description":"ARN of the S3 Table Bucket to grant access to"},{"name":"access","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CftAccessType","description":"Access level for the S3 Tables binding stack"},"description":"Access level for the S3 Tables binding stack"}],"responses":{"200":{"description":"Successful Response"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/environment-override-preset":{"get":{"tags":["environment-override--preset"],"summary":"List environment override presets","operationId":"listEnvironmentOverridePresets","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/EnvironmentOverridePreset"},"type":"array","title":"Response Listenvironmentoverridepresets"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true},"put":{"tags":["environment-override--preset"],"summary":"Create or update an env override preset","operationId":"createOrUpdateEnvironmentOverridePreset","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentOverridePresetInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentOverridePreset"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/environment-override-preset/{environment_override_preset_id}":{"delete":{"tags":["environment-override--preset"],"summary":"Delete an environment override preset","operationId":"deleteEnvironmentOverridePreset","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"environment_override_preset_id","in":"path","required":true,"schema":{"type":"string","title":"Environment Override Preset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/environment-preset":{"get":{"tags":["environment-preset"],"summary":"List environment presets","operationId":"listEnvironmentPresets","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/EnvironmentPreset"},"type":"array","title":"Response Listenvironmentpresets"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true},"put":{"tags":["environment-preset"],"summary":"Create or update an environment preset","operationId":"createOrUpdateEnvironmentPreset","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentPresetInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentPreset"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/environment-preset/{environment_preset_id}":{"delete":{"tags":["environment-preset"],"summary":"Delete an environment preset","operationId":"deleteEnvironmentPreset","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"environment_preset_id","in":"path","required":true,"schema":{"type":"string","title":"Environment Preset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/files/integration-dir":{"get":{"tags":["files"],"summary":"List integration storage directory (legacy)","operationId":"getIntegrationDirectory","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"integration_id","in":"query","required":true,"schema":{"type":"string","title":"Integration Id"}},{"name":"dir","in":"query","required":true,"schema":{"type":"string","title":"Dir"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Directory"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/files/dir":{"get":{"tags":["files"],"summary":"List managed storage directory (legacy)","operationId":"getDirectory","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"dir","in":"query","required":true,"schema":{"type":"string","title":"Dir"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Directory"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/files/upload-url":{"post":{"tags":["files"],"summary":"Create a file upload URL (legacy)","operationId":"createUploadUrl","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__routers__files__UploadUrlResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/files":{"delete":{"tags":["files"],"summary":"Delete files from managed storage (legacy)","operationId":"deleteFiles","requestBody":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Keys"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/files/folder":{"post":{"tags":["files"],"summary":"Create a folder in managed storage (legacy)","operationId":"createFolder","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string","title":"Name"}},{"name":"dir","in":"query","required":true,"schema":{"type":"string","title":"Dir"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/files/download":{"get":{"tags":["files"],"summary":"Download a file from managed storage (legacy)","operationId":"downloadFile","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"File downloaded successfully","content":{"application/json":{"schema":{}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/files/rename":{"post":{"tags":["files"],"summary":"Rename a file in managed storage (legacy)","operationId":"renameFile","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}},{"name":"new_name","in":"query","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9\\!\\-\\_\\.\\*\\'\\(\\)]+$","title":"New Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/files/ingest-credentials":{"post":{"tags":["files"],"summary":"Create temporary ingest credentials (legacy)","operationId":"createIngestCredentials","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IngestCredentials"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"deprecated":true,"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/foreign-catalog":{"get":{"tags":["foreign-catalog"],"summary":"List foreign catalogs","description":"Lists all foreign catalogs visible to the current user.","operationId":"listForeignCatalogs","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"oneOf":[{"$ref":"#/components/schemas/DeltaForeignCatalogRead"},{"$ref":"#/components/schemas/IcebergForeignCatalogRead"},{"$ref":"#/components/schemas/AwsGlueForeignCatalogRead"},{"$ref":"#/components/schemas/S3TablesForeignCatalogRead"}],"discriminator":{"propertyName":"type","mapping":{"UNITY_DELTA":"#/components/schemas/DeltaForeignCatalogRead","UNITY_ICEBERG":"#/components/schemas/IcebergForeignCatalogRead","AWS_GLUE":"#/components/schemas/AwsGlueForeignCatalogRead","S3_TABLES":"#/components/schemas/S3TablesForeignCatalogRead"}}},"type":"array","title":"Response Listforeigncatalogs"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true},"post":{"tags":["foreign-catalog"],"summary":"Create a foreign catalog connection","description":"Creates a new foreign catalog.\n\nThis endpoint allows for the creation of a new foreign catalog connection.\nThe number of foreign catalogs is limited by the organization's plan.","operationId":"createForeignCatalog","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UnityIcebergForeignCatalogCreate"},{"$ref":"#/components/schemas/UnityDeltaForeignCatalogCreate"},{"$ref":"#/components/schemas/AwsGlueForeignCatalogCreate"},{"$ref":"#/components/schemas/S3TablesForeignCatalogCreate"}],"title":"Payload","discriminator":{"propertyName":"type","mapping":{"UNITY_ICEBERG":"#/components/schemas/UnityIcebergForeignCatalogCreate","UNITY_DELTA":"#/components/schemas/UnityDeltaForeignCatalogCreate","AWS_GLUE":"#/components/schemas/AwsGlueForeignCatalogCreate","S3_TABLES":"#/components/schemas/S3TablesForeignCatalogCreate"}}}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeltaForeignCatalogRead"},{"$ref":"#/components/schemas/IcebergForeignCatalogRead"},{"$ref":"#/components/schemas/AwsGlueForeignCatalogRead"},{"$ref":"#/components/schemas/S3TablesForeignCatalogRead"}],"title":"Response Createforeigncatalog","discriminator":{"propertyName":"type","mapping":{"UNITY_DELTA":"#/components/schemas/DeltaForeignCatalogRead","UNITY_ICEBERG":"#/components/schemas/IcebergForeignCatalogRead","AWS_GLUE":"#/components/schemas/AwsGlueForeignCatalogRead","S3_TABLES":"#/components/schemas/S3TablesForeignCatalogRead"}}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/foreign-catalog/{catalog_id}":{"get":{"tags":["foreign-catalog"],"summary":"Get a foreign catalog","description":"Gets a specific foreign catalog by its ID.","operationId":"getForeignCatalog","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","description":"The ID of the foreign catalog to retrieve.","title":"Catalog Id"},"description":"The ID of the foreign catalog to retrieve."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeltaForeignCatalogRead"},{"$ref":"#/components/schemas/IcebergForeignCatalogRead"},{"$ref":"#/components/schemas/AwsGlueForeignCatalogRead"},{"$ref":"#/components/schemas/S3TablesForeignCatalogRead"}],"discriminator":{"propertyName":"type","mapping":{"UNITY_DELTA":"#/components/schemas/DeltaForeignCatalogRead","UNITY_ICEBERG":"#/components/schemas/IcebergForeignCatalogRead","AWS_GLUE":"#/components/schemas/AwsGlueForeignCatalogRead","S3_TABLES":"#/components/schemas/S3TablesForeignCatalogRead"}},"title":"Response Getforeigncatalog"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"put":{"tags":["foreign-catalog"],"summary":"Update a foreign catalog","description":"Updates an existing foreign catalog.","operationId":"updateForeignCatalog","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","description":"The ID of the foreign catalog to update.","title":"Catalog Id"},"description":"The ID of the foreign catalog to update."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UnityIcebergForeignCatalogUpdate"},{"$ref":"#/components/schemas/UnityDeltaForeignCatalogUpdate"},{"$ref":"#/components/schemas/AwsGlueForeignCatalogUpdate"},{"$ref":"#/components/schemas/S3TablesForeignCatalogUpdate"}],"discriminator":{"propertyName":"type","mapping":{"UNITY_ICEBERG":"#/components/schemas/UnityIcebergForeignCatalogUpdate","UNITY_DELTA":"#/components/schemas/UnityDeltaForeignCatalogUpdate","AWS_GLUE":"#/components/schemas/AwsGlueForeignCatalogUpdate","S3_TABLES":"#/components/schemas/S3TablesForeignCatalogUpdate"}},"title":"Catalog"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeltaForeignCatalogRead"},{"$ref":"#/components/schemas/IcebergForeignCatalogRead"},{"$ref":"#/components/schemas/AwsGlueForeignCatalogRead"},{"$ref":"#/components/schemas/S3TablesForeignCatalogRead"}],"discriminator":{"propertyName":"type","mapping":{"UNITY_DELTA":"#/components/schemas/DeltaForeignCatalogRead","UNITY_ICEBERG":"#/components/schemas/IcebergForeignCatalogRead","AWS_GLUE":"#/components/schemas/AwsGlueForeignCatalogRead","S3_TABLES":"#/components/schemas/S3TablesForeignCatalogRead"}},"title":"Response Updateforeigncatalog"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"delete":{"tags":["foreign-catalog"],"summary":"Delete a foreign catalog","description":"Deletes a foreign catalog by its ID.","operationId":"deleteForeignCatalog","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","description":"The ID of the foreign catalog to delete.","title":"Catalog Id"},"description":"The ID of the foreign catalog to delete."}],"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/foreign-catalog/test-connection":{"post":{"tags":["foreign-catalog"],"summary":"Test a new foreign catalog connection","description":"Tests the connection to a foreign catalog.\n\nThis endpoint allows users to test the connection details of a foreign catalog\nbefore creating it.","operationId":"testUnsavedForeignCatalogConnection","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UnityIcebergForeignCatalogCreate"},{"$ref":"#/components/schemas/UnityDeltaForeignCatalogCreate"},{"$ref":"#/components/schemas/AwsGlueForeignCatalogCreate"},{"$ref":"#/components/schemas/S3TablesForeignCatalogCreate"}],"title":"Catalog","discriminator":{"propertyName":"type","mapping":{"UNITY_ICEBERG":"#/components/schemas/UnityIcebergForeignCatalogCreate","UNITY_DELTA":"#/components/schemas/UnityDeltaForeignCatalogCreate","AWS_GLUE":"#/components/schemas/AwsGlueForeignCatalogCreate","S3_TABLES":"#/components/schemas/S3TablesForeignCatalogCreate"}}}}},"required":true},"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/foreign-catalog/{catalog_id}/test-connection":{"post":{"tags":["foreign-catalog"],"summary":"Test an existing foreign catalog connection","description":"Tests the connection to a foreign catalog.\n\nThis endpoint allows users to test the connection details of an existing\nforeign catalog.","operationId":"testExistingForeignCatalogConnection","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","description":"The ID of the foreign catalog to test.","title":"Catalog Id"},"description":"The ID of the foreign catalog to test."}],"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/me/jupyter/lab/instance/{notebook_id}":{"get":{"tags":["jupyter_lab"],"summary":"Get a notebook instance","operationId":"getNotebookInstance","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"notebook_id","in":"path","required":true,"schema":{"type":"string","title":"Notebook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JupyterKubeApp"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/me/jupyter/lab/instance-latest":{"get":{"tags":["jupyter_lab"],"summary":"Get user's latest notebook instance","operationId":"latestNotebookInstance","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/JupyterKubeApp"},{"type":"null"}],"title":"Response Latestnotebookinstance"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/me/jupyter/lab/instance":{"get":{"tags":["jupyter_lab"],"summary":"List notebook instances","operationId":"listNotebookInstances","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"desc","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Desc"}},{"name":"exclude_statuses","in":"query","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/AppStatus"},"default":[],"title":"Exclude Statuses"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JupyterListModel"},"title":"Response Listnotebookinstances"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"post":{"tags":["jupyter_lab"],"summary":"Create a notebook instance","operationId":"createNotebookInstance","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"region","in":"query","required":true,"schema":{"type":"string","title":"Region"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JupyterAPIPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JupyterKubeApp"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/me/jupyter/lab/instance/{notebook_id}/destroy":{"post":{"tags":["jupyter_lab"],"summary":"Destroy a notebook instance","operationId":"destroyNotebookInstance","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"notebook_id","in":"path","required":true,"schema":{"type":"string","title":"Notebook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JupyterKubeApp"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/me/jupyter/lab/config-hint":{"get":{"tags":["jupyter_lab"],"summary":"Get notebook config hints","operationId":"getNotebookConfigHint","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JupyterConfigHint"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/management/organization/{organization_id}/subscription":{"get":{"tags":["management","superuser"],"summary":"Get organization subscription","description":"Get organization's active subscription details.\n\nThis endpoint is for superusers only and returns the active subscription\ninformation including type-specific details (AWS Marketplace, Stripe, etc.).","operationId":"getOrganizationSubscription","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AwsMarketplaceSubscriptionRead"},{"$ref":"#/components/schemas/StripeSubscriptionRead"},{"$ref":"#/components/schemas/InternalDevelopmentSubscriptionRead"},{"$ref":"#/components/schemas/ManualContractRead"},{"$ref":"#/components/schemas/ManuallyCompedRead"}],"discriminator":{"propertyName":"type","mapping":{"awsmarketplacesubscription":"#/components/schemas/AwsMarketplaceSubscriptionRead","stripesubscription":"#/components/schemas/StripeSubscriptionRead","internaldevelopmentsubscription":"#/components/schemas/InternalDevelopmentSubscriptionRead","manualcontract":"#/components/schemas/ManualContractRead","manuallycomped":"#/components/schemas/ManuallyCompedRead"}}},{"type":"null"}],"title":"Response Getorganizationsubscription"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/management/organization/{organization_id}/usage/costs":{"post":{"tags":["management","superuser"],"summary":"Get organization workload costs","description":"Get Orb-calculated workload costs for any organization.\n\nThis endpoint is for superusers only. Unlike the org-scoped\n``POST /usage/costs``, it resolves costs for an arbitrary organization\nidentified by ``organization_id``.","operationId":"getOrganizationWorkloadCosts","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetKubeAppCostsInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkloadCostsOutput"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/management/quotas/all":{"get":{"tags":["management","superuser"],"summary":"List all organization quotas","operationId":"listAllQuotas","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"additionalProperties":{"type":"integer"},"propertyNames":{"$ref":"#/components/schemas/QuotaType"},"type":"object"},"type":"object","title":"Response Listallquotas"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/management/organization/{organization_id}/quotas":{"get":{"tags":["management","superuser"],"summary":"Get quotas for an organization","operationId":"getOrganizationQuotas","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"propertyNames":{"$ref":"#/components/schemas/QuotaType"},"title":"Response Getorganizationquotas"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/management/organization/{organization_id}/update-quota":{"post":{"tags":["management","superuser"],"summary":"Update a quota for an organization","operationId":"updateOrganizationQuota","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"quota_type","in":"query","required":true,"schema":{"$ref":"#/components/schemas/QuotaType"}},{"name":"quota_value","in":"query","required":true,"schema":{"type":"integer","title":"Quota Value"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"propertyNames":{"$ref":"#/components/schemas/QuotaType"},"title":"Response Updateorganizationquota"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/management/organization/{organization_id}/refresh-quotas":{"post":{"tags":["management","superuser"],"summary":"Refresh org resource quotas in K8s","operationId":"refreshOrganizationQuotas","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/management/organization/{organization_id}/refresh-users":{"post":{"tags":["management","superuser"],"summary":"Refresh users in an organization","operationId":"refreshOrganizationUsers","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/management/organization/{organization_id}/rotate-union-credentials":{"post":{"tags":["management","superuser"],"summary":"Rotate all Union OAuth apps for an organization","description":"Rotate the OAuth app for every Union project provisioned for an org.\n\nThis endpoint is for superusers only. Each rotation deletes and recreates\nthe project's Union OAuth app, stores the new client secret in AWS Secrets\nManager, and updates the corresponding union metadata. The response maps\neach project name to whether its rotation succeeded.","operationId":"rotateOrganizationUnionCredentials","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RotateUnionCredentialsResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/management/organization/{organization_id}/verify":{"post":{"tags":["management","superuser"],"summary":"Verify an organization","operationId":"verifyOrganization","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/management/organization/{organization_id}/mark-fraudulent":{"post":{"tags":["management","superuser"],"summary":"Mark organization as fraudulent","operationId":"markOrganizationFraudulent","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/management/organization/{organization_id}/update-plan":{"post":{"tags":["management","superuser"],"summary":"Update organization plan and subscription","description":"Update an organization's plan and optionally change its subscription type.\n\nIf subscription_type is provided and the org already has an active subscription\nof a different type, the old subscription will be stopped and a new one created.","operationId":"updateOrganizationPlan","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"plan","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Plan"}},{"name":"subscription_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SubscriptionType"},{"type":"null"}],"title":"Subscription Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/management/organization/{organization_id}/refresh-catalogs":{"post":{"tags":["management","superuser"],"summary":"Refresh catalogs for an organization","description":"Refresh catalogs for a specific organization.\nOnly accessible by super users.","operationId":"refreshOrganizationCatalogs","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/management/kube_app/{kube_app_id}/destroy":{"post":{"tags":["management","superuser"],"summary":"Destroy a workload","operationId":"destroyWorkload","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"kube_app_id","in":"path","required":true,"schema":{"type":"string","title":"Kube App Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/management/organization/{organization_id}/feature-overrides":{"get":{"tags":["management","superuser"],"summary":"Get feature flag overrides for an org","operationId":"getFeatureOverrides","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/FeatureEnabledState"},"propertyNames":{"$ref":"#/components/schemas/WherobotsCloudFeature"},"title":"Response Getfeatureoverrides"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/management/organization/{organization_id}/update-feature-override":{"post":{"tags":["management","superuser"],"summary":"Update a feature flag override","operationId":"updateFeatureOverride","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_updateFeatureOverride"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/management/organization/{organization_id}":{"delete":{"tags":["management","superuser"],"summary":"Delete an organization","operationId":"deleteOrganization","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/management/async_operation_task":{"post":{"tags":["management","superuser"],"summary":"Create an async operation task","operationId":"createAsyncOperationTask","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationTaskPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response Createasyncoperationtask"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/users/me":{"get":{"tags":["users","me"],"summary":"Get current user profile","operationId":"getMe","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Customer"},{"$ref":"#/components/schemas/HumanPrincipal"},{"$ref":"#/components/schemas/ServicePrincipal"}],"title":"Response Getme"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/users/me/role":{"post":{"tags":["users","me"],"summary":"Update current user role","operationId":"updateRole","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/users/me/path-access":{"get":{"tags":["users","me"],"summary":"Verify access to an app path","operationId":"verifyPathAccess","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/organization/quota/organization":{"get":{"tags":["organization","quota"],"summary":"List organization quotas","operationId":"listQuotas","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"integer"},"propertyNames":{"$ref":"#/components/schemas/QuotaType"},"type":"object","title":"Response Listquotas"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/organization/coupon/redeem":{"post":{"tags":["organization","coupon"],"summary":"Redeem an organization coupon","operationId":"redeemCoupon","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_redeemCoupon"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Coupon"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/organization/{organization_id}/users/invitations":{"get":{"tags":["organization","users"],"summary":"Get pending organization invitations","operationId":"getOrganizationInvitations","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Invitation"},"title":"Response Getorganizationinvitations"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/organization":{"get":{"tags":["organization"],"summary":"Get current user's organization","operationId":"getMyOrganization","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true},"delete":{"tags":["organization"],"summary":"Delete the current organization","operationId":"deleteMyOrganization","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true},"patch":{"tags":["organization"],"summary":"Update current organization settings","operationId":"updateMyOrganization","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationUpdateInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/organization/organization/invite":{"post":{"tags":["organization"],"summary":"Invite users to the organization","operationId":"inviteUsers","requestBody":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Invited Users"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/organization/organization/invite/{email}":{"delete":{"tags":["organization"],"summary":"Cancel a pending invitation","operationId":"cancelInvitation","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","title":"Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/organization/register":{"post":{"tags":["organization"],"summary":"Register a new organization","operationId":"organizationRegister","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"x-amzn-marketplace-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The Amazon Marketplace registration token","title":"X-Amzn-Marketplace-Token"},"description":"The Amazon Marketplace registration token"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationRegisterInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/organization/undelete":{"post":{"tags":["organization"],"summary":"Restore a deleted organization","operationId":"undeleteMyOrganization","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/organization/{organization_id}/register":{"post":{"tags":["organization"],"summary":"Register a new user in an organization","operationId":"userRegister","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HumanPrincipal"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/organization/{organization_id}/quotas":{"get":{"tags":["organization"],"summary":"List quotas for an organization","operationId":"listOrganizationQuotas","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"propertyNames":{"$ref":"#/components/schemas/QuotaType"},"title":"Response Listorganizationquotas"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/organization/{organization_id}/union-bootstrap":{"post":{"tags":["organization"],"summary":"Bootstrap Union tenant for an org","operationId":"unionBootstrap","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"organization_id","in":"path","required":true,"schema":{"type":"string","title":"Organization Id"}},{"name":"compute_region_name","in":"query","required":true,"schema":{"type":"string","title":"Compute Region Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Unionbootstrap"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/organization/users/export":{"get":{"tags":["organization"],"summary":"Export organization users as CSV","operationId":"exportOrganizationUsers","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"format","in":"query","required":true,"schema":{"const":"csv","type":"string","title":"Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/organization/users/{customer_id}/role":{"put":{"tags":["organization"],"summary":"Change a user's role","operationId":"switchCustomerRole","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"string","title":"Customer Id"}},{"name":"new_role_id","in":"query","required":true,"schema":{"type":"string","title":"New Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/organization/users/{user_email}":{"delete":{"tags":["organization"],"summary":"Remove a user from the organization","operationId":"deleteCustomer","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"user_email","in":"path","required":true,"schema":{"type":"string","title":"User Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/organization/refresh-catalogs":{"post":{"tags":["organization"],"summary":"Refresh current org catalogs","operationId":"refreshCatalogs","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/organization/apikeys":{"get":{"tags":["organization"],"summary":"List all API keys in the organization","operationId":"getOrganizationApiKeys","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ApiKey"},"type":"array","title":"Response Getorganizationapikeys"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/organization/default-environment-preset":{"put":{"tags":["organization"],"summary":"Set default environment preset","operationId":"setDefaultEnvironmentPreset","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"preset_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/organization/default-environment-override-preset":{"put":{"tags":["organization"],"summary":"Set default environment override preset","operationId":"setDefaultEnvironmentOverridePreset","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"preset_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/organization/default-region":{"put":{"tags":["organization"],"summary":"Set the default compute region","operationId":"setDefaultRegion","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"region","in":"query","required":true,"schema":{"type":"string","title":"Region"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/organization/default-runtime":{"put":{"tags":["organization"],"summary":"Set the default compute runtime","operationId":"setDefaultRuntime","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"runtime_id","in":"query","required":true,"schema":{"type":"string","title":"Runtime Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/organization/by-name/{name}":{"get":{"tags":["organization"],"summary":"Search organizations by name","operationId":"getOrganizationsByName","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Organization"},"title":"Response Getorganizationsbyname"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/organization/by-id/{org_id}":{"get":{"tags":["organization"],"summary":"Get an organization by ID","operationId":"getOrganization","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/organization/all":{"get":{"tags":["organization"],"summary":"List all organizations for current user","description":"Get a list of all organizations the current user belongs to.","operationId":"getAllOrganizationsForUser","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OrgListingEntry"},"type":"array","title":"Response Getallorganizationsforuser"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/organization/create":{"post":{"tags":["organization"],"summary":"Create a new organization","operationId":"createOrganization","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationCreateInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/organization/ensure-currentuser-humanprincipal":{"post":{"tags":["organization"],"summary":"Ensure current user has a human principal","operationId":"ensureCurrentUserHumanPrincipal","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnsureHumanPrincipalInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/rasterflow/runs/{run_id}":{"delete":{"tags":["rasterflow"],"summary":"Cancel a running Rasterflow workflow run by ID","description":"Abort a running Union/Flyte workflow run.\n\nThe run and its Union project/domain are resolved from the local copy of\nthe run. Cancelling an already-terminal run is a no-op.","operationId":"cancelRasterflowRun","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/runs":{"get":{"tags":["runs"],"summary":"List job runs","operationId":"listJobRuns","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":255,"pattern":"^[a-zA-Z0-9_\\-\\.]*\\*?[a-zA-Z0-9_\\-\\.]*$"},{"type":"null"}],"title":"Name"}},{"name":"created_after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created After"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/RunStatus"}},{"type":"null"}],"title":"Status"}},{"name":"region","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Cursor for the next page","title":"Cursor"},"description":"Cursor for the next page"},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":0,"description":"Page size","default":50,"title":"Size"},"description":"Page size"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CursorPage__T_Customized_RunView_"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"post":{"tags":["runs"],"summary":"Create a job run","operationId":"createJobRun","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"region","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRunPayload-Input"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":false}},"/runs/{run_id}":{"get":{"tags":["runs"],"summary":"Get a job run","operationId":"getJobRun","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/runs/{run_id}/cancel":{"post":{"tags":["runs"],"summary":"Cancel a job run","operationId":"cancelJobRun","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunView"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/runs/{run_id}/logs":{"get":{"tags":["runs"],"summary":"Get job run logs","operationId":"getJobRunLogs","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Size"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogsResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/runs/{run_id}/metrics":{"get":{"tags":["runs"],"summary":"Get job run metrics","operationId":"getJobRunMetrics","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunMetricsResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/service":{"get":{"tags":["service"],"summary":"List service principals","operationId":"listServicePrincipals","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ServicePrincipal"},"type":"array","title":"Response Listserviceprincipals"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/service/{service_id}":{"get":{"tags":["service"],"summary":"Get a service principal","operationId":"getServicePrincipal","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServicePrincipal"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"patch":{"tags":["service"],"summary":"Update a service principal","operationId":"updateServicePrincipal","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServicePrincipalUpdateInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServicePrincipal"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"delete":{"tags":["service"],"summary":"Delete a service principal","operationId":"deleteServicePrincipal","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/service/register":{"post":{"tags":["service"],"summary":"Register a new service principal","operationId":"registerServicePrincipal","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServicePrincipalRegisterInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServicePrincipal"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/solution-notebooks":{"get":{"tags":["solution_notebooks"],"summary":"List solution notebooks","operationId":"listSolutionNotebooks","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"showInGalleryOnly","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Showingalleryonly"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NotebookMetadata"},"title":"Response Listsolutionnotebooks"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true},"post":{"tags":["solution_notebooks"],"summary":"Create a solution notebook","operationId":"createSolutionNotebook","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_createSolutionNotebook"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookMetadata"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/solution-notebooks/{notebookId}":{"get":{"tags":["solution_notebooks"],"summary":"Get a solution notebook","operationId":"getSolutionNotebook","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"notebookId","in":"path","required":true,"schema":{"type":"string","maxLength":255,"title":"Notebookid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookMetadata"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true},"put":{"tags":["solution_notebooks"],"summary":"Replace a solution notebook","operationId":"replaceSolutionNotebook","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"notebookId","in":"path","required":true,"schema":{"type":"string","maxLength":255,"title":"Notebookid"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_replaceSolutionNotebook"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookMetadata"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true},"delete":{"tags":["solution_notebooks"],"summary":"Delete a solution notebook","operationId":"deleteSolutionNotebook","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"notebookId","in":"path","required":true,"schema":{"type":"string","maxLength":255,"title":"Notebookid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/solution-notebooks/{notebookId}/thumbnail":{"get":{"tags":["solution_notebooks"],"summary":"Get solution notebook thumbnail","operationId":"getSolutionNotebookThumbnail","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"notebookId","in":"path","required":true,"schema":{"type":"string","maxLength":255,"title":"Notebookid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/sql/sessions":{"get":{"tags":["sql"],"summary":"Returns a list of the callers SQL sessions","operationId":"listSqlSessions","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"region","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SqlSessionKubeApp"},"title":"Response Listsqlsessions"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/sql/session/{session_id}":{"get":{"tags":["sql"],"summary":"Returns the callers' SQL session by ID","operationId":"getSqlSession","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SqlSessionKubeApp"},{"type":"null"}],"title":"Response Getsqlsession"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true},"delete":{"tags":["sql"],"summary":"Deletes a SQL session owned by the caller, by ID","operationId":"deleteSqlSession","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/sql/session":{"post":{"tags":["sql"],"summary":"Creates a SQL session for the user (if needed)","operationId":"createSqlSession","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"force_new","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Force New"}},{"name":"region","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SqlSessionAPIPayload"}}}},"responses":{"303":{"description":"Returns a HTTP status code 303 to the GET api (PRG pattern)","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/ste/.well-known/jwks.json":{"get":{"tags":["service_token_endpoint"],"summary":"Get JWKS for token verification","operationId":"getSteJwks","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/ste/oauth2/token":{"post":{"tags":["service_token_endpoint"],"summary":"Exchange refresh token for access token","description":"Exchange credentials for an access token. Currently only support refresh_token","operationId":"exchangeAccessToken","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ExchangeTokenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/ste/v2/oauth2/tokens":{"post":{"tags":["service_token_endpoint"],"summary":"Exchange token for Iceberg REST access","description":"Exchange credentials for Open Source (OSS) Iceberg REST Client (IRC).\n\nOSS IRC (< 1.10.x) uses 2 grant types:\n- token-exchange: Defined by the OAuth 2.0 Token Exchange spec (RFC 8693).\n  Exchange a valid, unexpired (OAuth) access token for a new access token with the same or smaller scopes.\n- client_credentials: Defined by the OAuth 2.0 Authorization Framework spec (RFC 6749).\n  Exchange a client credential (i.e. Wherobots API Key) for an access token.\n\nUse cases:\n1. [client_credentials] Users who has an API key yet no OAuth JWT token.\nRequest format:\n    {\n        \"grant_type\": \"client_credentials\",\n        \"client_id\": \"<customer_id>\", (Wherobots Customer Ext ID)\n        \"client_secret\": \"<api_key>\", (Wherobots API Key)\n        \"scope\": \"<requested_scope>\" (\"catalog\" for now, to be extended in the future)\n    }\n2. [token-exchange] Users who already has an valid, unexpired OAuth JWT token.\nRequest format:\n    {\n        \"grant_type\": \"urn:ietf:params:oauth:grant-type:token-exchange\", (OSS IRC always use this exact string)\n        \"scope\": \"<requested_scope>\",\n        \"subject_token\": \"<current_unexpired_access_token>\",\n        \"subject_token_type\": \"urn:ietf:params:oauth:token-type:access_token\", (OSS IRC always use this exact string)\n        \"actor_token\": \"<optional_actor_token>\", (not used currently)\n        \"actor_token_type\": \"<actor_token_type>\" (not used currently)\n    }\nNote: the optional actor_token is used for permission delegation, which is NOT\ncurrently supported, and thus has no effect even if provided. The \"subject_token_type\"\nhas to be \"access_token\" at the moment - we currently only support exchanging access tokens.","operationId":"exchangeIcebergToken","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ClientCredIssuanceRequest"},{"$ref":"#/components/schemas/SubjectTokenExchangeRequest"}],"title":"Form Data"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/storage":{"post":{"tags":["storage"],"summary":"Create a storage integration","operationId":"createIntegration","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateStorageIntegrationAPIPayload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSource"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"get":{"tags":["storage"],"summary":"List storage integrations","operationId":"listIntegration","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"include_external_providers","in":"query","required":false,"schema":{"type":"boolean","description":"Include authorized sources whose credentials are obtained through an external provider exchange. These sources may not support Files browsing.","default":false,"title":"Include External Providers"},"description":"Include authorized sources whose credentials are obtained through an external provider exchange. These sources may not support Files browsing."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StorageSource"},"title":"Response Listintegration"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/storage/{integration_id}":{"delete":{"tags":["storage"],"summary":"Delete a storage integration","operationId":"deleteIntegration","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"get":{"tags":["storage"],"summary":"Get a storage integration","operationId":"getIntegration","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageSource"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/storage/trust-relationship":{"get":{"tags":["storage"],"summary":"Get IAM trust relationship","operationId":"getTrustRelationship","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"trustedAccountIds","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Trustedaccountids"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/storage/s3-access-type":{"get":{"tags":["storage"],"summary":"Check S3 bucket access type","operationId":"getS3AccessType","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"s3_path","in":"query","required":true,"schema":{"type":"string","title":"S3 Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/S3AccessApiResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/storage/{integration_id}/sample-policy":{"get":{"tags":["storage"],"summary":"Get sample IAM policy","operationId":"getSamplePolicy","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/storage/credentials":{"post":{"tags":["storage"],"summary":"Get Storage Credentials","description":"Return temporary AWS credentials for the requested S3 path.\n\nEnabled OPERA sources use read-only ASF credentials with provider-controlled\nscope and expiry (no per-request downscoping); duration must be 3600.\n\nResolution order:\n0. Enabled read-only dataset providers (matching prefix; authorization before cache access)\n1. Managed storage (org file store bucket)\n2. Temp user data bucket (org-scoped prefix)\n3. WherobotsDB releases bucket (if the org has the feature)\n4. User files buckets, which are always refused\n5. User-defined storage integrations (prefix match)\n\nA user files path is refused outright: no client is ever handed credentials\nthat reach a user files area.\n\n`payload.access_mode` controls whether returned credentials are read-only\nor include write permissions.\n\nCredentials already held for an identical request are re-served until they\napproach expiry, so the audit event below records every credential the\ncaller was given, not only the ones freshly minted.\n\nReturns empty credentials for public buckets (no role_arn).","operationId":"getStorageCredentials","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageCredentialsRequest"}}},"required":true},"responses":{"200":{"description":"Temporary AWS credentials; OPERA sources use provider-scoped read-only ASF sessions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemporaryAwsCredentials"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"No storage source matches the requested path"},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"429":{"description":"Rate limited: the per-organization cap, the credential-issuance cap, or AWS STS throttling. Retry after the delay in the Retry-After header"}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/storage/{integration_id}/access":{"post":{"tags":["storage"],"summary":"Verify storage integration access","operationId":"verifyIntegrationAccess","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageIntegrationAccess"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/storage/{integration_id}/abacaccess":{"post":{"tags":["storage"],"summary":"Verify ABAC storage access","operationId":"verifyAbacAccess","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","title":"Integration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageIntegrationAccess"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/storage/{storage_id}/file-upload-url/{path}":{"post":{"tags":["storage"],"summary":"Create a presigned file upload URL","operationId":"createFileUploadUrl","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"storage_id","in":"path","required":true,"schema":{"type":"string","title":"Storage Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/src__routers__storageintegration__UploadUrlResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":false}},"/storage/{storage_id}/file-rename/{path}":{"post":{"tags":["storage"],"summary":"Rename a file in storage","operationId":"renameFileInStorage","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"storage_id","in":"path","required":true,"schema":{"type":"string","title":"Storage Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}},{"name":"new_name","in":"query","required":true,"schema":{"type":"string","title":"New Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/storage/{storage_id}/files/{path}":{"get":{"tags":["storage"],"summary":"Download a file from storage","operationId":"downloadFileFromStorage","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"storage_id","in":"path","required":true,"schema":{"type":"string","title":"Storage Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"File downloaded successfully","content":{"application/json":{"schema":{}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"delete":{"tags":["storage"],"summary":"Delete a file from storage","operationId":"deleteFileFromStorage","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"storage_id","in":"path","required":true,"schema":{"type":"string","title":"Storage Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/storage/{storage_id}/directories/{path}":{"delete":{"tags":["storage"],"summary":"Delete a directory from storage","operationId":"deleteDirectory","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"storage_id","in":"path","required":true,"schema":{"type":"string","title":"Storage Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"get":{"tags":["storage"],"summary":"List directory contents","operationId":"listDirectoryContents","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"storage_id","in":"path","required":true,"schema":{"type":"string","title":"Storage Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":0,"default":0,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryListingResult"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"put":{"tags":["storage"],"summary":"Create a directory in storage","operationId":"createDirectory","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"storage_id","in":"path","required":true,"schema":{"type":"string","title":"Storage Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/subscriptions/amazon-marketplace-customer":{"get":{"tags":["subscriptions"],"summary":"Get AWS Marketplace customer details","operationId":"getAmazonMarketplaceCustomerDetails","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"x-amzn-marketplace-token","in":"header","required":true,"schema":{"type":"string","description":"The Amazon Marketplace registration token","title":"X-Amzn-Marketplace-Token"},"description":"The Amazon Marketplace registration token"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AmazonMarketplaceCustomerDetails"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/subscriptions/aws-marketplace":{"post":{"tags":["subscriptions"],"summary":"Link organization to AWS Marketplace","operationId":"linkAmazonMarketplace","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"x-amzn-marketplace-token","in":"header","required":true,"schema":{"type":"string","description":"The Amazon Marketplace registration token","title":"X-Amzn-Marketplace-Token"},"description":"The Amazon Marketplace registration token"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/subscriptions":{"get":{"tags":["subscriptions"],"summary":"Get current organization subscription","operationId":"getMySubscription","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AwsMarketplaceSubscriptionRead"},{"$ref":"#/components/schemas/StripeSubscriptionRead"},{"$ref":"#/components/schemas/InternalDevelopmentSubscriptionRead"},{"$ref":"#/components/schemas/ManualContractRead"},{"$ref":"#/components/schemas/ManuallyCompedRead"}],"discriminator":{"propertyName":"type","mapping":{"awsmarketplacesubscription":"#/components/schemas/AwsMarketplaceSubscriptionRead","stripesubscription":"#/components/schemas/StripeSubscriptionRead","internaldevelopmentsubscription":"#/components/schemas/InternalDevelopmentSubscriptionRead","manualcontract":"#/components/schemas/ManualContractRead","manuallycomped":"#/components/schemas/ManuallyCompedRead"}}},{"type":"null"}],"title":"Response Getmysubscription"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/subscriptions/trial-state":{"get":{"tags":["subscriptions"],"summary":"Get current organization trial state","description":"Return the organization's authoritative trial state (WBC-164).\n\nAdditive, read-only surface consumed by the in-product trial indicator\n(WBC-166), HubSpot sync (WBC-168), and billing emails (WBC-169).\n``trialStatus`` is derived (never stored) from Orb + payment state.\n\n``trialEndsAt`` is the **time-based** trial end (signup + 14 days) today.\nCredit exhaustion does not shorten it: the zero-balance timestamp needs an\nOrb-ledger fetch this endpoint does not make, so it is left unset rather\nthan fabricated. Credit exhaustion ends the trial early via WS4 events\n(WBC-766), which flip the plan/subscription this endpoint already reflects.\nDo not read ``trialEndsAt`` as credit-aware, and do not treat\n``trialCreditsRemaining == 0`` as \"trial over\". See\n:mod:`src.internal.billing.trial_state`.\n\nDegrades gracefully: an org with no trial data -- every org until the\nWBC-763 trial-grant flag is enabled -- gets all-``null`` fields rather\nthan an error. All upstream Orb failures (transport errors, an unconfigured\nclient, the multi-subscription guard) also degrade to all-``null``, never a\n500.","operationId":"getMyTrialState","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialState"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/subscriptions/upgrade":{"post":{"tags":["subscriptions"],"summary":"Initiate a subscription upgrade","description":"Initiates the upgrade process for the organization's subscription with\nStripe-based payments.\n\nThis creates a new Stripe SetupIntent and a PENDING StripeSubscription to\ninitiate the upgrade flow. The client will use the returned intent secret to\ncomplete the payment method setup on the frontend. The PENDING StripeSubscription\ndoes not become the organization's active subscription as a result of this call\n(see the upgrade_confirmation endpoint below).\n\nThe Stripe subscription webhook handler will then finalize the upgrade once the payment method is\nconfirmed and successfully attached by Stripe (see src.routers.webhook.stripe).","operationId":"initiateSubscriptionUpgrade","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripeSubscription"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/subscriptions/upgrade-confirmation":{"post":{"tags":["subscriptions"],"summary":"Confirm subscription upgrade with Stripe","description":"Confirms the subscription upgrade process for the organization's Stripe-based subscription.\n\nCalled by the frontend after the Stripe SetupIntent process is completed, as notification to the\nbackend that the pending StripeSubscription can now be considered the active subscription for the organization.\n\nThis is a UX optimization so that the user will see the pending state immediately after completing the SetupIntent,\ninstead of having to wait for the Stripe webhook to be processed. The upgrade will still be finalized properly by\nthe webhook handler even if the call to this endpoint fails or is never made.\nThis endpoint is idempotent and returns 204 without changes when the webhook has already activated and linked this subscription.","operationId":"confirmSubscriptionUpgrade","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpgradeConfirmationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/subscriptions/cancel":{"post":{"tags":["subscriptions"],"summary":"Cancel organization Stripe subscription","description":"Cancels the organization's Stripe subscription.\n\nThis will cancel the subscription in Orb (stopping billing), downgrade the\norganization to the Community plan, and mark the subscription as stopped.","operationId":"cancelStripeSubscription","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/subscriptions/portal":{"get":{"tags":["subscriptions"],"summary":"Get billing portal URL","operationId":"getPortalUrl","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response Getportalurl"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/tasks":{"get":{"tags":["tasks"],"summary":"List tasks","description":"List the tasks available to the caller's organization, ordered by name.","operationId":"listTasks","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"regions","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Only return tasks executable in these regions. Repeat the parameter to pass several; a task matches if it runs in any of them.","title":"Regions"},"description":"Only return tasks executable in these regions. Repeat the parameter to pass several; a task matches if it runs in any of them."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size limit","default":50,"title":"Limit"},"description":"Page size limit"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Page offset","default":0,"title":"Offset"},"description":"Page offset"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LimitOffsetPage_TaskSummary_"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":false}},"/tasks/{taskName}":{"get":{"tags":["tasks"],"summary":"Get a task","description":"Get a single task by name, if it is available to the caller's org.","operationId":"getTask","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"taskName","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9_\\-\\.]+$","description":"The name of the task.","title":"Taskname"},"description":"The name of the task."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":false},"put":{"tags":["tasks"],"summary":"Create a task","description":"Create the task under this name.\n\n200: the task already exists and the request matches it; the stored task.\n201: the task was created; the stored task.\n400: the requested kind differs from the stored task.\n403: the caller is not a superuser.\n409: a task of this name exists and the request would change it; an error\n     naming each field that differs.\n422: the body does not match the variant its `type` names.\n424: Union could not be reached to verify the entity.\n503: the row was busy on every attempt; retry.","operationId":"createTask","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"taskName","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9_\\-\\.]+$","description":"The name of the task.","title":"Taskname"},"description":"The name of the task."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UnionTaskCreate"}],"discriminator":{"propertyName":"type","mapping":{"uniontask":"#/components/schemas/UnionTaskCreate"}},"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"200":{"description":"Task already exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"}}}}},"x-excluded":true},"post":{"tags":["tasks"],"summary":"Update a task","description":"Update an existing task. Null, or absent, leaves a field unchanged.\n\n200: the stored task after the update.\n400: the task is not Union-backed and the request names Union fields.\n403: the caller is not a superuser.\n404: no task of this name.\n409: a concurrent update changed a field this request was setting; an error\n     naming it and what it changed to.\n422: the body does not match the variant its `type` names.\n424: Union could not be reached to verify the entity.\n503: the row was busy on every attempt; retry.","operationId":"updateTask","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"taskName","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9_\\-\\.]+$","description":"The name of the task.","title":"Taskname"},"description":"The name of the task."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UnionTaskUpdate"}],"discriminator":{"propertyName":"type","mapping":{"uniontask":"#/components/schemas/UnionTaskUpdate"}},"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/tasks/{taskName}/runs":{"post":{"tags":["tasks"],"summary":"Run a task","description":"Record a request to run a task, and answer with it PENDING.\n\n`region` may be omitted for the organization's default; whichever it was is\nstored on the run, since the default can change afterwards.\n\nThe run is not launched here. It, and its workload row representing the intent\nto launch, are recorded together; the id is handed to the async worker, which\nsubmits the backend execution and moves that row on. The run stays PENDING\nuntil then.\n\n201: the run, PENDING.\n400: the task runs nowhere, or not in this region, or the inputs do not\n     satisfy its schema, or the organization is not set up to run in the\n     region; an error naming every problem.\n404: no task of this name the caller's organization may see — the same\n     answer a read gives, so asking to run reveals no more than reading.\n503: the run was recorded but its launch could not be dispatched; the run is\n     marked FAILED and the request may be retried.","operationId":"createTaskRun","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"taskName","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9_\\-\\.]+$","description":"The name of the task.","title":"Taskname"},"description":"The name of the task."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTaskRunPayload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRunSummary"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":false}},"/task-runs":{"get":{"tags":["task-runs"],"summary":"List task runs","description":"List task runs for the current organization, most recent first.\n\nEach run's state is derived from its backend execution, and the state filter\nmatches that derived state.","operationId":"listTaskRuns","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"taskName","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":255,"pattern":"^[a-zA-Z0-9_\\-\\.]+\\*?$"},{"type":"null"}],"description":"Only return runs of this task. Exact name, or a prefix followed by '*'.","title":"Taskname"},"description":"Only return runs of this task. Exact name, or a prefix followed by '*'."},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TaskKind"},{"type":"null"}],"description":"Only return runs of this type.","title":"Type"},"description":"Only return runs of this type."},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TaskRunState"}},{"type":"null"}],"description":"Only return runs in these states. Repeat the parameter to pass several; a run matches if it is in any of them.","title":"State"},"description":"Only return runs in these states. Repeat the parameter to pass several; a run matches if it is in any of them."},{"name":"createdAfter","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Only return runs submitted after this instant.","title":"Createdafter"},"description":"Only return runs submitted after this instant."},{"name":"taskId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taskid"}},{"name":"taskTriggerId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tasktriggerid"}},{"name":"runSource","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/RunSource"},{"type":"null"}],"title":"Runsource"}},{"name":"batchTimeFrom","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Inclusive nominal tick lower bound; excludes manual runs.","title":"Batchtimefrom"},"description":"Inclusive nominal tick lower bound; excludes manual runs."},{"name":"batchTimeTo","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Exclusive nominal tick upper bound; excludes manual runs.","title":"Batchtimeto"},"description":"Exclusive nominal tick upper bound; excludes manual runs."},{"name":"userId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}],"description":"Only return runs this user submitted or that run as this user.","title":"Userid"},"description":"Only return runs this user submitted or that run as this user."},{"name":"region","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size limit","default":50,"title":"Limit"},"description":"Page size limit"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Page offset","default":0,"title":"Offset"},"description":"Page offset"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LimitOffsetPage_TaskRunSummary_"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":false}},"/task-runs/{taskRunId}":{"get":{"tags":["task-runs"],"summary":"Get a task run","description":"Get a single task run by id, with its state projected from the execution.\n\nA succeeded run also carries what it produced, read from the backend: its\noutputs by name, so a task returning one value reads as `{\"o0\": ...}`. Null\nwhere the run produced nothing, has not succeeded, or its outputs could not\nbe read just now.\n\nThe state is synced from the backend periodically, so it can lag the run by\nup to 2 minutes: a run that has already finished may still read as `RUNNING`\nfor that long. When polling for completion, allow for this delay.\n\n404: no task run of this id the caller's organization owns — the same answer\nwhether it never existed or belongs to another organization.","operationId":"getTaskRun","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"taskRunId","in":"path","required":true,"schema":{"type":"string","description":"The id of the task run.","title":"Taskrunid"},"description":"The id of the task run."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRun"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"No task run of this id the caller's organization owns","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":false}},"/task-runs/{taskRunId}/logs":{"get":{"tags":["task-runs"],"summary":"Get task run logs","description":"Get a page of a task run's own logs.\n\nPage with `since`; a page ends with `nextSince`, null once the run has\nfinished and every line has been returned.\n\nAn empty page means nothing new has been logged yet, not that the run is\nover: keep polling while `nextSince` is non-null. Nothing here ever says\n\"give up\" — a run that never starts never logs, so what bounds the polling\nis the run's own state from `GET /task-runs/{taskRunId}`, not this endpoint.","operationId":"getTaskRunLogs","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"taskRunId","in":"path","required":true,"schema":{"type":"string","description":"The id of the task run.","title":"Taskrunid"},"description":"The id of the task run."},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?Z$"},{"type":"null"}],"description":"Only return lines logged after this instant, exclusive: the previous page's nextSince. A UTC RFC 3339 instant with up to nanosecond precision, e.g. '2026-06-04T18:01:12.680610267Z'. Omit for the first page.","title":"Since"},"description":"Only return lines logged after this instant, exclusive: the previous page's nextSince. A UTC RFC 3339 instant with up to nanosecond precision, e.g. '2026-06-04T18:01:12.680610267Z'. Omit for the first page."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRunLogsResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"No task run of this id the caller's organization owns","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"410":{"description":"The run's logs are past retention","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The log store could not return the logs","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":false}},"/task-runs/{taskRunId}/cost":{"get":{"tags":["task-runs"],"summary":"Get task run cost","description":"Get the cost accrued by a task run, in USD and in spatial units.\n\nThe cost can take up to 45 minutes after the run ends to become final. While\n`isSettling` is true the cost may still change, and a zero means nothing has\nbeen priced yet. Once `isSettling` is false the cost is final, and a zero\nmeans the run cost nothing.\n\nIf you need the final cost, poll every 10 minutes until `isSettling` is\nfalse.","operationId":"getTaskRunCost","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"taskRunId","in":"path","required":true,"schema":{"type":"string","description":"The id of the task run.","title":"Taskrunid"},"description":"The id of the task run."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRunCost"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"No task run of this id the caller's organization owns","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"502":{"description":"The billing system could not return the cost","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"The billing system is rate limiting; back off and retry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":false}},"/task-runs/{taskRunId}/cancel":{"post":{"tags":["task-runs"],"summary":"Cancel a task run","description":"Request cancellation of a task run.\n\nOnly a run the caller's organization owns can be cancelled: any other is\n404, the same answer as a run that does not exist, and nothing is touched.\nA run that has already finished is 409: there is nothing left to cancel.\n\nAccepted, not done: the run reads CANCELLING at once and CANCELLED once the\nbackend confirms. A run not yet launched is kept from starting. Safe to send\nagain while the run is CANCELLING.","operationId":"cancelTaskRun","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"taskRunId","in":"path","required":true,"schema":{"type":"string","description":"The id of the task run.","title":"Taskrunid"},"description":"The id of the task run."}],"responses":{"202":{"description":"The cancel was accepted: a run still going reads CANCELLING until the backend confirms it CANCELLED. Also returned for a repeat of a cancel still pending, which is dispatched again, and for a run with nothing to stop yet (its state reads UNKNOWN), which is left as it is","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"No task run of this id the caller's organization owns","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"The run has already finished (SUCCEEDED, FAILED, TIMED_OUT or CANCELLED), so there is nothing to cancel. Nothing is recorded. A retry of a cancel whose earlier attempt took effect gets this too, with the run reading CANCELLED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"The cancel was recorded but the run's region does not resolve, so it could not be dispatched. It is still carried out, by the execution sync's next sweep","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"The cancel was recorded but could not be dispatched. It is still carried out, by the execution sync's next sweep; sending it again dispatches it now","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":false}},"/triggers":{"post":{"tags":["triggers"],"summary":"Create Trigger","description":"Create independently on each accepted request; no idempotency key is used.","operationId":"createTrigger","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTriggerPayload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"get":{"tags":["triggers"],"summary":"List Triggers","description":"List organization triggers, optionally filtered by live execution principal.\n\nArchived triggers are excluded unless explicitly requested. The runAs filter\nmatches only live execution authority, not retained archived attribution.","operationId":"listTriggers","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"taskId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9_\\-\\.]+$"},{"type":"null"}],"title":"Taskid"}},{"name":"runAs","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9_\\-\\.]+$"},{"type":"null"}],"description":"Filter by live execution principal ID; archived attribution is not matched.","title":"Runas"},"description":"Filter by live execution principal ID; archived attribution is not matched."},{"name":"triggerKind","in":"query","required":false,"schema":{"anyOf":[{"const":"schedule","type":"string"},{"type":"null"}],"title":"Triggerkind"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"enum":["ARCHIVED","AUTO_DISABLED","PAUSED","ACTIVE"],"type":"string"},{"type":"null"}],"title":"State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size limit","default":50,"title":"Limit"},"description":"Page size limit"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Page offset","default":0,"title":"Offset"},"description":"Page offset"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LimitOffsetPage_TriggerResponse_"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/triggers/{trigger_id}":{"get":{"tags":["triggers"],"summary":"Get Trigger","description":"Archived configuration remains readable.","operationId":"getTrigger","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"trigger_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9_\\-\\.]+$","title":"Trigger Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"patch":{"tags":["triggers"],"summary":"Update Trigger","description":"Require the current version and replace supplied non-null root fields.\n\nRegion changes must be admitted by the org and declared in Task.regions.\nImplicit Tasks initially declare only their creation region; this endpoint\ndoes not widen Task availability when changing the trigger region.","operationId":"updateTrigger","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"trigger_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9_\\-\\.]+$","title":"Trigger Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTriggerPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"delete":{"tags":["triggers"],"summary":"Archive Trigger","description":"Archive configuration and execution authority, retaining Task and recipe.","operationId":"archiveTrigger","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"trigger_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9_\\-\\.]+$","title":"Trigger Id"}},{"name":"version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"description":"Current version is required for live triggers; already archived triggers are no-ops.","title":"Version"},"description":"Current version is required for live triggers; already archived triggers are no-ops."}],"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/triggers/{trigger_id}/run-now":{"post":{"tags":["triggers"],"summary":"Run Now","description":"Request a distinct immediate run for explicit bounds, even while paused.","operationId":"runTriggerNow","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"trigger_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9_\\-\\.]+$","title":"Trigger Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunTriggerNowPayload"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunTriggerNowResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/triggers/{trigger_id}/pause":{"post":{"tags":["triggers"],"summary":"Pause Trigger","description":"Pause a trigger without requiring an execution-enabled organization.","operationId":"pauseTrigger","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"trigger_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9_\\-\\.]+$","title":"Trigger Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":false}},"/triggers/{trigger_id}/resume":{"post":{"tags":["triggers"],"summary":"Resume Trigger","description":"Resume execution, only when the organization is active.","operationId":"resumeTrigger","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"trigger_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9_\\-\\.]+$","title":"Trigger Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeTriggerPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":false}},"/union-executions/{execution_id}":{"get":{"tags":["union-executions"],"summary":"Get detailed Union execution info by ID","description":"Return detailed information for a Union/Flyte workflow execution,\nincluding live inputs and outputs fetched from the Union API.","operationId":"getUnionExecutionDetails","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"execution_id","in":"path","required":true,"schema":{"type":"string","title":"Execution Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnionExecutionDetailView"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":false}},"/usage/workloads/chart":{"get":{"tags":["usage"],"summary":"Get workload usage chart data","operationId":"getWorkloadUsageChart","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"timerange","in":"query","required":false,"schema":{"$ref":"#/components/schemas/TimerangeOption","description":"The time range for the usage chart.","choices":["24h","7d","30d"],"default":"24h"},"description":"The time range for the usage chart."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ChartSlice"},"title":"Response Getworkloadusagechart"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/usage/workloads/info":{"get":{"tags":["usage"],"summary":"Get workload usage summary info","operationId":"getWorkloadUsageInfo","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"startTime","in":"query","required":false,"schema":{"type":"string","format":"date-time","title":"Starttime"}},{"name":"endTime","in":"query","required":false,"schema":{"type":"string","format":"date-time","title":"Endtime"}},{"name":"includeStatuses","in":"query","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/AppStatus"},"default":[],"title":"Includestatuses"}},{"name":"excludeStatuses","in":"query","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/AppStatus"},"default":[],"title":"Excludestatuses"}}],"responses":{"200":{"description":"Successful Response","content":{"application/jsonl":{}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/usage/workloads":{"get":{"tags":["usage"],"summary":"Get workload usage (deprecated)","operationId":"getWorkloadUsage","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"startTime","in":"query","required":false,"schema":{"type":"string","format":"date-time","title":"Starttime"}},{"name":"endTime","in":"query","required":false,"schema":{"type":"string","format":"date-time","title":"Endtime"}},{"name":"includeStatuses","in":"query","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/AppStatus"},"default":[],"title":"Includestatuses"}},{"name":"excludeStatuses","in":"query","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/AppStatus"},"default":[],"title":"Excludestatuses"}}],"responses":{"200":{"description":"Successful Response","content":{"application/jsonl":{}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/usage/history":{"get":{"tags":["usage"],"summary":"Get workload usage history","description":"Return a unified history of KubeApp workloads and Union workflow executions.","operationId":"getWorkloadHistory","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"startTime","in":"query","required":false,"schema":{"type":"string","format":"date-time","title":"Starttime"}},{"name":"endTime","in":"query","required":false,"schema":{"type":"string","format":"date-time","title":"Endtime"}},{"name":"workloadType","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/WorkloadType"},{"type":"null"}],"title":"Workloadtype"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkloadHistoryItem"},"title":"Response Getworkloadhistory"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/usage/costs":{"post":{"tags":["usage"],"summary":"Get workload cost breakdown","description":"Resolve costs for the requested KubeApp and/or RasterFlow run workloads.\n\nKubeApp and RasterFlow-run ids live in separate id spaces, so results are\nmerged into a single ``costs`` map keyed by id.","operationId":"getWorkloadCosts","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetKubeAppCostsInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkloadCostsOutput"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-excluded":true}},"/user-management/{user_id}":{"get":{"tags":["user-management","superuser"],"summary":"Get user by ID","operationId":"getUserById","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HumanPrincipal"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true},"delete":{"tags":["user-management","superuser"],"summary":"Delete a user","operationId":"deleteUser","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/user-management/by-email/{email}":{"get":{"tags":["user-management","superuser"],"summary":"Get users by email (partial match)","operationId":"getUserByEmail","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","title":"Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HumanPrincipal"},"title":"Response Getuserbyemail"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/waldo/sessions":{"get":{"tags":["Waldo"],"summary":"List Sessions","description":"The caller's newest sessions, with `has_more` when there are more than\nthe page holds.","operationId":"list_sessions_waldo_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionPage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]}],"x-excluded":true},"post":{"tags":["Waldo"],"summary":"Create Session","operationId":"create_session_waldo_sessions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSession"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSession"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]}],"x-excluded":true}},"/waldo/sessions/{session_id}/messages":{"post":{"tags":["Waldo"],"summary":"Post Message","operationId":"post_message_waldo_sessions__session_id__messages_post","security":[{"bearerToken":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostMessage"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptedMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"get":{"tags":["Waldo"],"summary":"Read Timeline","operationId":"read_timeline_waldo_sessions__session_id__messages_get","security":[{"bearerToken":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Timeline"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/waldo/sessions/{session_id}/approvals/{approval_id}":{"post":{"tags":["Waldo"],"summary":"Decide Approval","description":"Approve or deny a tool call Waldo asked about. The decision is posted\nas a user message and starts the turn that runs an approved call. 409\nonce the approval is decided or expired.","operationId":"decide_approval_waldo_sessions__session_id__approvals__approval_id__post","security":[{"bearerToken":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"approval_id","in":"path","required":true,"schema":{"type":"string","title":"Approval Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecideApproval"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptedMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/waldo/tools":{"get":{"tags":["Waldo"],"summary":"List Tools","description":"Every tool Waldo can call for this caller, with its approval standing.","operationId":"list_tools_waldo_tools_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ToolListing"},"type":"array","title":"Response List Tools Waldo Tools Get"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]}],"x-excluded":true}},"/waldo/tools/{tool_name}/grant":{"delete":{"tags":["Waldo"],"summary":"Revoke Grant","description":"Waldo asks before calling the tool again, granted or pre-approved.","operationId":"revoke_grant_waldo_tools__tool_name__grant_delete","security":[{"bearerToken":[]}],"parameters":[{"name":"tool_name","in":"path","required":true,"schema":{"type":"string","maxLength":128,"pattern":"^[a-zA-Z0-9_.-]+$","title":"Tool Name"}}],"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true},"put":{"tags":["Waldo"],"summary":"Allow Grant","description":"Waldo calls the tool without asking. The way back from a revocation\nthat does not need the model to offer the call again.","operationId":"allow_grant_waldo_tools__tool_name__grant_put","security":[{"bearerToken":[]}],"parameters":[{"name":"tool_name","in":"path","required":true,"schema":{"type":"string","maxLength":128,"pattern":"^[a-zA-Z0-9_.-]+$","title":"Tool Name"}}],"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/waldo/sessions/{session_id}/stop":{"post":{"tags":["Waldo"],"summary":"Stop Turn","description":"End the running turn as `stopped`. Nothing happens if none is running.","operationId":"stop_turn_waldo_sessions__session_id__stop_post","security":[{"bearerToken":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/StopTurn"},{"type":"null"}],"title":"Body"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/waldo/sessions/{session_id}/queries/{query_id}/cancel":{"post":{"tags":["Waldo"],"summary":"Cancel Query","description":"Cancel a query job shown in the session, mid-turn or after it.","operationId":"cancel_query_waldo_sessions__session_id__queries__query_id__cancel_post","security":[{"bearerToken":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"query_id","in":"path","required":true,"schema":{"type":"string","title":"Query Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/waldo/quota":{"get":{"tags":["Waldo"],"summary":"Read Quota","operationId":"read_quota_waldo_quota_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaReport"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]}],"x-excluded":true}},"/waldo/sessions/{session_id}":{"patch":{"tags":["Waldo"],"summary":"Update Session","operationId":"update_session_waldo_sessions__session_id__patch","security":[{"bearerToken":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSession"}}}},"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/waldo/sessions/{session_id}/close":{"post":{"tags":["Waldo"],"summary":"Close Session","description":"A closed session keeps its timeline and rejects new messages with 409.","operationId":"close_session_waldo_sessions__session_id__close_post","security":[{"bearerToken":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"204":{"description":"Successful Response"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/waldo/sessions/{session_id}/messages/{message_id}/stream":{"get":{"tags":["Waldo"],"summary":"Stream","operationId":"stream_waldo_sessions__session_id__messages__message_id__stream_get","security":[{"bearerToken":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}},{"name":"last-event-id","in":"header","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Last-Event-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/webhook/orb":{"post":{"tags":["webhook","orb"],"summary":"Orb Webhook","operationId":"orb_webhook_webhook_orb_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/webhook/stripe/subscriptions":{"post":{"tags":["webhook","stripe"],"summary":"Stripe Webhook","operationId":"stripe_webhook_webhook_stripe_subscriptions_post","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"stripe-signature","in":"header","required":true,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Stripe webhook payload signature","title":"Stripe-Signature"},"description":"Stripe webhook payload signature"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/webhook/workos/actions/user-registration":{"post":{"tags":["webhook","workos"],"summary":"Workos User Registration Action","description":"Handle a WorkOS AuthKit User Registration Action.\n\nWorkOS POSTs a signed payload at sign-up time; we verify the signature, then\nreturn a *signed* Allow/Deny verdict. Signature verification always runs and\nalways fails closed (bad signature -> 401, missing secret -> 500) regardless\nof environment. The domain restriction itself is only enforced when the\nrunning environment is in ``signup_restricted_environments`` and an allowlist\nis configured; otherwise the action is a pass-through (always Allow).","operationId":"workos_user_registration_action_webhook_workos_actions_user_registration_post","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"WorkOS-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"WorkOS Action payload signature","title":"Workos-Signature"},"description":"WorkOS Action payload signature"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-exclude-from-cli":true,"x-excluded":true}},"/workload-investigations":{"get":{"tags":["usage"],"summary":"Discover Workloads","operationId":"discoverWorkloads","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"workload_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["JUPYTER","SQL_SESSION","RUN"],"type":"string"},{"type":"null"}],"title":"Workload Type"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Name"}},{"name":"owner_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"description":"Compute workload creator ID","title":"Owner Id"},"description":"Compute workload creator ID"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/WorkloadStatus"},{"type":"null"}],"title":"Status"}},{"name":"workload_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Workload Id"}},{"name":"start_time","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Time"}},{"name":"end_time","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Time"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":100000,"minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkloadPage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/workload-investigations/{workload_id}":{"get":{"tags":["usage"],"summary":"Get Workload Details","operationId":"getWorkloadEvidenceDetails","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"workload_id","in":"path","required":true,"schema":{"type":"string","title":"Workload Id"}},{"name":"event_limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Event Limit"}},{"name":"event_offset","in":"query","required":false,"schema":{"type":"integer","maximum":100000,"minimum":0,"default":0,"title":"Event Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkloadDetails"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/workload-investigations/{workload_id}/logs":{"get":{"tags":["usage"],"summary":"Get Workload Logs","operationId":"readWorkloadLogs","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"workload_id","in":"path","required":true,"schema":{"type":"string","title":"Workload Id"}},{"name":"start_time","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Start Time"}},{"name":"end_time","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"End Time"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":30},{"type":"null"}],"title":"Cursor"}},{"name":"contains","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Contains"}},{"name":"role","in":"query","required":false,"schema":{"enum":["driver","executor"],"type":"string","default":"driver","title":"Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogEvidence"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/workload-investigations/{workload_id}/resources":{"get":{"tags":["usage"],"summary":"Get Workload Resources","operationId":"readWorkloadResources","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"workload_id","in":"path","required":true,"schema":{"type":"string","title":"Workload Id"}},{"name":"start_time","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Start Time"}},{"name":"end_time","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"End Time"}},{"name":"role","in":"query","required":false,"schema":{"enum":["aggregate","driver","executor"],"type":"string","default":"aggregate","title":"Role"}},{"name":"executor_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}],"title":"Executor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceEvidence"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/workload-investigations/{workload_id}/spark/applications":{"get":{"tags":["usage"],"summary":"Get Spark Applications","operationId":"discoverWorkloadSparkApplications","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"workload_id","in":"path","required":true,"schema":{"type":"string","title":"Workload Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveSparkEvidence"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/workload-investigations/{workload_id}/spark/evidence":{"get":{"tags":["usage"],"summary":"Get Spark Evidence","operationId":"readWorkloadSparkEvidence","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"workload_id","in":"path","required":true,"schema":{"type":"string","title":"Workload Id"}},{"name":"application_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Application Id"}},{"name":"section","in":"query","required":true,"schema":{"enum":["jobs","stages","sql","executors","stage_tasks","stage_distribution"],"type":"string","title":"Section"}},{"name":"port","in":"query","required":false,"schema":{"type":"integer","maximum":4044,"minimum":4040,"default":4040,"title":"Port"}},{"name":"stage_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Stage Id"}},{"name":"stage_attempt","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Stage Attempt"}},{"name":"execution_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Execution Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":100000,"minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveSparkEvidence"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/workload-investigations/{workload_id}/spark/history":{"get":{"tags":["usage"],"summary":"Get Retained Spark Evidence","operationId":"readRetainedWorkloadSparkEvents","security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"parameters":[{"name":"workload_id","in":"path","required":true,"schema":{"type":"string","title":"Workload Id"}},{"name":"file","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"File"}},{"name":"section","in":"query","required":false,"schema":{"enum":["overview","sql","stages","tasks","executors"],"type":"string","default":"overview","title":"Section"}},{"name":"stage_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Stage Id"}},{"name":"execution_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Execution Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Token"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/RetainedSources"},{"$ref":"#/components/schemas/RetainedEvidence"}],"title":"Response Readretainedworkloadsparkevents"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"x-excluded":true}},"/is-super-user":{"get":{"summary":"Check if current user is a superuser","operationId":"isSuperUser","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Issuperuser"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}},"/flags":{"get":{"summary":"List feature flags (debug only)","operationId":"listFeatureFlags","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Response Listfeatureflags"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"security":[{"bearerToken":[]},{"wherobotsApiKey":[]}],"x-exclude-from-cli":true,"x-excluded":true}}},"components":{"schemas":{"AcceptedMessage":{"properties":{"id":{"type":"string","title":"Id"},"assistant_id":{"type":"string","title":"Assistant Id"}},"type":"object","required":["id","assistant_id"],"title":"AcceptedMessage"},"AmazonMarketplaceCustomerDetails":{"properties":{"customer_identifier":{"type":"string","title":"Customer Identifier"},"customer_aws_account_id":{"type":"string","title":"Customer Aws Account Id"}},"type":"object","required":["customer_identifier","customer_aws_account_id"],"title":"AmazonMarketplaceCustomerDetails"},"ApiKey":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"partialApiKey":{"type":"string","title":"Partialapikey","description":"Deprecated: use `preview` instead.","deprecated":true},"preview":{"type":"string","title":"Preview","description":"Display form of the key, e.g. `abc123...wxyz`."},"name":{"type":"string","title":"Name"},"valid":{"type":"boolean","title":"Valid"},"revoked":{"type":"boolean","title":"Revoked"},"expiresAt":{"type":"string","format":"date-time","title":"Expiresat"},"createdById":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdbyid"},"createdBy":{"anyOf":[{"$ref":"#/components/schemas/OrganizationCustomer"},{"type":"null"}]},"ownedBy":{"anyOf":[{"$ref":"#/components/schemas/OrganizationCustomer"},{"type":"null"}]}},"type":"object","required":["id","createTime","updateTime","partialApiKey","preview","name","valid","revoked","expiresAt","createdById","createdBy"],"title":"ApiKey"},"AppStatus":{"type":"string","enum":["PENDING","PREPARING","PREPARE_FAILED","REQUESTED","DEPLOYING","DEPLOY_FAILED","DEPLOYED","INITIALIZING","INIT_FAILED","READY","DESTROY_REQUESTED","DESTROYING","DESTROY_FAILED","DESTROYED"],"title":"AppStatus"},"AppType":{"type":"string","enum":["JUPYTER","SQL_SESSION","RUN"],"title":"AppType"},"AuditLogEventPublic":{"properties":{"event_id":{"type":"string","title":"Event Id"},"event_time":{"type":"string","format":"date-time","title":"Event Time"},"action_name":{"type":"string","title":"Action Name"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"user_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Name"},"user_agent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Agent"},"source_ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Ip"},"resource_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Name"},"resource_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Id"},"compute_region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Compute Region"},"client_chain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Chain"},"source_client":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Client"}},"type":"object","required":["action_name"],"title":"AuditLogEventPublic"},"AwsCloudConnectionCreate":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name","description":"Display name for the cloud connection"},"awsAccountId":{"type":"string","title":"Awsaccountid","description":"The AWS account ID to connect"},"trustedAccountIds":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Trustedaccountids","description":"BYOC compute AWS accounts whose workloads may assume this connection's role"},"allowSaas":{"type":"boolean","title":"Allowsaas","description":"Whether Wherobots SaaS-hosted compute may use this connection (trusts the control-plane account)","default":true}},"type":"object","required":["name","awsAccountId"],"title":"AwsCloudConnectionCreate"},"AwsGlueForeignCatalogCreate":{"properties":{"type":{"type":"string","const":"AWS_GLUE","title":"Type","description":"Type of the foreign catalog."},"name":{"type":"string","title":"Name","description":"Name of the foreign catalog."},"region":{"type":"string","title":"Region","description":"AWS region where the Glue catalog lives."},"cloudConnectionId":{"type":"string","title":"Cloudconnectionid","description":"ID of the AWS cloud connection that grants access to the Glue catalog."},"s3Path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3Path","description":"Optional S3 path constraining which Glue tables this catalog exposes."},"accessType":{"$ref":"#/components/schemas/ForeignCatalogAccessType","description":"Whether the catalog is read-only or read-write."}},"type":"object","required":["type","name","region","cloudConnectionId","accessType"],"title":"AwsGlueForeignCatalogCreate","description":"Request model for creating an AWS Glue foreign catalog."},"AwsGlueForeignCatalogRead":{"properties":{"id":{"type":"string","title":"Id","description":"Unique external ID of the foreign catalog."},"name":{"type":"string","title":"Name","description":"Name of the foreign catalog."},"type":{"type":"string","const":"AWS_GLUE","title":"Type","description":"Type of the foreign catalog. Must be 'AWS_GLUE'."},"region":{"type":"string","title":"Region","description":"AWS region where the Glue catalog lives."},"s3Path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3Path"},"accessType":{"$ref":"#/components/schemas/ForeignCatalogAccessType"},"stackName":{"type":"string","title":"Stackname","description":"CloudFormation stack name backing this Glue catalog."},"cloudConnection":{"$ref":"#/components/schemas/CloudConnectionRead","description":"Resolved cloud connection details."}},"type":"object","required":["id","name","type","region","accessType","stackName","cloudConnection"],"title":"AwsGlueForeignCatalogRead"},"AwsGlueForeignCatalogUpdate":{"properties":{"type":{"type":"string","const":"AWS_GLUE","title":"Type","description":"Type of the foreign catalog. Must be 'AWS_GLUE'."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Updated name of the foreign catalog."}},"type":"object","required":["type"],"title":"AwsGlueForeignCatalogUpdate","description":"Request model for updating an AWS Glue foreign catalog."},"AwsMarketplaceSubscription":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"stoppedTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Stoppedtime"},"state":{"$ref":"#/components/schemas/SubscriptionState"},"customerAWSAccountId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customerawsaccountid"}},"type":"object","required":["id","createTime","updateTime","stoppedTime","state","customerAWSAccountId"],"title":"AwsMarketplaceSubscription"},"AwsMarketplaceSubscriptionRead":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"stoppedTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Stoppedtime"},"state":{"$ref":"#/components/schemas/SubscriptionState"},"awsMarketplaceSubscription":{"anyOf":[{"$ref":"#/components/schemas/AwsMarketplaceSubscription"},{"type":"null"}],"deprecated":true},"stripeSubscription":{"anyOf":[{"$ref":"#/components/schemas/StripeSubscription"},{"type":"null"}],"deprecated":true},"internalDevelopmentSubscription":{"anyOf":[{"$ref":"#/components/schemas/InternalDevelopmentSubscription"},{"type":"null"}],"deprecated":true},"type":{"type":"string","const":"awsmarketplacesubscription","title":"Type"},"customerAWSAccountId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customerawsaccountid"}},"type":"object","required":["id","createTime","updateTime","stoppedTime","state","type","customerAWSAccountId"],"title":"AwsMarketplaceSubscriptionRead","description":"AWS Marketplace subscription read model with flat type-specific fields."},"BindingAccessChecks":{"properties":{"list":{"type":"boolean","title":"List"},"get":{"type":"boolean","title":"Get"},"put":{"type":"boolean","title":"Put"},"delete":{"type":"boolean","title":"Delete"}},"type":"object","required":["list","get","put","delete"],"title":"BindingAccessChecks"},"BindingAccessResult":{"properties":{"status":{"$ref":"#/components/schemas/BindingAccessStatus"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"checks":{"$ref":"#/components/schemas/BindingAccessChecks"}},"type":"object","required":["status","checks"],"title":"BindingAccessResult"},"BindingAccessStatus":{"type":"string","enum":["OK","DENIED","FAILED"],"title":"BindingAccessStatus"},"Body_createSolutionNotebook":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Description"},"efsPath":{"type":"string","maxLength":512,"title":"Efspath"},"recommendedRuntime":{"$ref":"#/components/schemas/RuntimeId","default":"tiny"},"thumbnailImage":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Thumbnailimage"},"galleryOrder":{"type":"integer","title":"Galleryorder","default":0},"showInGallery":{"type":"boolean","title":"Showingallery","default":true}},"type":"object","required":["name","efsPath"],"title":"Body_createSolutionNotebook"},"Body_redeemCoupon":{"properties":{"code":{"type":"string","title":"Code","description":"The coupon code to redeem"},"apply":{"type":"boolean","title":"Apply","description":"Whether to apply the coupon features, or only check","default":false}},"type":"object","required":["code"],"title":"Body_redeemCoupon"},"Body_replaceSolutionNotebook":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Description"},"efsPath":{"type":"string","maxLength":512,"title":"Efspath"},"recommendedRuntime":{"$ref":"#/components/schemas/RuntimeId","default":"tiny"},"thumbnailImage":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Thumbnailimage"},"galleryOrder":{"type":"integer","title":"Galleryorder","default":0},"showInGallery":{"type":"boolean","title":"Showingallery","default":true}},"type":"object","required":["name","efsPath"],"title":"Body_replaceSolutionNotebook"},"Body_updateFeatureOverride":{"properties":{"feature":{"$ref":"#/components/schemas/WherobotsCloudFeature"},"access":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Access"}},"type":"object","required":["feature"],"title":"Body_updateFeatureOverride"},"Catalog":{"properties":{"id":{"type":"string","title":"Id","description":"Unique identifier for the catalog."},"name":{"type":"string","title":"Name","description":"The user-friendly name of the catalog."},"type":{"$ref":"#/components/schemas/CatalogType","description":"The type of the catalog."}},"type":"object","required":["id","name","type"],"title":"Catalog"},"CatalogType":{"type":"string","enum":["MANAGED","FOREIGN_DATABRICKS","FOREIGN_AWS_GLUE","FOREIGN_AWS_S3_TABLES"],"title":"CatalogType"},"CftAccessType":{"type":"string","enum":["read-only","read-write"],"title":"CftAccessType","description":"Access level requested for an S3 binding stack (API-facing values)."},"ChartSlice":{"properties":{"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"},"usage":{"additionalProperties":{"$ref":"#/components/schemas/UsageSlice"},"type":"object","title":"Usage"}},"type":"object","required":["start","end","usage"],"title":"ChartSlice"},"ClientCredIssuanceRequest":{"properties":{"grant_type":{"type":"string","const":"client_credentials","title":"Grant Type"},"scope":{"type":"string","title":"Scope"},"client_id":{"type":"string","title":"Client Id"},"client_secret":{"type":"string","format":"password","title":"Client Secret","writeOnly":true},"expires_in":{"type":"integer","minimum":0.0,"title":"Expires In","default":0}},"type":"object","required":["grant_type","scope","client_id","client_secret"],"title":"ClientCredIssuanceRequest"},"CloudConnectionBinding":{"properties":{"kind":{"type":"string","enum":["storage_integration","glue_catalog","s3tables_catalog"],"title":"Kind"},"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["kind","id","name"],"title":"CloudConnectionBinding","description":"A resource that references (is \"bound\" to) a cloud connection.\n\nThe binding kinds live in different databases (storage integrations in\napi-db, Glue and S3 Tables catalogs in catalog-db), so this DTO carries\nonly the minimal cross-db-friendly shape: kind, id, and display name."},"CloudConnectionManagedBy":{"type":"string","enum":["CLOUDFORMATION"],"title":"CloudConnectionManagedBy"},"CloudConnectionRead":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"cloudProvider":{"$ref":"#/components/schemas/CloudProvider"},"managedBy":{"anyOf":[{"$ref":"#/components/schemas/CloudConnectionManagedBy"},{"type":"null"}]},"roleArn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rolearn"},"awsAccountId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Awsaccountid"},"trustedAccountIds":{"items":{"type":"string"},"type":"array","title":"Trustedaccountids"},"allowSaas":{"type":"boolean","title":"Allowsaas","default":true},"stackName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stackname"},"createdAt":{"type":"string","format":"date-time","title":"Createdat"},"bindings":{"anyOf":[{"items":{"$ref":"#/components/schemas/CloudConnectionBinding"},"type":"array"},{"type":"null"}],"title":"Bindings"}},"type":"object","required":["id","name","cloudProvider","managedBy","createdAt"],"title":"CloudConnectionRead"},"CloudConnectionVerifyRequest":{"properties":{"binding":{"anyOf":[{"$ref":"#/components/schemas/VerifyBindingPayload"},{"type":"null"}]}},"type":"object","title":"CloudConnectionVerifyRequest"},"CloudConnectionVerifyResponse":{"properties":{"roleAssumption":{"$ref":"#/components/schemas/RoleAssumptionResult"},"bindingAccess":{"anyOf":[{"$ref":"#/components/schemas/BindingAccessResult"},{"type":"null"}]}},"type":"object","required":["roleAssumption","bindingAccess"],"title":"CloudConnectionVerifyResponse"},"CloudProvider":{"type":"string","enum":["AWS"],"title":"CloudProvider"},"ComputeClusterAvailability":{"type":"string","enum":["AVAILABLE","DEGRADED","UNAVAILABLE","DISABLED"],"title":"ComputeClusterAvailability"},"ComputeRegion":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"name":{"type":"string","title":"Name"},"cloud":{"$ref":"#/components/schemas/Provider"},"region":{"type":"string","title":"Region"},"endpoint":{"type":"string","title":"Endpoint"},"ownedById":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ownedbyid"}},"type":"object","required":["id","createTime","updateTime","name","cloud","region","endpoint"],"title":"ComputeRegion"},"ComputeStatus":{"type":"string","enum":["full","zero_compute"],"title":"ComputeStatus","description":"Two-tier entitlement / zero-compute state (see WS2/WS3).\n\nFULL         - ``\"full\"``          compute entitlement is intact.\nZERO_COMPUTE - ``\"zero_compute\"``  compute is withdrawn (trial expired or\n                                   cancelled without converting).\n\nThe full WS2/WS3 entitlement semantics land with WBC-766; here we expose a\nconservative two-tier value derived from the trial status so downstream\nconsumers have the field available."},"Coupon":{"properties":{"plans":{"items":{"$ref":"#/components/schemas/Plan"},"type":"array","uniqueItems":true,"title":"Plans","description":"The plans this coupon can be applied to"},"features":{"items":{"$ref":"#/components/schemas/WherobotsCloudFeature"},"type":"array","uniqueItems":true,"title":"Features","description":"The features enabled by this coupon"},"quotas":{"additionalProperties":{"type":"integer"},"propertyNames":{"$ref":"#/components/schemas/QuotaType"},"type":"object","title":"Quotas","description":"The quotas granted by this coupon"}},"type":"object","required":["plans","features","quotas"],"title":"Coupon"},"Coverage":{"properties":{"requested_start":{"type":"string","format":"date-time","title":"Requested Start"},"requested_end":{"type":"string","format":"date-time","title":"Requested End"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"available_start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Available Start"},"available_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Available End"}},"type":"object","required":["requested_start","requested_end","observed_at"],"title":"Coverage"},"CreateApiKeyRequest":{"properties":{"name":{"type":"string","maxLength":50,"title":"Name"},"expiresAt":{"type":"string","format":"date-time","title":"Expiresat"},"ownedById":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ownedbyid"}},"type":"object","required":["name","expiresAt"],"title":"CreateApiKeyRequest"},"CreateApiKeyResponse":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"partialApiKey":{"type":"string","title":"Partialapikey","description":"Deprecated: use `preview` instead.","deprecated":true},"preview":{"type":"string","title":"Preview","description":"Display form of the key, e.g. `abc123...wxyz`."},"name":{"type":"string","title":"Name"},"valid":{"type":"boolean","title":"Valid"},"revoked":{"type":"boolean","title":"Revoked"},"expiresAt":{"type":"string","format":"date-time","title":"Expiresat"},"createdById":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdbyid"},"createdBy":{"anyOf":[{"$ref":"#/components/schemas/OrganizationCustomer"},{"type":"null"}]},"ownedBy":{"anyOf":[{"$ref":"#/components/schemas/OrganizationCustomer"},{"type":"null"}]},"key":{"type":"string","title":"Key"}},"type":"object","required":["id","createTime","updateTime","partialApiKey","preview","name","valid","revoked","expiresAt","createdById","createdBy","key"],"title":"CreateApiKeyResponse"},"CreateCatalogRequest":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the catalog."},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location","description":"The S3 location for the catalog. If empty, a default location will be created in managed storage."},"organizationId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organizationid","description":"The organization ID. If not provided, uses the current user's organization."}},"type":"object","required":["name"],"title":"CreateCatalogRequest"},"CreateRunPayload-Input":{"properties":{"runtime":{"anyOf":[{"$ref":"#/components/schemas/RuntimeId"},{"type":"null"}]},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"timeoutSeconds":{"type":"integer","title":"Timeoutseconds","default":3600},"environment":{"$ref":"#/components/schemas/RunEnvironment-Input","default":{"sparkConfigs":{},"dependencies":[]}},"name":{"type":"string","maxLength":255,"minLength":8,"pattern":"^[a-zA-Z0-9_\\-\\.]+$","title":"Name"},"runPython":{"anyOf":[{"$ref":"#/components/schemas/RunPythonPayload"},{"type":"null"}]},"runJar":{"anyOf":[{"$ref":"#/components/schemas/RunJarPayload"},{"type":"null"}]}},"type":"object","required":["name"],"title":"CreateRunPayload"},"CreateRunPayload-Output":{"properties":{"runtime":{"anyOf":[{"$ref":"#/components/schemas/RuntimeId"},{"type":"null"}]},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"timeoutSeconds":{"type":"integer","title":"Timeoutseconds","default":3600},"environment":{"$ref":"#/components/schemas/RunEnvironment-Output","default":{"sparkConfigs":{},"dependencies":[]}},"name":{"type":"string","maxLength":255,"minLength":8,"pattern":"^[a-zA-Z0-9_\\-\\.]+$","title":"Name"},"runPython":{"anyOf":[{"$ref":"#/components/schemas/RunPythonPayload"},{"type":"null"}]},"runJar":{"anyOf":[{"$ref":"#/components/schemas/RunJarPayload"},{"type":"null"}]}},"type":"object","required":["name"],"title":"CreateRunPayload"},"CreateSession":{"properties":{"id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","title":"Id"}},"type":"object","required":["id"],"title":"CreateSession"},"CreateStorageIntegrationAPIPayload":{"properties":{"name":{"type":"string","maxLength":50,"pattern":"[A-Za-z]+","title":"Name"},"path":{"type":"string","maxLength":512,"minLength":6,"pattern":"^s3:\\/\\/([a-zA-Z0-9\\-_]{3,63})(?:\\/?|\\/([a-zA-Z0-9!_.*'()/&=-]+))?$","title":"Path"},"roleArn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rolearn"},"cloudConnectionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cloudconnectionid"},"accessType":{"$ref":"#/components/schemas/StorageIntegrationAccessType"},"trustedAccountIds":{"items":{"type":"string"},"type":"array","title":"Trustedaccountids"}},"type":"object","required":["name","path","accessType"],"title":"CreateStorageIntegrationAPIPayload","description":"Creation payload; the DB access-type column remains nullable for legacy rows."},"CreateTaskRunPayload":{"properties":{"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"inputs":{"additionalProperties":true,"type":"object","title":"Inputs"},"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"}},"additionalProperties":false,"type":"object","title":"CreateTaskRunPayload","description":"``inputs`` must match the task's ``inputSchema`` from ``GET /tasks/{taskName}``.\nThe task's ``examples`` show sample ``inputs`` to start from.\n\ne.g., for ``POST /tasks/predict_mosaic_geometries_recipe/runs``:\n{\n  \"region\": \"aws-us-west-2\",\n  \"inputs\": {\n    \"aoi_uri\": \"s3://wherobots-examples/rasterflow/aois/collegepark.parquet\",\n    \"start\": \"2023-01-01T00:00:00Z\",\n    \"end\": \"2024-01-01T00:00:00Z\",\n    \"model_recipe\": \"sam3-text-geometry\",\n    \"text_prompt\": [\"roofs\"],\n    \"confidence_threshold\": 0.3,\n    \"target_crs\": \"EPSG:3857\"\n  },\n  \"name\": \"College Park roofs, 2023\"\n}"},"CreateTriggerPayload":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"task":{"$ref":"#/components/schemas/TriggerTaskSelection"},"triggerInputs":{"additionalProperties":true,"type":"object","title":"Triggerinputs"},"region":{"type":"string","minLength":1,"title":"Region"},"triggerKind":{"type":"string","const":"schedule","title":"Triggerkind"},"triggerConfig":{"anyOf":[{"$ref":"#/components/schemas/IntervalConfig"},{"$ref":"#/components/schemas/CronConfig"}],"title":"Triggerconfig"},"runAs":{"anyOf":[{"type":"string","maxLength":255,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-\\.]+$"},{"type":"null"}],"title":"Runas"},"notificationEmails":{"items":{"type":"string","format":"email"},"type":"array","title":"Notificationemails"},"paused":{"type":"boolean","title":"Paused","default":false}},"additionalProperties":false,"type":"object","required":["name","task","region","triggerKind","triggerConfig"],"title":"CreateTriggerPayload","description":"Each accepted creation produces a new trigger, without replay deduplication."},"CronConfig":{"properties":{"cronExpression":{"type":"string","maxLength":1024,"minLength":1,"title":"Cronexpression"},"timezone":{"type":"string","minLength":1,"title":"Timezone"}},"additionalProperties":false,"type":"object","required":["cronExpression","timezone"],"title":"CronConfig","description":"A five-field calendar expression interpreted by Temporal in an IANA zone."},"CursorPage__T_Customized_AuditLogEventPublic_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AuditLogEventPublic"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"current_page":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Page","description":"Cursor to refetch the current page"},"current_page_backwards":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Page Backwards","description":"Cursor to refetch the current page starting from the last item"},"previous_page":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Previous Page","description":"Cursor for the previous page"},"next_page":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Page","description":"Cursor for the next page"}},"type":"object","required":["items","total"],"title":"CursorPage[~T]Customized[AuditLogEventPublic]"},"CursorPage__T_Customized_RunView_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/RunView"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"current_page":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Page","description":"Cursor to refetch the current page"},"current_page_backwards":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Page Backwards","description":"Cursor to refetch the current page starting from the last item"},"previous_page":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Previous Page","description":"Cursor for the previous page"},"next_page":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Page","description":"Cursor for the next page"}},"type":"object","required":["items","total"],"title":"CursorPage[~T]Customized[RunView]"},"Customer":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"organizationId":{"type":"string","title":"Organizationid"},"roles":{"items":{"$ref":"#/components/schemas/Role"},"type":"array","title":"Roles"},"policies":{"items":{"$ref":"#/components/schemas/Policy"},"type":"array","title":"Policies"},"deletedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deletedat"}},"type":"object","required":["id","createTime","updateTime","organizationId","roles","policies"],"title":"Customer"},"DataFormat":{"type":"string","enum":["NUMBER","PERCENTAGE","BYTES","CURRENCY"],"title":"DataFormat"},"DataValue":{"properties":{"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"timestamp":{"type":"integer","title":"Timestamp"}},"type":"object","required":["value","timestamp"],"title":"DataValue"},"DecideApproval":{"properties":{"id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","title":"Id"},"decision":{"type":"string","enum":["once","always","deny"],"title":"Decision"}},"type":"object","required":["id","decision"],"title":"DecideApproval","description":"`id` is the client's id for the user message the decision posts."},"DeltaForeignCatalogRead":{"properties":{"id":{"type":"string","title":"Id","description":"Unique external ID of the foreign catalog."},"name":{"type":"string","title":"Name","description":"Name of the foreign catalog."},"serverUrl":{"type":"string","title":"Serverurl","description":"URL of the foreign catalog server."},"type":{"type":"string","const":"UNITY_DELTA","title":"Type","description":"Type of the foreign catalog. Must be 'UNITY_DELTA'."}},"type":"object","required":["id","name","serverUrl","type"],"title":"DeltaForeignCatalogRead"},"DependantLibrary":{"properties":{"sourceType":{"$ref":"#/components/schemas/SourceType"},"fileType":{"anyOf":[{"$ref":"#/components/schemas/FileType"},{"type":"null"}]},"filePath":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filepath"},"libraryName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Libraryname"},"libraryVersion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Libraryversion"}},"type":"object","required":["sourceType"],"title":"DependantLibrary"},"DependencyFileType":{"type":"string","enum":["JAR","PYTHON_WHEEL","ZIP","OTHER"],"title":"DependencyFileType","description":"Enum for the file type of dependency"},"DependencySourceType":{"type":"string","enum":["PYPI","FILE"],"title":"DependencySourceType","description":"Enum for the source type of dependency"},"Directory":{"properties":{"name":{"type":"string","title":"Name"},"path":{"type":"string","title":"Path"},"mutateProtected":{"type":"boolean","title":"Mutateprotected","default":false},"uploadProtected":{"type":"boolean","title":"Uploadprotected","default":false},"files":{"items":{"$ref":"#/components/schemas/FileEntry"},"type":"array","title":"Files","default":[]}},"type":"object","required":["name","path"],"title":"Directory"},"DirectoryListingResult":{"properties":{"items":{"items":{"$ref":"#/components/schemas/FileEntry"},"type":"array","title":"Items"},"path":{"type":"string","title":"Path"},"name":{"type":"string","title":"Name"},"mutate_protected":{"type":"boolean","title":"Mutate Protected","default":false},"upload_protected":{"type":"boolean","title":"Upload Protected","default":false},"current_page":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Page"},"next_page":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Page"}},"type":"object","required":["items","path","name"],"title":"DirectoryListingResult","description":"Result of a directory listing operation."},"Effect":{"type":"string","enum":["ALLOW","DENY"],"title":"Effect"},"EnsureHumanPrincipalInput":{"properties":{"workos_organization_id":{"type":"string","title":"Workos Organization Id"}},"type":"object","required":["workos_organization_id"],"title":"EnsureHumanPrincipalInput"},"EnvironmentOverridePreset":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"name":{"type":"string","title":"Name"},"driverDiskSize":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Driverdisksize"},"executorDiskSize":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Executordisksize"},"sparkConfiguration":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Sparkconfiguration"},"createdBy":{"anyOf":[{"$ref":"#/components/schemas/OrganizationCustomer"},{"type":"null"}]},"protected":{"type":"boolean","title":"Protected","default":false}},"type":"object","required":["id","createTime","updateTime","name","sparkConfiguration","createdBy"],"title":"EnvironmentOverridePreset"},"EnvironmentOverridePresetInput":{"properties":{"name":{"type":"string","maxLength":50,"minLength":1,"title":"Name"},"driverDiskSize":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Driverdisksize"},"executorDiskSize":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Executordisksize"},"sparkConfiguration":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Sparkconfiguration"}},"type":"object","required":["name"],"title":"EnvironmentOverridePresetInput"},"EnvironmentPreset":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"name":{"type":"string","title":"Name"},"version":{"type":"string","title":"Version"},"sparkConfiguration":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Sparkconfiguration"},"dependencies":{"items":{"$ref":"#/components/schemas/DependantLibrary"},"type":"array","title":"Dependencies"},"createdBy":{"anyOf":[{"$ref":"#/components/schemas/OrganizationCustomer"},{"type":"null"}]},"protected":{"type":"boolean","title":"Protected","default":false}},"type":"object","required":["id","createTime","updateTime","name","version","sparkConfiguration","dependencies","createdBy"],"title":"EnvironmentPreset"},"EnvironmentPresetInput":{"properties":{"name":{"type":"string","maxLength":50,"minLength":1,"title":"Name"},"version":{"type":"string","title":"Version"},"sparkConfiguration":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Sparkconfiguration"},"dependencies":{"items":{"$ref":"#/components/schemas/DependantLibrary"},"type":"array","title":"Dependencies","default":[]}},"type":"object","required":["name","version"],"title":"EnvironmentPresetInput"},"ErrorBody":{"properties":{"errors":{"items":{"$ref":"#/components/schemas/ErrorInfo"},"type":"array","title":"Errors","description":"A list of errors that occurred"},"requestId":{"type":"string","title":"Requestid","description":"A unique identifier for the request that caused the error"}},"type":"object","required":["errors","requestId"],"title":"ErrorBody"},"ErrorClass":{"type":"string","enum":["BAD_REQUEST_ERROR","CONFLICT_ERROR","INVALID_INPUT_ERROR","INTERNAL_SERVER_ERROR","UNAUTHORIZED_ERROR","INSUFFICIENT_PERMISSIONS_ERROR","THIRD_PARTY_PERMISSIONS_ERROR","NOT_FOUND_ERROR","INSUFFICIENT_QUOTA_ERROR","REQUEST_ENTITY_TOO_LARGE","FOREIGN_CATALOG_CONNECTION_FAILED","RATE_LIMIT_ERROR","RESOURCE_BUSY","TIMEOUT_ERROR","ACCOUNT_NOT_PROVISIONED","BAD_GATEWAY_ERROR","GATEWAY_TIMEOUT_ERROR","NOT_IMPLEMENTED_ERROR","GONE_ERROR"],"title":"ErrorClass"},"ErrorInfo":{"properties":{"code":{"$ref":"#/components/schemas/ErrorClass","description":"The error code"},"message":{"type":"string","title":"Message","description":"A human-readable message describing the error"},"details":{"type":"string","title":"Details","description":"Details about the error"},"path":{"type":"string","title":"Path","description":"The path to the field that caused the error"},"suggestion":{"type":"string","title":"Suggestion","description":"Suggested action to resolve the error","default":"Contact us at support@wherobots.com to get help with resolving your error."},"documentation_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Documentation Url","description":"URL to related documentation"},"field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Field","description":"The field that caused the error if applicable"}},"type":"object","required":["code","message","details","path"],"title":"ErrorInfo"},"EventSource":{"properties":{"file":{"type":"string","title":"File"},"size_bytes":{"type":"integer","title":"Size Bytes"},"modified_at":{"type":"string","format":"date-time","title":"Modified At"}},"type":"object","required":["file","size_bytes","modified_at"],"title":"EventSource"},"ExchangeTokenRequest":{"properties":{"scope":{"type":"string","title":"Scope"},"grant_type":{"type":"string","const":"refresh_token","title":"Grant Type"},"refresh_token":{"type":"string","format":"password","title":"Refresh Token","writeOnly":true}},"type":"object","required":["scope","grant_type","refresh_token"],"title":"ExchangeTokenRequest"},"ExplorerUICatalog":{"properties":{"id":{"type":"integer","title":"Id","description":"Unique identifier for the catalog."},"extId":{"type":"string","title":"Extid","description":"External identifier for the catalog."},"name":{"type":"string","title":"Name","description":"Name of the catalog."},"location":{"type":"string","title":"Location","description":"The cloud storage URL of the catalog."},"databases":{"items":{"$ref":"#/components/schemas/ExplorerUIDatabase"},"type":"array","title":"Databases","description":"List of databases."}},"type":"object","required":["id","extId","name","location"],"title":"ExplorerUICatalog"},"ExplorerUIDatabase":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the database."},"location":{"type":"string","title":"Location","description":"The location of the database.","default":""},"tables":{"items":{"$ref":"#/components/schemas/ExplorerUITable"},"type":"array","title":"Tables","description":"List of tables in the database."}},"type":"object","required":["name"],"title":"ExplorerUIDatabase"},"ExplorerUITable":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the table."},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location","description":"The location of the table."}},"type":"object","required":["name"],"title":"ExplorerUITable"},"FailureClass":{"type":"string","enum":["QUOTA_REJECTED","CONFIG_REJECTED","USER_CODE","PLATFORM","TIMEOUT"],"title":"FailureClass","description":"Terminal dispatch and execution failure categories."},"FeatureEnabledState":{"type":"string","enum":["enabled_by_plan","enabled_by_override","disabled"],"title":"FeatureEnabledState"},"FileDependency-Input":{"properties":{"sourceType":{"$ref":"#/components/schemas/DependencySourceType","default":"FILE"},"filePath":{"type":"string","pattern":"\\.(jar|whl|zip|json)$","title":"Filepath"}},"type":"object","required":["filePath"],"title":"FileDependency","description":"Model for the dependency of a run"},"FileDependency-Output":{"properties":{"sourceType":{"$ref":"#/components/schemas/DependencySourceType","default":"FILE"},"filePath":{"type":"string","pattern":"\\.(jar|whl|zip|json)$","title":"Filepath"},"fileType":{"$ref":"#/components/schemas/DependencyFileType","description":"Get the type of the file","readOnly":true}},"type":"object","required":["filePath","fileType"],"title":"FileDependency","description":"Model for the dependency of a run"},"FileEntry":{"properties":{"name":{"type":"string","title":"Name"},"path":{"type":"string","title":"Path"},"type":{"$ref":"#/components/schemas/FileEntryType"},"lastModified":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Lastmodified"},"size":{"type":"integer","title":"Size","default":0},"protected":{"type":"boolean","title":"Protected","default":false}},"type":"object","required":["name","path","type"],"title":"FileEntry"},"FileEntryType":{"type":"string","enum":["FILE","FOLDER"],"title":"FileEntryType"},"FileStore":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"bucketName":{"type":"string","title":"Bucketname"}},"type":"object","required":["id","createTime","updateTime","bucketName"],"title":"FileStore"},"FileType":{"type":"string","enum":["JAR","PYTHON_WHEEL","ZIP","OTHER"],"title":"FileType"},"ForeignCatalogAccessType":{"type":"string","enum":["READ","READ_WRITE"],"title":"ForeignCatalogAccessType","description":"Enum for foreign catalog access modes (e.g. read-only vs. read-write)."},"GetCatalogHierarchyResponse":{"properties":{"catalogs":{"items":{"$ref":"#/components/schemas/ExplorerUICatalog"},"type":"array","title":"Catalogs"}},"type":"object","required":["catalogs"],"title":"GetCatalogHierarchyResponse"},"GetKubeAppCostsInput":{"properties":{"kubeAppIds":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Kubeappids","description":"A list of Kubernetes App IDs. Maximum 100 items allowed."},"rasterflowRunIds":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Rasterflowrunids","description":"A list of RasterFlow (Union) run execution IDs. Maximum 100 items allowed."}},"type":"object","title":"GetKubeAppCostsInput"},"GpuType":{"type":"string","enum":["NVIDIA A10G"],"title":"GpuType"},"HumanPrincipal":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"organizationId":{"type":"string","title":"Organizationid"},"roles":{"items":{"$ref":"#/components/schemas/Role"},"type":"array","title":"Roles"},"policies":{"items":{"$ref":"#/components/schemas/Policy"},"type":"array","title":"Policies"},"deletedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deletedat"},"email":{"type":"string","title":"Email"}},"type":"object","required":["id","createTime","updateTime","organizationId","roles","policies","email"],"title":"HumanPrincipal"},"IcebergForeignCatalogRead":{"properties":{"id":{"type":"string","title":"Id","description":"Unique external ID of the foreign catalog."},"name":{"type":"string","title":"Name","description":"Name of the foreign catalog."},"serverUrl":{"type":"string","title":"Serverurl","description":"URL of the foreign catalog server."},"type":{"type":"string","const":"UNITY_ICEBERG","title":"Type","description":"Type of the foreign catalog. Must be 'UNITY_DELTA'."},"oauthClientId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Oauthclientid","description":"OAuth client ID."}},"type":"object","required":["id","name","serverUrl","type"],"title":"IcebergForeignCatalogRead"},"IcebergType":{"properties":{},"type":"object","title":"IcebergType","description":"Base type for all Iceberg Types.\n\nExample:\n    >>> str(IcebergType())\n    'IcebergType()'\n    >>> repr(IcebergType())\n    'IcebergType()'"},"IngestCredentials":{"properties":{"accessKeyId":{"type":"string","title":"Accesskeyid"},"secretAccessKey":{"type":"string","title":"Secretaccesskey"},"sessionToken":{"type":"string","title":"Sessiontoken"},"expiration":{"type":"string","format":"date-time","title":"Expiration"}},"type":"object","required":["accessKeyId","secretAccessKey","sessionToken","expiration"],"title":"IngestCredentials"},"InstanceDetailsHint":{"properties":{"gpu":{"type":"integer","title":"Gpu","default":0},"gpu_type":{"anyOf":[{"$ref":"#/components/schemas/GpuType"},{"type":"null"}]},"gpu_vram":{"type":"integer","title":"Gpu Vram","default":0}},"type":"object","title":"InstanceDetailsHint"},"InstantMetric":{"properties":{"data":{"$ref":"#/components/schemas/DataValue"},"format":{"$ref":"#/components/schemas/DataFormat"}},"type":"object","required":["data","format"],"title":"InstantMetric"},"IntHint":{"properties":{"hint":{"type":"integer","title":"Hint"},"min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max"},"description":{"type":"string","title":"Description"}},"type":"object","required":["hint","description"],"title":"IntHint"},"InternalDevelopmentSubscription":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"stoppedTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Stoppedtime"},"state":{"$ref":"#/components/schemas/SubscriptionState"}},"type":"object","required":["id","createTime","updateTime","stoppedTime","state"],"title":"InternalDevelopmentSubscription"},"InternalDevelopmentSubscriptionRead":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"stoppedTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Stoppedtime"},"state":{"$ref":"#/components/schemas/SubscriptionState"},"awsMarketplaceSubscription":{"anyOf":[{"$ref":"#/components/schemas/AwsMarketplaceSubscription"},{"type":"null"}],"deprecated":true},"stripeSubscription":{"anyOf":[{"$ref":"#/components/schemas/StripeSubscription"},{"type":"null"}],"deprecated":true},"internalDevelopmentSubscription":{"anyOf":[{"$ref":"#/components/schemas/InternalDevelopmentSubscription"},{"type":"null"}],"deprecated":true},"type":{"type":"string","const":"internaldevelopmentsubscription","title":"Type"}},"type":"object","required":["id","createTime","updateTime","stoppedTime","state","type"],"title":"InternalDevelopmentSubscriptionRead","description":"Internal development subscription read model."},"IntervalConfig":{"properties":{"intervalMinutes":{"type":"integer","maximum":525600.0,"exclusiveMinimum":0.0,"title":"Intervalminutes"},"startTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starttime"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"}},"additionalProperties":false,"type":"object","required":["intervalMinutes"],"title":"IntervalConfig","description":"Fixed elapsed durations: subdaily has no startTime; daily+ requires one."},"Invitation":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"},"state":{"type":"string","enum":["pending","expired"],"title":"State","default":"pending"},"expiresAt":{"type":"string","format":"date-time","title":"Expiresat"},"createdAt":{"type":"string","format":"date-time","title":"Createdat"}},"type":"object","required":["id","email","expiresAt","createdAt"],"title":"Invitation"},"JarScriptDefinition":{"properties":{"scriptKind":{"type":"string","const":"jar","title":"Scriptkind"},"uri":{"type":"string","pattern":"^s3://[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]/[^\\s?#\\x00]+$","title":"Uri"},"mainClass":{"anyOf":[{"type":"string","pattern":"^[^\\s\\x00]+$"},{"type":"null"}],"title":"Mainclass"}},"additionalProperties":false,"type":"object","required":["scriptKind","uri"],"title":"JarScriptDefinition","description":"A JAR entrypoint and its optional main class."},"JsonValue":{},"JupyterAPIPayload":{"properties":{"runtimeId":{"anyOf":[{"$ref":"#/components/schemas/RuntimeId"},{"type":"null"}]},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"environmentPresetId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environmentpresetid"},"environmentOverridePresetId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environmentoverridepresetid"},"idleTimeoutMinutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Idletimeoutminutes"},"name":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Name"}},"type":"object","title":"JupyterAPIPayload"},"JupyterAppMeta":{"properties":{"jupyter_url":{"type":"string","title":"Jupyter Url","default":""},"spark_ui_url":{"type":"string","title":"Spark Ui Url","default":""},"spark_eventlogs_url":{"type":"string","title":"Spark Eventlogs Url","default":""},"resolved_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolved Version"},"deepLinkPrefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deeplinkprefix"},"s3_mount_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3 Mount Mode"}},"type":"object","title":"JupyterAppMeta","description":"Jupyter-specific metadata fields"},"JupyterConfigHint":{"properties":{"diskSizeGB":{"$ref":"#/components/schemas/IntHint"},"versions":{"$ref":"#/components/schemas/VersionHint"},"regions":{"$ref":"#/components/schemas/RegionsHint"},"runtimes":{"$ref":"#/components/schemas/RuntimesHint"},"runtimeTags":{"$ref":"#/components/schemas/RuntimeTagsHint"},"idleTimeoutMinutes":{"$ref":"#/components/schemas/IntHint"}},"type":"object","required":["diskSizeGB","versions","regions","runtimes","runtimeTags","idleTimeoutMinutes"],"title":"JupyterConfigHint"},"JupyterKubeApp":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"instanceId":{"type":"string","title":"Instanceid"},"appType":{"$ref":"#/components/schemas/AppType"},"status":{"$ref":"#/components/schemas/AppStatus"},"createdById":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdbyid"},"apiPayload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Apipayload"},"appMeta":{"anyOf":[{"$ref":"#/components/schemas/JupyterAppMeta"},{"type":"null"}]},"events":{"items":{"$ref":"#/components/schemas/KubeAppEvent"},"type":"array","title":"Events","default":[]},"cpuUsage":{"type":"integer","title":"Cpuusage"},"regionName":{"type":"string","title":"Regionname"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"Return the latest trace info that is valuable for troubleshooting","readOnly":true}},"type":"object","required":["id","createTime","updateTime","instanceId","appType","status","createdById","cpuUsage","regionName","message"],"title":"JupyterKubeApp"},"JupyterListModel":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"instanceId":{"type":"string","title":"Instanceid"},"status":{"$ref":"#/components/schemas/AppStatus"},"createdById":{"type":"string","title":"Createdbyid"},"apiPayload":{"anyOf":[{"$ref":"#/components/schemas/JupyterAPIPayload"},{"type":"null"}]},"appMeta":{"anyOf":[{"$ref":"#/components/schemas/JupyterAppMeta"},{"type":"null"}]},"expiresAt":{"type":"string","format":"date-time","title":"Expiresat"},"events":{"items":{"$ref":"#/components/schemas/JupyterListModelEvent"},"type":"array","title":"Events","default":[]},"regionName":{"type":"string","title":"Regionname"}},"type":"object","required":["id","createTime","updateTime","instanceId","status","createdById","expiresAt","regionName"],"title":"JupyterListModel"},"JupyterListModelEvent":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"code":{"type":"string","title":"Code"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["id","createTime","updateTime","code"],"title":"JupyterListModelEvent"},"KubeAppCreationMeta":{"properties":{"use_v2_workflow":{"type":"boolean","title":"Use V2 Workflow","default":false},"user_files_storage_usage_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Files Storage Usage Mode"}},"type":"object","title":"KubeAppCreationMeta","description":"``event_meta`` shape for ``EventCode.APP_START_CREATION``.\n\nCaptures decisions pinned at kube_app creation time so later steps can\nconsult them later without re-deriving.\n\n``use_v2_workflow`` is the v2 dispatcher marker — set to ``True`` when the\nkube_app runs the unified ``KubeAppWorkflow`` (ENGP-336 Stream E); its\nteardown is deferred to the marker-cleanup project.\n\n``user_files_storage_usage_mode`` is the personal-files mount mode resolved\nonce at creation, so EFS provisioning, S3 Files provisioning and helm\nrendering all read one answer and cannot disagree. ``None`` on apps created\nbefore it shipped, which read as the pre-feature default (``no_mount``)."},"KubeAppEvent":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"eventMeta":{"anyOf":[{"$ref":"#/components/schemas/RunEventMeta"},{"$ref":"#/components/schemas/KubeAppCreationMeta"},{"$ref":"#/components/schemas/NodeSchedulingMeta"},{"type":"null"}],"title":"Eventmeta"}},"type":"object","required":["id","createTime","updateTime"],"title":"KubeAppEvent"},"LifecycleEvent":{"properties":{"id":{"type":"string","title":"Id"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["id","timestamp","code","message"],"title":"LifecycleEvent"},"LimitOffsetPage_TaskRunSummary_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TaskRunSummary"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"limit":{"type":"integer","minimum":1.0,"title":"Limit"},"offset":{"type":"integer","minimum":0.0,"title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"LimitOffsetPage[TaskRunSummary]"},"LimitOffsetPage_TaskSummary_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TaskSummary"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"limit":{"type":"integer","minimum":1.0,"title":"Limit"},"offset":{"type":"integer","minimum":0.0,"title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"LimitOffsetPage[TaskSummary]"},"LimitOffsetPage_TriggerResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TriggerResponse"},"type":"array","title":"Items"},"total":{"type":"integer","minimum":0.0,"title":"Total"},"limit":{"type":"integer","minimum":1.0,"title":"Limit"},"offset":{"type":"integer","minimum":0.0,"title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"LimitOffsetPage[TriggerResponse]"},"ListCatalogsResponse":{"properties":{"catalogs":{"items":{"$ref":"#/components/schemas/Catalog"},"type":"array","title":"Catalogs"}},"type":"object","required":["catalogs"],"title":"ListCatalogsResponse"},"ListNamespacesResponse":{"properties":{"namespaces":{"items":{"$ref":"#/components/schemas/Namespace"},"type":"array","title":"Namespaces"}},"type":"object","required":["namespaces"],"title":"ListNamespacesResponse"},"ListTablesResponse":{"properties":{"tables":{"items":{"$ref":"#/components/schemas/TableListItem"},"type":"array","title":"Tables"}},"type":"object","required":["tables"],"title":"ListTablesResponse"},"LiveSparkEvidence":{"properties":{"scope":{"type":"string","const":"spark_application","title":"Scope","default":"spark_application"},"limitation":{"type":"string","title":"Limitation","default":"Spark applications and executions are scoped to the compute workload; a Job run association is not recorded."},"workload_id":{"type":"string","title":"Workload Id"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"applications":{"items":{"$ref":"#/components/schemas/SparkRead"},"type":"array","title":"Applications"}},"type":"object","required":["workload_id","observed_at","applications"],"title":"LiveSparkEvidence"},"LogEvidence":{"properties":{"workload_id":{"type":"string","title":"Workload Id"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"source":{"type":"string","const":"loki_workload_logs","title":"Source","default":"loki_workload_logs"},"state":{"type":"string","enum":["available","unavailable","expired","truncated"],"title":"State"},"coverage":{"$ref":"#/components/schemas/Coverage"},"items":{"items":{"$ref":"#/components/schemas/LogLine"},"type":"array","title":"Items","default":[]},"truncated":{"type":"boolean","title":"Truncated","default":false},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"limitation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Limitation"}},"type":"object","required":["workload_id","run_id","state","coverage"],"title":"LogEvidence"},"LogItem":{"properties":{"timestamp":{"type":"string","title":"Timestamp"},"raw":{"type":"string","title":"Raw"}},"type":"object","required":["timestamp","raw"],"title":"LogItem"},"LogLine":{"properties":{"timestamp_ns":{"type":"string","title":"Timestamp Ns"},"message":{"type":"string","title":"Message"},"content_truncated":{"type":"boolean","title":"Content Truncated","default":false},"pod_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pod Name"}},"type":"object","required":["timestamp_ns","message"],"title":"LogLine"},"LogsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/LogItem"},"type":"array","title":"Items"},"current_page":{"type":"string","title":"Current Page"},"next_page":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Page"}},"type":"object","required":["items","current_page"],"title":"LogsResponse"},"ManualContractRead":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"stoppedTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Stoppedtime"},"state":{"$ref":"#/components/schemas/SubscriptionState"},"awsMarketplaceSubscription":{"anyOf":[{"$ref":"#/components/schemas/AwsMarketplaceSubscription"},{"type":"null"}],"deprecated":true},"stripeSubscription":{"anyOf":[{"$ref":"#/components/schemas/StripeSubscription"},{"type":"null"}],"deprecated":true},"internalDevelopmentSubscription":{"anyOf":[{"$ref":"#/components/schemas/InternalDevelopmentSubscription"},{"type":"null"}],"deprecated":true},"type":{"type":"string","const":"manualcontract","title":"Type"}},"type":"object","required":["id","createTime","updateTime","stoppedTime","state","type"],"title":"ManualContractRead","description":"Manual contract subscription read model."},"ManuallyCompedRead":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"stoppedTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Stoppedtime"},"state":{"$ref":"#/components/schemas/SubscriptionState"},"awsMarketplaceSubscription":{"anyOf":[{"$ref":"#/components/schemas/AwsMarketplaceSubscription"},{"type":"null"}],"deprecated":true},"stripeSubscription":{"anyOf":[{"$ref":"#/components/schemas/StripeSubscription"},{"type":"null"}],"deprecated":true},"internalDevelopmentSubscription":{"anyOf":[{"$ref":"#/components/schemas/InternalDevelopmentSubscription"},{"type":"null"}],"deprecated":true},"type":{"type":"string","const":"manuallycomped","title":"Type"}},"type":"object","required":["id","createTime","updateTime","stoppedTime","state","type"],"title":"ManuallyCompedRead","description":"Manually comped subscription read model."},"Measurement":{"properties":{"timestamp":{"type":"number","title":"Timestamp"},"value":{"type":"number","title":"Value"}},"type":"object","required":["timestamp","value"],"title":"Measurement"},"MetricDetails_InstantMetric_":{"properties":{"display_name":{"type":"string","title":"Display Name"},"metric":{"$ref":"#/components/schemas/InstantMetric"}},"type":"object","required":["display_name","metric"],"title":"MetricDetails[InstantMetric]"},"MetricDetails_SeriesMetric_":{"properties":{"display_name":{"type":"string","title":"Display Name"},"metric":{"$ref":"#/components/schemas/SeriesMetric"}},"type":"object","required":["display_name","metric"],"title":"MetricDetails[SeriesMetric]"},"Namespace":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the namespace."}},"type":"object","required":["name"],"title":"Namespace"},"NestedField":{"additionalProperties":true,"type":"object"},"NoComputeReason":{"type":"string","enum":["overlap","epoch_gap"],"title":"NoComputeReason","description":"Journal outcomes that deliberately launch no workload."},"NodeSchedulingMeta":{"properties":{"node_preexisted":{"type":"boolean","title":"Node Preexisted"},"node_name":{"type":"string","title":"Node Name"},"pod_creation_time":{"type":"string","title":"Pod Creation Time"},"node_creation_time":{"type":"string","title":"Node Creation Time"}},"type":"object","required":["node_preexisted","node_name","pod_creation_time","node_creation_time"],"title":"NodeSchedulingMeta","description":"Metadata captured at node-scheduling time.\n\n``node_preexisted`` is True when the pod landed on a node that existed\nbefore the pod was created, False when the node was provisioned for\nthe pod (cold start)."},"NotebookMetadata":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"efsPath":{"type":"string","title":"Efspath"},"thumbnailImageDataBase64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnailimagedatabase64"},"thumbnailImageMediaType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnailimagemediatype"},"recommendedRuntime":{"$ref":"#/components/schemas/RuntimeId","default":"tiny"},"galleryOrder":{"type":"integer","title":"Galleryorder"},"showInGallery":{"type":"boolean","title":"Showingallery"}},"type":"object","required":["id","createTime","updateTime","name","efsPath","galleryOrder","showInGallery"],"title":"NotebookMetadata"},"Operation":{"type":"string","enum":["append","replace","overwrite","delete"],"title":"Operation","description":"Describes the operation.\n\nPossible operation values are:\n    - append: Only data files were added and no files were removed.\n    - replace: Data and delete files were added and removed without changing table data;\n        i.e., compaction, changing the data file format, or relocating data files.\n    - overwrite: Data and delete files were added and removed in a logical overwrite operation.\n    - delete: Data files were removed and their contents logically deleted and/or delete files\n        were added to delete rows."},"OperationTaskName":{"type":"string","enum":["bulk-set-eks-resource-quota","backfill-audit-logs"],"title":"OperationTaskName","description":"Enum for all operation task names"},"OperationTaskParams":{"properties":{"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"}},"type":"object","title":"OperationTaskParams"},"OperationTaskPayload":{"properties":{"taskName":{"$ref":"#/components/schemas/OperationTaskName"},"taskParams":{"anyOf":[{"$ref":"#/components/schemas/OperationTaskParams"},{"type":"null"}]}},"type":"object","required":["taskName"],"title":"OperationTaskPayload"},"OrgListingEntry":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"name":{"type":"string","title":"Name"},"verified":{"type":"boolean","title":"Verified"},"workosOrganizationId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workosorganizationid"},"plan":{"anyOf":[{"$ref":"#/components/schemas/Plan"},{"type":"null"}]},"state":{"$ref":"#/components/schemas/OrganizationState"}},"type":"object","required":["id","createTime","updateTime","name","verified","state"],"title":"OrgListingEntry"},"Organization":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"name":{"type":"string","title":"Name"},"plan":{"anyOf":[{"$ref":"#/components/schemas/Plan"},{"type":"null"}]},"billingContact":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billingcontact"},"wherobotsCloudFeatures":{"items":{"$ref":"#/components/schemas/WherobotsCloudFeature"},"type":"array","title":"Wherobotscloudfeatures"},"users":{"items":{"$ref":"#/components/schemas/OrganizationCustomer"},"type":"array","title":"Users"},"services":{"items":{"$ref":"#/components/schemas/OrganizationCustomer"},"type":"array","title":"Services"},"roles":{"items":{"$ref":"#/components/schemas/Role"},"type":"array","title":"Roles"},"storageIntegrations":{"items":{"$ref":"#/components/schemas/StorageIntegrationDetails"},"type":"array","title":"Storageintegrations"},"fileStore":{"anyOf":[{"$ref":"#/components/schemas/FileStore"},{"type":"null"}]},"verified":{"type":"boolean","title":"Verified"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"domainIsVerified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Domainisverified"},"samlSsoStatus":{"anyOf":[{"$ref":"#/components/schemas/SamlSsoStatus"},{"type":"null"}]},"defaultEnvironmentPresetId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Defaultenvironmentpresetid"},"defaultEnvironmentOverridePresetId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Defaultenvironmentoverridepresetid"},"defaultRuntime":{"anyOf":[{"$ref":"#/components/schemas/RuntimeId"},{"type":"null"}],"default":"tiny"},"defaultRegion":{"type":"string","title":"Defaultregion"},"deletedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deletedat"},"lastStateChange":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Laststatechange"},"state":{"$ref":"#/components/schemas/OrganizationState"},"workosOrganizationId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workosorganizationid"},"allowedRegions":{"items":{"type":"string"},"type":"array","title":"Allowedregions","readOnly":true}},"type":"object","required":["id","createTime","updateTime","name","wherobotsCloudFeatures","users","services","roles","storageIntegrations","verified","defaultRegion","state","allowedRegions"],"title":"Organization"},"OrganizationCreateInput":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":50,"minLength":3},{"type":"null"}],"title":"Name"},"utm_source":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Utm Source"},"utm_medium":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Utm Medium"},"utm_campaign":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Utm Campaign"},"referrer":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Referrer"},"landing_page":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Landing Page"}},"type":"object","required":["name"],"title":"OrganizationCreateInput"},"OrganizationCustomer":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"roles":{"items":{"$ref":"#/components/schemas/Role"},"type":"array","title":"Roles"}},"type":"object","required":["id","createTime","updateTime","roles"],"title":"OrganizationCustomer"},"OrganizationRegisterInput":{"properties":{"name":{"type":"string","maxLength":50,"minLength":3,"title":"Name"},"utm_source":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Utm Source"},"utm_medium":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Utm Medium"},"utm_campaign":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Utm Campaign"},"referrer":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Referrer"},"landing_page":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Landing Page"}},"type":"object","required":["name"],"title":"OrganizationRegisterInput"},"OrganizationState":{"type":"string","enum":["ACTIVE","SUSPENDED","CLOSED","EXPIRED"],"title":"OrganizationState"},"OrganizationUpdateInput":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":50,"minLength":3},{"type":"null"}],"title":"Name"},"billingContact":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Billingcontact"}},"type":"object","title":"OrganizationUpdateInput"},"Plan":{"type":"string","enum":["COMMUNITY","PROFESSIONAL","BUILDER","ENTERPRISE"],"title":"Plan"},"Policy":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"createTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createtime"},"updateTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatetime"},"provider":{"$ref":"#/components/schemas/Provider"},"locator":{"type":"string","title":"Locator"},"action":{"type":"string","title":"Action"},"effect":{"$ref":"#/components/schemas/Effect"}},"type":"object","required":["provider","locator","action","effect"],"title":"Policy"},"PostMessage":{"properties":{"id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","title":"Id"},"text":{"type":"string","maxLength":32000,"minLength":1,"title":"Text"}},"type":"object","required":["id","text"],"title":"PostMessage"},"Provider":{"type":"string","enum":["WHEROBOTS","AWS"],"title":"Provider"},"PyPiDependency":{"properties":{"sourceType":{"$ref":"#/components/schemas/DependencySourceType","default":"PYPI"},"libraryName":{"type":"string","title":"Libraryname"},"libraryVersion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Libraryversion"}},"type":"object","required":["libraryName"],"title":"PyPiDependency","description":"Model for the dependency of a run"},"PythonScriptDefinition":{"properties":{"scriptKind":{"type":"string","const":"python","title":"Scriptkind"},"uri":{"type":"string","pattern":"^s3://[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]/[^\\s?#\\x00]+$","title":"Uri"}},"additionalProperties":false,"type":"object","required":["scriptKind","uri"],"title":"PythonScriptDefinition","description":"A Python entrypoint; arguments belong to inputs, not the definition."},"QuickCreateLinkResponse":{"properties":{"url":{"type":"string","title":"Url","description":"CloudFormation Quick-Create console URL"},"stackName":{"type":"string","title":"Stackname","description":"Recommended CloudFormation stack name"}},"type":"object","required":["url","stackName"],"title":"QuickCreateLinkResponse","description":"A CloudFormation Quick-Create console URL and its recommended stack name."},"QuotaReport":{"properties":{"status":{"$ref":"#/components/schemas/QuotaStatus"},"here":{"$ref":"#/components/schemas/QuotaStatus"},"enforced":{"type":"boolean","title":"Enforced"}},"type":"object","required":["status","here","enforced"],"title":"QuotaReport","description":"The organization's Waldo meters.\n\n`status` is tokens, whose `exhausted` stops turns only while `enforced`.\n`here` counts calls to HERE, and is enforced whatever `enforced` says:\nevery call is billed by a third party."},"QuotaStatus":{"properties":{"meter":{"type":"string","title":"Meter"},"period_label":{"type":"string","title":"Period Label"},"used":{"type":"integer","title":"Used"},"limit":{"type":"integer","title":"Limit"},"exhausted":{"type":"boolean","title":"Exhausted"},"resets_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Resets At"}},"type":"object","required":["meter","period_label","used","limit","exhausted","resets_at"],"title":"QuotaStatus","description":"An organization's token allowance for its current period.\n\nFor a paid organization, `limit` is the lower of the allowance and the\nmonthly ceiling. A trial is bounded by its allowance alone. `resets_at` is\nNone for the trial period."},"QuotaType":{"type":"string","enum":["CPU","HUMAN_USER_COUNT","WORKLOAD_LIFETIME_HOUR","DISK_PER_NODE_GB","FOREIGN_CATALOG_COUNT","WALDO_CARDLESS_TOKENS","WALDO_PAID_TOKENS","WALDO_MONTHLY_TOKEN_CEILING","WALDO_HERE_CALLS"],"title":"QuotaType"},"Region":{"properties":{"regionName":{"type":"string","title":"Regionname"},"enabled":{"type":"boolean","title":"Enabled"},"availability":{"$ref":"#/components/schemas/ComputeClusterAvailability"},"externalAccountId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Externalaccountid"}},"type":"object","required":["regionName","enabled","availability"],"title":"Region"},"RegionsHint":{"properties":{"description":{"type":"string","title":"Description"},"hint":{"items":{"$ref":"#/components/schemas/Region"},"type":"array","title":"Hint"}},"type":"object","required":["description","hint"],"title":"RegionsHint"},"ResourceEvidence":{"properties":{"workload_id":{"type":"string","title":"Workload Id"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"source":{"type":"string","const":"prometheus","title":"Source","default":"prometheus"},"scope":{"type":"string","enum":["aggregate","driver","executor"],"title":"Scope"},"coverage":{"$ref":"#/components/schemas/Coverage"},"step_seconds":{"type":"integer","title":"Step Seconds"},"aggregation":{"type":"string","const":"sum_matching_workload_pods","title":"Aggregation","default":"sum_matching_workload_pods"},"executor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Executor Id"},"series":{"items":{"$ref":"#/components/schemas/ResourceSeries"},"type":"array","title":"Series"}},"type":"object","required":["workload_id","run_id","scope","coverage","step_seconds","series"],"title":"ResourceEvidence"},"ResourceSeries":{"properties":{"metric":{"type":"string","enum":["cpu","memory"],"title":"Metric"},"unit":{"type":"string","enum":["cores","bytes"],"title":"Unit"},"state":{"type":"string","enum":["available","unavailable"],"title":"State"},"samples":{"items":{"$ref":"#/components/schemas/Measurement"},"type":"array","title":"Samples","default":[]},"limitation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Limitation"}},"type":"object","required":["metric","unit","state"],"title":"ResourceSeries"},"ResumeTriggerPayload":{"properties":{"version":{"type":"integer","minimum":1.0,"title":"Version"}},"additionalProperties":false,"type":"object","required":["version"],"title":"ResumeTriggerPayload","description":"Optimistic resume intent; already-active triggers ignore stale versions."},"RetainedEvidence":{"properties":{"source":{"type":"string","const":"retained_spark_events","title":"Source","default":"retained_spark_events"},"workload_id":{"type":"string","title":"Workload Id"},"file":{"type":"string","title":"File"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"state":{"type":"string","enum":["available","unavailable","incomplete","truncated"],"title":"State"},"application_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Id"},"application_attempt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Attempt"},"spark_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Spark Version"},"events_read":{"type":"integer","title":"Events Read","default":0},"byte_offset":{"type":"integer","title":"Byte Offset","default":0},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Offset"},"spark_configuration":{"additionalProperties":{"type":"string"},"type":"object","title":"Spark Configuration","default":{}},"records":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Records","default":[]},"task_summary":{"additionalProperties":true,"type":"object","title":"Task Summary","default":{}},"output_truncated":{"type":"boolean","title":"Output Truncated","default":false},"limitation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Limitation"}},"type":"object","required":["workload_id","file","observed_at","state"],"title":"RetainedEvidence"},"RetainedSources":{"properties":{"source":{"type":"string","const":"retained_spark_events","title":"Source","default":"retained_spark_events"},"state":{"type":"string","enum":["available","unavailable"],"title":"State"},"files":{"items":{"$ref":"#/components/schemas/EventSource"},"type":"array","title":"Files","default":[]},"next_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Token"},"limitation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Limitation"}},"type":"object","required":["state"],"title":"RetainedSources"},"Role":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"name":{"type":"string","title":"Name"},"organizationId":{"type":"string","title":"Organizationid"},"policies":{"items":{"$ref":"#/components/schemas/Policy"},"type":"array","title":"Policies"}},"type":"object","required":["id","createTime","updateTime","name","organizationId","policies"],"title":"Role"},"RoleAssumptionResult":{"properties":{"status":{"$ref":"#/components/schemas/RoleAssumptionStatus"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["status"],"title":"RoleAssumptionResult"},"RoleAssumptionStatus":{"type":"string","enum":["OK","FAILED"],"title":"RoleAssumptionStatus"},"RotateUnionCredentialsResponse":{"properties":{"results":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Results"}},"type":"object","required":["results"],"title":"RotateUnionCredentialsResponse","description":"Result of rotating an org's Union OAuth apps.\n\n``results`` maps each Union project name to whether its rotation succeeded."},"RunAppMeta":{"properties":{"spark_ui_url":{"type":"string","title":"Spark Ui Url","default":""},"spark_eventlogs_url":{"type":"string","title":"Spark Eventlogs Url","default":""},"resolved_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolved Version"}},"type":"object","title":"RunAppMeta","description":"Run-specific metadata fields"},"RunEnvironment-Input":{"properties":{"sparkDriverDiskGB":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sparkdriverdiskgb"},"sparkExecutorDiskGB":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sparkexecutordiskgb"},"sparkConfigs":{"additionalProperties":{"type":"string"},"type":"object","title":"Sparkconfigs"},"dependencies":{"items":{"anyOf":[{"$ref":"#/components/schemas/PyPiDependency"},{"$ref":"#/components/schemas/FileDependency-Input"}]},"type":"array","title":"Dependencies"}},"type":"object","title":"RunEnvironment","description":"Model for runtime environment configs, include spark cluster configs, dependencies.\nWhen we have new configs like Dax configs, env vars, etc, we can add them here."},"RunEnvironment-Output":{"properties":{"sparkDriverDiskGB":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sparkdriverdiskgb"},"sparkExecutorDiskGB":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sparkexecutordiskgb"},"sparkConfigs":{"additionalProperties":{"type":"string"},"type":"object","title":"Sparkconfigs"},"dependencies":{"items":{"anyOf":[{"$ref":"#/components/schemas/PyPiDependency"},{"$ref":"#/components/schemas/FileDependency-Output"}]},"type":"array","title":"Dependencies"}},"type":"object","title":"RunEnvironment","description":"Model for runtime environment configs, include spark cluster configs, dependencies.\nWhen we have new configs like Dax configs, env vars, etc, we can add them here."},"RunEventMeta":{"properties":{"end_timestamp":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"End Timestamp"},"start_timestamp":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Start Timestamp"}},"type":"object","title":"RunEventMeta"},"RunJarPayload":{"properties":{"uri":{"type":"string","title":"Uri"},"args":{"items":{"type":"string"},"type":"array","title":"Args","default":[]},"mainClass":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mainclass"}},"type":"object","required":["uri"],"title":"RunJarPayload","description":"Model for the payload of Run with type == \"python\""},"RunKubeApp":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"instanceId":{"type":"string","title":"Instanceid"},"appType":{"$ref":"#/components/schemas/AppType"},"status":{"$ref":"#/components/schemas/AppStatus"},"createdById":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdbyid"},"apiPayload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Apipayload"},"appMeta":{"anyOf":[{"$ref":"#/components/schemas/RunAppMeta"},{"type":"null"}]},"events":{"items":{"$ref":"#/components/schemas/KubeAppEvent"},"type":"array","title":"Events","default":[]},"cpuUsage":{"type":"integer","title":"Cpuusage"},"regionName":{"type":"string","title":"Regionname"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"Return the latest trace info that is valuable for troubleshooting","readOnly":true}},"type":"object","required":["id","createTime","updateTime","instanceId","appType","status","createdById","cpuUsage","regionName","message"],"title":"RunKubeApp"},"RunMetricsResponse":{"properties":{"series_metrics":{"additionalProperties":{"$ref":"#/components/schemas/MetricDetails_SeriesMetric_"},"propertyNames":{"$ref":"#/components/schemas/WorkloadMetric"},"type":"object","title":"Series Metrics"},"instant_metrics":{"additionalProperties":{"$ref":"#/components/schemas/MetricDetails_InstantMetric_"},"propertyNames":{"$ref":"#/components/schemas/WorkloadMetric"},"type":"object","title":"Instant Metrics"}},"type":"object","required":["series_metrics","instant_metrics"],"title":"RunMetricsResponse"},"RunPythonPayload":{"properties":{"uri":{"type":"string","title":"Uri"},"args":{"items":{"type":"string"},"type":"array","title":"Args","default":[]}},"type":"object","required":["uri"],"title":"RunPythonPayload","description":"Model for the payload of Run with type == \"python\""},"RunSource":{"type":"string","enum":["manual","schedule","backfill"],"title":"RunSource","description":"Origin of a run, independent of its backend."},"RunStatus":{"type":"string","enum":["PENDING","RUNNING","FAILED","COMPLETED","CANCELLED","TIMED_OUT"],"title":"RunStatus"},"RunTriggerNowPayload":{"properties":{"windowStart":{"type":"string","format":"date-time","title":"Windowstart"},"windowEnd":{"type":"string","format":"date-time","title":"Windowend"}},"additionalProperties":false,"type":"object","required":["windowStart","windowEnd"],"title":"RunTriggerNowPayload","description":"Explicit aware bounds, preserved without schedule alignment or clamping."},"RunTriggerNowResponse":{"properties":{"taskRunId":{"type":"string","title":"Taskrunid"}},"additionalProperties":false,"type":"object","required":["taskRunId"],"title":"RunTriggerNowResponse","description":"The durable request ID accepted for immediate dispatch."},"RunView":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"name":{"type":"string","title":"Name"},"status":{"$ref":"#/components/schemas/RunStatus"},"triggeredBy":{"$ref":"#/components/schemas/OrganizationCustomer"},"startTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starttime"},"completeTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completetime"},"kubeApp":{"anyOf":[{"$ref":"#/components/schemas/RunKubeApp"},{"type":"null"}]},"payload":{"$ref":"#/components/schemas/CreateRunPayload-Output"}},"type":"object","required":["id","createTime","updateTime","name","status","triggeredBy","payload"],"title":"RunView"},"RuntimeHintItem":{"properties":{"id":{"$ref":"#/components/schemas/RuntimeId"},"description":{"type":"string","title":"Description"},"name":{"type":"string","title":"Name"},"size":{"$ref":"#/components/schemas/RuntimeSize"},"tags":{"items":{"$ref":"#/components/schemas/RuntimeTag"},"type":"array","title":"Tags","default":[]},"enabled":{"type":"boolean","title":"Enabled","default":true},"instanceDetails":{"$ref":"#/components/schemas/InstanceDetailsHint"}},"type":"object","required":["id","description","name","size","instanceDetails"],"title":"RuntimeHintItem"},"RuntimeId":{"type":"string","enum":["TINY","SMALL","MEDIUM","LARGE","XLARGE","XXLARGE","micro","tiny","small","medium","large","x-large","2x-large","4x-large","medium-himem","large-himem","x-large-himem","2x-large-himem","4x-large-himem","x-large-hicpu","2x-large-hicpu","x-large-matcher","2x-large-matcher","micro-a10-gpu","tiny-a10-gpu","small-a10-gpu","medium-a10-gpu","large-a10-gpu","x-large-a10-gpu"],"title":"RuntimeId"},"RuntimeSize":{"type":"string","enum":["MICRO","TINY","SMALL","MEDIUM","LARGE","XLARGE","XXLARGE","XXXXLARGE"],"title":"RuntimeSize"},"RuntimeTag":{"type":"string","enum":["GPU","HIMEM","HICPU","MATCHER"],"title":"RuntimeTag"},"RuntimeTagsHint":{"properties":{"hint":{"items":{"$ref":"#/components/schemas/RuntimeTag"},"type":"array","title":"Hint"}},"type":"object","required":["hint"],"title":"RuntimeTagsHint"},"RuntimesHint":{"properties":{"hint":{"items":{"$ref":"#/components/schemas/RuntimeHintItem"},"type":"array","title":"Hint"}},"type":"object","required":["hint"],"title":"RuntimesHint"},"S3AccessApiResponse":{"properties":{"accessType":{"$ref":"#/components/schemas/S3AccessType"}},"type":"object","required":["accessType"],"title":"S3AccessApiResponse"},"S3AccessType":{"type":"string","enum":["free","requester_pays","private"],"title":"S3AccessType"},"S3TablesForeignCatalogCreate":{"properties":{"type":{"type":"string","const":"S3_TABLES","title":"Type","description":"Type of the foreign catalog."},"name":{"type":"string","title":"Name","description":"Name of the foreign catalog."},"cloudConnectionId":{"type":"string","title":"Cloudconnectionid","description":"ID of the AWS cloud connection that grants access to the table bucket."},"tableBucketArn":{"type":"string","pattern":"^arn:aws:s3tables:[a-z0-9\\-]+:\\d{12}:bucket/[a-z0-9][a-z0-9\\-]{1,61}[a-z0-9]$","title":"Tablebucketarn","description":"ARN of the S3 Tables table bucket this catalog exposes."},"accessType":{"$ref":"#/components/schemas/ForeignCatalogAccessType","description":"Whether the catalog is read-only or read-write."}},"type":"object","required":["type","name","cloudConnectionId","tableBucketArn","accessType"],"title":"S3TablesForeignCatalogCreate","description":"Request model for creating an Amazon S3 Tables foreign catalog."},"S3TablesForeignCatalogRead":{"properties":{"id":{"type":"string","title":"Id","description":"Unique external ID of the foreign catalog."},"name":{"type":"string","title":"Name","description":"Name of the foreign catalog."},"type":{"type":"string","const":"S3_TABLES","title":"Type","description":"Type of the foreign catalog. Must be 'S3_TABLES'."},"region":{"type":"string","title":"Region","description":"AWS region where the table bucket lives."},"tableBucketArn":{"type":"string","title":"Tablebucketarn","description":"ARN of the S3 Tables table bucket this catalog exposes."},"accessType":{"$ref":"#/components/schemas/ForeignCatalogAccessType"},"stackName":{"type":"string","title":"Stackname","description":"CloudFormation stack name backing this S3 Tables catalog."},"cloudConnection":{"$ref":"#/components/schemas/CloudConnectionRead","description":"Resolved cloud connection details."}},"type":"object","required":["id","name","type","region","tableBucketArn","accessType","stackName","cloudConnection"],"title":"S3TablesForeignCatalogRead"},"S3TablesForeignCatalogUpdate":{"properties":{"type":{"type":"string","const":"S3_TABLES","title":"Type","description":"Type of the foreign catalog. Must be 'S3_TABLES'."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Updated name of the foreign catalog."}},"type":"object","required":["type"],"title":"S3TablesForeignCatalogUpdate","description":"Request model for updating an Amazon S3 Tables foreign catalog."},"SamlSsoStatus":{"type":"string","enum":["ACTIVE","INACTIVE","PENDING","FAILED"],"title":"SamlSsoStatus"},"Schema":{"properties":{"type":{"type":"string","const":"struct","title":"Type","default":"struct"},"fields":{"items":{"$ref":"#/components/schemas/NestedField"},"type":"array","title":"Fields"},"schema-id":{"type":"integer","title":"Schema-Id","default":0},"identifier-field-ids":{"items":{"type":"integer"},"type":"array","title":"Identifier-Field-Ids"}},"type":"object","title":"Schema","description":"A table Schema.\n\nExample:\n    >>> from pyiceberg import schema\n    >>> from pyiceberg import types"},"SeriesMetric":{"properties":{"data":{"items":{"$ref":"#/components/schemas/DataValue"},"type":"array","title":"Data"},"format":{"$ref":"#/components/schemas/DataFormat"}},"type":"object","required":["data","format"],"title":"SeriesMetric"},"ServicePrincipal":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"organizationId":{"type":"string","title":"Organizationid"},"roles":{"items":{"$ref":"#/components/schemas/Role"},"type":"array","title":"Roles"},"policies":{"items":{"$ref":"#/components/schemas/Policy"},"type":"array","title":"Policies"},"deletedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deletedat"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","createTime","updateTime","organizationId","roles","policies","name"],"title":"ServicePrincipal"},"ServicePrincipalRegisterInput":{"properties":{"name":{"type":"string","maxLength":200,"minLength":3,"title":"Name"}},"type":"object","required":["name"],"title":"ServicePrincipalRegisterInput"},"ServicePrincipalUpdateInput":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"organizationId":{"type":"string","title":"Organizationid"},"roles":{"items":{"$ref":"#/components/schemas/Role"},"type":"array","title":"Roles"},"policies":{"items":{"$ref":"#/components/schemas/Policy"},"type":"array","title":"Policies"},"deletedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deletedat"},"name":{"type":"string","title":"Name"}},"type":"object","title":"ServicePrincipalUpdateInput"},"SessionPage":{"properties":{"sessions":{"items":{"$ref":"#/components/schemas/SessionSummary"},"type":"array","title":"Sessions"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["sessions","has_more"],"title":"SessionPage","description":"One page of the caller's sessions.\n\nThere is no cursor yet: the list route returns the newest\n`MAX_LISTED_SESSIONS` and stops. `has_more` is the honest answer to \"is\nthat all of them\", and it is what a cursor would be added beside, so\npaginating later does not change the shape the client already reads."},"SessionSummary":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"notify_on_final":{"type":"boolean","title":"Notify On Final"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","status","notify_on_final","title","created_at"],"title":"SessionSummary"},"SessionType":{"type":"string","enum":["single","multi"],"title":"SessionType"},"Snapshot":{"properties":{"snapshot-id":{"type":"integer","title":"Snapshot-Id"},"parent-snapshot-id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parent-Snapshot-Id"},"sequence-number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sequence-Number","default":0},"timestamp-ms":{"type":"integer","title":"Timestamp-Ms"},"manifest-list":{"type":"string","title":"Manifest-List","description":"Location of the snapshot's manifest list file"},"summary":{"anyOf":[{"$ref":"#/components/schemas/Summary"},{"type":"null"}]},"schema-id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Schema-Id"},"first-row-id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"First-Row-Id","description":"assigned to the first row in the first data file in the first manifest"},"added-rows":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Added-Rows","description":"The upper bound of the number of rows with assigned row IDs"}},"type":"object","required":["snapshot-id","manifest-list"],"title":"Snapshot"},"SnapshotRef":{"properties":{"snapshot-id":{"type":"integer","title":"Snapshot-Id"},"type":{"$ref":"#/components/schemas/SnapshotRefType"},"min-snapshots-to-keep":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Min-Snapshots-To-Keep"},"max-snapshot-age-ms":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max-Snapshot-Age-Ms"},"max-ref-age-ms":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max-Ref-Age-Ms"}},"type":"object","required":["snapshot-id","type"],"title":"SnapshotRef"},"SnapshotRefType":{"type":"string","enum":["branch","tag"],"title":"SnapshotRefType"},"SourceType":{"type":"string","enum":["PYPI","FILE"],"title":"SourceType"},"SparkRead":{"properties":{"source":{"type":"string","const":"live_spark_rest","title":"Source","default":"live_spark_rest"},"port":{"type":"integer","title":"Port"},"state":{"type":"string","enum":["available","unavailable","truncated"],"title":"State"},"data":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data"},"limitation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Limitation"}},"type":"object","required":["port","state"],"title":"SparkRead"},"SqlSessionAPIPayload":{"properties":{"runtimeId":{"anyOf":[{"$ref":"#/components/schemas/RuntimeId"},{"type":"null"}]},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"environmentPresetId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environmentpresetid"},"environmentOverridePresetId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Environmentoverridepresetid"},"idleTimeoutMinutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Idletimeoutminutes"},"shutdownAfterInactiveSeconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shutdownafterinactiveseconds"},"sessionType":{"$ref":"#/components/schemas/SessionType","default":"multi"}},"type":"object","title":"SqlSessionAPIPayload"},"SqlSessionAppMeta":{"properties":{"url":{"type":"string","title":"Url","default":""},"resolved_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolved Version"}},"type":"object","title":"SqlSessionAppMeta","description":"SQL Session-specific metadata fields"},"SqlSessionKubeApp":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"instanceId":{"type":"string","title":"Instanceid"},"appType":{"$ref":"#/components/schemas/AppType"},"status":{"$ref":"#/components/schemas/AppStatus"},"createdById":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdbyid"},"apiPayload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Apipayload"},"appMeta":{"anyOf":[{"$ref":"#/components/schemas/SqlSessionAppMeta"},{"type":"null"}]},"events":{"items":{"$ref":"#/components/schemas/KubeAppEvent"},"type":"array","title":"Events","default":[]},"cpuUsage":{"type":"integer","title":"Cpuusage"},"regionName":{"type":"string","title":"Regionname"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"Return the latest trace info that is valuable for troubleshooting","readOnly":true}},"type":"object","required":["id","createTime","updateTime","instanceId","appType","status","createdById","cpuUsage","regionName","message"],"title":"SqlSessionKubeApp"},"StopTurn":{"properties":{"cancel_queries":{"type":"boolean","title":"Cancel Queries","default":true}},"type":"object","title":"StopTurn","description":"`cancel_queries` also cancels the query jobs the turn started."},"StorageCredentialsRequest":{"properties":{"path":{"type":"string","maxLength":1024,"minLength":6,"pattern":"^s3:\\/\\/([a-zA-Z0-9._\\-]{3,63})(?:\\/?|\\/([a-zA-Z0-9!_.*'()/&=-]+))?$","title":"Path","description":"S3 URI (e.g. s3://bucket/prefix) to obtain credentials for."},"access_mode":{"type":"string","enum":["read","read_write"],"title":"Access Mode","description":"Access mode for the credentials. 'read' returns read-only credentials; 'read_write' returns credentials that also allow writing.","default":"read"},"duration_seconds":{"type":"integer","maximum":3600.0,"minimum":900.0,"title":"Duration Seconds","description":"Requested credential lifetime in seconds.","default":3600}},"type":"object","required":["path"],"title":"StorageCredentialsRequest","description":"Request body for the unified storage credentials endpoint."},"StorageIntegrationAccess":{"properties":{"listAccess":{"type":"boolean","title":"Listaccess","default":false},"getAccess":{"type":"boolean","title":"Getaccess","default":false},"putAccess":{"type":"boolean","title":"Putaccess","default":false},"deleteAccess":{"type":"boolean","title":"Deleteaccess","default":false}},"type":"object","title":"StorageIntegrationAccess"},"StorageIntegrationAccessType":{"type":"string","enum":["READ","READ_WRITE"],"title":"StorageIntegrationAccessType"},"StorageIntegrationDetails":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"name":{"type":"string","title":"Name"},"path":{"type":"string","title":"Path"},"roleArn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rolearn"},"region":{"type":"string","title":"Region"}},"type":"object","required":["id","createTime","updateTime","name","path","region"],"title":"StorageIntegrationDetails"},"StorageSource":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"name":{"type":"string","title":"Name"},"path":{"type":"string","title":"Path"},"roleArn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rolearn"},"region":{"type":"string","title":"Region"},"stackName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stackname"},"type":{"$ref":"#/components/schemas/StorageSourceType"},"defaultDirectory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Defaultdirectory"},"readOnly":{"type":"boolean","title":"Readonly","default":false},"cloudConnection":{"anyOf":[{"$ref":"#/components/schemas/CloudConnectionRead"},{"type":"null"}]}},"type":"object","required":["id","createTime","updateTime","name","path","region","type"],"title":"StorageSource"},"StorageSourceType":{"type":"string","enum":["INTEGRATION","MANAGED","USER_FILES"],"title":"StorageSourceType"},"StripeSubscription":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"stoppedTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Stoppedtime"},"state":{"$ref":"#/components/schemas/SubscriptionState"},"stripeCustomerId":{"type":"string","title":"Stripecustomerid"},"intentSecret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Intentsecret"}},"type":"object","required":["id","createTime","updateTime","stoppedTime","state","stripeCustomerId"],"title":"StripeSubscription"},"StripeSubscriptionRead":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"stoppedTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Stoppedtime"},"state":{"$ref":"#/components/schemas/SubscriptionState"},"awsMarketplaceSubscription":{"anyOf":[{"$ref":"#/components/schemas/AwsMarketplaceSubscription"},{"type":"null"}],"deprecated":true},"stripeSubscription":{"anyOf":[{"$ref":"#/components/schemas/StripeSubscription"},{"type":"null"}],"deprecated":true},"internalDevelopmentSubscription":{"anyOf":[{"$ref":"#/components/schemas/InternalDevelopmentSubscription"},{"type":"null"}],"deprecated":true},"type":{"type":"string","const":"stripesubscription","title":"Type"},"stripeCustomerId":{"type":"string","title":"Stripecustomerid"},"intentSecret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Intentsecret"}},"type":"object","required":["id","createTime","updateTime","stoppedTime","state","type","stripeCustomerId"],"title":"StripeSubscriptionRead","description":"Stripe subscription read model with flat type-specific fields."},"SubjectTokenExchangeRequest":{"properties":{"grant_type":{"type":"string","const":"urn:ietf:params:oauth:grant-type:token-exchange","title":"Grant Type"},"scope":{"type":"string","title":"Scope"},"subject_token":{"type":"string","format":"password","title":"Subject Token","writeOnly":true},"subject_token_type":{"type":"string","const":"urn:ietf:params:oauth:token-type:access_token","title":"Subject Token Type"},"actor_token":{"anyOf":[{"type":"string","format":"password","writeOnly":true},{"type":"null"}],"title":"Actor Token"},"actor_token_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Token Type"},"expires_in":{"type":"integer","minimum":0.0,"title":"Expires In","default":0}},"type":"object","required":["grant_type","scope","subject_token","subject_token_type"],"title":"SubjectTokenExchangeRequest"},"SubscriptionState":{"type":"string","enum":["PENDING","ACTIVE","ACTIVE_PROBATION","FAILED","STOPPED"],"title":"SubscriptionState"},"SubscriptionType":{"type":"string","enum":["INTERNAL_DEVELOPMENT","MANUAL_CONTRACT","MANUALLY_COMPED"],"title":"SubscriptionType","description":"Subscription type for paid plans (Professional/Enterprise).\n\nINTERNAL_DEVELOPMENT: For internal Wherobots developers, no metering/billing.\nMANUAL_CONTRACT: For customers with manual contracts.\nMANUALLY_COMPED: For customers given free access, no metering/billing."},"Summary":{"additionalProperties":{"type":"string"},"type":"object"},"TableCredentials":{"properties":{"accessKey":{"type":"string","title":"Accesskey","description":"The temporary access key."},"secretKey":{"type":"string","title":"Secretkey","description":"The temporary secret key."},"sessionToken":{"type":"string","title":"Sessiontoken","description":"The temporary session token."},"expiration":{"type":"string","format":"date-time","title":"Expiration","description":"The ISO timestamp when the credentials expire."},"region":{"type":"string","title":"Region","description":"The AWS region of the table's storage bucket."}},"type":"object","required":["accessKey","secretKey","sessionToken","expiration","region"],"title":"TableCredentials"},"TableDetail":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the table."},"updateTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatetime","description":"The last time the table was updated."},"format":{"$ref":"#/components/schemas/TableFormat","description":"The format of the table."},"properties":{"additionalProperties":{"type":"string"},"type":"object","title":"Properties","description":"Key-value pairs that define table properties."},"table_type":{"$ref":"#/components/schemas/TableType","description":"The type of the table, if available. i.e. table or view.","default":"TABLE"},"location":{"type":"string","title":"Location","description":"The cloud storage URL of the table's underlying files."},"schema":{"$ref":"#/components/schemas/Schema","description":"The table schema definition."},"snapshots":{"items":{"$ref":"#/components/schemas/Snapshot"},"type":"array","title":"Snapshots","description":"Snapshot history of this table."},"refs":{"additionalProperties":{"$ref":"#/components/schemas/SnapshotRef"},"type":"object","title":"Refs","description":"Snapshot tag dictionary."},"statistics":{"$ref":"#/components/schemas/TableStatistics","description":"Summary statistics about the table."}},"type":"object","required":["name","updateTime","format","properties","location","schema","statistics"],"title":"TableDetail"},"TableFormat":{"type":"string","enum":["ICEBERG","DELTA"],"title":"TableFormat"},"TableListItem":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the table."},"updateTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatetime","description":"The last time the table was updated."},"format":{"$ref":"#/components/schemas/TableFormat","description":"The format of the table."},"properties":{"additionalProperties":{"type":"string"},"type":"object","title":"Properties","description":"Key-value pairs that define table properties."},"table_type":{"$ref":"#/components/schemas/TableType","description":"The type of the table, if available. i.e. table or view.","default":"TABLE"}},"type":"object","required":["name","updateTime","format","properties"],"title":"TableListItem"},"TableStatistics":{"properties":{"rowCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rowcount","description":"The number of rows in the table."}},"type":"object","required":["rowCount"],"title":"TableStatistics"},"TableType":{"type":"string","enum":["TABLE","VIEW"],"title":"TableType"},"Task":{"properties":{"taskId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taskid"},"organizationId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organizationid"},"name":{"type":"string","maxLength":255,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-\\.]+$","title":"Name"},"displayName":{"type":"string","maxLength":255,"title":"Displayname"},"description":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Description"},"regions":{"items":{"type":"string"},"type":"array","title":"Regions"},"definition":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/PythonScriptDefinition"},{"$ref":"#/components/schemas/JarScriptDefinition"}],"discriminator":{"propertyName":"scriptKind","mapping":{"jar":"#/components/schemas/JarScriptDefinition","python":"#/components/schemas/PythonScriptDefinition"}}},{"type":"null"}],"title":"Definition"},"inputSchema":{"anyOf":[{"$ref":"#/components/schemas/TaskSchema-Output"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Inputschema"},"outputSchema":{"anyOf":[{"$ref":"#/components/schemas/TaskSchema-Output"},{"type":"null"}]},"examples":{"items":{"$ref":"#/components/schemas/TaskExample"},"type":"array","title":"Examples"}},"type":"object","required":["name","displayName"],"title":"Task","description":"e.g.\n{\n  \"taskId\": \"task_abc123\",\n  \"organizationId\": \"org_abc123\",\n  \"name\": \"process_data\",\n  \"displayName\": \"Process data\",\n  \"description\": \"Run a Python script.\",\n  \"regions\": [\"aws-us-west-2\"],\n  \"definition\": {\n    \"scriptKind\": \"python\",\n    \"uri\": \"s3://example-bucket/process.py\"\n  },\n  \"inputSchema\": {\n    \"title\": \"ScriptInputs\",\n    \"type\": \"object\",\n    \"properties\": {\"runtime\": ..., \"args\": ..., \"environment\": ...},\n    \"additionalProperties\": false\n  },\n  \"examples\": []\n}\n\nA script task's row stores only a reference to the platform input schema\n(see ``script_input_schema_reference``); the validator below resolves it,\nso the wire always carries the full schema, never the reference."},"TaskExample":{"properties":{"name":{"type":"string","maxLength":255,"title":"Name"},"inputs":{"additionalProperties":true,"type":"object","title":"Inputs"}},"additionalProperties":false,"type":"object","required":["name"],"title":"TaskExample","description":"e.g., from ``predict_mosaic_geometries_recipe``:\n{\n  \"name\": \"Detect College Park roofs\",\n  \"inputs\": {\n    \"aoi_uri\": \"s3://wherobots-examples/rasterflow/aois/collegepark.parquet\",\n    \"start\": \"2023-01-01T00:00:00Z\",\n    \"end\": \"2024-01-01T00:00:00Z\",\n    \"model_recipe\": \"sam3-text-geometry\",\n    \"text_prompt\": [\"roofs\"],\n    \"confidence_threshold\": 0.3,\n    \"target_crs\": \"EPSG:3857\"\n  }\n}"},"TaskInputSchema":{"properties":{"type":{"type":"string","const":"object","title":"Type","default":"object"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"items":{"$ref":"#/components/schemas/TaskSchemaProperty-Input","title":"Items"},"properties":{"additionalProperties":{"$ref":"#/components/schemas/TaskSchemaProperty-Input"},"type":"object","title":"Properties"},"required":{"items":{"type":"string"},"type":"array","title":"Required"},"additionalProperties":{"type":"boolean","const":false,"title":"Additionalproperties"},"anyOf":{"items":{"$ref":"#/components/schemas/TaskSchemaProperty-Input"},"type":"array","title":"Anyof"},"enum":{"items":{"$ref":"#/components/schemas/JsonValue"},"type":"array","minLength":1,"title":"Enum"},"default":{"$ref":"#/components/schemas/JsonValue"},"const":{"$ref":"#/components/schemas/JsonValue"}},"additionalProperties":false,"type":"object","title":"TaskInputSchema","description":"Registration input roots only accept explicitly declared task arguments."},"TaskKind":{"type":"string","enum":["uniontask","scripttask"],"title":"TaskKind","description":"Concrete task polymorphic identities."},"TaskRun":{"properties":{"taskRunId":{"type":"string","title":"Taskrunid"},"taskName":{"type":"string","title":"Taskname","description":"Current mutable Task display metadata, not historical identity."},"taskId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taskid"},"taskTriggerId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tasktriggerid"},"type":{"anyOf":[{"$ref":"#/components/schemas/TaskKind"},{"type":"null"}]},"runSource":{"$ref":"#/components/schemas/RunSource","default":"manual"},"batchTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Batchtime"},"windowStart":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Windowstart"},"windowEnd":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Windowend"},"noComputeReason":{"anyOf":[{"$ref":"#/components/schemas/NoComputeReason"},{"type":"string"},{"type":"null"}],"title":"Nocomputereason"},"failureClass":{"anyOf":[{"$ref":"#/components/schemas/FailureClass"},{"type":"null"}]},"runAsId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Runasid"},"requestedById":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requestedbyid"},"workload":{"anyOf":[{"$ref":"#/components/schemas/TaskRunWorkload"},{"type":"null"}]},"state":{"$ref":"#/components/schemas/TaskRunState"},"region":{"type":"string","title":"Region"},"submittedAt":{"type":"string","format":"date-time","title":"Submittedat"},"startedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Startedat"},"endedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Endedat"},"durationSeconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Durationseconds","description":"How long the backend executed the run, from its start to its end (or to now, while running). 0 if it never started there. A cached run executes nothing, so this is the moment it took to return the stored result, not how long the result took to produce."},"executionRequest":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"type":"object"},{"type":"null"}],"title":"Executionrequest","description":"Durable admitted Job Run payload when available, otherwise the captured prelaunch request. URI does not pin historical object bytes."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"inputs":{"additionalProperties":true,"type":"object","title":"Inputs"},"cached":{"type":"boolean","title":"Cached","description":"Whether the run returned a result stored by an earlier run of the same task with the same inputs, instead of executing. Only a run that succeeded stores its result; one that failed or was cancelled is never reused. False until the run has ended.","default":false},"results":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Results"},"errorMessage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Errormessage","description":"Why the run did not succeed. A run that could not be started says so and gives the task run ID to quote to support."}},"type":"object","required":["taskRunId","taskName","state","region","submittedAt"],"title":"TaskRun","description":"e.g.\n{\n  \"taskRunId\": \"npqy9q19q4wlm3\",\n  \"taskName\": \"predict_mosaic_geometries_recipe\",\n  \"state\": \"SUCCEEDED\",\n  \"region\": \"aws-us-west-2\",\n  \"submittedAt\": \"2026-06-04T18:00:00Z\",\n  \"name\": \"College Park roofs, 2023\",\n  \"inputs\": {\n    \"aoi_uri\": \"s3://wherobots-examples/rasterflow/aois/collegepark.parquet\",\n    \"start\": \"2023-01-01T00:00:00Z\",\n    \"end\": \"2024-01-01T00:00:00Z\",\n    \"model_recipe\": \"sam3-text-geometry\",\n    \"text_prompt\": [\"roofs\"],\n    \"confidence_threshold\": 0.3,\n    \"target_crs\": \"EPSG:3857\"\n  },\n  \"startedAt\": \"2026-06-04T18:01:10Z\",\n  \"endedAt\": null,\n  \"durationSeconds\": 240,\n  \"cached\": false,\n  \"results\": {\"o0\": \"s3://.../predictions.parquet\"},\n  \"errorMessage\": null\n}"},"TaskRunCost":{"properties":{"taskRunId":{"type":"string","title":"Taskrunid"},"totalCostUsd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Totalcostusd"},"units":{"type":"integer","title":"Units"},"unitType":{"type":"string","title":"Unittype"},"isSettling":{"type":"boolean","title":"Issettling"}},"type":"object","required":["taskRunId","totalCostUsd","units","unitType","isSettling"],"title":"TaskRunCost","description":"e.g.\n{\n  \"taskRunId\": \"npqy9q19q4wlm3\",\n  \"totalCostUsd\": \"1.00\",\n  \"units\": 100,\n  \"unitType\": \"imagery\",\n  \"isSettling\": false\n}"},"TaskRunLogEntry":{"properties":{"timestamp":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?Z$","title":"Timestamp","description":"A UTC instant carried to the nanosecond, e.g. '2026-06-04T18:01:12.680610267Z'. A string, not a date-time: log timestamps are nanoseconds, and every datetime type in this stack rounds them off to microseconds. Emitted with as many fractional digits as the value needs, up to 9; 0 to 9 are accepted.","example":"2026-06-04T18:01:12.680610267Z"},"level":{"type":"string","title":"Level"},"message":{"type":"string","title":"Message"}},"type":"object","required":["timestamp","level","message"],"title":"TaskRunLogEntry","description":"e.g. {\"timestamp\": \"2026-06-04T18:01:12.680610267Z\", \"level\": \"INFO\",\n      \"message\": \"Starting SAM 3 inference.\"}\n\n``level`` is whatever the log backend parsed out of the line, \"UNKNOWN\"\nwhen it could not tell."},"TaskRunLogsResponse":{"properties":{"taskRunId":{"type":"string","title":"Taskrunid"},"items":{"items":{"$ref":"#/components/schemas/TaskRunLogEntry"},"type":"array","title":"Items"},"nextSince":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?Z$","description":"A UTC instant carried to the nanosecond, e.g. '2026-06-04T18:01:12.680610267Z'. A string, not a date-time: log timestamps are nanoseconds, and every datetime type in this stack rounds them off to microseconds. Emitted with as many fractional digits as the value needs, up to 9; 0 to 9 are accepted.","example":"2026-06-04T18:01:12.680610267Z"},{"type":"null"}],"title":"Nextsince"}},"type":"object","required":["taskRunId"],"title":"TaskRunLogsResponse","description":"e.g.\n{\n  \"taskRunId\": \"npqy9q19q4wlm3\",\n  \"items\": [\n    {\"timestamp\": \"2026-06-04T18:01:12.680610267Z\", \"level\": \"INFO\",\n     \"message\": \"Starting SAM 3 inference.\"}\n  ],\n  \"nextSince\": \"2026-06-04T18:01:12.680610267Z\"\n}"},"TaskRunState":{"type":"string","enum":["PENDING","SUBMITTED","RUNNING","SUCCEEDED","FAILED","TIMED_OUT","CANCELLING","CANCELLED","UNKNOWN","SKIPPED","MISSED"],"title":"TaskRunState"},"TaskRunSummary":{"properties":{"taskRunId":{"type":"string","title":"Taskrunid"},"taskName":{"type":"string","title":"Taskname","description":"Current mutable Task display metadata, not historical identity."},"taskId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taskid"},"taskTriggerId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tasktriggerid"},"type":{"anyOf":[{"$ref":"#/components/schemas/TaskKind"},{"type":"null"}]},"runSource":{"$ref":"#/components/schemas/RunSource","default":"manual"},"batchTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Batchtime"},"windowStart":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Windowstart"},"windowEnd":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Windowend"},"noComputeReason":{"anyOf":[{"$ref":"#/components/schemas/NoComputeReason"},{"type":"string"},{"type":"null"}],"title":"Nocomputereason"},"failureClass":{"anyOf":[{"$ref":"#/components/schemas/FailureClass"},{"type":"null"}]},"runAsId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Runasid"},"requestedById":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requestedbyid"},"workload":{"anyOf":[{"$ref":"#/components/schemas/TaskRunWorkload"},{"type":"null"}]},"state":{"$ref":"#/components/schemas/TaskRunState"},"region":{"type":"string","title":"Region"},"submittedAt":{"type":"string","format":"date-time","title":"Submittedat"},"startedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Startedat"},"endedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Endedat"},"durationSeconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Durationseconds","description":"How long the backend executed the run, from its start to its end (or to now, while running). 0 if it never started there. A cached run executes nothing, so this is the moment it took to return the stored result, not how long the result took to produce."}},"type":"object","required":["taskRunId","taskName","state","region","submittedAt"],"title":"TaskRunSummary","description":"e.g.\n{\n  \"taskRunId\": \"npqy9q19q4wlm3\",\n  \"taskName\": \"predict_mosaic_geometries_recipe\",\n  \"state\": \"SUBMITTED\",\n  \"region\": \"aws-us-west-2\",\n  \"submittedAt\": \"2026-06-04T18:00:00Z\"\n}"},"TaskRunWorkload":{"properties":{"type":{"$ref":"#/components/schemas/TaskKind"},"jobRunId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Jobrunid"},"kubeAppId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kubeappid"},"unionExecutionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unionexecutionid"}},"type":"object","required":["type"],"title":"TaskRunWorkload","description":"Recorded execution identity; absent before launch, never inferred from Task Run ID."},"TaskSchema-Input":{"properties":{"type":{"type":"string","const":"object","title":"Type","default":"object"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"items":{"$ref":"#/components/schemas/TaskSchemaProperty-Input","title":"Items"},"properties":{"additionalProperties":{"$ref":"#/components/schemas/TaskSchemaProperty-Input"},"type":"object","title":"Properties"},"required":{"items":{"type":"string"},"type":"array","title":"Required"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/TaskSchemaProperty-Input"}],"title":"Additionalproperties"},"anyOf":{"items":{"$ref":"#/components/schemas/TaskSchemaProperty-Input"},"type":"array","title":"Anyof"},"enum":{"items":{"$ref":"#/components/schemas/JsonValue"},"type":"array","minLength":1,"title":"Enum"},"default":{"$ref":"#/components/schemas/JsonValue"},"const":{"$ref":"#/components/schemas/JsonValue"}},"additionalProperties":false,"type":"object","title":"TaskSchema","description":"An object of named task inputs or outputs; required is independent of nullability."},"TaskSchema-Output":{"additionalProperties":true,"type":"object"},"TaskSchemaProperty-Input":{"properties":{"type":{"anyOf":[{"$ref":"#/components/schemas/TaskSchemaType"},{"items":{"$ref":"#/components/schemas/TaskSchemaType"},"type":"array"}],"title":"Type"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"items":{"$ref":"#/components/schemas/TaskSchemaProperty-Input","title":"Items"},"properties":{"additionalProperties":{"$ref":"#/components/schemas/TaskSchemaProperty-Input"},"type":"object","title":"Properties"},"required":{"items":{"type":"string"},"type":"array","title":"Required"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#/components/schemas/TaskSchemaProperty-Input"}],"title":"Additionalproperties"},"anyOf":{"items":{"$ref":"#/components/schemas/TaskSchemaProperty-Input"},"type":"array","title":"Anyof"},"enum":{"items":{"$ref":"#/components/schemas/JsonValue"},"type":"array","minLength":1,"title":"Enum"},"default":{"$ref":"#/components/schemas/JsonValue"},"const":{"$ref":"#/components/schemas/JsonValue"}},"additionalProperties":false,"type":"object","title":"TaskSchemaProperty","description":"Supported, inline JSON Schema vocabulary for task values.\n\nDefaults document backend behavior; validation never inserts them. References\nand executable/custom keywords are deliberately outside this contract."},"TaskSchemaProperty-Output":{"additionalProperties":true,"type":"object"},"TaskSchemaType":{"type":"string","enum":["object","array","string","number","integer","boolean","null"],"title":"TaskSchemaType"},"TaskSummary":{"properties":{"taskId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taskid"},"organizationId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organizationid"},"name":{"type":"string","maxLength":255,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-\\.]+$","title":"Name"},"displayName":{"type":"string","maxLength":255,"title":"Displayname"},"description":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Description"},"regions":{"items":{"type":"string"},"type":"array","title":"Regions"}},"type":"object","required":["name","displayName"],"title":"TaskSummary","description":"A null organizationId denotes a platform-owned task.\n\ne.g.\n{\n  \"taskId\": \"54ku482nr2bi57\",\n  \"organizationId\": null,\n  \"name\": \"predict_mosaic_geometries_recipe\",\n  \"displayName\": \"Run geometry inference recipe\",\n  \"description\": \"# Run geometry inference recipe ...\",\n  \"regions\": [\"aws-us-west-2\"]\n}"},"TemporaryAwsCredentials":{"properties":{"accessKeyId":{"type":"string","title":"Accesskeyid"},"secretAccessKey":{"type":"string","title":"Secretaccesskey"},"sessionToken":{"type":"string","title":"Sessiontoken"},"expiration":{"type":"string","format":"date-time","title":"Expiration"},"region":{"type":"string","title":"Region"}},"type":"object","required":["accessKeyId","secretAccessKey","sessionToken","expiration","region"],"title":"TemporaryAwsCredentials","description":"Temporary AWS STS credentials with an expiration timestamp and region."},"Timeline":{"properties":{"session":{"$ref":"#/components/schemas/SessionSummary"},"messages":{"items":{"$ref":"#/components/schemas/TimelineMessage"},"type":"array","title":"Messages"},"compactions":{"items":{"$ref":"#/components/schemas/TimelineCompaction"},"type":"array","title":"Compactions"}},"type":"object","required":["session","messages","compactions"],"title":"Timeline"},"TimelineCompaction":{"properties":{"through_message_id":{"type":"string","title":"Through Message Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["through_message_id","created_at"],"title":"TimelineCompaction","description":"A compaction summary covers the messages up to and including\n`through_message_id`, a public message id. The summary text stays\nserver-side."},"TimelineMessage":{"properties":{"id":{"type":"string","title":"Id"},"role":{"type":"string","enum":["user","assistant"],"title":"Role"},"status":{"type":"string","title":"Status"},"text":{"type":"string","title":"Text"},"reply_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reply To"},"sequence":{"type":"integer","title":"Sequence"},"events":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Events"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"steps":{"items":{"$ref":"#/components/schemas/TimelineStep"},"type":"array","title":"Steps"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["id","role","status","text","reply_to","sequence","events","created_at","steps"],"title":"TimelineMessage","description":"A message as the client renders it. `id` is the public id.\n\n`sequence` is the number of stream events behind `text`, so a client can\nresume the stream of a running reply from exactly where the text ends.\n\n`events` is that reply's stream frames, so a resuming client replays what\nthe server sent instead of reconstructing it from `text`. It is `None` on\nevery other row: only a reply short of a terminal status is resumed, and a\nfinished one's log can be far larger than the text it renders as."},"TimelineStep":{"properties":{"id":{"type":"string","title":"Id"},"step_index":{"type":"integer","title":"Step Index"},"kind":{"type":"string","title":"Kind"},"status":{"type":"string","title":"Status"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"tool_name":{"type":"string","title":"Tool Name"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","step_index","kind","status","provider","tool_name","payload","created_at"],"title":"TimelineStep","description":"A tool call as the client renders it. `id` is the stream's `toolCallId`.\n\n`payload` holds `args`, then `result` or `error` once the step settles,\nand `truncated: true` when that outcome was cut at `MAX_TOOL_RESULT_CHARS`."},"TimerangeOption":{"type":"string","enum":["24h","7d","30d"],"title":"TimerangeOption"},"ToolListing":{"properties":{"name":{"type":"string","title":"Name"},"provider":{"type":"string","title":"Provider"},"description":{"type":"string","title":"Description"},"read_only_hint":{"type":"boolean","title":"Read Only Hint"},"pre_approved":{"type":"boolean","title":"Pre Approved"},"granted":{"type":"boolean","title":"Granted"},"revocable":{"type":"boolean","title":"Revocable"}},"type":"object","required":["name","provider","description","read_only_hint","pre_approved","granted","revocable"],"title":"ToolListing","description":"A tool Waldo can call, with the standing that applies to this caller\nnow: it asks before calling one that is neither `pre_approved` nor\n`granted`. Revoking a tool clears both, so a pre-approved tool the caller\nhas revoked is listed with both false and asks like any other.\n\n`provider` is which server runs it: `waldo` for the ones Waldo runs\nitself, `wherobots` for ours, and `here` for HERE, whose calls leave\nWherobots. A tool that is not `revocable` never asks."},"TrialState":{"properties":{"trialStartedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Trialstartedat"},"trialEndsAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Trialendsat"},"trialCreditsRemaining":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Trialcreditsremaining"},"trialStatus":{"anyOf":[{"$ref":"#/components/schemas/TrialStatus"},{"type":"null"}]},"computeStatus":{"anyOf":[{"$ref":"#/components/schemas/ComputeStatus"},{"type":"null"}]},"hasPaymentMethod":{"type":"boolean","title":"Haspaymentmethod"}},"type":"object","required":["hasPaymentMethod"],"title":"TrialState","description":"Wire shape for the WBC-164 trial-state API (additive, read-only).\n\nEvery *trial* field is nullable: an organization with no trial data --\nwhich is every org until the WBC-763 trial-grant flag is enabled --\nserializes those as ``null``. ``trialStatus`` is derived (never stored)\nfrom Orb + payment state; see :mod:`src.internal.billing.trial_state`.\n\n``hasPaymentMethod`` is the one always-present field, and it is not a\ntrial fact at all -- see its comment below."},"TrialStatus":{"type":"string","enum":["active","converted","expired","canceled","ending_soon"],"title":"TrialStatus","description":"Derived lifecycle status of an organization's Professional trial.\n\nWire values (lowercased member names, matching the repo's other\n``LowercaseStrEnum`` enums):\n\nACTIVE       - ``\"active\"``       trial live, with or without a card on\n                                  file (WBC-855). Read\n                                  ``hasPaymentMethod`` for card presence.\nCONVERTED    - ``\"converted\"``    the trial finished with a valid payment\n                                  method on file, so the org rolled onto\n                                  paid usage. Also an org whose\n                                  delinquency downgrade is in effect\n                                  (WBC-766): it converted and then stopped\n                                  paying, which ``computeStatus`` reports as\n                                  ``zero_compute`` -- it is not an expired\n                                  trial.\nEXPIRED      - ``\"expired\"``      trial lapsed with no card -> downgraded to\n                                  Community.\nCANCELED     - ``\"canceled\"``     subscription cancelled / org deleted\n                                  without converting.\nENDING_SOON  - ``\"ending_soon\"``  credit-based flavor, set when the\n                                  ``credit_balance_dropped`` signal fires\n                                  while the trial is still live. The\n                                  time-based \"ending soon\" flavor is derived\n                                  downstream by consumers from\n                                  ``trialEndsAt``."},"TriggerResponse":{"properties":{"triggerId":{"type":"string","title":"Triggerid"},"name":{"type":"string","title":"Name"},"task":{"$ref":"#/components/schemas/TriggerTaskResponse"},"triggerInputs":{"additionalProperties":true,"type":"object","title":"Triggerinputs"},"region":{"type":"string","title":"Region"},"triggerKind":{"type":"string","const":"schedule","title":"Triggerkind","default":"schedule"},"triggerConfig":{"anyOf":[{"$ref":"#/components/schemas/IntervalConfig"},{"$ref":"#/components/schemas/CronConfig"}],"title":"Triggerconfig"},"runAs":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Runas"},"notificationEmails":{"items":{"type":"string","format":"email"},"type":"array","title":"Notificationemails"},"version":{"type":"integer","title":"Version"},"state":{"type":"string","enum":["ARCHIVED","AUTO_DISABLED","PAUSED","ACTIVE"],"title":"State"},"nextFireTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Nextfiretime"},"specEffectiveFrom":{"type":"string","format":"date-time","title":"Speceffectivefrom"},"lastSyncedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Lastsyncedat"},"converged":{"type":"boolean","title":"Converged","default":false},"lastRunState":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastrunstate"},"consecutiveFailureCount":{"type":"integer","title":"Consecutivefailurecount"},"canRunNow":{"type":"boolean","title":"Canrunnow","description":"Reflects caller authorization only, not execution admission."}},"additionalProperties":false,"type":"object","required":["triggerId","name","task","triggerInputs","region","triggerConfig","runAs","notificationEmails","version","state","nextFireTime","specEffectiveFrom","lastSyncedAt","lastRunState","consecutiveFailureCount","canRunNow"],"title":"TriggerResponse","description":"Customer-readable configuration; immutable recipe identity stays private."},"TriggerTaskResponse":{"properties":{"taskId":{"type":"string","title":"Taskid"},"name":{"type":"string","title":"Name"},"definition":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/PythonScriptDefinition"},{"$ref":"#/components/schemas/JarScriptDefinition"}],"discriminator":{"propertyName":"scriptKind","mapping":{"jar":"#/components/schemas/JarScriptDefinition","python":"#/components/schemas/PythonScriptDefinition"}}},{"type":"null"}],"title":"Definition"},"inputs":{"additionalProperties":true,"type":"object","title":"Inputs"},"inputSchema":{"additionalProperties":true,"type":"object","title":"Inputschema"},"openProperties":{"items":{"type":"string"},"type":"array","title":"Openproperties"}},"additionalProperties":false,"type":"object","required":["taskId","name","definition","inputs","inputSchema","openProperties"],"title":"TriggerTaskResponse","description":"The selected Task and recipe inputs, without an internal recipe identifier."},"TriggerTaskSelection":{"properties":{"taskId":{"anyOf":[{"type":"string","maxLength":255,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-\\.]+$"},{"type":"null"}],"title":"Taskid"},"definition":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/PythonScriptDefinition"},{"$ref":"#/components/schemas/JarScriptDefinition"}],"discriminator":{"propertyName":"scriptKind","mapping":{"jar":"#/components/schemas/JarScriptDefinition","python":"#/components/schemas/PythonScriptDefinition"}}},{"type":"null"}],"title":"Definition"},"inputs":{"additionalProperties":true,"type":"object","title":"Inputs"}},"additionalProperties":false,"type":"object","title":"TriggerTaskSelection","description":"Task selector and recipe-fixed replacement inputs."},"TypedLiteral":{"properties":{"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"additionalProperties":true,"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Value"}},"type":"object","required":["name","type"],"title":"TypedLiteral","description":"A single named literal value with its type preserved."},"UnionExecutionDetailView":{"properties":{"executionId":{"type":"string","title":"Executionid"},"workflowName":{"type":"string","title":"Workflowname"},"workflowProject":{"type":"string","title":"Workflowproject"},"state":{"type":"string","title":"State"},"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat"},"startedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Startedat"},"endedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Endedat"},"durationSeconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Durationseconds"},"errorMessage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Errormessage"},"inputs":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypedLiteral"},"type":"array"},{"type":"null"}],"title":"Inputs"},"outputs":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypedLiteral"},"type":"array"},{"type":"null"}],"title":"Outputs"}},"type":"object","required":["executionId","workflowName","workflowProject","state"],"title":"UnionExecutionDetailView","description":"Detailed view of a Union/Flyte workflow execution, including live\ninputs and outputs fetched from the Union API."},"UnionTaskCreate":{"properties":{"displayName":{"type":"string","maxLength":255,"title":"Displayname"},"description":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Description"},"regions":{"items":{"type":"string"},"type":"array","title":"Regions"},"inputSchema":{"anyOf":[{"$ref":"#/components/schemas/TaskInputSchema"},{"type":"null"}]},"outputSchema":{"anyOf":[{"$ref":"#/components/schemas/TaskSchema-Input"},{"type":"null"}]},"examples":{"items":{"$ref":"#/components/schemas/TaskExample"},"type":"array","title":"Examples"},"availableOrganizationIds":{"items":{"type":"string"},"type":"array","title":"Availableorganizationids"},"type":{"type":"string","const":"uniontask","title":"Type"},"unionProject":{"type":"string","maxLength":255,"minLength":1,"title":"Unionproject"},"unionName":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Unionname"},"unionVersion":{"type":"string","maxLength":255,"minLength":1,"title":"Unionversion","default":"LATEST"}},"additionalProperties":false,"type":"object","required":["displayName","type","unionProject"],"title":"UnionTaskCreate","description":"Creating a task whose code is registered in Union."},"UnionTaskUpdate":{"properties":{"displayName":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Displayname"},"description":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Description"},"regions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Regions"},"inputSchema":{"anyOf":[{"$ref":"#/components/schemas/TaskInputSchema"},{"type":"null"}]},"outputSchema":{"anyOf":[{"$ref":"#/components/schemas/TaskSchema-Input"},{"type":"null"}]},"examples":{"anyOf":[{"items":{"$ref":"#/components/schemas/TaskExample"},"type":"array"},{"type":"null"}],"title":"Examples"},"availableOrganizationIds":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Availableorganizationids"},"type":{"type":"string","const":"uniontask","title":"Type"},"unionProject":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Unionproject"},"unionName":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Unionname"},"unionVersion":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Unionversion"}},"additionalProperties":false,"type":"object","required":["type"],"title":"UnionTaskUpdate","description":"Updating a Union-backed task."},"UnityDeltaForeignCatalogCreate":{"properties":{"type":{"type":"string","const":"UNITY_DELTA","title":"Type","description":"Type of the foreign catalog."},"name":{"type":"string","title":"Name","description":"Name of the foreign catalog."},"serverUrl":{"type":"string","title":"Serverurl","description":"URL of the Unity Delta server."},"token":{"type":"string","title":"Token","description":"Personal access token for authentication."}},"type":"object","required":["type","name","serverUrl","token"],"title":"UnityDeltaForeignCatalogCreate","description":"Request model for creating a Unity Delta foreign catalog."},"UnityDeltaForeignCatalogUpdate":{"properties":{"type":{"type":"string","const":"UNITY_DELTA","title":"Type","description":"Type of the foreign catalog. Must be 'UNITY_DELTA'."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Updated name of the foreign catalog."},"serverUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serverurl","description":"Updated URL of the Unity Delta server."},"token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token","description":"Updated personal access token."}},"type":"object","required":["type"],"title":"UnityDeltaForeignCatalogUpdate","description":"Request model for updating a Unity Delta foreign catalog.\nUsed for OpenAPI schema generation."},"UnityIcebergForeignCatalogCreate":{"properties":{"type":{"type":"string","const":"UNITY_ICEBERG","title":"Type","description":"Type of the foreign catalog."},"name":{"type":"string","title":"Name","description":"Name of the foreign catalog."},"serverUrl":{"type":"string","title":"Serverurl","description":"URL of the Unity Iceberg server."},"oauthClientId":{"type":"string","title":"Oauthclientid","description":"OAuth client ID for authentication."},"oauthClientSecret":{"type":"string","title":"Oauthclientsecret","description":"OAuth client secret for authentication."},"alias":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alias","description":"Optional alias for the catalog. If specified, it will be used instead of the `name` to reference the catalog inside a workload."}},"type":"object","required":["type","name","serverUrl","oauthClientId","oauthClientSecret"],"title":"UnityIcebergForeignCatalogCreate","description":"Request model for creating a Unity Iceberg foreign catalog."},"UnityIcebergForeignCatalogUpdate":{"properties":{"type":{"type":"string","const":"UNITY_ICEBERG","title":"Type","description":"Type of the foreign catalog. Must be 'UNITY_ICEBERG'."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Updated name of the foreign catalog."},"serverUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serverurl","description":"Updated URL of the Unity Iceberg server."},"oauthClientId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Oauthclientid","description":"Updated OAuth client ID."},"oauthClientSecret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Oauthclientsecret","description":"Updated OAuth client secret."},"alias":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alias","description":"Updated optional alias."}},"type":"object","required":["type"],"title":"UnityIcebergForeignCatalogUpdate","description":"Request model for updating a Unity Iceberg foreign catalog.\nUsed for OpenAPI schema generation."},"UpdateApiKeyRequest":{"properties":{"expiresAt":{"type":"string","format":"date-time","title":"Expiresat"}},"type":"object","required":["expiresAt"],"title":"UpdateApiKeyRequest"},"UpdateSession":{"properties":{"notify_on_final":{"type":"boolean","title":"Notify On Final"}},"type":"object","required":["notify_on_final"],"title":"UpdateSession","description":"`notify_on_final` emails the owner when a turn ends."},"UpdateTriggerPayload":{"properties":{"version":{"type":"integer","minimum":1.0,"title":"Version"},"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"task":{"anyOf":[{"$ref":"#/components/schemas/TriggerTaskSelection"},{"type":"null"}]},"triggerInputs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Triggerinputs"},"region":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Region"},"triggerConfig":{"anyOf":[{"$ref":"#/components/schemas/IntervalConfig"},{"$ref":"#/components/schemas/CronConfig"},{"type":"null"}],"title":"Triggerconfig"},"runAs":{"anyOf":[{"type":"string","maxLength":255,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-\\.]+$"},{"type":"null"}],"title":"Runas"},"notificationEmails":{"anyOf":[{"items":{"type":"string","format":"email"},"type":"array"},{"type":"null"}],"title":"Notificationemails"}},"additionalProperties":false,"type":"object","required":["version"],"title":"UpdateTriggerPayload","description":"Only root null fields mean unchanged; nested values are preserved."},"UpgradeConfirmationRequest":{"properties":{"setup_intent_id":{"type":"string","title":"Setup Intent Id"}},"type":"object","required":["setup_intent_id"],"title":"UpgradeConfirmationRequest"},"UsageKey":{"properties":{"user":{"type":"string","title":"User"},"region":{"type":"string","title":"Region"},"app_type":{"$ref":"#/components/schemas/AppType"},"runtime":{"type":"string","title":"Runtime"}},"type":"object","required":["user","region","app_type","runtime"],"title":"UsageKey"},"UsageSlice":{"properties":{"key":{"$ref":"#/components/schemas/UsageKey"},"usage":{"type":"integer","title":"Usage"}},"type":"object","required":["key","usage"],"title":"UsageSlice"},"VerifyBindingPayload":{"properties":{"type":{"type":"string","const":"storage","title":"Type","default":"storage"},"path":{"type":"string","title":"Path","description":"S3 path or prefix to verify access against"},"accessType":{"$ref":"#/components/schemas/StorageIntegrationAccessType"}},"type":"object","required":["path","accessType"],"title":"VerifyBindingPayload","description":"Optional binding the user is about to persist.\n\nOnly `storage` is supported in this phase. Glue resource bindings are\nhandled in a later stream and are intentionally rejected here."},"VersionHint":{"properties":{"hint":{"items":{"$ref":"#/components/schemas/WherobotsVersion"},"type":"array","title":"Hint"},"description":{"type":"string","title":"Description"}},"type":"object","required":["hint","description"],"title":"VersionHint"},"ViewDetail":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the view."},"schema":{"$ref":"#/components/schemas/Schema","description":"The view schema definition."},"definition":{"type":"string","title":"Definition","description":"The SQL definition of the view."},"properties":{"additionalProperties":{"type":"string"},"type":"object","title":"Properties","description":"Key-value pairs that define view properties."}},"type":"object","required":["name","schema","definition","properties"],"title":"ViewDetail"},"WherobotsCloudFeature":{"type":"string","enum":["SAML","SERVICE_PRINCIPALS","STORAGE_INTEGRATION","PROFESSIONAL_DATA","AUDIT_LOGS","RUNS","FOREIGN_CATALOGS","RASTERFLOW","MCP_ACCESS","STANDALONE_WHEROBOTSDB","CLOUD_CONNECTIONS","MICRO_RUNTIME","SMALL_RUNTIME","MEDIUM_RUNTIME","LARGE_RUNTIME","X_LARGE_RUNTIME","XX_LARGE_RUNTIME","MEDIUM_HIMEM_RUNTIME","LARGE_HIMEM_RUNTIME","X_LARGE_HIMEM_RUNTIME","XX_LARGE_HIMEM_RUNTIME","X_LARGE_HICPU_RUNTIME","XX_LARGE_HICPU_RUNTIME","MICRO_A10_GPU_RUNTIME","TINY_A10_GPU_RUNTIME","SMALL_A10_GPU_RUNTIME","MEDIUM_A10_GPU_RUNTIME","LARGE_A10_GPU_RUNTIME","X_LARGE_A10_GPU_RUNTIME","X_LARGE_MATCHER_RUNTIME","XX_LARGE_MATCHER_RUNTIME","REGION_AWS_US_WEST_2","REGION_AWS_EU_WEST_1","REGION_AWS_US_EAST_1","REGION_AWS_AP_SOUTH_1","REGION_AWS_US_EAST_2"],"title":"WherobotsCloudFeature"},"WherobotsVersion":{"properties":{"description":{"type":"string","title":"Description"},"version":{"type":"string","title":"Version"},"aliases":{"items":{"type":"string"},"type":"array","title":"Aliases","default":[]}},"type":"object","required":["description","version"],"title":"WherobotsVersion"},"WorkloadCostAvailable":{"properties":{"kind":{"type":"string","const":"available","title":"Kind"},"workload_id":{"type":"string","title":"Workload Id"},"workload_type":{"$ref":"#/components/schemas/WorkloadCostType"},"kube_app_id":{"type":"string","title":"Kube App Id"},"organization_id":{"type":"string","title":"Organization Id"},"cost":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Cost"},"currency":{"type":"string","const":"USD","title":"Currency","default":"USD"},"spatial_units":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Spatial Units"},"status":{"$ref":"#/components/schemas/WorkloadCostStatus"},"settled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Settled At"},"last_evaluated_at":{"type":"string","format":"date-time","title":"Last Evaluated At"}},"type":"object","required":["kind","workload_id","workload_type","kube_app_id","organization_id","cost","spatial_units","status","settled_at","last_evaluated_at"],"title":"WorkloadCostAvailable","description":"A workload cost we were able to resolve."},"WorkloadCostStatus":{"type":"string","enum":["live","settling","final"],"title":"WorkloadCostStatus","description":"Lifecycle status of a materialized workload cost record.\n\nLIVE     - Workload is still running; cost may continue to accumulate.\n           Refreshed from the upstream billing system on read if older\n           than the settling window.\nSETTLING - Workload finished recently; cost is approaching its final\n           value but the upstream may still emit late events. Continues\n           to be refreshed until the settling window elapses.\nFINAL    - Cost is sealed. No further refreshes; FINAL never reverts\n           to LIVE or SETTLING regardless of update_time ordering."},"WorkloadCostType":{"type":"string","enum":["kube_app","rasterflow_run"],"title":"WorkloadCostType","description":"The kind of workload a cost record belongs to.\n\nA workload cost is keyed by ``(workload_type, workload_id)``: the id\nalphabets of the two kinds are independent, so the type disambiguates\nthem and lets a single materialized table hold both.\n\nKUBE_APP        - A compute-plane KubeApp (notebook, SQL session, job\n                  run). ``workload_id`` is the kubeapp ``ext_id``.\nRASTERFLOW_RUN  - A terminal Union (rasterflow) run. ``workload_id`` is\n                  the Union ``execution_id``."},"WorkloadCostUnavailable":{"properties":{"kind":{"type":"string","const":"unavailable","title":"Kind"},"workload_id":{"type":"string","title":"Workload Id"},"workload_type":{"$ref":"#/components/schemas/WorkloadCostType"},"kube_app_id":{"type":"string","title":"Kube App Id"},"reason":{"$ref":"#/components/schemas/WorkloadCostUnavailableReason"}},"type":"object","required":["kind","workload_id","workload_type","kube_app_id","reason"],"title":"WorkloadCostUnavailable","description":"A workload cost we could not resolve, with a structured reason."},"WorkloadCostUnavailableReason":{"type":"string","enum":["not_found","upstream_error","upstream_rate_limit"],"title":"WorkloadCostUnavailableReason","description":"Why a workload cost could not be returned.\n\nNOT_FOUND           - The kube_app_id is not known to the billing system,\n                      or the caller is not authorized to see it.\n                      Indistinguishable by design (avoids leaking the\n                      existence of unrelated workloads).\nUPSTREAM_ERROR      - The upstream billing system failed or timed out and\n                      we have no cached value to serve. Caller may retry.\nUPSTREAM_RATE_LIMIT - The upstream billing system signaled a rate limit;\n                      caller should back off."},"WorkloadCostsOutput":{"properties":{"costs":{"additionalProperties":{"oneOf":[{"$ref":"#/components/schemas/WorkloadCostAvailable"},{"$ref":"#/components/schemas/WorkloadCostUnavailable"}],"discriminator":{"propertyName":"kind","mapping":{"available":"#/components/schemas/WorkloadCostAvailable","unavailable":"#/components/schemas/WorkloadCostUnavailable"}}},"type":"object","title":"Costs"}},"type":"object","title":"WorkloadCostsOutput","description":"Batch response envelope.\n\nContract (enforced by the service that constructs this, not by the\nschema): `costs.keys() == set(requested workload ids)`. Every requested\nid appears in the response exactly once, either as Available or\nUnavailable. The service layer is responsible for upholding this;\nthe wire shape is intentionally permissive so it doesn't add runtime\ncost on every serialization."},"WorkloadDetails":{"properties":{"lifecycle_scope":{"type":"string","const":"compute_workload","title":"Lifecycle Scope","default":"compute_workload"},"workload":{"$ref":"#/components/schemas/WorkloadHistoryItem"},"runtime_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Runtime Version"},"events":{"items":{"$ref":"#/components/schemas/LifecycleEvent"},"type":"array","title":"Events"},"next_event_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Event Offset"},"events_truncated":{"type":"boolean","title":"Events Truncated"},"event_limitation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Limitation"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"source_version":{"type":"string","const":"not_recorded","title":"Source Version","default":"not_recorded"}},"type":"object","required":["workload","runtime_version","events","next_event_offset","events_truncated","observed_at"],"title":"WorkloadDetails"},"WorkloadHistoryItem":{"properties":{"id":{"type":"string","title":"Id"},"createTime":{"type":"string","format":"date-time","title":"Createtime"},"updateTime":{"type":"string","format":"date-time","title":"Updatetime"},"workloadType":{"$ref":"#/components/schemas/WorkloadType"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"status":{"$ref":"#/components/schemas/WorkloadStatus"},"createdById":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdbyid"},"startTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starttime"},"endTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Endtime"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"sourceClient":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourceclient"},"sourceClientChain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourceclientchain"},"appType":{"anyOf":[{"$ref":"#/components/schemas/AppType"},{"type":"null"}]},"runtimeId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Runtimeid"},"regionName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Regionname"},"runId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Runid"},"runName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Runname"},"runStatus":{"anyOf":[{"$ref":"#/components/schemas/RunStatus"},{"type":"null"}]},"workflowName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflowname"},"workflowProject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflowproject"},"executionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Executionid"}},"type":"object","required":["id","createTime","updateTime","workloadType","status"],"title":"WorkloadHistoryItem","description":"Unified workload history item representing either a KubeApp or a Union workflow execution."},"WorkloadMetric":{"type":"string","enum":["CPU_UTILIZATION_PERCENT","MEMORY_UTILIZATION_PERCENT","GPU_UTILIZATION_PERCENT","GPU_MEMORY_UTILIZATION_PERCENT","COST_USD","CONSUMED_SPATIAL_UNITS"],"title":"WorkloadMetric"},"WorkloadPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/WorkloadHistoryItem"},"type":"array","title":"Items"},"next_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Offset"},"truncated":{"type":"boolean","title":"Truncated"},"limitation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Limitation"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"}},"type":"object","required":["items","next_offset","truncated","observed_at"],"title":"WorkloadPage"},"WorkloadStatus":{"type":"string","enum":["PENDING","RUNNING","SUCCEEDED","FAILED","CANCELLING","UNKNOWN"],"title":"WorkloadStatus"},"WorkloadType":{"type":"string","enum":["JUPYTER","SQL_SESSION","RUN","RASTERFLOW_RUN"],"title":"WorkloadType"},"src__routers__files__UploadUrlResponse":{"properties":{"uploadUrl":{"type":"string","title":"Uploadurl"}},"type":"object","required":["uploadUrl"],"title":"UploadUrlResponse"},"src__routers__storageintegration__UploadUrlResponse":{"properties":{"destination":{"type":"string","title":"Destination"},"uploadUrl":{"type":"string","title":"Uploadurl"}},"type":"object","required":["destination","uploadUrl"],"title":"UploadUrlResponse"}},"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer"},"wherobotsApiKey":{"type":"apiKey","description":"A Wherobots-generated API key","in":"header","name":"X-API-Key"}}}}