diff --git a/fern/apis/fai/openapi.json b/fern/apis/fai/openapi.json index 9d91493ea..8ccc57f89 100644 --- a/fern/apis/fai/openapi.json +++ b/fern/apis/fai/openapi.json @@ -8,9 +8,8 @@ "paths": { "/analytics/histogram/{domain}": { "get": { - "tags": ["Analytics"], "summary": "Get Analytics Histogram", - "operationId": "get_analytics_histogram", + "operationId": "get_analytics_histogram_analytics_histogram__domain__get", "parameters": [ { "name": "domain", @@ -103,9 +102,8 @@ }, "/analytics/insights/{domain}": { "get": { - "tags": ["Analytics"], "summary": "Get Analytics Insights", - "operationId": "get_analytics_insights", + "operationId": "get_analytics_insights_analytics_insights__domain__get", "parameters": [ { "name": "domain", @@ -187,10 +185,9 @@ }, "/analytics/insights/generate_all": { "post": { - "tags": ["Analytics"], "summary": "Generate All Insights", "description": "Generate insights for all domains with queries in the specified period.", - "operationId": "generate_all_insights", + "operationId": "generate_all_insights_analytics_insights_generate_all_post", "parameters": [ { "name": "start_date", @@ -256,10 +253,9 @@ }, "/analytics/insights/trigger_scheduled": { "post": { - "tags": ["Analytics"], "summary": "Trigger Scheduled Insights Generation", "description": "Manually trigger the scheduled weekly insights generation job.", - "operationId": "trigger_scheduled_insights_generation", + "operationId": "trigger_scheduled_insights_generation_analytics_insights_trigger_scheduled_post", "responses": { "200": { "description": "Successful Response", @@ -275,10 +271,9 @@ }, "/analytics/scheduler/status": { "get": { - "tags": ["Analytics"], "summary": "Get Scheduler Status", "description": "Get the status of the scheduler and its jobs.", - "operationId": "get_scheduler_status", + "operationId": "get_scheduler_status_analytics_scheduler_status_get", "responses": { "200": { "description": "Successful Response", @@ -294,9 +289,8 @@ }, "/chat/{domain}": { "post": { - "tags": ["Chat"], "summary": "Post Chat Completion", - "operationId": "post_chat_completion", + "operationId": "post_chat_completion_chat__domain__post", "parameters": [ { "name": "domain", @@ -350,9 +344,8 @@ }, "/conversation/{domain}/{conversation_id}": { "get": { - "tags": ["Conversation"], "summary": "Get Conversation By Id", - "operationId": "get_conversation_by_id", + "operationId": "get_conversation_by_id_conversation__domain___conversation_id__get", "parameters": [ { "name": "domain", @@ -405,9 +398,8 @@ }, "/discord/install": { "post": { - "tags": ["Discord"], "summary": "Create Discord Integration", - "operationId": "create_discord_integration", + "operationId": "create_discord_integration_discord_install_post", "parameters": [ { "name": "domain", @@ -451,9 +443,8 @@ }, "/discord/install/callback": { "get": { - "tags": ["Discord"], "summary": "Handle Discord Install Callback", - "operationId": "handle_discord_install_callback", + "operationId": "handle_discord_install_callback_discord_install_callback_get", "responses": { "200": { "description": "Successful Response", @@ -469,9 +460,8 @@ }, "/document/{domain}/create": { "post": { - "tags": ["Document"], "summary": "Create Document", - "operationId": "create_document", + "operationId": "create_document_document__domain__create_post", "parameters": [ { "name": "domain", @@ -529,9 +519,8 @@ }, "/document/{domain}/batch-create": { "post": { - "tags": ["Document"], "summary": "Batch Create Document", - "operationId": "batch_create_document", + "operationId": "batch_create_document_document__domain__batch_create_post", "parameters": [ { "name": "domain", @@ -593,9 +582,8 @@ }, "/document/{domain}/{document_id}": { "patch": { - "tags": ["Document"], "summary": "Update Document", - "operationId": "update_document", + "operationId": "update_document_document__domain___document_id__patch", "parameters": [ { "name": "domain", @@ -656,9 +644,8 @@ ] }, "get": { - "tags": ["Document"], "summary": "Get Document By Id", - "operationId": "get_document_by_id", + "operationId": "get_document_by_id_document__domain___document_id__get", "parameters": [ { "name": "domain", @@ -711,9 +698,8 @@ }, "/document/{domain}/delete": { "delete": { - "tags": ["Document"], "summary": "Delete Document By Id", - "operationId": "delete_document_by_id", + "operationId": "delete_document_by_id_document__domain__delete_delete", "parameters": [ { "name": "domain", @@ -767,9 +753,8 @@ }, "/document/{domain}/batch-delete": { "delete": { - "tags": ["Document"], "summary": "Batch Delete Document", - "operationId": "batch_delete_document", + "operationId": "batch_delete_document_document__domain__batch_delete_delete", "parameters": [ { "name": "domain", @@ -827,9 +812,8 @@ }, "/document/{domain}": { "get": { - "tags": ["Document"], "summary": "Get Documents", - "operationId": "get_documents", + "operationId": "get_documents_document__domain__get", "parameters": [ { "name": "domain", @@ -909,9 +893,8 @@ }, "/document/{domain}/delete-all": { "delete": { - "tags": ["Document"], "summary": "Delete All Documents", - "operationId": "delete_all_documents", + "operationId": "delete_all_documents_document__domain__delete_all_delete", "parameters": [ { "name": "domain", @@ -955,9 +938,8 @@ }, "/feedback/{domain}": { "post": { - "tags": ["Feedback"], "summary": "Create Feedback", - "operationId": "create_feedback", + "operationId": "create_feedback_feedback__domain__post", "parameters": [ { "name": "domain", @@ -1006,9 +988,8 @@ }, "/feedback/{domain}/{conversation_id}": { "get": { - "tags": ["Feedback"], "summary": "Get Feedback By Id", - "operationId": "get_feedback_by_id", + "operationId": "get_feedback_by_id_feedback__domain___conversation_id__get", "parameters": [ { "name": "domain", @@ -1059,115 +1040,10 @@ ] } }, - "/github/{domain}/reference-md/index": { - "post": { - "tags": ["Github"], - "summary": "Index Reference Md", - "description": "Index an SDK repository's reference.md file.", - "operationId": "index_reference_md", - "parameters": [ - { - "name": "domain", - "in": "path", - "required": true, - "schema": { - "type": "string", - "title": "Domain" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GitHubFileInfoRequest" - } - } - } - }, - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IndexResponse" - } - } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } - } - }, - "x-fern-audiences": ["internal"], - "security": [ - { - "bearerAuth": [] - } - ] - } - }, - "/github/{domain}/indexed": { - "get": { - "tags": ["Github"], - "summary": "Check Code Index Status", - "description": "Check if the domain has a non-empty code index in both database and turbopuffer.", - "operationId": "check_code_index_status", - "parameters": [ - { - "name": "domain", - "in": "path", - "required": true, - "schema": { - "type": "string", - "title": "Domain" - } - } - ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CodeIndexStatusResponse" - } - } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } - } - }, - "x-fern-audiences": ["internal"], - "security": [ - { - "bearerAuth": [] - } - ] - } - }, "/guidance/{domain}/create": { "post": { - "tags": ["Guidance"], "summary": "Create Guidance", - "operationId": "create_guidance", + "operationId": "create_guidance_guidance__domain__create_post", "parameters": [ { "name": "domain", @@ -1221,9 +1097,8 @@ }, "/guidance/{domain}/{guidance_id}": { "patch": { - "tags": ["Guidance"], "summary": "Update", - "operationId": "update", + "operationId": "update_guidance__domain___guidance_id__patch", "parameters": [ { "name": "domain", @@ -1284,9 +1159,8 @@ ] }, "delete": { - "tags": ["Guidance"], "summary": "Delete Guidance By Id", - "operationId": "delete_guidance_by_id", + "operationId": "delete_guidance_by_id_guidance__domain___guidance_id__delete", "parameters": [ { "name": "domain", @@ -1337,9 +1211,8 @@ ] }, "get": { - "tags": ["Guidance"], "summary": "Get Guidance By Id", - "operationId": "get_guidance_by_id", + "operationId": "get_guidance_by_id_guidance__domain___guidance_id__get", "parameters": [ { "name": "domain", @@ -1392,9 +1265,8 @@ }, "/guidance/{domain}": { "get": { - "tags": ["Guidance"], "summary": "Get Guidances", - "operationId": "get_guidances", + "operationId": "get_guidances_guidance__domain__get", "parameters": [ { "name": "domain", @@ -1474,10 +1346,9 @@ }, "/health": { "get": { - "tags": ["Health"], "summary": "Health Check", "description": "Health check endpoint that returns the application status.", - "operationId": "health_check", + "operationId": "health_check_health_get", "responses": { "200": { "description": "Successful Response", @@ -1493,9 +1364,8 @@ }, "/index/{domain}/reconstruct": { "post": { - "tags": ["Index"], "summary": "Reconstruct Query Index", - "operationId": "reconstruct_query_index", + "operationId": "reconstruct_query_index_index__domain__reconstruct_post", "parameters": [ { "name": "domain", @@ -1539,9 +1409,8 @@ }, "/index/{domain}/sync": { "post": { - "tags": ["Index"], "summary": "Sync Index To Query Index", - "operationId": "sync_index_to_query_index", + "operationId": "sync_index_to_query_index_index__domain__sync_post", "parameters": [ { "name": "domain", @@ -1595,9 +1464,8 @@ }, "/jobs/{job_id}/status": { "get": { - "tags": ["Index"], "summary": "Get Job Status", - "operationId": "get_job_status", + "operationId": "get_job_status_jobs__job_id__status_get", "parameters": [ { "name": "job_id", @@ -1636,9 +1504,8 @@ }, "/mcp/semantic/{domain}": { "post": { - "tags": ["Mcp"], "summary": "Get Mcp Semantic Query", - "operationId": "get_mcp_semantic_query", + "operationId": "get_mcp_semantic_query_mcp_semantic__domain__post", "parameters": [ { "name": "domain", @@ -1692,9 +1559,8 @@ }, "/mcp/bmf/{domain}": { "post": { - "tags": ["Mcp"], "summary": "Get Mcp Bmf Query", - "operationId": "get_mcp_bmf_query", + "operationId": "get_mcp_bmf_query_mcp_bmf__domain__post", "parameters": [ { "name": "domain", @@ -1748,9 +1614,8 @@ }, "/queries": { "post": { - "tags": ["Query"], "summary": "Create Query", - "operationId": "create_query", + "operationId": "create_query_queries_post", "parameters": [ { "name": "domain", @@ -1804,9 +1669,8 @@ }, "/queries/{domain}": { "get": { - "tags": ["Query"], "summary": "Get Recent Queries", - "operationId": "get_recent_queries", + "operationId": "get_recent_queries_queries__domain__get", "parameters": [ { "name": "domain", @@ -1961,10 +1825,9 @@ }, "/settings/ask-ai": { "get": { - "tags": ["Settings"], "summary": "Get Settings", "description": "Get settings for a domain and organization.", - "operationId": "get_settings", + "operationId": "get_settings_settings_ask_ai_get", "parameters": [ { "name": "domain", @@ -2003,10 +1866,9 @@ }, "/settings/ask-ai/docs": { "get": { - "tags": ["Settings"], "summary": "Get Docs Settings", "description": "Get settings for a domain and organization.", - "operationId": "get_docs_settings", + "operationId": "get_docs_settings_settings_ask_ai_docs_get", "parameters": [ { "name": "domain", @@ -2045,10 +1907,9 @@ }, "/settings/ask-ai/toggle": { "post": { - "tags": ["Settings"], "summary": "Toggle Ask Ai", "description": "Toggle Ask AI setting and return job_id for tracking.", - "operationId": "toggle_ask_ai", + "operationId": "toggle_ask_ai_settings_ask_ai_toggle_post", "parameters": [ { "name": "domain", @@ -2111,10 +1972,9 @@ }, "/settings/ask-ai/reindex": { "post": { - "tags": ["Settings"], "summary": "Reindex Ask Ai", "description": "Manually trigger reindex for an already enabled Ask AI setup.", - "operationId": "reindex_ask_ai", + "operationId": "reindex_ask_ai_settings_ask_ai_reindex_post", "parameters": [ { "name": "domain", @@ -2167,10 +2027,9 @@ }, "/settings/ask-ai/toggle/status": { "get": { - "tags": ["Settings"], "summary": "Get Toggle Status", "description": "Get the status of Ask AI toggle operation.", - "operationId": "get_toggle_status", + "operationId": "get_toggle_status_settings_ask_ai_toggle_status_get", "parameters": [ { "name": "domain", @@ -2214,10 +2073,9 @@ }, "/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", + "operationId": "reindex_preview_callback_settings_reindex_preview_callback_post", "requestBody": { "content": { "application/json": { @@ -2253,9 +2111,8 @@ }, "/slack/integrations": { "post": { - "tags": ["Slack"], "summary": "Create Slack Integration", - "operationId": "create_slack_integration", + "operationId": "create_slack_integration_slack_integrations_post", "requestBody": { "content": { "application/json": { @@ -2293,9 +2150,8 @@ }, "/slack/events": { "post": { - "tags": ["Slack"], "summary": "Handle Slack Events", - "operationId": "handle_slack_events", + "operationId": "handle_slack_events_slack_events_post", "responses": { "200": { "description": "Successful Response", @@ -2311,9 +2167,8 @@ }, "/slack/slash-commands": { "post": { - "tags": ["Slack"], "summary": "Handle Slack Slash Commands", - "operationId": "handle_slack_slash_commands", + "operationId": "handle_slack_slash_commands_slack_slash_commands_post", "responses": { "200": { "description": "Successful Response", @@ -2329,9 +2184,8 @@ }, "/slack/interactions": { "post": { - "tags": ["Slack"], "summary": "Handle Slack Interactions", - "operationId": "handle_slack_interactions", + "operationId": "handle_slack_interactions_slack_interactions_post", "responses": { "200": { "description": "Successful Response", @@ -2347,9 +2201,8 @@ }, "/slack/oauth/callback": { "get": { - "tags": ["Slack"], "summary": "Handle Slack Oauth Callback", - "operationId": "handle_slack_oauth_callback", + "operationId": "handle_slack_oauth_callback_slack_oauth_callback_get", "parameters": [ { "name": "code", @@ -2402,9 +2255,8 @@ }, "/slack/get-install": { "get": { - "tags": ["Slack"], "summary": "Get Slack Install Link", - "operationId": "get_slack_install_link", + "operationId": "get_slack_install_link_slack_get_install_get", "parameters": [ { "name": "domain", @@ -2446,9 +2298,8 @@ }, "/slack/integrations/{domain}": { "get": { - "tags": ["Slack"], "summary": "List Slack Integrations", - "operationId": "list_slack_integrations", + "operationId": "list_slack_integrations_slack_integrations__domain__get", "parameters": [ { "name": "domain", @@ -2485,9 +2336,8 @@ }, "/slack/get-install/{integration_id}": { "get": { - "tags": ["Slack"], "summary": "Get Slack Install Link By Id", - "operationId": "get_slack_install_link_by_id", + "operationId": "get_slack_install_link_by_id_slack_get_install__integration_id__get", "parameters": [ { "name": "integration_id", @@ -2541,18 +2391,6 @@ "required": ["role", "content"], "title": "ChatMessage" }, - "CodeIndexStatusResponse": { - "properties": { - "exists": { - "type": "boolean", - "title": "Exists", - "description": "Whether the domain has a non-empty code index" - } - }, - "type": "object", - "required": ["exists"], - "title": "CodeIndexStatusResponse" - }, "Conversation": { "properties": { "conversation_id": { @@ -3265,21 +3103,6 @@ "required": ["ask_ai_enabled"], "title": "GetSettingsResponse" }, - "GitHubFileInfoRequest": { - "properties": { - "url": { - "type": "string", - "maxLength": 2083, - "minLength": 1, - "format": "uri", - "title": "Url", - "description": "The GitHub repository URL (e.g., https://github.com/owner/repo)" - } - }, - "type": "object", - "required": ["url"], - "title": "GitHubFileInfoRequest" - }, "GroupBy": { "type": "string", "enum": ["DAY", "WEEK", "MONTH"], @@ -3367,18 +3190,6 @@ ], "title": "HistogramAnalyticsBar" }, - "IndexResponse": { - "properties": { - "success": { - "type": "boolean", - "title": "Success", - "description": "Whether the index operation was successful" - } - }, - "type": "object", - "required": ["success"], - "title": "IndexResponse" - }, "InsightExample": { "properties": { "query": {