cURL
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>" } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Unique ID of the connector
Set to true to force refresh the catalog
Catalog information for the connector
Show child attributes
Array of stream objects, varying based on connector ID.
Was this page helpful?