Skip to main content
POST
cURL

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corpo

application/json
spreadsheetId
string
obbligatorio
Minimum string length: 1
spaceId
string

Target space for the new project. Required only when baseId is omitted; when importing into an existing project the project's own space is used and spaceId is ignored.

baseId
string

Import into this existing project (add its tables) instead of creating a new one. When omitted, a new project named baseName is created in spaceId.

integrationId
string

Id of a connected Google Sheets user integration; its access token is resolved (and refreshed) server-side and never leaves the server for API calls.

accessToken
string

Raw Google OAuth access token with the drive.file scope (never persisted by the server). Ignored when integrationId is provided.

Minimum string length: 1
baseName
string

Name for the created project (normally the spreadsheet title). Required unless baseId is set.

Minimum string length: 1
sheetIds
number[]

Numeric ids of the tabs to import (from analyze). When omitted all tabs are imported; an explicitly empty array is rejected (it would silently mean "all").

Minimum array length: 1
importRecords
boolean

Import record data (default true). When false only the structure is created.

Risposta

200

SSE stream with progress events and final result

Ultima modifica il 15 settembre 2026