Generation

Create Prompt Sql Generation

post/api/prompts/sql-generations

Request

  • The document declares no server URL.
  • Auth
    API key in header X-API-Key

Request body

finetuning_idstring
evaluateboolean
sqlstring
metadataobject

Response

Successful Response

idstring
prompt_idstring
finetuning_idstring
sqlstring
status'VALID' | 'INVALID'

An enumeration.

tokens_usedinteger
confidence_scorenumber
errorstring
completed_atstring date-time
created_atstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.