Get snippet details
Returns a snippet including its code and display type.
Documentation Index
Fetch the complete documentation index at: https://akua-1dce587a.mintlify.app/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
Path Parameters
Snippet ID
1 - 54Response
Snippet details
"j572abc123def456"
"Cluster Resource Audit"
"Checks resource requests and limits"
Async JavaScript function body executed in a sandboxed V8 isolate. Has access to platform.request() for API calls.
"async () => { ... }"
Controls how the snippet result is rendered in dashboard widgets
table, stat, json, logs "table"
Whether the snippet is reusable workspace state or scoped to an agent session.
workspace, session Who authored the snippet descriptor.
user, agent, system 1 - 541 - 54general, prepared_action, reactive_read, widget "j572abc123def456"
User ID of the snippet creator
Unix timestamp (seconds)
x >= 0Unix timestamp (seconds)
x >= 0