Skip to main content
POST
Create golden sql for the project

Authorizations

Authorization
string
header
required

Use the Authorization header with the value 'Bearer ' to authenticate. Partner API Keys have full access; Project API Keys are limited to their project scope. Learn more: https://docs.peaka.com/api-reference/authentication

Path Parameters

projectId
string
required

Body

application/json
prompt
string
sql
string

Response

200 - */*

OK

{key}
object