Skip to content

All API Endpoints

Complete reference of every endpoint on Universal API.

Base URL: https://api.universalapi.coStreaming URL: https://stream.api.universalapi.co

All authenticated endpoints use: Authorization: Bearer YOUR_TOKEN


MCP Servers

MethodEndpointAuthDescription
POST/mcp-admin/createRequiredCreate a new MCP server
GET/mcp-admin/listOptionalList MCP servers
GET/mcp-admin/{serverId}OptionalGet server details
GET/mcp-admin/s/{owner}/{slug}OptionalGet server by slug
PUT/mcp-admin/updateRequiredUpdate a server
DELETE/mcp-admin/deleteRequiredDelete a server
POST/GET/mcp/{serverId}OptionalMCP protocol endpoint
POST/GET/mcp/s/{owner}/{slug}OptionalMCP protocol (slug)

Agents

MethodEndpointAuthDescription
POST/agent/createRequiredCreate a new agent
GET/agent/listOptionalList agents
GET/agent/{agentId}OptionalGet agent details
GET/agent/s/{owner}/{slug}OptionalGet agent by slug
PUT/agent/updateRequiredUpdate an agent
DELETE/agent/deleteRequiredDelete an agent
POSTstream.../agent/{agentId}/chatRequiredChat with agent (streaming)
GET/agent/{agentId}/conversationsRequiredList conversations
GET/agent/{agentId}/conversations/{convId}RequiredGet conversation history

INFO

Agent chat uses the streaming domain: https://stream.api.universalapi.co

User & Account

MethodEndpointAuthDescription
GET/user/infoRequiredGet user profile, credits, alias
POST/user/aliasRequiredSet your alias (username)

Access Tokens

MethodEndpointAuthDescription
POST/user/token/createRequiredCreate a Bearer token
GET/user/token/listRequiredList your tokens
POST/user/token/revokeRequiredRevoke a token

Third-Party Keys

MethodEndpointAuthDescription
POST/keys/storeRequiredStore an API key
GET/keys/listRequiredList stored keys (metadata only)
GET/keys/check/{serviceName}RequiredCheck if a key exists

OAuth

MethodEndpointAuthDescription
GET/oauth/authorize/{provider}RequiredGet OAuth authorization URL

Providers: google, microsoft, github

MethodEndpointAuthDescription
GET/search?q={query}OptionalSemantic search across resources

Query parameters: q (query), type (all, mcp, mcp-tool, agent), limit

Knowledge Storage

MethodEndpointAuthDescription
GET/knowledge/listRequiredList files and folders
POST/knowledge/uploadRequiredUpload file directly (5MB max)
POST/knowledge/upload-urlRequiredGet presigned upload URL
POST/knowledge/download-urlRequiredGet presigned download URL
ANY/knowledge/deleteRequiredDelete a file
POST/knowledge/delete-folderRequiredDelete a folder
POST/knowledge/create-folderRequiredCreate a folder
POST/knowledge/searchRequiredSemantic search across files

Subscriptions & Billing

MethodEndpointAuthDescription
GET/user/subscriptionRequiredGet subscription details
POST/subscription/checkoutRequiredCreate Stripe checkout session
POST/subscription/portalRequiredGet Stripe customer portal URL

Author Dashboard

MethodEndpointAuthDescription
GET/author/earningsRequiredGet earnings breakdown
GET/author/resourcesRequiredGet authored resources with metrics
POST/author/stripe/connectRequiredStart Stripe Connect onboarding
GET/author/stripe/statusRequiredGet Connect account status
GET/author/stripe/dashboardRequiredGet Stripe Express dashboard URL
GET/author/payouts/historyRequiredGet payout history
POST/author/payouts/processRequiredManually trigger payout

Code Server

MethodEndpointAuthDescription
GET/code-server/statusRequiredGet instance status
POST/code-server/launchRequiredLaunch a new instance
POST/code-server/startRequiredStart a stopped instance
POST/code-server/stopRequiredStop a running instance
POST/code-server/terminateRequiredTerminate an instance
POST/code-server/setupRequiredSave/run a setup script with credential injection

INFO

Code Server requires an active subscription (Starter or Professional plan). Billed at 1 credit/minute while running.

Logs

MethodEndpointAuthDescription
GET/logsRequiredGet usage logs
GET/logs/{requestId}RequiredGet detailed log for a request

Universal API - The agentic entry point to the universe of APIs