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
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0253 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

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

Body

application/json
color_scheme
enum<string>

Browser color scheme to emulate for the extraction.

Available options:
light,
dark
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"

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"

max_age_ms
integer
default:7776000000

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

tags
string[]

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

Maximum array length: 20
Required string length: 1 - 50
timeout_ms
integer

Provider request timeout in milliseconds, from 1000 through 300000.

Required range: 1000 <= x <= 300000

Response

Tool result data

domain
string
required
styleguide
object
required
key_metadata
object