GET
/
api
/
v1
/
connectors
/
{id}
/
discover
curl --request GET \
  --url https://api.squared.ai/api/v1/connectors/{id}/discover \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "type": "<string>",
    "attributes": {
      "connector_id": 123,
      "workspace_id": 123,
      "catalog": {
        "streams": [
          {
            "name": "<string>",
            "action": "<string>",
            "json_schema": {},
            "url": "<string>",
            "request_method": "<string>"
          }
        ]
      },
      "catalog_hash": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Unique ID of the connector

Query Parameters

refresh
boolean

Set to true to force refresh the catalog

Response

200 - application/json
Catalog information for the connector
data
object