Conjure

Get the kit of a screen

Returns the component kit of a screen and the markdown an agent gets for it. A screen with a brand gets the brand's best kit, which can come from another screen of the brand (`from`). `kit` is null until the kit stage has run, and `markdown` is null unless the kit is extracted.

GET/v1/screens/{id}/kit

Returns the component kit of a screen and the markdown an agent gets for it. A screen with a brand gets the brand's best kit, which can come from another screen of the brand (from). kit is null until the kit stage has run, and markdown is null unless the kit is extracted.

Path Parameters

id*string
Match^scr_

Response Body

application/json

application/json

application/json

curl -X GET "https://api.conjure.design/v1/screens/string/kit"
{
  "status": {
    "_tag": "Done"
  },
  "brand": "string",
  "from": "string",
  "kit": {
    "_tag": "Extracted",
    "source": {
      "_tag": "Model",
      "provider": "string",
      "model": "string",
      "promptVersion": "string"
    },
    "theme": {
      "summary": "string",
      "googleFonts": [
        "string"
      ],
      "fontSans": "string",
      "fontMono": "string",
      "vars": [
        {
          "name": "string",
          "value": "string"
        }
      ],
      "slots": [
        {
          "slot": "button.base",
          "classes": "string"
        }
      ],
      "snippets": [
        {
          "name": "string",
          "description": "string",
          "jsx": "string",
          "box": {
            "x": 0,
            "y": 0,
            "w": 0,
            "h": 0
          }
        }
      ]
    },
    "check": {
      "rounds": -9007199254740991,
      "issues": [
        {
          "snippet": "string",
          "check": "string",
          "detail": "string"
        }
      ],
      "scores": [
        {
          "snippet": "string",
          "similarity": 0,
          "widthRatio": 0,
          "heightRatio": 0
        }
      ]
    }
  },
  "markdown": "string"
}
{
  "error": {
    "code": "bad_request",
    "message": "string",
    "requestId": "string"
  }
}
{
  "error": {
    "code": "bad_request",
    "message": "string",
    "requestId": "string"
  }
}