Skip to main content
POST
/
api
/
v1
/
teams
/
{team_id}
/
content-sources
/
scan
Scan Content Source
curl --request POST \
  --url https://api.example.com/api/v1/teams/{team_id}/content-sources/scan \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>"
}
'
{
  "source_type": "<string>",
  "available_tags": [
    "<string>"
  ],
  "sample_items": [
    {
      "title": "<string>",
      "url": "<string>",
      "published_at": "<string>",
      "tags": [
        "<string>"
      ],
      "media_type": "article"
    }
  ],
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

team_id
string<uuid>
required

Body

application/json

Scan a content-source URL during SMMT content-driven onboarding (PR-3).

url
string
required
Required string length: 1 - 2048

Response

Successful Response

Compact preview returned by the scan route — feeds the include-tag dropdown and the "we found these" sample list in the onboarding wizard.

source_type
string
required
available_tags
string[]
sample_items
ContentSourceScanSampleItem · object[]
error
string | null