Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

docs(openapi): add api/public/health (#527)

Marc Klingen19778b2b9436
diff --git a/fern/apis/server/definition/health.yml b/fern/apis/server/definition/health.yml
new file mode 100644
index 0000000000..ea8da3b219
--- /dev/null
+++ b/fern/apis/server/definition/health.yml
@@ -0,0 +1,15 @@
+# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json
+service:
+ auth: false
+ base-path: /api/public
+ endpoints:
+ health:
+ docs: Check health of API and database
+ method: GET
+ path: /health
+ errors:
+ - InternalServerError
+
+errors:
+ InternalServerError:
+ status-code: 500
diff --git a/generated/openapi-server/openapi.yml b/generated/openapi-server/openapi.yml
index 93b3588a71..e830ebc386 100644
--- a/generated/openapi-server/openapi.yml
+++ b/generated/openapi-server/openapi.yml
@@ -412,6 +412,48 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/UpdateGenerationRequest'
+ /api/public/health:
+ get:
+ description: Check health of API and database
+ operationId: health_health
+ tags:
+ - Health
+ parameters: []
+ responses:
+ '204':
+ description: ''
+ '400':
+ description: ''
+ content:
+ application/json:
+ schema:
+ type: string
+ '401':
+ description: ''
+ content:
+ application/json:
+ schema:
+ type: string
+ '403':
+ description: ''
+ content:
+ application/json:
+ schema:
+ type: string
+ '404':
+ description: ''
+ content:
+ application/json:
+ schema:
+ type: string
+ '405':
+ description: ''
+ content:
+ application/json:
+ schema:
+ type: string
+ '500':
+ description: ''
/api/public/ingestion:
post:
description: Ingest multiple events to Langfuse
diff --git a/generated/postman/collection.json b/generated/postman/collection.json
index b194e66298..a878cfc73e 100644
--- a/generated/postman/collection.json
+++ b/generated/postman/collection.json
@@ -341,6 +341,38 @@
}
]
},
+ {
+ "_type": "container",
+ "description": null,
+ "name": "Health",
+ "item": [
+ {
+ "_type": "endpoint",
+ "name": "Health",
+ "request": {
+ "description": "Check health of API and database",
+ "url": {
+ "raw": "{{baseUrl}}/api/public/health",
+ "host": [
+ "{{baseUrl}}"
+ ],
+ "path": [
+ "api",
+ "public",
+ "health"
+ ],
+ "query": [],
+ "variable": []
+ },
+ "header": [],
+ "method": "GET",
+ "auth": null,
+ "body": null
+ },
+ "response": []
+ }
+ ]
+ },
{
"_type": "container",
"description": null,