Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
186 changes: 0 additions & 186 deletions .github/workflows/update-cloud-api-spec.yml

This file was deleted.

98 changes: 98 additions & 0 deletions website/public/openapi/cloud-openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,73 @@
}
}
},
"/jan/v1/mcp": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "Handles Model Context Protocol (MCP) requests over an HTTP stream. The response is sent as a continuous stream of data.",
"consumes": [
"application/json"
],
"produces": [
"text/event-stream"
],
"tags": [
"Jan",
"Jan-MCP"
],
"summary": "MCP streamable endpoint",
"parameters": [
{
"description": "MCP request payload",
"name": "request",
"in": "body",
"required": true,
"schema": {}
}
],
"responses": {
"200": {
"description": "Streamed response (SSE or chunked transfer)",
"schema": {
"type": "string"
}
}
}
}
},
"/jan/v1/models": {
"get": {
"security": [
{
"BearerAuth": []
}
],
"description": "Retrieves a list of available models that can be used for chat completions or other tasks.",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Jan",
"Jan-Models"
],
"summary": "List available models",
"responses": {
"200": {
"description": "Successful response",
"schema": {
"$ref": "#/definitions/app_interfaces_http_routes_jan_v1.ModelsResponse"
}
}
}
}
},
"/jan/v1/organizations": {
"get": {
"security": [
Expand Down Expand Up @@ -2441,6 +2508,37 @@
}
},
"definitions": {
"app_interfaces_http_routes_jan_v1.Model": {
"type": "object",
"properties": {
"created": {
"type": "integer"
},
"id": {
"type": "string"
},
"object": {
"type": "string"
},
"owned_by": {
"type": "string"
}
}
},
"app_interfaces_http_routes_jan_v1.ModelsResponse": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/app_interfaces_http_routes_jan_v1.Model"
}
},
"object": {
"type": "string"
}
}
},
"app_interfaces_http_routes_jan_v1_auth.GetMeResponse": {
"type": "object",
"properties": {
Expand Down
Loading