Align app-server create-api-key flow

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Michael Fan
2026-03-27 12:49:16 -04:00
parent 8ccbe48ba6
commit 575bb8a885
31 changed files with 1032 additions and 663 deletions

View File

@@ -1140,27 +1140,6 @@
"title": "ApiKeyLoginAccountParams",
"type": "object"
},
{
"description": "[UNSTABLE] FOR OPENAI INTERNAL USE ONLY - DO NOT USE.",
"properties": {
"apiKey": {
"type": "string"
},
"type": {
"enum": [
"ephemeralApiKey"
],
"title": "EphemeralApiKeyLoginAccountParamsType",
"type": "string"
}
},
"required": [
"apiKey",
"type"
],
"title": "EphemeralApiKeyLoginAccountParams",
"type": "object"
},
{
"properties": {
"type": {
@@ -2523,6 +2502,39 @@
],
"type": "object"
},
"ThreadDependencyEnvContainsParams": {
"properties": {
"key": {
"type": "string"
},
"threadId": {
"type": "string"
}
},
"required": [
"key",
"threadId"
],
"type": "object"
},
"ThreadDependencyEnvSetParams": {
"properties": {
"threadId": {
"type": "string"
},
"values": {
"additionalProperties": {
"type": "string"
},
"type": "object"
}
},
"required": [
"threadId",
"values"
],
"type": "object"
},
"ThreadForkParams": {
"description": "There are two ways to fork a thread: 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread. 2. By path: load the thread from disk by path and fork it into a new thread.\n\nIf using path, the thread_id param will be ignored.\n\nPrefer using thread_id whenever possible.",
"properties": {
@@ -3610,6 +3622,54 @@
"title": "Thread/name/setRequest",
"type": "object"
},
{
"properties": {
"id": {
"$ref": "#/definitions/RequestId"
},
"method": {
"enum": [
"thread/dependencyEnv/set"
],
"title": "Thread/dependencyEnv/setRequestMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/ThreadDependencyEnvSetParams"
}
},
"required": [
"id",
"method",
"params"
],
"title": "Thread/dependencyEnv/setRequest",
"type": "object"
},
{
"properties": {
"id": {
"$ref": "#/definitions/RequestId"
},
"method": {
"enum": [
"thread/dependencyEnv/contains"
],
"title": "Thread/dependencyEnv/containsRequestMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/ThreadDependencyEnvContainsParams"
}
},
"required": [
"id",
"method",
"params"
],
"title": "Thread/dependencyEnv/containsRequest",
"type": "object"
},
{
"properties": {
"id": {