Version 4.0.24.20 (latest)
Get one or more artifacts
Returns an array of artifacts matching the specified key value(s).
Note: The artifact storage API can only be used by Looker-built extensions.
Request
GET
/artifact/{namespace}
Datatype
Description
Request
path
Expand HTTP Path definition...
namespace
Artifact storage namespace
query
Expand HTTP Query definition...
key
Comma-delimited list of keys. Wildcards not allowed.
fields
Comma-delimited names of fields to return in responses. Omit for all fields
limit
Number of results to return. (used with offset)
offset
Number of results to skip before returning any. (used with limit)
Response
200: Created or updated artifacts
Datatype
Description
(array)
key
Key of value to store. Namespace + Key must be unique.
value
Value to store.
content_type
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
Version number of the stored value. The version must be provided for any updates to an existing artifact.
namespace
lock
Artifact storage namespace.
created_at
lock
Timestamp when this artifact was created.
updated_at
lock
Timestamp when this artifact was updated.
value_size
lock
Size (in bytes) of the stored value.
created_by_userid
lock
User id of the artifact creator.
updated_by_userid
lock
User id of the artifact updater.
400: Bad Request
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
422: Validation Error
Datatype
Description
(object)
message
lock
Error details
errors
Expand ValidationErrorDetail definition...
field
lock
Field with error
code
lock
Error code
message
lock
Error info message
documentation_url
lock
Documentation link
documentation_url
lock
Documentation link
429: Too Many Requests
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link