Skip to content

Commit 99cae9c

Browse files
author
MOSTLY CI
committed
Updating OpenAPI Specification for release 4.4.3
1 parent e08b960 commit 99cae9c

1 file changed

Lines changed: 42 additions & 7 deletions

File tree

public-api.yaml

Lines changed: 42 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,31 @@ paths:
299299
responses:
300300
"200":
301301
description: "OK"
302+
/connectors/{id}/query:
303+
post:
304+
summary: "Query data from a connector"
305+
description: |
306+
Execute a read-only SQL query against the data exposed by a connector.
307+
Queries may include statements like SELECT or SHOW, and must not modify data or state.
308+
For file-based connectors—including local files and cloud storage buckets (e.g., AWS S3, GCP, Azure Blob)—queries are executed using DuckDB.
309+
operationId: "connectorQueryData"
310+
tags: [ "Connectors" ]
311+
parameters:
312+
- $ref: "#/components/parameters/connectorIdPath"
313+
requestBody:
314+
required: true
315+
content:
316+
application/json:
317+
schema:
318+
$ref: "#/components/schemas/ConnectorQueryConfig"
319+
responses:
320+
"200":
321+
description: "OK"
322+
content:
323+
application/octet-stream:
324+
schema:
325+
type: "string"
326+
format: "binary"
302327

303328
/connectors/{id}/transfer:
304329
parameters:
@@ -2376,6 +2401,8 @@ components:
23762401
properties:
23772402
visibility:
23782403
$ref: "#/components/schemas/Visibility"
2404+
required:
2405+
- "visibility"
23792406
Notification:
23802407
type: "object"
23812408
description: "A notification for a user."
@@ -2802,6 +2829,14 @@ components:
28022829
required:
28032830
- "location"
28042831
- "file"
2832+
ConnectorQueryConfig:
2833+
type: "object"
2834+
properties:
2835+
sql:
2836+
description: "SQL read-only (e.g. SELECT) statement to execute."
2837+
type: "string"
2838+
required:
2839+
- "sql"
28052840
# GENERATOR
28062841
GeneratorId:
28072842
type: "string"
@@ -3258,36 +3293,37 @@ components:
32583293
The maximum number of samples to consider for training.
32593294
If not provided, then all available samples will be taken.
32603295
minimum: 1
3261-
maximum: 1000000000
32623296
batchSize:
32633297
type: "integer"
32643298
description: |
3265-
The batch size used for training the model.
3299+
The physical batch size used for training the model.
32663300
If not provided, batchSize will be chosen automatically.
32673301
minimum: 1
3268-
maximum: 1000000
3302+
gradientAccumulationSteps:
3303+
type: "integer"
3304+
description: |
3305+
Steps to accumulate gradients before optimizer update.
3306+
If not provided, gradientAccumulationSteps will be chosen automatically.
3307+
minimum: 1
32693308
maxTrainingTime:
32703309
type: "number"
32713310
format: "double"
32723311
description: The maximum number of minutes to train the model.
32733312
default: 14400
32743313
minimum: 0
3275-
maximum: 1000000
32763314
maxEpochs:
32773315
type: "number"
32783316
format: "double"
32793317
description: The maximum number of epochs to train the model.
32803318
default: 100
32813319
minimum: 0
3282-
maximum: 1000000
32833320
maxSequenceWindow:
32843321
type: "integer"
32853322
description: |
32863323
The maximum sequence window to consider for training.
32873324
Only applicable for TABULAR models.
32883325
default: 100
32893326
minimum: 1
3290-
maximum: 100000
32913327
enableFlexibleGeneration:
32923328
type: "boolean"
32933329
description: |
@@ -3321,7 +3357,6 @@ components:
33213357
description: |
33223358
If false, then the Model report is not generated.
33233359
default: true
3324-
33253360
# JOB_PROGRESS
33263361
JobProgress:
33273362
type: "object"

0 commit comments

Comments
 (0)