Class: ActionAgent::Api::BaseController
- Inherits:
-
ActionAgent::ApplicationController
- Object
- ActionController::Base
- ActionAgent::ApplicationController
- ActionAgent::Api::BaseController
- Defined in:
- app/controllers/action_agent/api/base_controller.rb
Overview
Base class for the dashboard's JSON API — everything the React dashboard reads and writes.
Authentication is the host app's (ActionAgent
.authentication_method), and so is ownership: owned scopes any
dashboard relation to the signed-in user or account depending on what
the model declared with owned_by, which is how a single-user
install, a per-user install and a multi-tenant platform all read the
same controllers.
Note this is not the telemetry ingest endpoint — that authenticates with a bearer token and lives in Api::TracesController.
Direct Known Subclasses
AgentRunsController, AgentsController, AnalyticsController, ApiKeysController, EvaluationsController, InteractionsController, McpController, McpServersController, MetricsController, ProviderKeysController, ProviderModelsController, SandboxesController, SessionRecordingsController, TemplatesController, ToolsController, TraceReportsController