Update snippet
Snippets
Update snippet
Updates snippet properties. Only provided fields are changed. Dashboards using this snippet will pick up code changes on next run.
PATCH
Update snippet
Documentation Index
Fetch the complete documentation index at: https://docs.akua.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens
Headers
The etag of the resource version the client last read. Required on writes when the resource exposes an etag field. Mismatch returns 409 ABORTED with the current etag in the error metadata.
Required string length:
1 - 256Example:
"42"
Path Parameters
Snippet ID
Required string length:
1 - 54Body
application/json
Required string length:
1 - 100Maximum string length:
500Required string length:
1 - 50000Controls how the snippet result is rendered in dashboard widgets
Available options:
table, stat, json, logs Whether the snippet is reusable workspace state or scoped to an agent session.
Available options:
workspace, session Available options:
general, prepared_action, reactive_read, widget Response
Snippet updated