Skip to Content
Omnibase

Generate type definitions for the database schema

GET
/api/v1/database/typegen

Authorization

ServiceKeyAuth
headerX-Service-Key<token>

Admin service-to-service key. Trusted for all routes and skips permission checks.

Query Parameters

language?string
Default"typescript"
Value in"typescript""go""swift"
schemas?string

Response Body

OK

response?stringapplication/json
Example Request
curl -X GET 'https://api.omnibase.tech/api/v1/database/typegen'
Example Response
"string"