-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from snowflakedb/pupr
Release Pupr Spec for server 8.35
- Loading branch information
Showing
37 changed files
with
22,359 additions
and
2,578 deletions.
There are no files selected for viewing
92 changes: 76 additions & 16 deletions
92
...ortex Analyst API.postman_collection.json → ...ortex Analyst API.postman_collection.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
{ | ||
"info": { | ||
"_postman_id": "8c7639b8-0913-41ab-8291-5c350558eac3", | ||
"_postman_id": "d5d32182-94a9-46bb-8290-4d46af3d59b9", | ||
"name": "Cortex Inference API", | ||
"description": "OpenAPI 3.0 specification for the Cortex REST API\n\nContact Support:\n Name: Snowflake, Inc.\n Email: [email protected]", | ||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | ||
"_exporter_id": "28868798", | ||
"_collection_link": "https://snowflake.postman.co/workspace/SnowApi-PuPr~785f3044-d2f3-4a33-8fea-8707898185ed/collection/28868798-8c7639b8-0913-41ab-8291-5c350558eac3?action=share&source=collection_link&creator=28868798" | ||
"_exporter_id": "30608011" | ||
}, | ||
"item": [ | ||
{ | ||
|
@@ -31,12 +30,12 @@ | |
}, | ||
{ | ||
"key": "Accept", | ||
"value": "application/json" | ||
"value": "text/event-stream" | ||
} | ||
], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"stream\": false,\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"options": { | ||
"raw": { | ||
"headerFamily": "json", | ||
|
@@ -70,12 +69,17 @@ | |
}, | ||
{ | ||
"key": "Accept", | ||
"value": "application/json" | ||
"value": "text/event-stream" | ||
}, | ||
{ | ||
"key": "Authorization", | ||
"value": "Bearer <token>", | ||
"description": "Added as a part of security scheme: bearer" | ||
} | ||
], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"stream\": false,\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"options": { | ||
"raw": { | ||
"headerFamily": "json", | ||
|
@@ -98,15 +102,15 @@ | |
}, | ||
"status": "OK", | ||
"code": 200, | ||
"_postman_previewlanguage": "json", | ||
"_postman_previewlanguage": "text", | ||
"header": [ | ||
{ | ||
"key": "Content-Type", | ||
"value": "application/json" | ||
"value": "text/event-stream" | ||
} | ||
], | ||
"cookie": [], | ||
"body": "{\n \"choices\": [\n {\n \"message\": {\n \"content\": \"<string>\"\n }\n },\n {\n \"message\": {\n \"content\": \"<string>\"\n }\n }\n ],\n \"usage\": {\n \"prompt_tokens\": \"<integer>\",\n \"completion_tokens\": \"<integer>\",\n \"total_tokens\": \"<integer>\"\n }\n}" | ||
"body": "{}" | ||
}, | ||
{ | ||
"name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", | ||
|
@@ -120,11 +124,16 @@ | |
{ | ||
"key": "Accept", | ||
"value": "application/json" | ||
}, | ||
{ | ||
"key": "Authorization", | ||
"value": "Bearer <token>", | ||
"description": "Added as a part of security scheme: bearer" | ||
} | ||
], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"stream\": false,\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"options": { | ||
"raw": { | ||
"headerFamily": "json", | ||
|
@@ -177,11 +186,16 @@ | |
{ | ||
"key": "Accept", | ||
"value": "application/json" | ||
}, | ||
{ | ||
"key": "Authorization", | ||
"value": "Bearer <token>", | ||
"description": "Added as a part of security scheme: bearer" | ||
} | ||
], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"stream\": false,\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"options": { | ||
"raw": { | ||
"headerFamily": "json", | ||
|
@@ -234,11 +248,16 @@ | |
{ | ||
"key": "Accept", | ||
"value": "application/json" | ||
}, | ||
{ | ||
"key": "Authorization", | ||
"value": "Bearer <token>", | ||
"description": "Added as a part of security scheme: bearer" | ||
} | ||
], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"stream\": false,\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"options": { | ||
"raw": { | ||
"headerFamily": "json", | ||
|
@@ -291,11 +310,16 @@ | |
{ | ||
"key": "Accept", | ||
"value": "application/json" | ||
}, | ||
{ | ||
"key": "Authorization", | ||
"value": "Bearer <token>", | ||
"description": "Added as a part of security scheme: bearer" | ||
} | ||
], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"stream\": false,\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"options": { | ||
"raw": { | ||
"headerFamily": "json", | ||
|
@@ -348,11 +372,16 @@ | |
{ | ||
"key": "Accept", | ||
"value": "application/json" | ||
}, | ||
{ | ||
"key": "Authorization", | ||
"value": "Bearer <token>", | ||
"description": "Added as a part of security scheme: bearer" | ||
} | ||
], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"stream\": false,\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"options": { | ||
"raw": { | ||
"headerFamily": "json", | ||
|
@@ -405,11 +434,16 @@ | |
{ | ||
"key": "Accept", | ||
"value": "application/json" | ||
}, | ||
{ | ||
"key": "Authorization", | ||
"value": "Bearer <token>", | ||
"description": "Added as a part of security scheme: bearer" | ||
} | ||
], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"stream\": false,\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"options": { | ||
"raw": { | ||
"headerFamily": "json", | ||
|
@@ -462,11 +496,16 @@ | |
{ | ||
"key": "Accept", | ||
"value": "application/json" | ||
}, | ||
{ | ||
"key": "Authorization", | ||
"value": "Bearer <token>", | ||
"description": "Added as a part of security scheme: bearer" | ||
} | ||
], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"stream\": false,\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"options": { | ||
"raw": { | ||
"headerFamily": "json", | ||
|
@@ -519,11 +558,16 @@ | |
{ | ||
"key": "Accept", | ||
"value": "application/json" | ||
}, | ||
{ | ||
"key": "Authorization", | ||
"value": "Bearer <token>", | ||
"description": "Added as a part of security scheme: bearer" | ||
} | ||
], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"stream\": false,\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"raw": "{\n \"model\": \"<string>\",\n \"messages\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"temperature\": 0,\n \"top_p\": 1,\n \"max_tokens\": 4096\n}", | ||
"options": { | ||
"raw": { | ||
"headerFamily": "json", | ||
|
@@ -575,6 +619,16 @@ | |
] | ||
} | ||
], | ||
"auth": { | ||
"type": "bearer", | ||
"bearer": [ | ||
{ | ||
"key": "token", | ||
"value": "{{bearerToken}}", | ||
"type": "string" | ||
} | ||
] | ||
}, | ||
"variable": [ | ||
{ | ||
"key": "baseUrl", | ||
|
Oops, something went wrong.