addedInput schema / $defs
Added value: +{
+ "ArtifactIdLocator": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "artifact_id",
+ "title": "Kind",
+ "type": "string"
+ },
+ "session_id": {
+ "anyOf": [
+ {
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,79}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Session Id"
+ },
+ "value": {
+ "maxLength": 512,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,511}$",
+ "title": "Value",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "value"
+ ],
+ "title": "ArtifactIdLocator",
+ "type": "object"
+ },
+ "ArtifactUriLocator": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "artifact_uri",
+ "title": "Kind",
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 605,
+ "minLength": 13,
+ "pattern": "^artifact://[A-Za-z0-9][A-Za-z0-9_.-]{0,79}/[A-Za-z0-9][A-Za-z0-9_.-]{0,511}$",
+ "title": "Value",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "value"
+ ],
+ "title": "ArtifactUriLocator",
+ "type": "object"
+ },
+ "SessionArticleRequest": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "article",
+ "title": "Action",
+ "type": "string"
+ },
+ "pmid": {
+ "maxLength": 20,
+ "pattern": "^[1-9][0-9]{0,19}$",
+ "title": "Pmid",
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "pmid"
+ ],
+ "title": "SessionArticleRequest",
+ "type": "object"
+ },
+ "SessionArtifactRequest": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "artifact",
+ "title": "Action",
+ "type": "string"
+ },
+ "artifact_file": {
+ "anyOf": [
+ {
+ "maxLength": 512,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,511}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Artifact File"
+ },
+ "include_local_paths": {
+ "default": false,
+ "title": "Include Local Paths",
+ "type": "boolean"
+ },
+ "locator": {
+ "discriminator": {
+ "mapping": {
+ "artifact_id": "#/$defs/ArtifactIdLocator",
+ "artifact_uri": "#/$defs/ArtifactUriLocator"
+ },
+ "propertyName": "kind"
+ },
+ "oneOf": [
+ {
+ "$ref": "#/$defs/ArtifactIdLocator"
+ },
+ {
+ "$ref": "#/$defs/ArtifactUriLocator"
+ }
+ ],
+ "title": "Locator"
+ },
+ "max_chars": {
+ "default": 200000,
+ "maximum": 200000,
+ "minimum": 1,
+ "title": "Max Chars",
+ "type": "integer"
+ },
+ "offset": {
+ "default": 0,
+ "maximum": 2000000000,
+ "minimum": 0,
+ "title": "Offset",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "action",
+ "locator"
+ ],
+ "title": "SessionArtifactRequest",
+ "type": "object"
+ },
+ "SessionListArtifactsRequest": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "list_artifacts",
+ "title": "Action",
+ "type": "string"
+ },
+ "include_local_paths": {
+ "default": false,
+ "title": "Include Local Paths",
+ "type": "boolean"
+ },
+ "kind": {
+ "anyOf": [
+ {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Kind"
+ },
+ "limit": {
+ "default": 10,
+ "maximum": 100,
+ "minimum": 1,
+ "title": "Limit",
+ "type": "integer"
+ },
+ "session_id": {
+ "anyOf": [
+ {
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,79}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Session Id"
+ },
+ "tool": {
+ "anyOf": [
+ {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Tool"
+ }
+ },
+ "required": [
+ "action"
+ ],
+ "title": "SessionListArtifactsRequest",
+ "type": "object"
+ },
+ "SessionLogRequest": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "log",
+ "title": "Action",
+ "type": "string"
+ },
+ "event_limit": {
+ "default": 50,
+ "maximum": 500,
+ "minimum": 1,
+ "title": "Event Limit",
+ "type": "integer"
+ },
+ "history_limit": {
+ "default": 10,
+ "maximum": 100,
+ "minimum": 1,
+ "title": "History Limit",
+ "type": "integer"
+ },
+ "include_history": {
+ "default": true,
+ "title": "Include History",
+ "type": "boolean"
+ },
+ "kind": {
+ "anyOf": [
+ {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Kind"
+ }
+ },
+ "required": [
+ "action"
+ ],
+ "title": "SessionLogRequest",
+ "type": "object"
+ },
+ "SessionPmidsRequest": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "pmids",
+ "title": "Action",
+ "type": "string"
+ },
+ "query_filter": {
+ "anyOf": [
+ {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Query Filter"
+ },
+ "search_index": {
+ "default": -1,
+ "maximum": 100000,
+ "minimum": -100000,
+ "title": "Search Index",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "action"
+ ],
+ "title": "SessionPmidsRequest",
+ "type": "object"
+ },
+ "SessionReplaySearchRequest": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "replay_search",
+ "title": "Action",
+ "type": "string"
+ },
+ "run_id": {
+ "maxLength": 512,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,511}$",
+ "title": "Run Id",
+ "type": "string"
+ },
+ "session_id": {
+ "anyOf": [
+ {
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,79}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Session Id"
+ }
+ },
+ "required": [
+ "action",
+ "run_id"
+ ],
+ "title": "SessionReplaySearchRequest",
+ "type": "object"
+ },
+ "SessionSearchRunRequest": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "search_run",
+ "title": "Action",
+ "type": "string"
+ },
+ "run_id": {
+ "maxLength": 512,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,511}$",
+ "title": "Run Id",
+ "type": "string"
+ },
+ "session_id": {
+ "anyOf": [
+ {
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,79}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Session Id"
+ }
+ },
+ "required": [
+ "action",
+ "run_id"
+ ],
+ "title": "SessionSearchRunRequest",
+ "type": "object"
+ },
+ "SessionSearchRunsRequest": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "search_runs",
+ "title": "Action",
+ "type": "string"
+ },
+ "limit": {
+ "default": 10,
+ "maximum": 100,
+ "minimum": 1,
+ "title": "Limit",
+ "type": "integer"
+ },
+ "session_id": {
+ "anyOf": [
+ {
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,79}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Session Id"
+ },
+ "status": {
+ "anyOf": [
+ {
+ "enum": [
+ "started",
+ "planned",
+ "running",
+ "completed",
+ "partial",
+ "failed",
+ "cancelled",
+ "interrupted"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Status"
+ }
+ },
+ "required": [
+ "action"
+ ],
+ "title": "SessionSearchRunsRequest",
+ "type": "object"
+ },
+ "SessionSummaryRequest": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "summary",
+ "title": "Action",
+ "type": "string"
+ },
+ "history_limit": {
+ "default": 10,
+ "maximum": 100,
+ "minimum": 1,
+ "title": "History Limit",
+ "type": "integer"
+ },
+ "include_history": {
+ "default": false,
+ "title": "Include History",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "action"
+ ],
+ "title": "SessionSummaryRequest",
+ "type": "object"
+ }
+}