Get a screen
Returns one screen with its measurements, its label (null until the label stage has run) and the declared spacing, type and radii of the page it was captured from (null for a plain upload). 404 when no screen has the id.
/v1/screens/{id}Returns one screen with its measurements, its label (null until the label stage has run) and the declared spacing, type and radii of the page it was captured from (null for a plain upload). 404 when no screen has the id.
Path Parameters
^scr_Response Body
application/json
application/json
application/json
curl -X GET "https://api.conjure.design/v1/screens/string"
{
"id": "string",
"sha256": "string",
"mediaType": "image/png",
"width": -9007199254740991,
"height": -9007199254740991,
"byteSize": -9007199254740991,
"scale": {
"value": 0,
"basis": "confirmed"
},
"source": {
"_tag": "Upload",
"filename": "string"
},
"brand": "string",
"createdAt": "string",
"status": {
"renditions": {
"_tag": "Done"
},
"measure": {
"_tag": "Done"
},
"label": {
"_tag": "Done"
},
"kit": {
"_tag": "Done"
}
},
"renditions": [
{
"kind": "thumb",
"sha256": "string",
"mediaType": "image/jpeg",
"width": -9007199254740991,
"height": -9007199254740991
}
],
"facets": {
"screenType": "home",
"theme": "dark",
"density": "compact"
},
"measures": {
"provenance": {
"source": "pixel",
"method": "string"
},
"scale": {
"value": 0,
"basis": "confirmed"
},
"lines": -9007199254740991,
"textSize": {
"emPx": 0,
"estimatedScale": 0
},
"rhythm": {
"pitchCount": -9007199254740991,
"distinctPitches": -9007199254740991,
"top5Share": 0,
"pitches": [
{
"px": -9007199254740991,
"count": -9007199254740991
}
]
},
"type": {
"bodyPx": -9007199254740991,
"largestPx": -9007199254740991,
"largestToBody": 0,
"sizes": [
{
"px": -9007199254740991,
"count": -9007199254740991
}
]
},
"palette": [
{
"hex": "string",
"share": 0
}
]
},
"label": {
"_tag": "Labelled",
"source": {
"_tag": "Model",
"provider": "string",
"model": "string",
"promptVersion": "string"
},
"labels": {
"product": "string",
"domain": "string",
"screenType": "home",
"theme": "dark",
"density": "compact",
"summary": "string",
"layout": "string",
"patterns": [
"string"
],
"components": [
"string"
],
"typography": "string",
"aiFeatures": "string",
"goodFor": [
"string"
],
"notGoodFor": [
"string"
],
"slopTells": [
"purple-indigo-gradient"
],
"regions": [
{
"kind": "nav",
"description": "string",
"bounds": {
"x": 0,
"y": 0,
"width": 0,
"height": 0
}
}
],
"colorRoles": [
{
"role": "ground",
"hex": "string",
"note": "string"
}
]
}
},
"system": {
"summary": {
"grid": "8px",
"onGrid": {
"px2": 0,
"px4": 0,
"px8": 0
},
"lineHeightsOn4": 0,
"typePairs": [
{
"sizePx": 0,
"lineHeightPx": 0,
"count": -9007199254740991
}
],
"radius": 0,
"rhythm": "string"
},
"facts": {
"provenance": {
"source": "dom",
"method": "string",
"url": "string"
},
"viewport": {
"width": -9007199254740991,
"height": -9007199254740991
},
"elements": -9007199254740991,
"spacing": [
{
"px": 0,
"count": -9007199254740991
}
],
"type": [
{
"sizePx": 0,
"lineHeightPx": 0,
"count": -9007199254740991
}
],
"radii": [
{
"px": 0,
"count": -9007199254740991
}
]
}
}
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
API reference
Each route of the HTTP API of Conjure, with its parameters, request body and responses.
Get an image of a screen GET
Returns the bytes of one image of a screen (`thumb`, `preview` or `original`) with its own content type, its hash as the ETag and an immutable cache header. 404 when the screen has no such image yet. `v` is a cache key for clients, such as a rendition sha from the screen, and the server ignores it.