Connectors
Fetch tables for an unsaved connector
POST
/connectors/tablesLists available tables in a specific database and schema using an unsaved connector configuration. Results are cached when a connector UUID is provided.
Authorizations
AuthorizationstringheaderrequiredAPI key passed as a Bearer token in the Authorization header.
Request
curl --request POST \
--url https://api.artie.com/connectors/tables \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"allDatabases": true,
"connector": {
"dataPlaneName": "<string>",
"defaultDatabase": "<string>",
"draftPipelineUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"environmentUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"privateLinkUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sharedConfig": {},
"snapshotPrivateLinkUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sshTunnelUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"uuid": "<string>"
},
"databaseName": "<string>",
"forceRefresh": true,
"schemaName": "<string>"
}'Body
application/json
allDatabasesbooleanconnectorobjectrequiredShow child attributes
dataPlaneNamestringdefaultDatabasestring | nulldraftPipelineUUIDstring<uuid> | nullOn create only: the draft pipeline this connector is for.
environmentUUIDstring<uuid> | nulllabelstringprivateLinkUUIDstring<uuid> | nullsharedConfigobject | nullsnapshotPrivateLinkUUIDstring<uuid> | nullsshTunnelUUIDstring<uuid> | nulltypestringuuidstring
databaseNamestringrequiredforceRefreshbooleanschemaNamestring
Responses
200OKapplication/json
itemsobject[]requiredShow child attributes
approxDateAddedstring<date-time> | nullrequiredcolumnsobject[]Show child attributes
metadataobjectrequiredShow child attributes
commentstringdataTypestringrequireddefaultValuestringisPrimaryKeybooleannotNullbooleanrequired
namestringrequired
createdAtstring<date-time> | nullrequiredisViewbooleanrequiredmetadataobject[]Show child attributes
isDatebooleanrequiredkeystringrequiredvaluestring | number | boolean | object | (string | number | boolean | object | null)[] | nullrequiredShow child attributes
Option 1stringOption 2numberOption 3booleanOption 4objectOption 5(string | number | boolean | object | null)[]Show child attributes
Option 1stringOption 2numberOption 3booleanOption 4objectOption 5null
Option 6null
modifiedAtstring<date-time> | nullrequirednamestringrequiredschemastringrequiredunreadablebooleanrequired
400Bad Request
500Internal Server Error
200 OK
{
"items": [
{
"approxDateAdded": "2023-11-07T05:31:56Z",
"columns": [
{
"metadata": {
"comment": "<string>",
"dataType": "<string>",
"defaultValue": "<string>",
"isPrimaryKey": true,
"notNull": true
},
"name": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"isView": true,
"metadata": [
{
"isDate": true,
"key": "<string>",
"value": "<string>"
}
],
"modifiedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"schema": "<string>",
"unreadable": true
}
]
}Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.