Skip to main content
POST
Get Website Styleguide

Request contract

  • Method and path: POST /apis/v1/context-dev/get-website-styleguide
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/context-dev/get-website-styleguide
  • Runtime facts: 3068b7678674e2539daed47d533143c7d5bf21072a81e6aac34d7bd71ed57eb3
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based billing; Default request estimate: $0.0253 USD (not a fixed price). Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.0253
  • Declared unit rate (USD): 1e-06
  • Billing unit: provider_credit
  • Cost contract: response_units
  • Published reference multiplier: 1.0
  • Declared maximum count/units: 10000000
  • Settlement evidence source: response_body

Authorizations

Authorization
string
header
required

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

Body

application/json
tags
string[]

Usage-tracking tags. Supply at most 20 tags of 1-50 characters each.

Maximum array length: 20
Required string length: 1 - 50
domain
string

Domain to resolve and inspect, such as example.com. Required when direct_url is omitted; do not supply both fields.

Minimum string length: 3
Example:

"example.com"

direct_url
string<uri>

Exact HTTP or HTTPS page to inspect without domain resolution. Required when domain is omitted; do not supply both fields.

Minimum string length: 1
Example:

"https://example.com/design-system"

max_age_ms
integer
default:7776000000

Maximum cached-data age in milliseconds. The provider clamps values to between one day and one year.

timeout_ms
integer

Provider request timeout in milliseconds, from 1000 through 300000.

Required range: 1000 <= x <= 300000
color_scheme
enum<string>

Browser color scheme to emulate for the extraction.

Available options:
light,
dark

Response

Tool result data

domain
string
required
styleguide
object
required
key_metadata
object