diff --git a/fern/apis/fai/openapi.json b/fern/apis/fai/openapi.json index 8d582538a..9d91493ea 100644 --- a/fern/apis/fai/openapi.json +++ b/fern/apis/fai/openapi.json @@ -2067,6 +2067,16 @@ "type": "string", "title": "Org Name" } + }, + { + "name": "preview", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "default": false, + "title": "Preview" + } } ], "responses": { @@ -2202,6 +2212,45 @@ ] } }, + "/settings/reindex-preview-callback": { + "post": { + "tags": ["Settings"], + "summary": "Reindex Preview Callback", + "description": "Handle callback from Upstash QStash when preview reindex completes.", + "operationId": "reindex_preview_callback", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpstashCallbackRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": {} + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + }, + "x-fern-audiences": ["internal"] + } + }, "/slack/integrations": { "post": { "tags": ["Slack"], @@ -3880,6 +3929,116 @@ "required": ["guidance"], "title": "UpdateGuidanceResponse" }, + "UpstashCallbackRequest": { + "properties": { + "status": { + "type": "integer", + "title": "Status" + }, + "sourceMessageId": { + "type": "string", + "title": "Sourcemessageid" + }, + "url": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Url" + }, + "method": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Method" + }, + "sourceHeader": { + "anyOf": [ + { + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + }, + "type": "object" + }, + { + "type": "null" + } + ], + "title": "Sourceheader" + }, + "sourceBody": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Sourcebody" + }, + "notBefore": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Notbefore" + }, + "createdAt": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Createdat" + }, + "scheduleId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Scheduleid" + }, + "callerIP": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Callerip" + } + }, + "type": "object", + "required": ["status", "sourceMessageId"], + "title": "UpstashCallbackRequest", + "description": "Callback payload from Upstash QStash when a queued job completes." + }, "ValidationError": { "properties": { "loc": {