Skip to main content
POST
/
v1
/
admin
/
airbyte-sources
/
{source_id}
/
discover-schema
Discover an Airbyte source schema
curl --request POST \
  --url https://api.withsplendor.com/v1/admin/airbyte-sources/{source_id}/discover-schema \
  --header 'Authorization: Bearer <token>' \
  --header 'x-splendor-tenant-id: <x-splendor-tenant-id>'
{
  "source_id": 123,
  "streams": [
    {
      "fields": [
        {
          "path": "<string>",
          "type": "<string>"
        }
      ],
      "name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API token issued from the Splendor console.

Headers

x-splendor-tenant-id
string
required

Selects the tenant (workspace) the request acts within.

Path Parameters

source_id
integer
required

Response

Successful Response

source_id
integer
required
streams
AirbyteStreamSchemaItem · object[]
required