Analysis Type

ScriptFile

Attributes:

name: str
content: Base64
language: “node” or “python”

AnalysisCreateInfo

Attributes:

name: str
description: Optional[str]
interval: Optional[str]
run_on: Optional[“tago” or “external”]
file_name: Optional[str]
runtime: Optional[“node” or “python”]
active: Optional[bool]
profile: Optional[GenericID]
variables: Optional[List[Dict[str, Union[str, int, bool]]]]
tags: Optional[List[TagsObj]]

AnalysisInfo(AnalysisCreateInfo)

Attributes:

token: str
created_at: datetime
updated_at: datetime
locked_at: Any
console: Optional[List[str]]

AnalysisQuery(Query)

Attributes:

fields: Optional[List[“name” or “active” or “run_on” or “last_run” or “created_at” or “updated_at”]]

AnalysisListItem

Attributes:

id: Optional[GenericID]
name: Optional[str]
active: Optional[bool]
run_on: Optional[“tago” or “external”]
last_run: Optional[ExpireTimeOption]
created_at: Optional[datetime]
updated_at: Optional[datetime]
locked_at: Optional[datetime]
console: Optional[List[str]]

SnippetRuntime

Available runtime environments for snippets.

Type:

Literal[“node-legacy”, “python-legacy”, “node-rt2025”, “python-rt2025”, “deno-rt2025”]

SnippetItem

Individual snippet metadata.

Attributes:

id: str
Unique identifier for the snippet
title: str
Human-readable title
description: str
Description of what the snippet does
language: str
Programming language (typescript, javascript, python)
tags: List[str]
Array of tags for categorization
filename: str
Filename of the snippet
file_path: str
Full path to the file in the runtime directory

SnippetsListResponse

API response containing all snippets metadata for a runtime.

Attributes:

Runtime environment identifier
schema_version: int
Schema version for the API response format
generated_at: str
ISO timestamp when the response was generated
snippets: List[SnippetItem]
Array of all available snippets for this runtime