GuideLab API

Get material icon

Retrieve the icon image associated with a material from R2 storage. Returns the raw image binary with appropriate content-type headers.

GET
/materials/{id}/icon

Retrieve the icon image associated with a material from R2 storage. Returns the raw image binary with appropriate content-type headers.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Path Parameters

id*string

Material ID

Response Body

curl -X GET "https://example.com/materials/550e8400-e29b-41d4-a716-446655440000/icon"
Empty
Empty
Empty