From 537bb921cabf06da2c0571fdf8477aa4edbb62cd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 17 Jul 2026 10:36:06 +0000 Subject: [PATCH] chore: refresh LangSmith platform OpenAPI spec Automated refresh from api.smith.langchain.com with fleet and internal endpoints filtered for public documentation. --- src/langsmith/langsmith-platform-openapi.json | 620 +++++++++++++++--- 1 file changed, 540 insertions(+), 80 deletions(-) diff --git a/src/langsmith/langsmith-platform-openapi.json b/src/langsmith/langsmith-platform-openapi.json index d6258139ee..16f5e91587 100644 --- a/src/langsmith/langsmith-platform-openapi.json +++ b/src/langsmith/langsmith-platform-openapi.json @@ -234,8 +234,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } }, { @@ -244,8 +244,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } }, { @@ -254,8 +254,8 @@ "in": "query", "required": true, "schema": { - "type": "string", "format": "date-time", + "type": "string", "title": "Start Time" } }, @@ -267,10 +267,10 @@ "style": "form", "explode": true, "schema": { - "type": "array", "items": { "type": "string" }, + "type": "array", "title": "Selects" } } @@ -380,8 +380,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } } ], @@ -642,8 +642,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } }, { @@ -652,8 +652,8 @@ "in": "query", "required": true, "schema": { - "type": "string", "format": "uuid", + "type": "string", "title": "Project Id" } }, @@ -664,7 +664,6 @@ "style": "form", "explode": true, "schema": { - "type": "array", "items": { "enum": [ "ID", @@ -714,6 +713,7 @@ ], "type": "string" }, + "type": "array", "title": "Selects" } }, @@ -723,8 +723,8 @@ "in": "query", "required": true, "schema": { - "type": "string", "format": "date-time", + "type": "string", "title": "Start Time" } } @@ -849,8 +849,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } } ], @@ -939,6 +939,104 @@ } } }, + "/v2/runs/{trace_id}/share": { + "delete": { + "security": [ + { + "API Key": [] + }, + { + "Tenant ID": [] + }, + { + "Bearer Auth": [] + } + ], + "description": "Deletes the share token for the trace identified by trace_id and session_id. Idempotent: returns 204 whether or not a share token existed.", + "tags": [ + "v2" + ], + "summary": "Unshare a run", + "parameters": [ + { + "description": "Trace root UUID", + "name": "trace_id", + "in": "path", + "required": true, + "schema": { + "format": "uuid", + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/shared.ProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/shared.ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/shared.ProblemDetails" + } + } + } + }, + "413": { + "description": "Request Entity Too Large", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/shared.ProblemDetails" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/shared.ProblemDetails" + } + } + } + } + }, + "x-public": true, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/share.DeleteShareTokenRequestBody" + } + } + } + } + } + }, "/v2/threads/query": { "post": { "security": [ @@ -1110,7 +1208,6 @@ "style": "form", "explode": true, "schema": { - "type": "array", "items": { "enum": [ "TURNS", @@ -1133,6 +1230,7 @@ ], "type": "string" }, + "type": "array", "title": "Selects" } }, @@ -1142,8 +1240,8 @@ "in": "query", "required": true, "schema": { - "type": "string", "format": "uuid", + "type": "string", "title": "Session Id" } } @@ -1294,10 +1392,10 @@ "name": "page_size", "in": "query", "schema": { - "maximum": 100, + "minimum": 1, "default": 20, + "maximum": 100, "type": "integer", - "minimum": 1, "title": "Page Size" } }, @@ -1307,8 +1405,8 @@ "in": "query", "required": true, "schema": { - "type": "string", "format": "uuid", + "type": "string", "title": "Project Id" } }, @@ -1323,7 +1421,6 @@ "style": "form", "explode": true, "schema": { - "type": "array", "items": { "enum": [ "THREAD_ID", @@ -1353,6 +1450,7 @@ ], "type": "string" }, + "type": "array", "title": "Selects" } } @@ -1616,8 +1714,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } }, { @@ -1634,8 +1732,8 @@ "name": "max_start_time", "in": "query", "schema": { - "type": "string", "format": "date-time", + "type": "string", "title": "Max Start Time" } }, @@ -1644,8 +1742,8 @@ "name": "min_start_time", "in": "query", "schema": { - "type": "string", "format": "date-time", + "type": "string", "title": "Min Start Time" } }, @@ -1655,8 +1753,8 @@ "in": "query", "required": true, "schema": { - "type": "string", "format": "uuid", + "type": "string", "title": "Project Id" } }, @@ -1667,7 +1765,6 @@ "style": "form", "explode": true, "schema": { - "type": "array", "items": { "enum": [ "ID", @@ -1717,6 +1814,7 @@ ], "type": "string" }, + "type": "array", "title": "Selects" } } @@ -13663,6 +13761,22 @@ "title": "Sort By Feedback Key" } }, + { + "name": "sort_by_feedback_source", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Sort By Feedback Source" + } + }, { "name": "offset", "in": "query", @@ -13696,6 +13810,68 @@ "title": "Facets" } }, + { + "name": "use_approx_stats", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "default": false, + "title": "Use Approx Stats" + } + }, + { + "name": "stats_start_time", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } + ], + "title": "Stats Start Time" + } + }, + { + "name": "stats_select", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ], + "title": "Stats Select" + } + }, + { + "name": "stats_filter", + "in": "query", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Stats Filter" + } + }, { "name": "accept", "in": "header", @@ -27722,10 +27898,10 @@ "name": "limit", "in": "query", "schema": { - "maximum": 100, + "minimum": 1, "default": 20, + "maximum": 100, "type": "integer", - "minimum": 1, "title": "Limit" } }, @@ -27734,9 +27910,9 @@ "name": "offset", "in": "query", "schema": { + "minimum": 0, "default": 0, "type": "integer", - "minimum": 0, "title": "Offset" } }, @@ -28051,8 +28227,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } } ], @@ -28150,8 +28326,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } } ], @@ -28284,8 +28460,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } }, { @@ -28295,8 +28471,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } } ], @@ -28391,8 +28567,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } }, { @@ -28402,8 +28578,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } } ], @@ -28491,8 +28667,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } }, { @@ -28502,8 +28678,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } } ], @@ -29642,10 +29818,10 @@ "name": "limit", "in": "query", "schema": { - "maximum": 100, + "minimum": 1, "default": 50, + "maximum": 100, "type": "integer", - "minimum": 1, "title": "Limit" } }, @@ -29653,9 +29829,9 @@ "name": "offset", "in": "query", "schema": { + "minimum": 0, "default": 0, "type": "integer", - "minimum": 0, "title": "Offset" } } @@ -30111,8 +30287,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } } ], @@ -31868,8 +32044,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } } ], @@ -31987,8 +32163,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } } ], @@ -32141,10 +32317,10 @@ "style": "form", "explode": false, "schema": { - "type": "array", "items": { "type": "string" }, + "type": "array", "title": "Tag Value Id" } }, @@ -32164,10 +32340,10 @@ "style": "form", "explode": false, "schema": { - "type": "array", "items": { "type": "string" }, + "type": "array", "title": "Resource Id" } }, @@ -32372,10 +32548,10 @@ "style": "form", "explode": false, "schema": { - "type": "array", "items": { "type": "string" }, + "type": "array", "title": "Evaluator Ids" } }, @@ -32506,10 +32682,10 @@ "style": "form", "explode": false, "schema": { - "type": "array", "items": { "type": "string" }, + "type": "array", "title": "Resource Id" } }, @@ -33603,8 +33779,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } } ], @@ -33693,8 +33869,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } } ], @@ -33776,8 +33952,8 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "format": "uuid", + "type": "string" } } ], @@ -34297,12 +34473,12 @@ "name": "status", "in": "query", "schema": { - "type": "string", "enum": [ "open", "completed", "ignored" ], + "type": "string", "title": "Status" } }, @@ -34311,13 +34487,13 @@ "name": "severity", "in": "query", "schema": { - "type": "integer", "enum": [ 0, 1, 2, 3 ], + "type": "integer", "title": "Severity" } }, @@ -34344,12 +34520,12 @@ "name": "sort_by", "in": "query", "schema": { - "type": "string", "enum": [ "created_at", "updated_at", "severity" ], + "type": "string", "title": "Sort By" } }, @@ -36248,10 +36424,10 @@ "style": "form", "explode": true, "schema": { - "type": "array", "items": { "type": "string" }, + "type": "array", "title": "Name Like" } }, @@ -36262,10 +36438,10 @@ "style": "form", "explode": true, "schema": { - "type": "array", "items": { "type": "string" }, + "type": "array", "title": "Email Like" } }, @@ -36276,10 +36452,10 @@ "style": "form", "explode": true, "schema": { - "type": "array", "items": { "type": "string" }, + "type": "array", "title": "Workspace Name Like" } }, @@ -36290,10 +36466,10 @@ "style": "form", "explode": true, "schema": { - "type": "array", "items": { "type": "string" }, + "type": "array", "title": "Organization Role Like" } }, @@ -36304,10 +36480,10 @@ "style": "form", "explode": true, "schema": { - "type": "array", "items": { "type": "string" }, + "type": "array", "title": "Workspace Role Like" } } @@ -40400,6 +40576,194 @@ "x-public": true } }, + "/v2/sandboxes/{sandbox_id}/glob": { + "post": { + "security": [ + { + "API Key": [] + }, + { + "Tenant ID": [] + }, + { + "Bearer Auth": [] + } + ], + "description": "Find files under a root path matching a glob pattern (supports **). Entries are returned in lexical order by path.", + "tags": [ + "sandboxes" + ], + "summary": "Glob a sandbox filesystem", + "parameters": [ + { + "description": "Sandbox ID or name", + "name": "sandbox_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/sandboxes.GlobResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/sandboxes.ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/sandboxes.ErrorResponse" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/sandboxes.ErrorResponse" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/sandboxes.ErrorResponse" + } + } + } + } + }, + "x-public": true, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/sandboxes.GlobRequest" + } + } + } + } + } + }, + "/v2/sandboxes/{sandbox_id}/grep": { + "post": { + "security": [ + { + "API Key": [] + }, + { + "Tenant ID": [] + }, + { + "Bearer Auth": [] + } + ], + "description": "Search files under a root path for a literal text pattern (not a regex).", + "tags": [ + "sandboxes" + ], + "summary": "Grep a sandbox filesystem", + "parameters": [ + { + "description": "Sandbox ID or name", + "name": "sandbox_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/sandboxes.GrepResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/sandboxes.ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/sandboxes.ErrorResponse" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/sandboxes.ErrorResponse" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/sandboxes.ErrorResponse" + } + } + } + } + }, + "x-public": true, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/sandboxes.GrepRequest" + } + } + } + } + } + }, "/v2/sandboxes/{sandbox_id}/tunnel": { "get": { "security": [ @@ -42897,6 +43261,7 @@ "delete_tracer_sessions", "delete_runs", "share_run", + "unshare_run", "create_dataset", "create_csv_dataset", "create_experiment_via_upload", @@ -45290,7 +45655,6 @@ "startup_07_2026", "partner", "premier", - "premier_07_2026", "free", "free_07_2026" ], @@ -57805,8 +58169,7 @@ "startup_v0", "startup_07_2026", "partner", - "premier", - "premier_07_2026" + "premier" ], "title": "PaymentPlanTier" }, @@ -76281,6 +76644,23 @@ } } }, + "sandboxapi.FileInfo": { + "type": "object", + "properties": { + "is_dir": { + "type": "boolean" + }, + "modified_at": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size_bytes": { + "type": "integer" + } + } + }, "sandboxapi.GCSMountSpec": { "type": "object", "required": [ @@ -76332,6 +76712,20 @@ } } }, + "sandboxapi.GrepMatch": { + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "path": { + "type": "string" + }, + "text": { + "type": "string" + } + } + }, "sandboxapi.MountCacheSpec": { "type": "object", "properties": { @@ -76736,6 +77130,65 @@ } } }, + "sandboxes.GlobRequest": { + "type": "object", + "properties": { + "limit": { + "type": "integer" + }, + "path": { + "type": "string" + }, + "pattern": { + "type": "string" + } + } + }, + "sandboxes.GlobResponse": { + "type": "object", + "properties": { + "matches": { + "type": "array", + "items": { + "$ref": "#/components/schemas/sandboxapi.FileInfo" + } + }, + "truncated": { + "type": "boolean" + } + } + }, + "sandboxes.GrepRequest": { + "type": "object", + "properties": { + "glob": { + "type": "string" + }, + "limit": { + "type": "integer" + }, + "path": { + "type": "string" + }, + "pattern": { + "type": "string" + } + } + }, + "sandboxes.GrepResponse": { + "type": "object", + "properties": { + "matches": { + "type": "array", + "items": { + "$ref": "#/components/schemas/sandboxapi.GrepMatch" + } + }, + "truncated": { + "type": "boolean" + } + } + }, "sandboxes.HeaderType": { "type": "string", "enum": [ @@ -77457,6 +77910,17 @@ } } }, + "share.DeleteShareTokenRequestBody": { + "type": "object", + "properties": { + "session_id": { + "description": "session_id is the tracing project UUID containing the trace.", + "type": "string", + "format": "uuid", + "example": "018e4c7e-a9fb-7ef0-a5b6-6ea3a82e9327" + } + } + }, "shared.ProblemDetails": { "description": "RFC 7807 problem details returned on V2 API errors.", "type": "object", @@ -79298,10 +79762,6 @@ "name": "public", "x-group": "System" }, - { - "name": "threads", - "x-group": "System" - }, { "name": "fleet orgs" },