> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Get Website Styleguide

> Get Website Styleguide

## 请求规范

* **方法与路径:** POST /apis/v1/context-dev/get-website-styleguide
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/context-dev/get-website-styleguide`

[完整 OpenAPI 定义](https://aisa.one/docs/openapi-public/zh/context-dev.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "context-dev.get-website-styleguide",
  "method": "POST",
  "path": "/apis/v1/context-dev/get-website-styleguide",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "color_scheme": {
              "description": "Browser color scheme to emulate for the extraction.",
              "enum": [
                "light",
                "dark"
              ],
              "type": "string"
            },
            "direct_url": {
              "description": "Exact HTTP or HTTPS page to inspect without domain resolution. Required when domain is omitted; do not supply both fields.",
              "examples": [
                "https://example.com/design-system"
              ],
              "format": "uri",
              "minLength": 1,
              "type": "string"
            },
            "domain": {
              "description": "Domain to resolve and inspect, such as example.com. Required when direct_url is omitted; do not supply both fields.",
              "examples": [
                "example.com"
              ],
              "minLength": 3,
              "type": "string"
            },
            "max_age_ms": {
              "default": 7776000000,
              "description": "Maximum cached-data age in milliseconds. The provider clamps values to between one day and one year.",
              "type": "integer"
            },
            "tags": {
              "description": "Usage-tracking tags. Supply at most 20 tags of 1-50 characters each.",
              "items": {
                "maxLength": 50,
                "minLength": 1,
                "type": "string"
              },
              "maxItems": 20,
              "type": "array"
            },
            "timeout_ms": {
              "description": "Provider request timeout in milliseconds, from 1000 through 300000.",
              "maximum": 300000,
              "minimum": 1000,
              "type": "integer"
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

按实际用量收费。 默认请求预估费用：\$0.0253 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi-public/zh/context-dev.json POST /apis/v1/context-dev/get-website-styleguide
openapi: 3.1.0
info:
  description: ''
  title: Context.dev
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    context-dev:
      description: ''
      title: Context.dev
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: d623d67a0bf66ed6d1bab1c0edbd64af2064ad2b8fcff059d172fd10d05c0581
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/context-dev/extract-structured-web-data
    - /apis/v1/context-dev/get-brand
    - /apis/v1/context-dev/get-website-styleguide
    - /apis/v1/context-dev/search-brands
    - /apis/v1/context-dev/web-crawl
    - /apis/v1/context-dev/web-map
    - /apis/v1/context-dev/web-scrape
    - /apis/v1/context-dev/web-search
  x-aisa-document:
    composer_version: '31'
    facts_hash: d623d67a0bf66ed6d1bab1c0edbd64af2064ad2b8fcff059d172fd10d05c0581
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:7ee6a59a0006cf41ccac495cf7be20fcf1b30d37d3af76d52c611c13a3a044f2
    document_hash: sha256:e23695cb25ded281795286f82c7609f621cec8a6cfd5462e94b219d316d1a566
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: context-dev
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/context-dev/get-website-styleguide:
    post:
      tags:
        - Context.dev
      summary: Get Website Styleguide
      operationId: context-dev.get-website-styleguide
      requestBody:
        content:
          application/json:
            schema:
              properties:
                color_scheme:
                  description: Browser color scheme to emulate for the extraction.
                  enum:
                    - light
                    - dark
                  type: string
                direct_url:
                  description: >-
                    Exact HTTP or HTTPS page to inspect without domain
                    resolution. Required when domain is omitted; do not supply
                    both fields.
                  examples:
                    - https://example.com/design-system
                  format: uri
                  minLength: 1
                  type: string
                domain:
                  description: >-
                    Domain to resolve and inspect, such as example.com. Required
                    when direct_url is omitted; do not supply both fields.
                  examples:
                    - example.com
                  minLength: 3
                  type: string
                max_age_ms:
                  default: 7776000000
                  description: >-
                    Maximum cached-data age in milliseconds. The provider clamps
                    values to between one day and one year.
                  type: integer
                tags:
                  description: >-
                    Usage-tracking tags. Supply at most 20 tags of 1-50
                    characters each.
                  items:
                    maxLength: 50
                    minLength: 1
                    type: string
                  maxItems: 20
                  type: array
                timeout_ms:
                  description: >-
                    Provider request timeout in milliseconds, from 1000 through
                    300000.
                  maximum: 300000
                  minimum: 1000
                  type: integer
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__public_data
          description: Tool result data
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__public_data:
      $ref: >-
        #/components/schemas/Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__3cdef3e34fdf0d27
    Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__3cdef3e34fdf0d27:
      properties:
        domain:
          type: string
        key_metadata:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__54a748042674849e
        styleguide:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__e629b6fbbe9250cc
      required:
        - domain
        - styleguide
      type: object
    Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__54a748042674849e:
      properties:
        credits_consumed:
          type: integer
        credits_remaining:
          type: integer
      required:
        - credits_consumed
        - credits_remaining
      type: object
    Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__e629b6fbbe9250cc:
      properties:
        colors:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__93bc494f7d462a8e
        components:
          additionalProperties: true
          type: object
        elementSpacing:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__d1529da5b357abad
        fontLinks:
          additionalProperties: true
          type: object
        mode:
          enum:
            - light
            - dark
          type: string
        shadows:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__ab4754be67a2672d
        typography:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__0878a200181375c5
      required:
        - mode
        - colors
        - typography
      type: object
    Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__93bc494f7d462a8e:
      properties:
        accent:
          type: string
        background:
          type: string
        text:
          type: string
      required:
        - accent
        - background
        - text
      type: object
    Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__d1529da5b357abad:
      properties:
        lg:
          type: string
        md:
          type: string
        sm:
          type: string
        xl:
          type: string
        xs:
          type: string
      type: object
    Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__ab4754be67a2672d:
      properties:
        inner:
          type: string
        lg:
          type: string
        md:
          type: string
        sm:
          type: string
        xl:
          type: string
      type: object
    Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__0878a200181375c5:
      properties:
        headings:
          additionalProperties:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__91302aa4eeccd71c
          type: object
        p:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__91302aa4eeccd71c
      type: object
    Response576A0Ea506F3_connect_CONTEXT_DEV_GET_WEBSITE_STYLEGUIDE__output__91302aa4eeccd71c:
      properties:
        fontFallbacks:
          items:
            type: string
          type: array
        fontFamily:
          type: string
        fontSize:
          type: string
        fontWeight:
          type: number
        letterSpacing:
          type: string
        lineHeight:
          type: string
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.