/
DA
dataherald
/
FastAPI
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 2h ago · Updated 2y ago
View markdown
dataherald
FastAPI
post
Create Sql Generation
v10
latest
OpenAPI 3.0.2
raw.githubusercontent.com
2024-05-06
94
78
164.5 KB
Aggregated Generation
15
Authentication
1
Database Connection
10
Finetuning
6
Generation
15
get
Get Prompts
post
Create Prompt
post
Create Prompt Sql Generation
post
Create Prompt Sql Nl Generation
get
Get Sql Generations By Prompt Id
post
Create Sql Generation
post
Create Sql Nl Generation
get
Get Nl Generations By Sql Generation Id
post
Create Nl Generation
get
Get Prompt
get
Get Sql Generations
get
Get Sql Generation
get
Get Nl Generations
get
Get Nl Generation
get
Execute Sql Generation
Golden SQL
8
Instruction
11
Keys
3
Organization
7
Table Description
9
User
6
get
Heartbeat
get
Engine Heartbeat
get
Root
Generation
Create Sql Generation
post
/api/prompts/{id}/sql-generations
Path parameters
id
string
required
Request body
SQLGenerationRequest
required
finetuning_id
string
low_latency_mode
boolean
evaluate
boolean
sql
string
metadata
object
Response
Successful Response
SQLGenerationResponse
required
id
string
prompt_id
string
finetuning_id
string
sql
string
status
'VALID'
|
'INVALID'
An enumeration.
tokens_used
integer
confidence_score
number
error
string
completed_at
string
date-time
created_at
string
date-time
metadata
SQLGenerationMetadata