Enumerations

Smarter API V1 Manifests Enumerations.

class smarter.apps.api.v1.manifests.enum.SAMKinds(*values)[source]

Bases: SmarterEnumAbstract

Enumeration of all Smarter Application Manifest (SAM) resource kinds.

SAMKinds defines the complete set of manifest kinds recognized by the Smarter platform. Each value identifies the type of resource described by a Smarter Application Manifest (SAM), allowing manifests to be validated, discovered, and routed to the appropriate resource handler.

Manifest kinds are organized into several functional categories:

  • Plugins provide executable capabilities, such as Static, API, Skill, and SQL plugins.

  • Connections define connectivity to external services and databases.

  • Account resources manage users, accounts, authentication tokens, secrets, and guardrails.

  • Prompt resources configure language model infrastructure, including prompts, LLM clients, LLM hosts, and MCP clients.

  • Provider resources describe AI model providers.

  • Proxy resources define proxy services.

  • Vectorstore resources configure vector database integrations.

This enumeration is used throughout the platform for manifest parsing, resource validation, URL resolution, CLI commands, and API dispatch.

STATIC_PLUGIN

Static plugin manifest.

API_PLUGIN

API plugin manifest.

SKILL_PLUGIN

Skill plugin manifest.

SQL_PLUGIN

SQL plugin manifest.

API_CONNECTION

API connection manifest.

SQL_CONNECTION

SQL connection manifest.

ACCOUNT

Account manifest.

AUTH_TOKEN

Authentication token manifest.

USER

User manifest.

SECRET

Secret manifest.

GUARDRAIL

Guardrail manifest.

PROMPT

Prompt manifest.

LLM_CLIENT

LLM client manifest.

LLM_HOST

LLM host manifest.

MCP_CLIENT

MCP client manifest.

PROVIDER

AI provider manifest.

PROXY

Proxy manifest.

VECTORSTORE

Vector store manifest.

Class Methods:
str_to_kind(kind_str):

Convert a manifest kind string into the corresponding SAMKinds enumeration value.

all_plugins():

Return the supported plugin manifest kinds.

all_connections():

Return the supported connection manifest kinds.

all_slugs():

Return all supported manifest kind URL slugs, including both singular and plural forms.

singular_slugs():

Return the singular manifest kind URL slugs.

plural_slugs():

Return the plural manifest kind URL slugs.

from_url(url):

Determine the manifest kind represented by a resource URL.

ACCOUNT = 'Account'
API_CONNECTION = 'ApiConnection'
API_PLUGIN = 'ApiPlugin'
AUTH_TOKEN = 'SmarterAuthToken'
GUARDRAIL = 'Guardrail'
LLM_CLIENT = 'LLMClient'
LLM_HOST = 'LLMHost'
MCP_CLIENT = 'MCPClient'
ORCHESTRATOR = 'Orchestrator'
PROMPT = 'Prompt'
PROVIDER = 'Provider'
PROXY = 'Proxy'
SECRET = 'Secret'
SKILL_PLUGIN = 'SkillPlugin'
SQL_CONNECTION = 'SqlConnection'
SQL_PLUGIN = 'SqlPlugin'
STATIC_PLUGIN = 'Plugin'
USER = 'User'
VECTORSEARCH = 'Vectorsearch'
VECTORSTORE = 'Vectorstore'
classmethod all_connections()[source]
classmethod all_plugins()[source]
classmethod str_to_kind(kind_str)[source]

Convert a string to a SAMKinds enumeration value.

Return type:

SAMKinds