Thevalueforkeyoneis a JSON payload, so acontent_typeoverride is needed. This override must be doneeverytime a JSON value is set.
Theversionvalues foroneandtwomean they have been saved 10 and 20 times, respectively.
Ifversionisnotprovided for an existing artifact, the entire request will be refused and aBad Requestresponse will be sent.
Ifversionis provided for an artifact, it is only used for helping to prevent inadvertent data overwrites. It cannot be used tosetthe version of an artifact. The Looker server controlsversion.
We suggest encoding binary values as base64. Because the MIME content type for base64 is detected as plain text, also providecontent_typeto correctly indicate the value's type for retrieval and client-side processing.
Because artifacts are stored encrypted, the same value can be written multiple times (provided the correctversionnumber is used). Looker does not examine any values stored in the artifact store, and only decrypts when sending artifacts back in an API response.
Note: The artifact storage API can only be used by Looker-built extensions.
Key of value to store. Namespace + Key must be unique.
value
string
Value to store.
content_type
string
MIME type of content. This can only be used to override content that is detected as text/plain. Needed to set application/json content types, which are analyzed as plain text.
version
lock
integer
Version number of the stored value. The version must be provided for any updates to an existing artifact.
query
HTTP Query
Expand HTTP Query definition...
fields
string
Comma-delimited names of fields to return in responses. Omit for all fields
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-06 UTC."],[],[]]