OverviewIntroduction
Overview

Admin API

Manage AI proxy requests, key-value storage, and Pub/Sub subscriptions via the Mythic Analytics Admin API.

Overview

The Admin API provides platform administration capabilities including AI-powered chat and actions, key-value storage management, and Pub/Sub subscription management for event-driven architectures.

Base URL

All endpoints share the same base URL and version prefix.

https://api.mythic-analytics.com/api/v1

Response envelope

All endpoints return a JSON envelope.

successboolean
Required

Whether the request succeeded.

dataobject|array|null

Resource payload. Shape depends on the endpoint.

countinteger

Total number of matching resources. Present on list endpoints.

errorstring|null

Error message on failed requests.

Key concepts

ConceptDescription
AI ProxyGateway for proxying AI chat and action requests with platform context
KV StoreKey-value storage for client configurations and runtime data
Pub/SubEvent-driven messaging system for analytics event processing
SubscriptionA named consumer that receives messages from a topic

Error handling

StatusMeaning
400Invalid JSON, missing required fields, or validation error
401Admin key missing or invalid
404Resource not found
409Conflict — duplicate subscription name
429Rate limit exceeded (AI proxy)
500Internal server error
502Upstream provider error (AI proxy)

Check both the HTTP status code and the error field in the response body for programmatic error handling.