From b3936dedeaa3817a1b54cbc75b29461dbb4186df Mon Sep 17 00:00:00 2001 From: santi698 <165044+santi698@users.noreply.github.com> Date: Wed, 2 Dec 2026 06:18:28 +0000 Subject: [PATCH] chore(sdk): update vendored OpenAPI spec and regenerate client --- packages/sdk/openapi.json | 137 +++++++++++------- packages/sdk/src/generated/api.ts | 24 ++- packages/sdk/src/generated/base.ts | 2 +- packages/sdk/src/generated/common.ts | 2 +- packages/sdk/src/generated/configuration.ts | 2 +- .../docs/InputArtifactCreationRequest.md | 4 +- .../src/generated/docs/ItemCreationRequest.md | 2 +- packages/sdk/src/generated/docs/PublicApi.md | 8 +- .../sdk/src/generated/docs/ResourceType.md | 4 - packages/sdk/src/generated/index.ts | 2 +- 10 files changed, 112 insertions(+), 75 deletions(-) diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json index b62f2f77..5105343c 100644 --- a/packages/sdk/openapi.json +++ b/packages/sdk/openapi.json @@ -3,7 +3,7 @@ "info": { "title": "Aignostics Platform API", "description": "\nThe Aignostics Platform is a cloud-based service that enables organizations to access advanced computational pathology applications through a secure API. The platform provides standardized access to Aignostics' portfolio of computational pathology solutions, with HETA serving as an example of the available API endpoints. \n\nTo begin using the platform, your organization must first be registered by our business support team. If you don't have an account yet, please contact your account manager or email support@aignostics.com to get started. \n\nMore information about our applications can be found on [https://platform.aignostics.com](https://platform.aignostics.com).\n\n**How to authorize and test API endpoints:**\n\n1. Click the \"Authorize\" button in the right corner below\n3. Click \"Authorize\" button in the dialog to log in with your Aignostics Platform credentials\n4. After successful login, you'll be redirected back and can use \"Try it out\" on any endpoint\n\n**Note**: You only need to authorize once per session. The lock icons next to endpoints will show green when authorized.\n\n", - "version": "1.10.2" + "version": "1.11.0" }, "servers": [ { @@ -31,6 +31,7 @@ "required": false, "schema": { "type": "integer", + "maximum": 10000, "minimum": 1, "default": 1, "title": "Page" @@ -464,7 +465,9 @@ "schema": { "anyOf": [ { - "type": "string" + "type": "string", + "maxLength": 255, + "pattern": "^[^\\x00-\\x1f\\x7f]*$" }, { "type": "null" @@ -486,7 +489,9 @@ "schema": { "anyOf": [ { - "type": "string" + "type": "string", + "maxLength": 255, + "pattern": "^[^\\x00-\\x1f\\x7f]*$" }, { "type": "null" @@ -508,7 +513,9 @@ "schema": { "anyOf": [ { - "type": "string" + "type": "string", + "maxLength": 255, + "pattern": "^[^\\x00-\\x1f\\x7f]*$" }, { "type": "null" @@ -580,6 +587,7 @@ "required": false, "schema": { "type": "integer", + "maximum": 10000, "minimum": 1, "default": 1, "title": "Page" @@ -604,7 +612,9 @@ "schema": { "anyOf": [ { - "type": "string" + "type": "string", + "maxLength": 255, + "pattern": "^[^\\x00-\\x1f\\x7f]*$" }, { "type": "null" @@ -626,7 +636,9 @@ "schema": { "anyOf": [ { - "type": "string" + "type": "string", + "maxLength": 255, + "pattern": "^[^\\x00-\\x1f\\x7f]*$" }, { "type": "null" @@ -648,7 +660,9 @@ "schema": { "anyOf": [ { - "type": "string" + "type": "string", + "maxLength": 255, + "pattern": "^[^\\x00-\\x1f\\x7f]*$" }, { "type": "null" @@ -716,7 +730,7 @@ "Public" ], "summary": "Initiate Run", - "description": "This endpoint initiates a processing run for a selected application and version, and returns a\n`run_id` for tracking purposes.\n\nItem processing occurs asynchronously, allowing you to retrieve results for individual items as\nsoon as they complete processing. The system typically processes items in batches.\n\n### Payload\n\nThe payload includes `application_id`, optional `version_number`, and `items` base fields.\n\n`application_id` is the unique identifier for the application.\n`version_number` is the semantic version to use. If not provided, the latest version available to\nyou will be used.\n\n`items` includes the list of the items to process (slides, in case of the HETA\napplication). Every item has a set of standard fields defined by the API, plus\n`input_artifacts[].metadata`, whose shape is defined by the chosen application version.\n\nBelow is an example payload for initiating an HETA (`he-tme`) run:\n\n```json\n{\n \"application_id\": \"he-tme\",\n \"items\": [\n {\n \"external_id\": \"slide_1\",\n \"custom_metadata\": {\n \"case\": \"abc\"\n },\n \"input_artifacts\": [\n {\n \"name\": \"whole_slide_image\",\n \"download_url\": \"https://example-bucket.s3.amazonaws.com/slide1.tiff?signature=...\",\n \"metadata\": {\n \"checksum_base64_crc32c\": \"64RKKA==\",\n \"staining_method\": \"H&E\",\n \"specimen\": {\n \"disease\": \"LUNG_CANCER\",\n \"tissue\": \"LUNG\"\n },\n \"media_type\": \"image/tiff\",\n \"width_px\": 136223,\n \"height_px\": 87761,\n \"resolution_mpp\": 0.2628238\n }\n }\n ]\n }\n ]\n}\n```\n\n> **The example above is a snapshot, not a contract.** Applications are released independently of\n> this API, so the `input_artifacts[].metadata` shape shown here may lag behind the version you are\n> running. The authoritative schema for a version is always `input_artifacts[].metadata_schema`\n> from `GET /v1/applications/{application_id}/versions/{version}`. That schema rejects unknown\n> properties, so a stale field name will fail validation with `400`.\n\n| Parameter | Description |\n| :---- | :---- |\n| `application_id` **required** | Unique ID for the application |\n| `version_number` optional | Semantic version of the application. If not provided, the latest version available to you will be used |\n| `items` **required** | List of submitted items, i.e. whole slide images (WSIs), with the parameters described below |\n| `external_id` **required** | Unique WSI name or ID for easy reference to items, provided by the caller. Must be unique across all items of the run |\n| `custom_metadata` optional | Free-form JSON stored verbatim alongside the run or item. Not processed or validated by the platform, and not application-specific |\n| `input_artifacts` **required** | List of provided artifacts for a WSI. HETA receives 1 artifact per slide (the slide itself); other applications may take more, e.g. a slide plus a segmentation map |\n| `name` **required** | Name of the artifact as declared by the application version. HETA accepts only `\"whole_slide_image\"` |\n| `download_url` **required** | Signed URL to the input file in S3 or GCS. Must use `https`, name a public host, and carry no user info. May contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. Should be valid for at least 6 days |\n\nThe remaining fields below live inside `input_artifacts[].metadata` and are governed by the\napplication version's `metadata_schema`. The following applies to HETA:\n\n| Metadata field | Description |\n| :---- | :---- |\n| `checksum_base64_crc32c` **required** | Base64-encoded big-endian CRC32C checksum of the WSI image. Must match `^[A-Za-z0-9+/]{6}==$` |\n| `staining_method` **required** | WSI stain bio-marker; HETA supports only `\"H&E\"` |\n| `specimen.disease` **required** | One of `BREAST_CANCER`, `LUNG_CANCER`, `COLORECTAL_CANCER`, `BLADDER_CANCER`, `LIVER_CANCER`, `PROSTATE_CANCER`, `PANCREATIC_CANCER`, `STOMACH_CANCER`, `OVARIAN_CANCER`, or `OTHER` |\n| `specimen.tissue` optional | Tissue of origin. Allowed values depend on `disease`; defaults to `OTHER` when omitted |\n| `media_type` optional | Media format of the WSI: `image/tiff` (.tiff/.tif), `application/dicom` (DICOM), `application/zip` (zipped DICOM), or `application/octet-stream` (.svs) |\n| `resolution_mpp` optional | Resolution of the WSI in micrometers per pixel |\n| `width_px` optional | Number of pixels of the WSI in the X dimension |\n| `height_px` optional | Number of pixels of the WSI in the Y dimension |\n\n### Response\n\nThe endpoint returns the run UUID. After that, the job is scheduled for execution in the\nbackground.\n\nTo check the status of the run, call `GET /v1/runs/{run_id}` with the returned run UUID.\n\n### Rejection\n\nBeyond authentication, authorization, and malformed-input errors, the request is rejected with\n`402 Payment Required` when a quota limit would be exceeded. See the quota documentation for\ndetails. It is rejected with `422` when a `download_url` host resolves to an address that is not\npublic, or when the items use more than 10 distinct `download_url` hosts. It is also rejected with\n`422` when a `download_url` contains a character outside `A-Za-z0-9` and `-._~%/?&=:+`, or when\n`input_artifacts[].metadata.checksum_base64_crc32c` does not match `^[A-Za-z0-9+/]{6}==$`.", + "description": "This endpoint initiates a processing run for a selected application and version, and returns a\n`run_id` for tracking purposes.\n\nItem processing occurs asynchronously, allowing you to retrieve results for individual items as\nsoon as they complete processing. The system typically processes items in batches.\n\n### Payload\n\nThe payload includes `application_id`, optional `version_number`, and `items` base fields.\n\n`application_id` is the unique identifier for the application.\n`version_number` is the semantic version to use. If not provided, the latest version available to\nyou will be used.\n\n`items` includes the list of the items to process (slides, in case of the HETA\napplication). Every item has a set of standard fields defined by the API, plus\n`input_artifacts[].metadata`, whose shape is defined by the chosen application version.\n\nBelow is an example payload for initiating an HETA (`he-tme`) run:\n\n```json\n{\n \"application_id\": \"he-tme\",\n \"items\": [\n {\n \"external_id\": \"slide_1\",\n \"custom_metadata\": {\n \"case\": \"abc\"\n },\n \"input_artifacts\": [\n {\n \"name\": \"whole_slide_image\",\n \"download_url\": \"https://example-bucket.s3.amazonaws.com/slide1.tiff?signature=...\",\n \"metadata\": {\n \"checksum_base64_crc32c\": \"64RKKA==\",\n \"staining_method\": \"H&E\",\n \"specimen\": {\n \"disease\": \"LUNG_CANCER\",\n \"tissue\": \"LUNG\"\n },\n \"media_type\": \"image/tiff\",\n \"width_px\": 136223,\n \"height_px\": 87761,\n \"resolution_mpp\": 0.2628238\n }\n }\n ]\n }\n ]\n}\n```\n\n> **The example above is a snapshot, not a contract.** Applications are released independently of\n> this API, so the `input_artifacts[].metadata` shape shown here may lag behind the version you are\n> running. The authoritative schema for a version is always `input_artifacts[].metadata_schema`\n> from `GET /v1/applications/{application_id}/versions/{version}`. That schema rejects unknown\n> properties, so a stale field name will fail validation with `400`.\n\n| Parameter | Description |\n| :---- | :---- |\n| `application_id` **required** | Unique ID for the application |\n| `version_number` optional | Semantic version of the application. If not provided, the latest version available to you will be used |\n| `items` **required** | List of submitted items, i.e. whole slide images (WSIs), with the parameters described below |\n| `external_id` **required** | Unique WSI name or ID for easy reference to items, provided by the caller. Must be unique across all items of the run |\n| `custom_metadata` optional | Free-form JSON stored verbatim alongside the run or item. Not processed or validated by the platform, and not application-specific. Exception: if the `scheduling` field omits them, the platform reads `sdk.scheduling.due_date` and `sdk.scheduling.deadline` one time, at run creation (deprecated) |\n| `input_artifacts` **required** | List of provided artifacts for a WSI. Each input artifact that the application version declares must occur exactly once |\n| `name` **required** | Name of the artifact as declared by the application version. HETA accepts only `\"whole_slide_image\"` |\n| `download_url` **required** | Signed URL to the input file in S3 or GCS. Must use `https`, name a public host, and carry no user info. May contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. Should be valid for at least 6 days |\n\nThe remaining fields below live inside `input_artifacts[].metadata` and are governed by the\napplication version's `metadata_schema`. The following applies to HETA:\n\n| Metadata field | Description |\n| :---- | :---- |\n| `checksum_base64_crc32c` **required** | Base64-encoded big-endian CRC32C checksum of the WSI image. Must match `^[A-Za-z0-9+/]{6}==$` |\n| `staining_method` **required** | WSI stain bio-marker; HETA supports only `\"H&E\"` |\n| `specimen.disease` **required** | One of `BREAST_CANCER`, `LUNG_CANCER`, `COLORECTAL_CANCER`, `BLADDER_CANCER`, `LIVER_CANCER`, `PROSTATE_CANCER`, `PANCREATIC_CANCER`, `STOMACH_CANCER`, `OVARIAN_CANCER`, or `OTHER` |\n| `specimen.tissue` optional | Tissue of origin. Allowed values depend on `disease`; defaults to `OTHER` when omitted |\n| `media_type` optional | Media format of the WSI: `image/tiff` (.tiff/.tif), `application/dicom` (DICOM), `application/zip` (zipped DICOM), or `application/octet-stream` (.svs) |\n| `resolution_mpp` optional | Resolution of the WSI in micrometers per pixel |\n| `width_px` optional | Number of pixels of the WSI in the X dimension |\n| `height_px` optional | Number of pixels of the WSI in the Y dimension |\n\n### Response\n\nThe endpoint returns the run UUID. After that, the job is scheduled for execution in the\nbackground.\n\nTo check the status of the run, call `GET /v1/runs/{run_id}` with the returned run UUID.\n\n### Rejection\n\nBeyond authentication, authorization, and malformed-input errors, the request is rejected with\n`402 Payment Required` when a quota limit would be exceeded. See the quota documentation for\ndetails. It is rejected with `413` when the request body is larger than 20 MB. It is rejected\nwith `422` when a `download_url` host resolves to an address that is not\npublic, or when the items use more than 10 distinct `download_url` hosts. It is also rejected with\n`422` when a `download_url` contains a character outside `A-Za-z0-9` and `-._~%/?&=:+`, or when\n`input_artifacts[].metadata.checksum_base64_crc32c` does not match `^[A-Za-z0-9+/]{6}==$`.", "operationId": "create_run_v1_runs_post", "security": [ { @@ -756,6 +770,12 @@ "403": { "description": "Forbidden - You don't have permission to create this run" }, + "413": { + "description": "Content Too Large - The request body is above 20 MB" + }, + "503": { + "description": "Service Unavailable - The DNS lookup of a download_url host failed or timed out. Retry after the time in the `Retry-After` header" + }, "422": { "description": "Validation Error", "content": { @@ -802,7 +822,9 @@ "schema": { "anyOf": [ { - "type": "string" + "type": "string", + "maxLength": 255, + "pattern": "^[^\\x00-\\x1f\\x7f]*$" }, { "type": "null" @@ -887,7 +909,7 @@ "description": "Forbidden - You don't have permission to cancel this run" }, "409": { - "description": "Conflict - The Run is already cancelled" + "description": "Conflict - The Run has already terminated" }, "422": { "description": "Validation Error", @@ -935,7 +957,9 @@ "schema": { "anyOf": [ { - "type": "string" + "type": "string", + "maxLength": 255, + "pattern": "^[^\\x00-\\x1f\\x7f]*$" }, { "type": "null" @@ -957,7 +981,8 @@ "items": { "type": "string", "format": "uuid" - } + }, + "maxItems": 100 }, { "type": "null" @@ -977,8 +1002,11 @@ { "type": "array", "items": { - "type": "string" - } + "type": "string", + "maxLength": 255, + "pattern": "^[^\\x00-\\x1f\\x7f]*$" + }, + "maxItems": 100 }, { "type": "null" @@ -1082,6 +1110,7 @@ "required": false, "schema": { "type": "integer", + "maximum": 10000, "minimum": 1, "default": 1, "title": "Page" @@ -1184,6 +1213,8 @@ "required": true, "schema": { "type": "string", + "maxLength": 255, + "pattern": "^[^\\x00-\\x1f\\x7f]*$", "description": "The `external_id` that was defined for the item by the customer that triggered the run.", "title": "External Id" }, @@ -1196,7 +1227,9 @@ "schema": { "anyOf": [ { - "type": "string" + "type": "string", + "maxLength": 255, + "pattern": "^[^\\x00-\\x1f\\x7f]*$" }, { "type": "null" @@ -1283,7 +1316,9 @@ "schema": { "anyOf": [ { - "type": "string" + "type": "string", + "maxLength": 255, + "pattern": "^[^\\x00-\\x1f\\x7f]*$" }, { "type": "null" @@ -1447,6 +1482,9 @@ "412": { "description": "Precondition Failed - Checksum mismatch, resource has been modified" }, + "413": { + "description": "Content Too Large - The request body is above 20 MB" + }, "422": { "description": "Validation Error", "content": { @@ -1528,6 +1566,9 @@ "412": { "description": "Precondition Failed - Checksum mismatch" }, + "413": { + "description": "Content Too Large - The request body is above 20 MB" + }, "422": { "description": "Validation Error", "content": { @@ -2003,7 +2044,9 @@ "schema": { "anyOf": [ { - "type": "string" + "type": "string", + "maxLength": 255, + "pattern": "^[^\\x00-\\x1f\\x7f]*$" }, { "type": "null" @@ -2055,6 +2098,7 @@ "required": false, "schema": { "type": "integer", + "maximum": 10000, "minimum": 1, "default": 1, "title": "Page" @@ -2322,7 +2366,9 @@ "schema": { "anyOf": [ { - "type": "string" + "type": "string", + "maxLength": 255, + "pattern": "^[^\\x00-\\x1f\\x7f]*$" }, { "type": "null" @@ -2355,6 +2401,7 @@ "required": false, "schema": { "type": "integer", + "maximum": 10000, "minimum": 1, "default": 1, "title": "Page" @@ -2730,7 +2777,7 @@ } ], "title": "Custom Metadata", - "description": "JSON metadata that should be set for the run", + "description": "JSON metadata that should be set for the run or item. The size limit is 512000 bytes of JSON text with non-ASCII characters escaped. Nesting is limited to 64 levels. Text must not contain NUL or lone surrogates. Numbers must be finite and between -2^63 and 2^63 - 1.", "examples": [ { "department": "D1", @@ -2806,7 +2853,8 @@ "subject_email": { "anyOf": [ { - "type": "string" + "type": "string", + "format": "email" }, { "type": "null" @@ -2910,7 +2958,7 @@ }, "mime_type": { "type": "string", - "pattern": "^\\w+\\/\\w+[-+.|\\w+]+\\w+$", + "pattern": "^[A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}/[A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}$", "title": "Mime Type", "examples": [ "image/tiff" @@ -2934,6 +2982,7 @@ "properties": { "name": { "type": "string", + "maxLength": 255, "title": "Name", "description": "Name of the input artifact, as declared by the application version. The valid names for a version are the `input_artifacts[].name` values returned by `GET /v1/applications/{application_id}/versions/{version}`. For HETA this is `\"whole_slide_image\"`.", "examples": [ @@ -2946,7 +2995,7 @@ "minLength": 1, "format": "uri", "title": "Download Url", - "description": "[Signed URL](https://cloud.google.com/cdn/docs/using-signed-urls) to the input artifact file. The URL should be valid for at least 6 days from the payload submission time. The URL must use `https`, must name a public host (no IP address, no `localhost`, no `.internal` or `.local` name), and must not contain user info. The URL may contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`.", + "description": "[Signed URL](https://cloud.google.com/cdn/docs/using-signed-urls) to the input artifact file. The URL should be valid for at least 6 days from the payload submission time. The URL must use `https`, must name a public host (no IP address, no `localhost`, no `.internal` or `.local` name), and must not contain user info. The URL may contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. The host must resolve to public addresses. The decoded URL must not contain control characters.", "examples": [ "https://example.com/case-no-1-slide.tiff" ] @@ -2955,7 +3004,7 @@ "additionalProperties": true, "type": "object", "title": "Metadata", - "description": "The metadata of the artifact, as required by the application version. The authoritative JSON schema is `input_artifacts[].metadata_schema` from `GET /v1/applications/{application_id}/versions/{version}`; it rejects unknown properties. The example shown is an HETA snapshot and may lag behind the version you are running — always validate against the schema endpoint.", + "description": "The metadata of the artifact, as required by the application version. The authoritative JSON schema is `input_artifacts[].metadata_schema` from `GET /v1/applications/{application_id}/versions/{version}`; it rejects unknown properties. The example shown is an HETA snapshot and may lag behind the version you are running — always validate against the schema endpoint. Nesting is limited to 64 levels. Text must not contain NUL or lone surrogates. Numbers must be finite and between -2^63 and 2^63 - 1.", "examples": [ { "checksum_base64_crc32c": "64RKKA==", @@ -3038,6 +3087,8 @@ "external_id": { "type": "string", "maxLength": 255, + "minLength": 1, + "pattern": "^[\\x21-\\x7E](?:[\\x20-\\x7E]*[\\x21-\\x7E])?$", "title": "External Id", "description": "Unique identifier for this item within the run. Used for referencing items. Must be unique across all items in the same run", "examples": [ @@ -3057,7 +3108,7 @@ } ], "title": "Custom Metadata", - "description": "Optional JSON custom_metadata to store additional information alongside an item.", + "description": "Optional JSON custom_metadata to store additional information alongside an item. Nesting is limited to 64 levels. Text must not contain NUL or lone surrogates. Numbers must be finite and between -2^63 and 2^63 - 1.", "examples": [ { "case": "abc" @@ -3069,8 +3120,9 @@ "$ref": "#/components/schemas/InputArtifactCreationRequest" }, "type": "array", + "maxItems": 100, "title": "Input Artifacts", - "description": "List of input artifacts for this item. For HETA, typically contains one artifact (the slide image)", + "description": "List of input artifacts for this item. Each input artifact that the application version declares must occur exactly once.", "examples": [ [ { @@ -3494,7 +3546,7 @@ }, "mime_type": { "type": "string", - "pattern": "^\\w+\\/\\w+[-+.|\\w+]+\\w+$", + "pattern": "^[A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}/[A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}$", "title": "Mime Type", "examples": [ "application/vnd.apache.parquet" @@ -3638,8 +3690,6 @@ "type": "string", "enum": [ "run", - "item", - "output_artifact", "share_token" ], "title": "ResourceType" @@ -3648,6 +3698,7 @@ "properties": { "application_id": { "type": "string", + "maxLength": 1024, "title": "Application Id", "description": "Unique ID for the application to use for processing", "examples": [ @@ -3657,7 +3708,8 @@ "version_number": { "anyOf": [ { - "type": "string" + "type": "string", + "maxLength": 64 }, { "type": "null" @@ -3680,7 +3732,7 @@ } ], "title": "Custom Metadata", - "description": "Optional JSON metadata to store additional information alongside the run", + "description": "Optional JSON metadata to store additional information alongside the run. Deprecated: if `scheduling` omits them, the platform reads `sdk.scheduling.due_date` and `sdk.scheduling.deadline` one time, at run creation. Nesting is limited to 64 levels. Text must not contain NUL or lone surrogates. Numbers must be finite and between -2^63 and 2^63 - 1.", "examples": [ { "department": "D1", @@ -3716,13 +3768,14 @@ } ], "title": "Callback Context", - "description": "Opaque JSON object for caller-supplied correlation data. Stored verbatim and echoed in state-change events. Max 1024 bytes after JSON serialization." + "description": "Opaque JSON object for caller-supplied correlation data. Stored verbatim and echoed in state-change events. Max 1024 bytes after JSON serialization. Nesting is limited to 64 levels. Text must not contain NUL or lone surrogates. Numbers must be finite and between -2^63 and 2^63 - 1." }, "items": { "items": { "$ref": "#/components/schemas/ItemCreationRequest" }, "type": "array", + "maxItems": 10000, "minItems": 1, "title": "Items", "description": "List of items (slides) to process. Each item represents a whole slide image (WSI) with its associated metadata and artifacts", @@ -4183,15 +4236,8 @@ "title": "Created At" }, "expires_at": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "null" - } - ], + "type": "string", + "format": "date-time", "title": "Expires At" }, "revoked": { @@ -4223,15 +4269,8 @@ "title": "Created At" }, "expires_at": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "null" - } - ], + "type": "string", + "format": "date-time", "title": "Expires At" }, "revoked": { diff --git a/packages/sdk/src/generated/api.ts b/packages/sdk/src/generated/api.ts index 93e58cc8..a679252a 100644 --- a/packages/sdk/src/generated/api.ts +++ b/packages/sdk/src/generated/api.ts @@ -4,7 +4,7 @@ * Aignostics Platform API * The Aignostics Platform is a cloud-based service that enables organizations to access advanced computational pathology applications through a secure API. The platform provides standardized access to Aignostics\' portfolio of computational pathology solutions, with HETA serving as an example of the available API endpoints. To begin using the platform, your organization must first be registered by our business support team. If you don\'t have an account yet, please contact your account manager or email support@aignostics.com to get started. More information about our applications can be found on [https://platform.aignostics.com](https://platform.aignostics.com). **How to authorize and test API endpoints:** 1. Click the \"Authorize\" button in the right corner below 3. Click \"Authorize\" button in the dialog to log in with your Aignostics Platform credentials 4. After successful login, you\'ll be redirected back and can use \"Try it out\" on any endpoint **Note**: You only need to authorize once per session. The lock icons next to endpoints will show green when authorized. * - * The version of the OpenAPI document: 1.10.2 + * The version of the OpenAPI document: 1.11.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -369,13 +369,13 @@ export interface InputArtifactCreationRequest { */ 'name': string; /** - * [Signed URL](https://cloud.google.com/cdn/docs/using-signed-urls) to the input artifact file. The URL should be valid for at least 6 days from the payload submission time. The URL must use `https`, must name a public host (no IP address, no `localhost`, no `.internal` or `.local` name), and must not contain user info. The URL may contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. + * [Signed URL](https://cloud.google.com/cdn/docs/using-signed-urls) to the input artifact file. The URL should be valid for at least 6 days from the payload submission time. The URL must use `https`, must name a public host (no IP address, no `localhost`, no `.internal` or `.local` name), and must not contain user info. The URL may contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. The host must resolve to public addresses. The decoded URL must not contain control characters. * @type {string} * @memberof InputArtifactCreationRequest */ 'download_url': string; /** - * The metadata of the artifact, as required by the application version. The authoritative JSON schema is `input_artifacts[].metadata_schema` from `GET /v1/applications/{application_id}/versions/{version}`; it rejects unknown properties. The example shown is an HETA snapshot and may lag behind the version you are running — always validate against the schema endpoint. + * The metadata of the artifact, as required by the application version. The authoritative JSON schema is `input_artifacts[].metadata_schema` from `GET /v1/applications/{application_id}/versions/{version}`; it rejects unknown properties. The example shown is an HETA snapshot and may lag behind the version you are running — always validate against the schema endpoint. Nesting is limited to 64 levels. Text must not contain NUL or lone surrogates. Numbers must be finite and between -2^63 and 2^63 - 1. * @type {{ [key: string]: any; }} * @memberof InputArtifactCreationRequest */ @@ -431,7 +431,7 @@ export interface ItemCreationRequest { */ 'custom_metadata'?: { [key: string]: any; } | null; /** - * List of input artifacts for this item. For HETA, typically contains one artifact (the slide image) + * List of input artifacts for this item. Each input artifact that the application version declares must occur exactly once. * @type {Array} * @memberof ItemCreationRequest */ @@ -853,8 +853,6 @@ export type OutputArtifactVisibility = typeof OutputArtifactVisibility[keyof typ export const ResourceType = { Run: 'run', - Item: 'item', - OutputArtifact: 'output_artifact', ShareToken: 'share_token' } as const; @@ -1214,7 +1212,7 @@ export interface ShareTokenCreateResponse { * @type {string} * @memberof ShareTokenCreateResponse */ - 'expires_at': string | null; + 'expires_at': string; /** * * @type {boolean} @@ -1245,7 +1243,7 @@ export interface ShareTokenReadResponse { * @type {string} * @memberof ShareTokenReadResponse */ - 'expires_at': string | null; + 'expires_at': string; /** * * @type {boolean} @@ -1605,7 +1603,7 @@ export const PublicApiAxiosParamCreator = function (configuration?: Configuratio }; }, /** - * This endpoint initiates a processing run for a selected application and version, and returns a `run_id` for tracking purposes. Item processing occurs asynchronously, allowing you to retrieve results for individual items as soon as they complete processing. The system typically processes items in batches. ### Payload The payload includes `application_id`, optional `version_number`, and `items` base fields. `application_id` is the unique identifier for the application. `version_number` is the semantic version to use. If not provided, the latest version available to you will be used. `items` includes the list of the items to process (slides, in case of the HETA application). Every item has a set of standard fields defined by the API, plus `input_artifacts[].metadata`, whose shape is defined by the chosen application version. Below is an example payload for initiating an HETA (`he-tme`) run: ```json { \"application_id\": \"he-tme\", \"items\": [ { \"external_id\": \"slide_1\", \"custom_metadata\": { \"case\": \"abc\" }, \"input_artifacts\": [ { \"name\": \"whole_slide_image\", \"download_url\": \"https://example-bucket.s3.amazonaws.com/slide1.tiff?signature=...\", \"metadata\": { \"checksum_base64_crc32c\": \"64RKKA==\", \"staining_method\": \"H&E\", \"specimen\": { \"disease\": \"LUNG_CANCER\", \"tissue\": \"LUNG\" }, \"media_type\": \"image/tiff\", \"width_px\": 136223, \"height_px\": 87761, \"resolution_mpp\": 0.2628238 } } ] } ] } ``` > **The example above is a snapshot, not a contract.** Applications are released independently of > this API, so the `input_artifacts[].metadata` shape shown here may lag behind the version you are > running. The authoritative schema for a version is always `input_artifacts[].metadata_schema` > from `GET /v1/applications/{application_id}/versions/{version}`. That schema rejects unknown > properties, so a stale field name will fail validation with `400`. | Parameter | Description | | :---- | :---- | | `application_id` **required** | Unique ID for the application | | `version_number` optional | Semantic version of the application. If not provided, the latest version available to you will be used | | `items` **required** | List of submitted items, i.e. whole slide images (WSIs), with the parameters described below | | `external_id` **required** | Unique WSI name or ID for easy reference to items, provided by the caller. Must be unique across all items of the run | | `custom_metadata` optional | Free-form JSON stored verbatim alongside the run or item. Not processed or validated by the platform, and not application-specific | | `input_artifacts` **required** | List of provided artifacts for a WSI. HETA receives 1 artifact per slide (the slide itself); other applications may take more, e.g. a slide plus a segmentation map | | `name` **required** | Name of the artifact as declared by the application version. HETA accepts only `\"whole_slide_image\"` | | `download_url` **required** | Signed URL to the input file in S3 or GCS. Must use `https`, name a public host, and carry no user info. May contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. Should be valid for at least 6 days | The remaining fields below live inside `input_artifacts[].metadata` and are governed by the application version\'s `metadata_schema`. The following applies to HETA: | Metadata field | Description | | :---- | :---- | | `checksum_base64_crc32c` **required** | Base64-encoded big-endian CRC32C checksum of the WSI image. Must match `^[A-Za-z0-9+/]{6}==$` | | `staining_method` **required** | WSI stain bio-marker; HETA supports only `\"H&E\"` | | `specimen.disease` **required** | One of `BREAST_CANCER`, `LUNG_CANCER`, `COLORECTAL_CANCER`, `BLADDER_CANCER`, `LIVER_CANCER`, `PROSTATE_CANCER`, `PANCREATIC_CANCER`, `STOMACH_CANCER`, `OVARIAN_CANCER`, or `OTHER` | | `specimen.tissue` optional | Tissue of origin. Allowed values depend on `disease`; defaults to `OTHER` when omitted | | `media_type` optional | Media format of the WSI: `image/tiff` (.tiff/.tif), `application/dicom` (DICOM), `application/zip` (zipped DICOM), or `application/octet-stream` (.svs) | | `resolution_mpp` optional | Resolution of the WSI in micrometers per pixel | | `width_px` optional | Number of pixels of the WSI in the X dimension | | `height_px` optional | Number of pixels of the WSI in the Y dimension | ### Response The endpoint returns the run UUID. After that, the job is scheduled for execution in the background. To check the status of the run, call `GET /v1/runs/{run_id}` with the returned run UUID. ### Rejection Beyond authentication, authorization, and malformed-input errors, the request is rejected with `402 Payment Required` when a quota limit would be exceeded. See the quota documentation for details. It is rejected with `422` when a `download_url` host resolves to an address that is not public, or when the items use more than 10 distinct `download_url` hosts. It is also rejected with `422` when a `download_url` contains a character outside `A-Za-z0-9` and `-._~%/?&=:+`, or when `input_artifacts[].metadata.checksum_base64_crc32c` does not match `^[A-Za-z0-9+/]{6}==$`. + * This endpoint initiates a processing run for a selected application and version, and returns a `run_id` for tracking purposes. Item processing occurs asynchronously, allowing you to retrieve results for individual items as soon as they complete processing. The system typically processes items in batches. ### Payload The payload includes `application_id`, optional `version_number`, and `items` base fields. `application_id` is the unique identifier for the application. `version_number` is the semantic version to use. If not provided, the latest version available to you will be used. `items` includes the list of the items to process (slides, in case of the HETA application). Every item has a set of standard fields defined by the API, plus `input_artifacts[].metadata`, whose shape is defined by the chosen application version. Below is an example payload for initiating an HETA (`he-tme`) run: ```json { \"application_id\": \"he-tme\", \"items\": [ { \"external_id\": \"slide_1\", \"custom_metadata\": { \"case\": \"abc\" }, \"input_artifacts\": [ { \"name\": \"whole_slide_image\", \"download_url\": \"https://example-bucket.s3.amazonaws.com/slide1.tiff?signature=...\", \"metadata\": { \"checksum_base64_crc32c\": \"64RKKA==\", \"staining_method\": \"H&E\", \"specimen\": { \"disease\": \"LUNG_CANCER\", \"tissue\": \"LUNG\" }, \"media_type\": \"image/tiff\", \"width_px\": 136223, \"height_px\": 87761, \"resolution_mpp\": 0.2628238 } } ] } ] } ``` > **The example above is a snapshot, not a contract.** Applications are released independently of > this API, so the `input_artifacts[].metadata` shape shown here may lag behind the version you are > running. The authoritative schema for a version is always `input_artifacts[].metadata_schema` > from `GET /v1/applications/{application_id}/versions/{version}`. That schema rejects unknown > properties, so a stale field name will fail validation with `400`. | Parameter | Description | | :---- | :---- | | `application_id` **required** | Unique ID for the application | | `version_number` optional | Semantic version of the application. If not provided, the latest version available to you will be used | | `items` **required** | List of submitted items, i.e. whole slide images (WSIs), with the parameters described below | | `external_id` **required** | Unique WSI name or ID for easy reference to items, provided by the caller. Must be unique across all items of the run | | `custom_metadata` optional | Free-form JSON stored verbatim alongside the run or item. Not processed or validated by the platform, and not application-specific. Exception: if the `scheduling` field omits them, the platform reads `sdk.scheduling.due_date` and `sdk.scheduling.deadline` one time, at run creation (deprecated) | | `input_artifacts` **required** | List of provided artifacts for a WSI. Each input artifact that the application version declares must occur exactly once | | `name` **required** | Name of the artifact as declared by the application version. HETA accepts only `\"whole_slide_image\"` | | `download_url` **required** | Signed URL to the input file in S3 or GCS. Must use `https`, name a public host, and carry no user info. May contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. Should be valid for at least 6 days | The remaining fields below live inside `input_artifacts[].metadata` and are governed by the application version\'s `metadata_schema`. The following applies to HETA: | Metadata field | Description | | :---- | :---- | | `checksum_base64_crc32c` **required** | Base64-encoded big-endian CRC32C checksum of the WSI image. Must match `^[A-Za-z0-9+/]{6}==$` | | `staining_method` **required** | WSI stain bio-marker; HETA supports only `\"H&E\"` | | `specimen.disease` **required** | One of `BREAST_CANCER`, `LUNG_CANCER`, `COLORECTAL_CANCER`, `BLADDER_CANCER`, `LIVER_CANCER`, `PROSTATE_CANCER`, `PANCREATIC_CANCER`, `STOMACH_CANCER`, `OVARIAN_CANCER`, or `OTHER` | | `specimen.tissue` optional | Tissue of origin. Allowed values depend on `disease`; defaults to `OTHER` when omitted | | `media_type` optional | Media format of the WSI: `image/tiff` (.tiff/.tif), `application/dicom` (DICOM), `application/zip` (zipped DICOM), or `application/octet-stream` (.svs) | | `resolution_mpp` optional | Resolution of the WSI in micrometers per pixel | | `width_px` optional | Number of pixels of the WSI in the X dimension | | `height_px` optional | Number of pixels of the WSI in the Y dimension | ### Response The endpoint returns the run UUID. After that, the job is scheduled for execution in the background. To check the status of the run, call `GET /v1/runs/{run_id}` with the returned run UUID. ### Rejection Beyond authentication, authorization, and malformed-input errors, the request is rejected with `402 Payment Required` when a quota limit would be exceeded. See the quota documentation for details. It is rejected with `413` when the request body is larger than 20 MB. It is rejected with `422` when a `download_url` host resolves to an address that is not public, or when the items use more than 10 distinct `download_url` hosts. It is also rejected with `422` when a `download_url` contains a character outside `A-Za-z0-9` and `-._~%/?&=:+`, or when `input_artifacts[].metadata.checksum_base64_crc32c` does not match `^[A-Za-z0-9+/]{6}==$`. * @summary Initiate Run * @param {RunCreationRequest} runCreationRequest * @param {*} [options] Override http request option. @@ -2804,7 +2802,7 @@ export const PublicApiFp = function(configuration?: Configuration) { return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** - * This endpoint initiates a processing run for a selected application and version, and returns a `run_id` for tracking purposes. Item processing occurs asynchronously, allowing you to retrieve results for individual items as soon as they complete processing. The system typically processes items in batches. ### Payload The payload includes `application_id`, optional `version_number`, and `items` base fields. `application_id` is the unique identifier for the application. `version_number` is the semantic version to use. If not provided, the latest version available to you will be used. `items` includes the list of the items to process (slides, in case of the HETA application). Every item has a set of standard fields defined by the API, plus `input_artifacts[].metadata`, whose shape is defined by the chosen application version. Below is an example payload for initiating an HETA (`he-tme`) run: ```json { \"application_id\": \"he-tme\", \"items\": [ { \"external_id\": \"slide_1\", \"custom_metadata\": { \"case\": \"abc\" }, \"input_artifacts\": [ { \"name\": \"whole_slide_image\", \"download_url\": \"https://example-bucket.s3.amazonaws.com/slide1.tiff?signature=...\", \"metadata\": { \"checksum_base64_crc32c\": \"64RKKA==\", \"staining_method\": \"H&E\", \"specimen\": { \"disease\": \"LUNG_CANCER\", \"tissue\": \"LUNG\" }, \"media_type\": \"image/tiff\", \"width_px\": 136223, \"height_px\": 87761, \"resolution_mpp\": 0.2628238 } } ] } ] } ``` > **The example above is a snapshot, not a contract.** Applications are released independently of > this API, so the `input_artifacts[].metadata` shape shown here may lag behind the version you are > running. The authoritative schema for a version is always `input_artifacts[].metadata_schema` > from `GET /v1/applications/{application_id}/versions/{version}`. That schema rejects unknown > properties, so a stale field name will fail validation with `400`. | Parameter | Description | | :---- | :---- | | `application_id` **required** | Unique ID for the application | | `version_number` optional | Semantic version of the application. If not provided, the latest version available to you will be used | | `items` **required** | List of submitted items, i.e. whole slide images (WSIs), with the parameters described below | | `external_id` **required** | Unique WSI name or ID for easy reference to items, provided by the caller. Must be unique across all items of the run | | `custom_metadata` optional | Free-form JSON stored verbatim alongside the run or item. Not processed or validated by the platform, and not application-specific | | `input_artifacts` **required** | List of provided artifacts for a WSI. HETA receives 1 artifact per slide (the slide itself); other applications may take more, e.g. a slide plus a segmentation map | | `name` **required** | Name of the artifact as declared by the application version. HETA accepts only `\"whole_slide_image\"` | | `download_url` **required** | Signed URL to the input file in S3 or GCS. Must use `https`, name a public host, and carry no user info. May contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. Should be valid for at least 6 days | The remaining fields below live inside `input_artifacts[].metadata` and are governed by the application version\'s `metadata_schema`. The following applies to HETA: | Metadata field | Description | | :---- | :---- | | `checksum_base64_crc32c` **required** | Base64-encoded big-endian CRC32C checksum of the WSI image. Must match `^[A-Za-z0-9+/]{6}==$` | | `staining_method` **required** | WSI stain bio-marker; HETA supports only `\"H&E\"` | | `specimen.disease` **required** | One of `BREAST_CANCER`, `LUNG_CANCER`, `COLORECTAL_CANCER`, `BLADDER_CANCER`, `LIVER_CANCER`, `PROSTATE_CANCER`, `PANCREATIC_CANCER`, `STOMACH_CANCER`, `OVARIAN_CANCER`, or `OTHER` | | `specimen.tissue` optional | Tissue of origin. Allowed values depend on `disease`; defaults to `OTHER` when omitted | | `media_type` optional | Media format of the WSI: `image/tiff` (.tiff/.tif), `application/dicom` (DICOM), `application/zip` (zipped DICOM), or `application/octet-stream` (.svs) | | `resolution_mpp` optional | Resolution of the WSI in micrometers per pixel | | `width_px` optional | Number of pixels of the WSI in the X dimension | | `height_px` optional | Number of pixels of the WSI in the Y dimension | ### Response The endpoint returns the run UUID. After that, the job is scheduled for execution in the background. To check the status of the run, call `GET /v1/runs/{run_id}` with the returned run UUID. ### Rejection Beyond authentication, authorization, and malformed-input errors, the request is rejected with `402 Payment Required` when a quota limit would be exceeded. See the quota documentation for details. It is rejected with `422` when a `download_url` host resolves to an address that is not public, or when the items use more than 10 distinct `download_url` hosts. It is also rejected with `422` when a `download_url` contains a character outside `A-Za-z0-9` and `-._~%/?&=:+`, or when `input_artifacts[].metadata.checksum_base64_crc32c` does not match `^[A-Za-z0-9+/]{6}==$`. + * This endpoint initiates a processing run for a selected application and version, and returns a `run_id` for tracking purposes. Item processing occurs asynchronously, allowing you to retrieve results for individual items as soon as they complete processing. The system typically processes items in batches. ### Payload The payload includes `application_id`, optional `version_number`, and `items` base fields. `application_id` is the unique identifier for the application. `version_number` is the semantic version to use. If not provided, the latest version available to you will be used. `items` includes the list of the items to process (slides, in case of the HETA application). Every item has a set of standard fields defined by the API, plus `input_artifacts[].metadata`, whose shape is defined by the chosen application version. Below is an example payload for initiating an HETA (`he-tme`) run: ```json { \"application_id\": \"he-tme\", \"items\": [ { \"external_id\": \"slide_1\", \"custom_metadata\": { \"case\": \"abc\" }, \"input_artifacts\": [ { \"name\": \"whole_slide_image\", \"download_url\": \"https://example-bucket.s3.amazonaws.com/slide1.tiff?signature=...\", \"metadata\": { \"checksum_base64_crc32c\": \"64RKKA==\", \"staining_method\": \"H&E\", \"specimen\": { \"disease\": \"LUNG_CANCER\", \"tissue\": \"LUNG\" }, \"media_type\": \"image/tiff\", \"width_px\": 136223, \"height_px\": 87761, \"resolution_mpp\": 0.2628238 } } ] } ] } ``` > **The example above is a snapshot, not a contract.** Applications are released independently of > this API, so the `input_artifacts[].metadata` shape shown here may lag behind the version you are > running. The authoritative schema for a version is always `input_artifacts[].metadata_schema` > from `GET /v1/applications/{application_id}/versions/{version}`. That schema rejects unknown > properties, so a stale field name will fail validation with `400`. | Parameter | Description | | :---- | :---- | | `application_id` **required** | Unique ID for the application | | `version_number` optional | Semantic version of the application. If not provided, the latest version available to you will be used | | `items` **required** | List of submitted items, i.e. whole slide images (WSIs), with the parameters described below | | `external_id` **required** | Unique WSI name or ID for easy reference to items, provided by the caller. Must be unique across all items of the run | | `custom_metadata` optional | Free-form JSON stored verbatim alongside the run or item. Not processed or validated by the platform, and not application-specific. Exception: if the `scheduling` field omits them, the platform reads `sdk.scheduling.due_date` and `sdk.scheduling.deadline` one time, at run creation (deprecated) | | `input_artifacts` **required** | List of provided artifacts for a WSI. Each input artifact that the application version declares must occur exactly once | | `name` **required** | Name of the artifact as declared by the application version. HETA accepts only `\"whole_slide_image\"` | | `download_url` **required** | Signed URL to the input file in S3 or GCS. Must use `https`, name a public host, and carry no user info. May contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. Should be valid for at least 6 days | The remaining fields below live inside `input_artifacts[].metadata` and are governed by the application version\'s `metadata_schema`. The following applies to HETA: | Metadata field | Description | | :---- | :---- | | `checksum_base64_crc32c` **required** | Base64-encoded big-endian CRC32C checksum of the WSI image. Must match `^[A-Za-z0-9+/]{6}==$` | | `staining_method` **required** | WSI stain bio-marker; HETA supports only `\"H&E\"` | | `specimen.disease` **required** | One of `BREAST_CANCER`, `LUNG_CANCER`, `COLORECTAL_CANCER`, `BLADDER_CANCER`, `LIVER_CANCER`, `PROSTATE_CANCER`, `PANCREATIC_CANCER`, `STOMACH_CANCER`, `OVARIAN_CANCER`, or `OTHER` | | `specimen.tissue` optional | Tissue of origin. Allowed values depend on `disease`; defaults to `OTHER` when omitted | | `media_type` optional | Media format of the WSI: `image/tiff` (.tiff/.tif), `application/dicom` (DICOM), `application/zip` (zipped DICOM), or `application/octet-stream` (.svs) | | `resolution_mpp` optional | Resolution of the WSI in micrometers per pixel | | `width_px` optional | Number of pixels of the WSI in the X dimension | | `height_px` optional | Number of pixels of the WSI in the Y dimension | ### Response The endpoint returns the run UUID. After that, the job is scheduled for execution in the background. To check the status of the run, call `GET /v1/runs/{run_id}` with the returned run UUID. ### Rejection Beyond authentication, authorization, and malformed-input errors, the request is rejected with `402 Payment Required` when a quota limit would be exceeded. See the quota documentation for details. It is rejected with `413` when the request body is larger than 20 MB. It is rejected with `422` when a `download_url` host resolves to an address that is not public, or when the items use more than 10 distinct `download_url` hosts. It is also rejected with `422` when a `download_url` contains a character outside `A-Za-z0-9` and `-._~%/?&=:+`, or when `input_artifacts[].metadata.checksum_base64_crc32c` does not match `^[A-Za-z0-9+/]{6}==$`. * @summary Initiate Run * @param {RunCreationRequest} runCreationRequest * @param {*} [options] Override http request option. @@ -3203,7 +3201,7 @@ export const PublicApiFactory = function (configuration?: Configuration, basePat return localVarFp.createGrantV1AccessGrantsPost(requestParameters.grantCreateRequest, options).then((request) => request(axios, basePath)); }, /** - * This endpoint initiates a processing run for a selected application and version, and returns a `run_id` for tracking purposes. Item processing occurs asynchronously, allowing you to retrieve results for individual items as soon as they complete processing. The system typically processes items in batches. ### Payload The payload includes `application_id`, optional `version_number`, and `items` base fields. `application_id` is the unique identifier for the application. `version_number` is the semantic version to use. If not provided, the latest version available to you will be used. `items` includes the list of the items to process (slides, in case of the HETA application). Every item has a set of standard fields defined by the API, plus `input_artifacts[].metadata`, whose shape is defined by the chosen application version. Below is an example payload for initiating an HETA (`he-tme`) run: ```json { \"application_id\": \"he-tme\", \"items\": [ { \"external_id\": \"slide_1\", \"custom_metadata\": { \"case\": \"abc\" }, \"input_artifacts\": [ { \"name\": \"whole_slide_image\", \"download_url\": \"https://example-bucket.s3.amazonaws.com/slide1.tiff?signature=...\", \"metadata\": { \"checksum_base64_crc32c\": \"64RKKA==\", \"staining_method\": \"H&E\", \"specimen\": { \"disease\": \"LUNG_CANCER\", \"tissue\": \"LUNG\" }, \"media_type\": \"image/tiff\", \"width_px\": 136223, \"height_px\": 87761, \"resolution_mpp\": 0.2628238 } } ] } ] } ``` > **The example above is a snapshot, not a contract.** Applications are released independently of > this API, so the `input_artifacts[].metadata` shape shown here may lag behind the version you are > running. The authoritative schema for a version is always `input_artifacts[].metadata_schema` > from `GET /v1/applications/{application_id}/versions/{version}`. That schema rejects unknown > properties, so a stale field name will fail validation with `400`. | Parameter | Description | | :---- | :---- | | `application_id` **required** | Unique ID for the application | | `version_number` optional | Semantic version of the application. If not provided, the latest version available to you will be used | | `items` **required** | List of submitted items, i.e. whole slide images (WSIs), with the parameters described below | | `external_id` **required** | Unique WSI name or ID for easy reference to items, provided by the caller. Must be unique across all items of the run | | `custom_metadata` optional | Free-form JSON stored verbatim alongside the run or item. Not processed or validated by the platform, and not application-specific | | `input_artifacts` **required** | List of provided artifacts for a WSI. HETA receives 1 artifact per slide (the slide itself); other applications may take more, e.g. a slide plus a segmentation map | | `name` **required** | Name of the artifact as declared by the application version. HETA accepts only `\"whole_slide_image\"` | | `download_url` **required** | Signed URL to the input file in S3 or GCS. Must use `https`, name a public host, and carry no user info. May contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. Should be valid for at least 6 days | The remaining fields below live inside `input_artifacts[].metadata` and are governed by the application version\'s `metadata_schema`. The following applies to HETA: | Metadata field | Description | | :---- | :---- | | `checksum_base64_crc32c` **required** | Base64-encoded big-endian CRC32C checksum of the WSI image. Must match `^[A-Za-z0-9+/]{6}==$` | | `staining_method` **required** | WSI stain bio-marker; HETA supports only `\"H&E\"` | | `specimen.disease` **required** | One of `BREAST_CANCER`, `LUNG_CANCER`, `COLORECTAL_CANCER`, `BLADDER_CANCER`, `LIVER_CANCER`, `PROSTATE_CANCER`, `PANCREATIC_CANCER`, `STOMACH_CANCER`, `OVARIAN_CANCER`, or `OTHER` | | `specimen.tissue` optional | Tissue of origin. Allowed values depend on `disease`; defaults to `OTHER` when omitted | | `media_type` optional | Media format of the WSI: `image/tiff` (.tiff/.tif), `application/dicom` (DICOM), `application/zip` (zipped DICOM), or `application/octet-stream` (.svs) | | `resolution_mpp` optional | Resolution of the WSI in micrometers per pixel | | `width_px` optional | Number of pixels of the WSI in the X dimension | | `height_px` optional | Number of pixels of the WSI in the Y dimension | ### Response The endpoint returns the run UUID. After that, the job is scheduled for execution in the background. To check the status of the run, call `GET /v1/runs/{run_id}` with the returned run UUID. ### Rejection Beyond authentication, authorization, and malformed-input errors, the request is rejected with `402 Payment Required` when a quota limit would be exceeded. See the quota documentation for details. It is rejected with `422` when a `download_url` host resolves to an address that is not public, or when the items use more than 10 distinct `download_url` hosts. It is also rejected with `422` when a `download_url` contains a character outside `A-Za-z0-9` and `-._~%/?&=:+`, or when `input_artifacts[].metadata.checksum_base64_crc32c` does not match `^[A-Za-z0-9+/]{6}==$`. + * This endpoint initiates a processing run for a selected application and version, and returns a `run_id` for tracking purposes. Item processing occurs asynchronously, allowing you to retrieve results for individual items as soon as they complete processing. The system typically processes items in batches. ### Payload The payload includes `application_id`, optional `version_number`, and `items` base fields. `application_id` is the unique identifier for the application. `version_number` is the semantic version to use. If not provided, the latest version available to you will be used. `items` includes the list of the items to process (slides, in case of the HETA application). Every item has a set of standard fields defined by the API, plus `input_artifacts[].metadata`, whose shape is defined by the chosen application version. Below is an example payload for initiating an HETA (`he-tme`) run: ```json { \"application_id\": \"he-tme\", \"items\": [ { \"external_id\": \"slide_1\", \"custom_metadata\": { \"case\": \"abc\" }, \"input_artifacts\": [ { \"name\": \"whole_slide_image\", \"download_url\": \"https://example-bucket.s3.amazonaws.com/slide1.tiff?signature=...\", \"metadata\": { \"checksum_base64_crc32c\": \"64RKKA==\", \"staining_method\": \"H&E\", \"specimen\": { \"disease\": \"LUNG_CANCER\", \"tissue\": \"LUNG\" }, \"media_type\": \"image/tiff\", \"width_px\": 136223, \"height_px\": 87761, \"resolution_mpp\": 0.2628238 } } ] } ] } ``` > **The example above is a snapshot, not a contract.** Applications are released independently of > this API, so the `input_artifacts[].metadata` shape shown here may lag behind the version you are > running. The authoritative schema for a version is always `input_artifacts[].metadata_schema` > from `GET /v1/applications/{application_id}/versions/{version}`. That schema rejects unknown > properties, so a stale field name will fail validation with `400`. | Parameter | Description | | :---- | :---- | | `application_id` **required** | Unique ID for the application | | `version_number` optional | Semantic version of the application. If not provided, the latest version available to you will be used | | `items` **required** | List of submitted items, i.e. whole slide images (WSIs), with the parameters described below | | `external_id` **required** | Unique WSI name or ID for easy reference to items, provided by the caller. Must be unique across all items of the run | | `custom_metadata` optional | Free-form JSON stored verbatim alongside the run or item. Not processed or validated by the platform, and not application-specific. Exception: if the `scheduling` field omits them, the platform reads `sdk.scheduling.due_date` and `sdk.scheduling.deadline` one time, at run creation (deprecated) | | `input_artifacts` **required** | List of provided artifacts for a WSI. Each input artifact that the application version declares must occur exactly once | | `name` **required** | Name of the artifact as declared by the application version. HETA accepts only `\"whole_slide_image\"` | | `download_url` **required** | Signed URL to the input file in S3 or GCS. Must use `https`, name a public host, and carry no user info. May contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. Should be valid for at least 6 days | The remaining fields below live inside `input_artifacts[].metadata` and are governed by the application version\'s `metadata_schema`. The following applies to HETA: | Metadata field | Description | | :---- | :---- | | `checksum_base64_crc32c` **required** | Base64-encoded big-endian CRC32C checksum of the WSI image. Must match `^[A-Za-z0-9+/]{6}==$` | | `staining_method` **required** | WSI stain bio-marker; HETA supports only `\"H&E\"` | | `specimen.disease` **required** | One of `BREAST_CANCER`, `LUNG_CANCER`, `COLORECTAL_CANCER`, `BLADDER_CANCER`, `LIVER_CANCER`, `PROSTATE_CANCER`, `PANCREATIC_CANCER`, `STOMACH_CANCER`, `OVARIAN_CANCER`, or `OTHER` | | `specimen.tissue` optional | Tissue of origin. Allowed values depend on `disease`; defaults to `OTHER` when omitted | | `media_type` optional | Media format of the WSI: `image/tiff` (.tiff/.tif), `application/dicom` (DICOM), `application/zip` (zipped DICOM), or `application/octet-stream` (.svs) | | `resolution_mpp` optional | Resolution of the WSI in micrometers per pixel | | `width_px` optional | Number of pixels of the WSI in the X dimension | | `height_px` optional | Number of pixels of the WSI in the Y dimension | ### Response The endpoint returns the run UUID. After that, the job is scheduled for execution in the background. To check the status of the run, call `GET /v1/runs/{run_id}` with the returned run UUID. ### Rejection Beyond authentication, authorization, and malformed-input errors, the request is rejected with `402 Payment Required` when a quota limit would be exceeded. See the quota documentation for details. It is rejected with `413` when the request body is larger than 20 MB. It is rejected with `422` when a `download_url` host resolves to an address that is not public, or when the items use more than 10 distinct `download_url` hosts. It is also rejected with `422` when a `download_url` contains a character outside `A-Za-z0-9` and `-._~%/?&=:+`, or when `input_artifacts[].metadata.checksum_base64_crc32c` does not match `^[A-Za-z0-9+/]{6}==$`. * @summary Initiate Run * @param {PublicApiCreateRunV1RunsPostRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -3481,7 +3479,7 @@ export interface PublicApiInterface { createGrantV1AccessGrantsPost(requestParameters: PublicApiCreateGrantV1AccessGrantsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** - * This endpoint initiates a processing run for a selected application and version, and returns a `run_id` for tracking purposes. Item processing occurs asynchronously, allowing you to retrieve results for individual items as soon as they complete processing. The system typically processes items in batches. ### Payload The payload includes `application_id`, optional `version_number`, and `items` base fields. `application_id` is the unique identifier for the application. `version_number` is the semantic version to use. If not provided, the latest version available to you will be used. `items` includes the list of the items to process (slides, in case of the HETA application). Every item has a set of standard fields defined by the API, plus `input_artifacts[].metadata`, whose shape is defined by the chosen application version. Below is an example payload for initiating an HETA (`he-tme`) run: ```json { \"application_id\": \"he-tme\", \"items\": [ { \"external_id\": \"slide_1\", \"custom_metadata\": { \"case\": \"abc\" }, \"input_artifacts\": [ { \"name\": \"whole_slide_image\", \"download_url\": \"https://example-bucket.s3.amazonaws.com/slide1.tiff?signature=...\", \"metadata\": { \"checksum_base64_crc32c\": \"64RKKA==\", \"staining_method\": \"H&E\", \"specimen\": { \"disease\": \"LUNG_CANCER\", \"tissue\": \"LUNG\" }, \"media_type\": \"image/tiff\", \"width_px\": 136223, \"height_px\": 87761, \"resolution_mpp\": 0.2628238 } } ] } ] } ``` > **The example above is a snapshot, not a contract.** Applications are released independently of > this API, so the `input_artifacts[].metadata` shape shown here may lag behind the version you are > running. The authoritative schema for a version is always `input_artifacts[].metadata_schema` > from `GET /v1/applications/{application_id}/versions/{version}`. That schema rejects unknown > properties, so a stale field name will fail validation with `400`. | Parameter | Description | | :---- | :---- | | `application_id` **required** | Unique ID for the application | | `version_number` optional | Semantic version of the application. If not provided, the latest version available to you will be used | | `items` **required** | List of submitted items, i.e. whole slide images (WSIs), with the parameters described below | | `external_id` **required** | Unique WSI name or ID for easy reference to items, provided by the caller. Must be unique across all items of the run | | `custom_metadata` optional | Free-form JSON stored verbatim alongside the run or item. Not processed or validated by the platform, and not application-specific | | `input_artifacts` **required** | List of provided artifacts for a WSI. HETA receives 1 artifact per slide (the slide itself); other applications may take more, e.g. a slide plus a segmentation map | | `name` **required** | Name of the artifact as declared by the application version. HETA accepts only `\"whole_slide_image\"` | | `download_url` **required** | Signed URL to the input file in S3 or GCS. Must use `https`, name a public host, and carry no user info. May contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. Should be valid for at least 6 days | The remaining fields below live inside `input_artifacts[].metadata` and are governed by the application version\'s `metadata_schema`. The following applies to HETA: | Metadata field | Description | | :---- | :---- | | `checksum_base64_crc32c` **required** | Base64-encoded big-endian CRC32C checksum of the WSI image. Must match `^[A-Za-z0-9+/]{6}==$` | | `staining_method` **required** | WSI stain bio-marker; HETA supports only `\"H&E\"` | | `specimen.disease` **required** | One of `BREAST_CANCER`, `LUNG_CANCER`, `COLORECTAL_CANCER`, `BLADDER_CANCER`, `LIVER_CANCER`, `PROSTATE_CANCER`, `PANCREATIC_CANCER`, `STOMACH_CANCER`, `OVARIAN_CANCER`, or `OTHER` | | `specimen.tissue` optional | Tissue of origin. Allowed values depend on `disease`; defaults to `OTHER` when omitted | | `media_type` optional | Media format of the WSI: `image/tiff` (.tiff/.tif), `application/dicom` (DICOM), `application/zip` (zipped DICOM), or `application/octet-stream` (.svs) | | `resolution_mpp` optional | Resolution of the WSI in micrometers per pixel | | `width_px` optional | Number of pixels of the WSI in the X dimension | | `height_px` optional | Number of pixels of the WSI in the Y dimension | ### Response The endpoint returns the run UUID. After that, the job is scheduled for execution in the background. To check the status of the run, call `GET /v1/runs/{run_id}` with the returned run UUID. ### Rejection Beyond authentication, authorization, and malformed-input errors, the request is rejected with `402 Payment Required` when a quota limit would be exceeded. See the quota documentation for details. It is rejected with `422` when a `download_url` host resolves to an address that is not public, or when the items use more than 10 distinct `download_url` hosts. It is also rejected with `422` when a `download_url` contains a character outside `A-Za-z0-9` and `-._~%/?&=:+`, or when `input_artifacts[].metadata.checksum_base64_crc32c` does not match `^[A-Za-z0-9+/]{6}==$`. + * This endpoint initiates a processing run for a selected application and version, and returns a `run_id` for tracking purposes. Item processing occurs asynchronously, allowing you to retrieve results for individual items as soon as they complete processing. The system typically processes items in batches. ### Payload The payload includes `application_id`, optional `version_number`, and `items` base fields. `application_id` is the unique identifier for the application. `version_number` is the semantic version to use. If not provided, the latest version available to you will be used. `items` includes the list of the items to process (slides, in case of the HETA application). Every item has a set of standard fields defined by the API, plus `input_artifacts[].metadata`, whose shape is defined by the chosen application version. Below is an example payload for initiating an HETA (`he-tme`) run: ```json { \"application_id\": \"he-tme\", \"items\": [ { \"external_id\": \"slide_1\", \"custom_metadata\": { \"case\": \"abc\" }, \"input_artifacts\": [ { \"name\": \"whole_slide_image\", \"download_url\": \"https://example-bucket.s3.amazonaws.com/slide1.tiff?signature=...\", \"metadata\": { \"checksum_base64_crc32c\": \"64RKKA==\", \"staining_method\": \"H&E\", \"specimen\": { \"disease\": \"LUNG_CANCER\", \"tissue\": \"LUNG\" }, \"media_type\": \"image/tiff\", \"width_px\": 136223, \"height_px\": 87761, \"resolution_mpp\": 0.2628238 } } ] } ] } ``` > **The example above is a snapshot, not a contract.** Applications are released independently of > this API, so the `input_artifacts[].metadata` shape shown here may lag behind the version you are > running. The authoritative schema for a version is always `input_artifacts[].metadata_schema` > from `GET /v1/applications/{application_id}/versions/{version}`. That schema rejects unknown > properties, so a stale field name will fail validation with `400`. | Parameter | Description | | :---- | :---- | | `application_id` **required** | Unique ID for the application | | `version_number` optional | Semantic version of the application. If not provided, the latest version available to you will be used | | `items` **required** | List of submitted items, i.e. whole slide images (WSIs), with the parameters described below | | `external_id` **required** | Unique WSI name or ID for easy reference to items, provided by the caller. Must be unique across all items of the run | | `custom_metadata` optional | Free-form JSON stored verbatim alongside the run or item. Not processed or validated by the platform, and not application-specific. Exception: if the `scheduling` field omits them, the platform reads `sdk.scheduling.due_date` and `sdk.scheduling.deadline` one time, at run creation (deprecated) | | `input_artifacts` **required** | List of provided artifacts for a WSI. Each input artifact that the application version declares must occur exactly once | | `name` **required** | Name of the artifact as declared by the application version. HETA accepts only `\"whole_slide_image\"` | | `download_url` **required** | Signed URL to the input file in S3 or GCS. Must use `https`, name a public host, and carry no user info. May contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. Should be valid for at least 6 days | The remaining fields below live inside `input_artifacts[].metadata` and are governed by the application version\'s `metadata_schema`. The following applies to HETA: | Metadata field | Description | | :---- | :---- | | `checksum_base64_crc32c` **required** | Base64-encoded big-endian CRC32C checksum of the WSI image. Must match `^[A-Za-z0-9+/]{6}==$` | | `staining_method` **required** | WSI stain bio-marker; HETA supports only `\"H&E\"` | | `specimen.disease` **required** | One of `BREAST_CANCER`, `LUNG_CANCER`, `COLORECTAL_CANCER`, `BLADDER_CANCER`, `LIVER_CANCER`, `PROSTATE_CANCER`, `PANCREATIC_CANCER`, `STOMACH_CANCER`, `OVARIAN_CANCER`, or `OTHER` | | `specimen.tissue` optional | Tissue of origin. Allowed values depend on `disease`; defaults to `OTHER` when omitted | | `media_type` optional | Media format of the WSI: `image/tiff` (.tiff/.tif), `application/dicom` (DICOM), `application/zip` (zipped DICOM), or `application/octet-stream` (.svs) | | `resolution_mpp` optional | Resolution of the WSI in micrometers per pixel | | `width_px` optional | Number of pixels of the WSI in the X dimension | | `height_px` optional | Number of pixels of the WSI in the Y dimension | ### Response The endpoint returns the run UUID. After that, the job is scheduled for execution in the background. To check the status of the run, call `GET /v1/runs/{run_id}` with the returned run UUID. ### Rejection Beyond authentication, authorization, and malformed-input errors, the request is rejected with `402 Payment Required` when a quota limit would be exceeded. See the quota documentation for details. It is rejected with `413` when the request body is larger than 20 MB. It is rejected with `422` when a `download_url` host resolves to an address that is not public, or when the items use more than 10 distinct `download_url` hosts. It is also rejected with `422` when a `download_url` contains a character outside `A-Za-z0-9` and `-._~%/?&=:+`, or when `input_artifacts[].metadata.checksum_base64_crc32c` does not match `^[A-Za-z0-9+/]{6}==$`. * @summary Initiate Run * @param {PublicApiCreateRunV1RunsPostRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -4472,7 +4470,7 @@ export class PublicApi extends BaseAPI implements PublicApiInterface { } /** - * This endpoint initiates a processing run for a selected application and version, and returns a `run_id` for tracking purposes. Item processing occurs asynchronously, allowing you to retrieve results for individual items as soon as they complete processing. The system typically processes items in batches. ### Payload The payload includes `application_id`, optional `version_number`, and `items` base fields. `application_id` is the unique identifier for the application. `version_number` is the semantic version to use. If not provided, the latest version available to you will be used. `items` includes the list of the items to process (slides, in case of the HETA application). Every item has a set of standard fields defined by the API, plus `input_artifacts[].metadata`, whose shape is defined by the chosen application version. Below is an example payload for initiating an HETA (`he-tme`) run: ```json { \"application_id\": \"he-tme\", \"items\": [ { \"external_id\": \"slide_1\", \"custom_metadata\": { \"case\": \"abc\" }, \"input_artifacts\": [ { \"name\": \"whole_slide_image\", \"download_url\": \"https://example-bucket.s3.amazonaws.com/slide1.tiff?signature=...\", \"metadata\": { \"checksum_base64_crc32c\": \"64RKKA==\", \"staining_method\": \"H&E\", \"specimen\": { \"disease\": \"LUNG_CANCER\", \"tissue\": \"LUNG\" }, \"media_type\": \"image/tiff\", \"width_px\": 136223, \"height_px\": 87761, \"resolution_mpp\": 0.2628238 } } ] } ] } ``` > **The example above is a snapshot, not a contract.** Applications are released independently of > this API, so the `input_artifacts[].metadata` shape shown here may lag behind the version you are > running. The authoritative schema for a version is always `input_artifacts[].metadata_schema` > from `GET /v1/applications/{application_id}/versions/{version}`. That schema rejects unknown > properties, so a stale field name will fail validation with `400`. | Parameter | Description | | :---- | :---- | | `application_id` **required** | Unique ID for the application | | `version_number` optional | Semantic version of the application. If not provided, the latest version available to you will be used | | `items` **required** | List of submitted items, i.e. whole slide images (WSIs), with the parameters described below | | `external_id` **required** | Unique WSI name or ID for easy reference to items, provided by the caller. Must be unique across all items of the run | | `custom_metadata` optional | Free-form JSON stored verbatim alongside the run or item. Not processed or validated by the platform, and not application-specific | | `input_artifacts` **required** | List of provided artifacts for a WSI. HETA receives 1 artifact per slide (the slide itself); other applications may take more, e.g. a slide plus a segmentation map | | `name` **required** | Name of the artifact as declared by the application version. HETA accepts only `\"whole_slide_image\"` | | `download_url` **required** | Signed URL to the input file in S3 or GCS. Must use `https`, name a public host, and carry no user info. May contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. Should be valid for at least 6 days | The remaining fields below live inside `input_artifacts[].metadata` and are governed by the application version\'s `metadata_schema`. The following applies to HETA: | Metadata field | Description | | :---- | :---- | | `checksum_base64_crc32c` **required** | Base64-encoded big-endian CRC32C checksum of the WSI image. Must match `^[A-Za-z0-9+/]{6}==$` | | `staining_method` **required** | WSI stain bio-marker; HETA supports only `\"H&E\"` | | `specimen.disease` **required** | One of `BREAST_CANCER`, `LUNG_CANCER`, `COLORECTAL_CANCER`, `BLADDER_CANCER`, `LIVER_CANCER`, `PROSTATE_CANCER`, `PANCREATIC_CANCER`, `STOMACH_CANCER`, `OVARIAN_CANCER`, or `OTHER` | | `specimen.tissue` optional | Tissue of origin. Allowed values depend on `disease`; defaults to `OTHER` when omitted | | `media_type` optional | Media format of the WSI: `image/tiff` (.tiff/.tif), `application/dicom` (DICOM), `application/zip` (zipped DICOM), or `application/octet-stream` (.svs) | | `resolution_mpp` optional | Resolution of the WSI in micrometers per pixel | | `width_px` optional | Number of pixels of the WSI in the X dimension | | `height_px` optional | Number of pixels of the WSI in the Y dimension | ### Response The endpoint returns the run UUID. After that, the job is scheduled for execution in the background. To check the status of the run, call `GET /v1/runs/{run_id}` with the returned run UUID. ### Rejection Beyond authentication, authorization, and malformed-input errors, the request is rejected with `402 Payment Required` when a quota limit would be exceeded. See the quota documentation for details. It is rejected with `422` when a `download_url` host resolves to an address that is not public, or when the items use more than 10 distinct `download_url` hosts. It is also rejected with `422` when a `download_url` contains a character outside `A-Za-z0-9` and `-._~%/?&=:+`, or when `input_artifacts[].metadata.checksum_base64_crc32c` does not match `^[A-Za-z0-9+/]{6}==$`. + * This endpoint initiates a processing run for a selected application and version, and returns a `run_id` for tracking purposes. Item processing occurs asynchronously, allowing you to retrieve results for individual items as soon as they complete processing. The system typically processes items in batches. ### Payload The payload includes `application_id`, optional `version_number`, and `items` base fields. `application_id` is the unique identifier for the application. `version_number` is the semantic version to use. If not provided, the latest version available to you will be used. `items` includes the list of the items to process (slides, in case of the HETA application). Every item has a set of standard fields defined by the API, plus `input_artifacts[].metadata`, whose shape is defined by the chosen application version. Below is an example payload for initiating an HETA (`he-tme`) run: ```json { \"application_id\": \"he-tme\", \"items\": [ { \"external_id\": \"slide_1\", \"custom_metadata\": { \"case\": \"abc\" }, \"input_artifacts\": [ { \"name\": \"whole_slide_image\", \"download_url\": \"https://example-bucket.s3.amazonaws.com/slide1.tiff?signature=...\", \"metadata\": { \"checksum_base64_crc32c\": \"64RKKA==\", \"staining_method\": \"H&E\", \"specimen\": { \"disease\": \"LUNG_CANCER\", \"tissue\": \"LUNG\" }, \"media_type\": \"image/tiff\", \"width_px\": 136223, \"height_px\": 87761, \"resolution_mpp\": 0.2628238 } } ] } ] } ``` > **The example above is a snapshot, not a contract.** Applications are released independently of > this API, so the `input_artifacts[].metadata` shape shown here may lag behind the version you are > running. The authoritative schema for a version is always `input_artifacts[].metadata_schema` > from `GET /v1/applications/{application_id}/versions/{version}`. That schema rejects unknown > properties, so a stale field name will fail validation with `400`. | Parameter | Description | | :---- | :---- | | `application_id` **required** | Unique ID for the application | | `version_number` optional | Semantic version of the application. If not provided, the latest version available to you will be used | | `items` **required** | List of submitted items, i.e. whole slide images (WSIs), with the parameters described below | | `external_id` **required** | Unique WSI name or ID for easy reference to items, provided by the caller. Must be unique across all items of the run | | `custom_metadata` optional | Free-form JSON stored verbatim alongside the run or item. Not processed or validated by the platform, and not application-specific. Exception: if the `scheduling` field omits them, the platform reads `sdk.scheduling.due_date` and `sdk.scheduling.deadline` one time, at run creation (deprecated) | | `input_artifacts` **required** | List of provided artifacts for a WSI. Each input artifact that the application version declares must occur exactly once | | `name` **required** | Name of the artifact as declared by the application version. HETA accepts only `\"whole_slide_image\"` | | `download_url` **required** | Signed URL to the input file in S3 or GCS. Must use `https`, name a public host, and carry no user info. May contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. Should be valid for at least 6 days | The remaining fields below live inside `input_artifacts[].metadata` and are governed by the application version\'s `metadata_schema`. The following applies to HETA: | Metadata field | Description | | :---- | :---- | | `checksum_base64_crc32c` **required** | Base64-encoded big-endian CRC32C checksum of the WSI image. Must match `^[A-Za-z0-9+/]{6}==$` | | `staining_method` **required** | WSI stain bio-marker; HETA supports only `\"H&E\"` | | `specimen.disease` **required** | One of `BREAST_CANCER`, `LUNG_CANCER`, `COLORECTAL_CANCER`, `BLADDER_CANCER`, `LIVER_CANCER`, `PROSTATE_CANCER`, `PANCREATIC_CANCER`, `STOMACH_CANCER`, `OVARIAN_CANCER`, or `OTHER` | | `specimen.tissue` optional | Tissue of origin. Allowed values depend on `disease`; defaults to `OTHER` when omitted | | `media_type` optional | Media format of the WSI: `image/tiff` (.tiff/.tif), `application/dicom` (DICOM), `application/zip` (zipped DICOM), or `application/octet-stream` (.svs) | | `resolution_mpp` optional | Resolution of the WSI in micrometers per pixel | | `width_px` optional | Number of pixels of the WSI in the X dimension | | `height_px` optional | Number of pixels of the WSI in the Y dimension | ### Response The endpoint returns the run UUID. After that, the job is scheduled for execution in the background. To check the status of the run, call `GET /v1/runs/{run_id}` with the returned run UUID. ### Rejection Beyond authentication, authorization, and malformed-input errors, the request is rejected with `402 Payment Required` when a quota limit would be exceeded. See the quota documentation for details. It is rejected with `413` when the request body is larger than 20 MB. It is rejected with `422` when a `download_url` host resolves to an address that is not public, or when the items use more than 10 distinct `download_url` hosts. It is also rejected with `422` when a `download_url` contains a character outside `A-Za-z0-9` and `-._~%/?&=:+`, or when `input_artifacts[].metadata.checksum_base64_crc32c` does not match `^[A-Za-z0-9+/]{6}==$`. * @summary Initiate Run * @param {PublicApiCreateRunV1RunsPostRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. diff --git a/packages/sdk/src/generated/base.ts b/packages/sdk/src/generated/base.ts index c777f899..ba10af78 100644 --- a/packages/sdk/src/generated/base.ts +++ b/packages/sdk/src/generated/base.ts @@ -4,7 +4,7 @@ * Aignostics Platform API * The Aignostics Platform is a cloud-based service that enables organizations to access advanced computational pathology applications through a secure API. The platform provides standardized access to Aignostics\' portfolio of computational pathology solutions, with HETA serving as an example of the available API endpoints. To begin using the platform, your organization must first be registered by our business support team. If you don\'t have an account yet, please contact your account manager or email support@aignostics.com to get started. More information about our applications can be found on [https://platform.aignostics.com](https://platform.aignostics.com). **How to authorize and test API endpoints:** 1. Click the \"Authorize\" button in the right corner below 3. Click \"Authorize\" button in the dialog to log in with your Aignostics Platform credentials 4. After successful login, you\'ll be redirected back and can use \"Try it out\" on any endpoint **Note**: You only need to authorize once per session. The lock icons next to endpoints will show green when authorized. * - * The version of the OpenAPI document: 1.10.2 + * The version of the OpenAPI document: 1.11.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/sdk/src/generated/common.ts b/packages/sdk/src/generated/common.ts index 4752db19..95a36447 100644 --- a/packages/sdk/src/generated/common.ts +++ b/packages/sdk/src/generated/common.ts @@ -4,7 +4,7 @@ * Aignostics Platform API * The Aignostics Platform is a cloud-based service that enables organizations to access advanced computational pathology applications through a secure API. The platform provides standardized access to Aignostics\' portfolio of computational pathology solutions, with HETA serving as an example of the available API endpoints. To begin using the platform, your organization must first be registered by our business support team. If you don\'t have an account yet, please contact your account manager or email support@aignostics.com to get started. More information about our applications can be found on [https://platform.aignostics.com](https://platform.aignostics.com). **How to authorize and test API endpoints:** 1. Click the \"Authorize\" button in the right corner below 3. Click \"Authorize\" button in the dialog to log in with your Aignostics Platform credentials 4. After successful login, you\'ll be redirected back and can use \"Try it out\" on any endpoint **Note**: You only need to authorize once per session. The lock icons next to endpoints will show green when authorized. * - * The version of the OpenAPI document: 1.10.2 + * The version of the OpenAPI document: 1.11.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/sdk/src/generated/configuration.ts b/packages/sdk/src/generated/configuration.ts index ac478513..467865ec 100644 --- a/packages/sdk/src/generated/configuration.ts +++ b/packages/sdk/src/generated/configuration.ts @@ -4,7 +4,7 @@ * Aignostics Platform API * The Aignostics Platform is a cloud-based service that enables organizations to access advanced computational pathology applications through a secure API. The platform provides standardized access to Aignostics\' portfolio of computational pathology solutions, with HETA serving as an example of the available API endpoints. To begin using the platform, your organization must first be registered by our business support team. If you don\'t have an account yet, please contact your account manager or email support@aignostics.com to get started. More information about our applications can be found on [https://platform.aignostics.com](https://platform.aignostics.com). **How to authorize and test API endpoints:** 1. Click the \"Authorize\" button in the right corner below 3. Click \"Authorize\" button in the dialog to log in with your Aignostics Platform credentials 4. After successful login, you\'ll be redirected back and can use \"Try it out\" on any endpoint **Note**: You only need to authorize once per session. The lock icons next to endpoints will show green when authorized. * - * The version of the OpenAPI document: 1.10.2 + * The version of the OpenAPI document: 1.11.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/sdk/src/generated/docs/InputArtifactCreationRequest.md b/packages/sdk/src/generated/docs/InputArtifactCreationRequest.md index 88ea1bf1..9da371f6 100644 --- a/packages/sdk/src/generated/docs/InputArtifactCreationRequest.md +++ b/packages/sdk/src/generated/docs/InputArtifactCreationRequest.md @@ -7,8 +7,8 @@ Input artifact containing the slide image and associated metadata. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **string** | Name of the input artifact, as declared by the application version. The valid names for a version are the `input_artifacts[].name` values returned by `GET /v1/applications/{application_id}/versions/{version}`. For HETA this is `\"whole_slide_image\"`. | [default to undefined] -**download_url** | **string** | [Signed URL](https://cloud.google.com/cdn/docs/using-signed-urls) to the input artifact file. The URL should be valid for at least 6 days from the payload submission time. The URL must use `https`, must name a public host (no IP address, no `localhost`, no `.internal` or `.local` name), and must not contain user info. The URL may contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. | [default to undefined] -**metadata** | **{ [key: string]: any; }** | The metadata of the artifact, as required by the application version. The authoritative JSON schema is `input_artifacts[].metadata_schema` from `GET /v1/applications/{application_id}/versions/{version}`; it rejects unknown properties. The example shown is an HETA snapshot and may lag behind the version you are running — always validate against the schema endpoint. | [default to undefined] +**download_url** | **string** | [Signed URL](https://cloud.google.com/cdn/docs/using-signed-urls) to the input artifact file. The URL should be valid for at least 6 days from the payload submission time. The URL must use `https`, must name a public host (no IP address, no `localhost`, no `.internal` or `.local` name), and must not contain user info. The URL may contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. The host must resolve to public addresses. The decoded URL must not contain control characters. | [default to undefined] +**metadata** | **{ [key: string]: any; }** | The metadata of the artifact, as required by the application version. The authoritative JSON schema is `input_artifacts[].metadata_schema` from `GET /v1/applications/{application_id}/versions/{version}`; it rejects unknown properties. The example shown is an HETA snapshot and may lag behind the version you are running — always validate against the schema endpoint. Nesting is limited to 64 levels. Text must not contain NUL or lone surrogates. Numbers must be finite and between -2^63 and 2^63 - 1. | [default to undefined] ## Example diff --git a/packages/sdk/src/generated/docs/ItemCreationRequest.md b/packages/sdk/src/generated/docs/ItemCreationRequest.md index 496e53db..8b5e186f 100644 --- a/packages/sdk/src/generated/docs/ItemCreationRequest.md +++ b/packages/sdk/src/generated/docs/ItemCreationRequest.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **external_id** | **string** | Unique identifier for this item within the run. Used for referencing items. Must be unique across all items in the same run | [default to undefined] **custom_metadata** | **{ [key: string]: any; }** | | [optional] [default to undefined] -**input_artifacts** | [**Array<InputArtifactCreationRequest>**](InputArtifactCreationRequest.md) | List of input artifacts for this item. For HETA, typically contains one artifact (the slide image) | [default to undefined] +**input_artifacts** | [**Array<InputArtifactCreationRequest>**](InputArtifactCreationRequest.md) | List of input artifacts for this item. Each input artifact that the application version declares must occur exactly once. | [default to undefined] ## Example diff --git a/packages/sdk/src/generated/docs/PublicApi.md b/packages/sdk/src/generated/docs/PublicApi.md index 1c91c9f1..0cacd7f4 100644 --- a/packages/sdk/src/generated/docs/PublicApi.md +++ b/packages/sdk/src/generated/docs/PublicApi.md @@ -139,7 +139,7 @@ const { status, data } = await apiInstance.cancelRunV1RunsRunIdCancelPost( |**202** | Successful Response | - | |**404** | Run not found | - | |**403** | Forbidden - You don\'t have permission to cancel this run | - | -|**409** | Conflict - The Run is already cancelled | - | +|**409** | Conflict - The Run has already terminated | - | |**422** | Validation Error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -202,7 +202,7 @@ const { status, data } = await apiInstance.createGrantV1AccessGrantsPost( # **createRunV1RunsPost** > RunCreationResponse createRunV1RunsPost(runCreationRequest) -This endpoint initiates a processing run for a selected application and version, and returns a `run_id` for tracking purposes. Item processing occurs asynchronously, allowing you to retrieve results for individual items as soon as they complete processing. The system typically processes items in batches. ### Payload The payload includes `application_id`, optional `version_number`, and `items` base fields. `application_id` is the unique identifier for the application. `version_number` is the semantic version to use. If not provided, the latest version available to you will be used. `items` includes the list of the items to process (slides, in case of the HETA application). Every item has a set of standard fields defined by the API, plus `input_artifacts[].metadata`, whose shape is defined by the chosen application version. Below is an example payload for initiating an HETA (`he-tme`) run: ```json { \"application_id\": \"he-tme\", \"items\": [ { \"external_id\": \"slide_1\", \"custom_metadata\": { \"case\": \"abc\" }, \"input_artifacts\": [ { \"name\": \"whole_slide_image\", \"download_url\": \"https://example-bucket.s3.amazonaws.com/slide1.tiff?signature=...\", \"metadata\": { \"checksum_base64_crc32c\": \"64RKKA==\", \"staining_method\": \"H&E\", \"specimen\": { \"disease\": \"LUNG_CANCER\", \"tissue\": \"LUNG\" }, \"media_type\": \"image/tiff\", \"width_px\": 136223, \"height_px\": 87761, \"resolution_mpp\": 0.2628238 } } ] } ] } ``` > **The example above is a snapshot, not a contract.** Applications are released independently of > this API, so the `input_artifacts[].metadata` shape shown here may lag behind the version you are > running. The authoritative schema for a version is always `input_artifacts[].metadata_schema` > from `GET /v1/applications/{application_id}/versions/{version}`. That schema rejects unknown > properties, so a stale field name will fail validation with `400`. | Parameter | Description | | :---- | :---- | | `application_id` **required** | Unique ID for the application | | `version_number` optional | Semantic version of the application. If not provided, the latest version available to you will be used | | `items` **required** | List of submitted items, i.e. whole slide images (WSIs), with the parameters described below | | `external_id` **required** | Unique WSI name or ID for easy reference to items, provided by the caller. Must be unique across all items of the run | | `custom_metadata` optional | Free-form JSON stored verbatim alongside the run or item. Not processed or validated by the platform, and not application-specific | | `input_artifacts` **required** | List of provided artifacts for a WSI. HETA receives 1 artifact per slide (the slide itself); other applications may take more, e.g. a slide plus a segmentation map | | `name` **required** | Name of the artifact as declared by the application version. HETA accepts only `\"whole_slide_image\"` | | `download_url` **required** | Signed URL to the input file in S3 or GCS. Must use `https`, name a public host, and carry no user info. May contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. Should be valid for at least 6 days | The remaining fields below live inside `input_artifacts[].metadata` and are governed by the application version\'s `metadata_schema`. The following applies to HETA: | Metadata field | Description | | :---- | :---- | | `checksum_base64_crc32c` **required** | Base64-encoded big-endian CRC32C checksum of the WSI image. Must match `^[A-Za-z0-9+/]{6}==$` | | `staining_method` **required** | WSI stain bio-marker; HETA supports only `\"H&E\"` | | `specimen.disease` **required** | One of `BREAST_CANCER`, `LUNG_CANCER`, `COLORECTAL_CANCER`, `BLADDER_CANCER`, `LIVER_CANCER`, `PROSTATE_CANCER`, `PANCREATIC_CANCER`, `STOMACH_CANCER`, `OVARIAN_CANCER`, or `OTHER` | | `specimen.tissue` optional | Tissue of origin. Allowed values depend on `disease`; defaults to `OTHER` when omitted | | `media_type` optional | Media format of the WSI: `image/tiff` (.tiff/.tif), `application/dicom` (DICOM), `application/zip` (zipped DICOM), or `application/octet-stream` (.svs) | | `resolution_mpp` optional | Resolution of the WSI in micrometers per pixel | | `width_px` optional | Number of pixels of the WSI in the X dimension | | `height_px` optional | Number of pixels of the WSI in the Y dimension | ### Response The endpoint returns the run UUID. After that, the job is scheduled for execution in the background. To check the status of the run, call `GET /v1/runs/{run_id}` with the returned run UUID. ### Rejection Beyond authentication, authorization, and malformed-input errors, the request is rejected with `402 Payment Required` when a quota limit would be exceeded. See the quota documentation for details. It is rejected with `422` when a `download_url` host resolves to an address that is not public, or when the items use more than 10 distinct `download_url` hosts. It is also rejected with `422` when a `download_url` contains a character outside `A-Za-z0-9` and `-._~%/?&=:+`, or when `input_artifacts[].metadata.checksum_base64_crc32c` does not match `^[A-Za-z0-9+/]{6}==$`. +This endpoint initiates a processing run for a selected application and version, and returns a `run_id` for tracking purposes. Item processing occurs asynchronously, allowing you to retrieve results for individual items as soon as they complete processing. The system typically processes items in batches. ### Payload The payload includes `application_id`, optional `version_number`, and `items` base fields. `application_id` is the unique identifier for the application. `version_number` is the semantic version to use. If not provided, the latest version available to you will be used. `items` includes the list of the items to process (slides, in case of the HETA application). Every item has a set of standard fields defined by the API, plus `input_artifacts[].metadata`, whose shape is defined by the chosen application version. Below is an example payload for initiating an HETA (`he-tme`) run: ```json { \"application_id\": \"he-tme\", \"items\": [ { \"external_id\": \"slide_1\", \"custom_metadata\": { \"case\": \"abc\" }, \"input_artifacts\": [ { \"name\": \"whole_slide_image\", \"download_url\": \"https://example-bucket.s3.amazonaws.com/slide1.tiff?signature=...\", \"metadata\": { \"checksum_base64_crc32c\": \"64RKKA==\", \"staining_method\": \"H&E\", \"specimen\": { \"disease\": \"LUNG_CANCER\", \"tissue\": \"LUNG\" }, \"media_type\": \"image/tiff\", \"width_px\": 136223, \"height_px\": 87761, \"resolution_mpp\": 0.2628238 } } ] } ] } ``` > **The example above is a snapshot, not a contract.** Applications are released independently of > this API, so the `input_artifacts[].metadata` shape shown here may lag behind the version you are > running. The authoritative schema for a version is always `input_artifacts[].metadata_schema` > from `GET /v1/applications/{application_id}/versions/{version}`. That schema rejects unknown > properties, so a stale field name will fail validation with `400`. | Parameter | Description | | :---- | :---- | | `application_id` **required** | Unique ID for the application | | `version_number` optional | Semantic version of the application. If not provided, the latest version available to you will be used | | `items` **required** | List of submitted items, i.e. whole slide images (WSIs), with the parameters described below | | `external_id` **required** | Unique WSI name or ID for easy reference to items, provided by the caller. Must be unique across all items of the run | | `custom_metadata` optional | Free-form JSON stored verbatim alongside the run or item. Not processed or validated by the platform, and not application-specific. Exception: if the `scheduling` field omits them, the platform reads `sdk.scheduling.due_date` and `sdk.scheduling.deadline` one time, at run creation (deprecated) | | `input_artifacts` **required** | List of provided artifacts for a WSI. Each input artifact that the application version declares must occur exactly once | | `name` **required** | Name of the artifact as declared by the application version. HETA accepts only `\"whole_slide_image\"` | | `download_url` **required** | Signed URL to the input file in S3 or GCS. Must use `https`, name a public host, and carry no user info. May contain only the characters `A-Za-z0-9` and `-._~%/?&=:+`. Should be valid for at least 6 days | The remaining fields below live inside `input_artifacts[].metadata` and are governed by the application version\'s `metadata_schema`. The following applies to HETA: | Metadata field | Description | | :---- | :---- | | `checksum_base64_crc32c` **required** | Base64-encoded big-endian CRC32C checksum of the WSI image. Must match `^[A-Za-z0-9+/]{6}==$` | | `staining_method` **required** | WSI stain bio-marker; HETA supports only `\"H&E\"` | | `specimen.disease` **required** | One of `BREAST_CANCER`, `LUNG_CANCER`, `COLORECTAL_CANCER`, `BLADDER_CANCER`, `LIVER_CANCER`, `PROSTATE_CANCER`, `PANCREATIC_CANCER`, `STOMACH_CANCER`, `OVARIAN_CANCER`, or `OTHER` | | `specimen.tissue` optional | Tissue of origin. Allowed values depend on `disease`; defaults to `OTHER` when omitted | | `media_type` optional | Media format of the WSI: `image/tiff` (.tiff/.tif), `application/dicom` (DICOM), `application/zip` (zipped DICOM), or `application/octet-stream` (.svs) | | `resolution_mpp` optional | Resolution of the WSI in micrometers per pixel | | `width_px` optional | Number of pixels of the WSI in the X dimension | | `height_px` optional | Number of pixels of the WSI in the Y dimension | ### Response The endpoint returns the run UUID. After that, the job is scheduled for execution in the background. To check the status of the run, call `GET /v1/runs/{run_id}` with the returned run UUID. ### Rejection Beyond authentication, authorization, and malformed-input errors, the request is rejected with `402 Payment Required` when a quota limit would be exceeded. See the quota documentation for details. It is rejected with `413` when the request body is larger than 20 MB. It is rejected with `422` when a `download_url` host resolves to an address that is not public, or when the items use more than 10 distinct `download_url` hosts. It is also rejected with `422` when a `download_url` contains a character outside `A-Za-z0-9` and `-._~%/?&=:+`, or when `input_artifacts[].metadata.checksum_base64_crc32c` does not match `^[A-Za-z0-9+/]{6}==$`. ### Example @@ -252,6 +252,8 @@ const { status, data } = await apiInstance.createRunV1RunsPost( |**400** | Bad Request - Input validation failed | - | |**402** | Payment Required - A quota limit (slides per run, monthly slides, or total slides) would be exceeded by this run | - | |**403** | Forbidden - You don\'t have permission to create this run | - | +|**413** | Content Too Large - The request body is above 20 MB | - | +|**503** | Service Unavailable - The DNS lookup of a download_url host failed or timed out. Retry after the time in the `Retry-After` header | - | |**422** | Validation Error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1402,6 +1404,7 @@ const { status, data } = await apiInstance.putItemCustomMetadataByRunV1RunsRunId |**403** | Forbidden - You don\'t have permission to update this item | - | |**404** | Item not found | - | |**412** | Precondition Failed - Checksum mismatch | - | +|**413** | Content Too Large - The request body is above 20 MB | - | |**422** | Validation Error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1461,6 +1464,7 @@ const { status, data } = await apiInstance.putRunCustomMetadataV1RunsRunIdCustom |**404** | Run not found | - | |**403** | Forbidden - You don\'t have permission to update this run | - | |**412** | Precondition Failed - Checksum mismatch, resource has been modified | - | +|**413** | Content Too Large - The request body is above 20 MB | - | |**422** | Validation Error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/packages/sdk/src/generated/docs/ResourceType.md b/packages/sdk/src/generated/docs/ResourceType.md index 40dff20c..59faa693 100644 --- a/packages/sdk/src/generated/docs/ResourceType.md +++ b/packages/sdk/src/generated/docs/ResourceType.md @@ -5,10 +5,6 @@ * `Run` (value: `'run'`) -* `Item` (value: `'item'`) - -* `OutputArtifact` (value: `'output_artifact'`) - * `ShareToken` (value: `'share_token'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/packages/sdk/src/generated/index.ts b/packages/sdk/src/generated/index.ts index 44f446d8..efc05743 100644 --- a/packages/sdk/src/generated/index.ts +++ b/packages/sdk/src/generated/index.ts @@ -4,7 +4,7 @@ * Aignostics Platform API * The Aignostics Platform is a cloud-based service that enables organizations to access advanced computational pathology applications through a secure API. The platform provides standardized access to Aignostics\' portfolio of computational pathology solutions, with HETA serving as an example of the available API endpoints. To begin using the platform, your organization must first be registered by our business support team. If you don\'t have an account yet, please contact your account manager or email support@aignostics.com to get started. More information about our applications can be found on [https://platform.aignostics.com](https://platform.aignostics.com). **How to authorize and test API endpoints:** 1. Click the \"Authorize\" button in the right corner below 3. Click \"Authorize\" button in the dialog to log in with your Aignostics Platform credentials 4. After successful login, you\'ll be redirected back and can use \"Try it out\" on any endpoint **Note**: You only need to authorize once per session. The lock icons next to endpoints will show green when authorized. * - * The version of the OpenAPI document: 1.10.2 + * The version of the OpenAPI document: 1.11.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).