Aller au contenu

Get one page result

GET
/brands/{brandId}/content-audits/{contentAuditId}/runs/{runId}/pages/{urlHash}
curl --request GET \
--url https://api.traaker.ai/api/public/v1/brands/example/content-audits/example/runs/example/pages/example \
--header 'Authorization: Bearer <token>'
brandId
required
string
contentAuditId
required
string
runId
required
string
urlHash
required
string

First 16 hex of sha256(url).

OK

Media type application/json
object
data
required
object
url
string
urlHash

First 16 hex of sha256(url).

string
contentType

The type the page was analysed as; auto only on a failed page whose type was never decided.

string
Allowed values: auto product category page article listing establishment encyclopedia profile job_posting
platform
string
Allowed values: own_site other_third_party leboncoin booking tripadvisor pagesjaunes wikipedia amazon airbnb linkedin instagram indeed ebay etsy walmart aliexpress mercadolibre rakuten zalando cdiscount fnac allegro flipkart shopee app_store google_play expedia hotels_com vrbo agoda getyourguide viator thefork opentable capterra producthunt crunchbase upwork fiverr houzz doctolib youtube medium substack quora
templateId

The Output Template the page was evaluated against.

string
structure

Each section of the template: present, partial or missing on the page.

Array<object>
object
key
string
status
string
Allowed values: present partial missing
detectedType

How an auto type was decided.

object
type
string
Allowed values: product category page article listing establishment encyclopedia profile job_posting
source
string
Allowed values: structured_data jev fallback
canonicalUrl

The page’s rel=canonical.

string
status
string
Allowed values: analysed failed
failureReason
string
Allowed values: not_found blocked timeout not_html too_little_text analysis_failed deadline
fetchStep
string
Allowed values: plain headless unlocker
score
number
<= 100
weightCovered

Share of the type’s weights that was measured; absent dimensions are rescaled out.

number
scoreBeforeGate
number
gates
Array<string>
dimensions
Array<object>
object
id
string
score
number
absentReason

Why the dimension is left out of the score (never 0).

string
Allowed values: not_actionable no_validated_strategy not_applicable extraction_failed
evidence
string
summary

2–3 sentences, in the brand’s working language.

string
recommendations
Array<object>
object
recoTypeId
string
impact
string
Allowed values: low medium high
evidence
string
fix
string
rewrite

Rewritten sections keyed by the template’s section keys (when asked).

object
key
additional properties
string
fetchedAt
string format: date-time
specVersion
integer
meta
required
object
brandId
string
contentAuditId
string
runId
string
urlHash
string

Example

{
"data": {
"contentType": "auto",
"platform": "own_site",
"structure": [
{
"status": "present"
}
],
"detectedType": {
"type": "product",
"source": "structured_data"
},
"status": "analysed",
"failureReason": "not_found",
"fetchStep": "plain",
"dimensions": [
{
"absentReason": "not_actionable"
}
],
"recommendations": [
{
"impact": "low"
}
]
}
}

Invalid or unknown query parameter, or an invalid cursor.

Media type application/json
object
statusCode
required
integer
message
required
string
code

Machine-readable discriminator, present on some errors (e.g. RATE_LIMITED on 429).

string
retryAfterMs

On 429 only, how long to wait before retrying, in milliseconds.

integer

Example generated

{
"statusCode": 1,
"message": "example",
"code": "example",
"retryAfterMs": 1
}

Missing, malformed or revoked API key.

Media type application/json
object
statusCode
required
integer
message
required
string
code

Machine-readable discriminator, present on some errors (e.g. RATE_LIMITED on 429).

string
retryAfterMs

On 429 only, how long to wait before retrying, in milliseconds.

integer

Example generated

{
"statusCode": 1,
"message": "example",
"code": "example",
"retryAfterMs": 1
}

API access is not enabled for this account.

Media type application/json
object
statusCode
required
integer
message
required
string
code

Machine-readable discriminator, present on some errors (e.g. RATE_LIMITED on 429).

string
retryAfterMs

On 429 only, how long to wait before retrying, in milliseconds.

integer

Example generated

{
"statusCode": 1,
"message": "example",
"code": "example",
"retryAfterMs": 1
}

No such page in this Run, or it has expired (expired: true).

Media type application/json
object
statusCode
required
integer
message
required
string
code

Machine-readable discriminator, present on some errors (e.g. RATE_LIMITED on 429).

string
retryAfterMs

On 429 only, how long to wait before retrying, in milliseconds.

integer

Example generated

{
"statusCode": 1,
"message": "example",
"code": "example",
"retryAfterMs": 1
}

Hourly rate limit exhausted.

Media type application/json
object
statusCode
required
integer
message
required
string
code

Machine-readable discriminator, present on some errors (e.g. RATE_LIMITED on 429).

string
retryAfterMs

On 429 only, how long to wait before retrying, in milliseconds.

integer

Example generated

{
"statusCode": 1,
"message": "example",
"code": "example",
"retryAfterMs": 1
}