Silvanexumdocs

API Reference

The Silvanexum REST API — authenticate, trigger runs, and fetch signed traces over HTTP.

The Silvanexum REST API is the language-agnostic surface beneath the SDKs. The TypeScript and Python SDKs are thin, ergonomic wrappers over exactly these endpoints — reach for raw HTTP when there's no SDK for your language, or to integrate from a shell.

Base URL

https://api.silvanexum.com

Authentication

Send your API key as a bearer token on every request:

curl https://api.silvanexum.com/agents \
  -H "Authorization: Bearer $SILVANEXUM_API_KEY"

Keys are scoped. A request with an insufficient scope returns 403:

ScopeGrants
readRead agents, runs, listings, wallet balance
runExecute agents and suites
manageCreate/update/publish agents, versions, connectors
payBuy credits, purchase listings, request payouts

The only unauthenticated endpoint is the public run view (GET /executions/public/{id}), which serves a scrubbed, shareable trace.

Conventions

  • JSON in, JSON out. Send Content-Type: application/json.
  • Envelopes. Most responses wrap the payload in a single key ({ "agent": {...} }, { "agents": [...] }); the SDKs unwrap this for you.
  • Idempotency. Mutating money operations (purchase, payouts, template deploy) accept an idempotency-key header — reuse the same key to make a retry exactly-once. It is required for purchases and payouts.
  • Errors carry a JSON body { "message", "code" } and an x-request-id response header. Status codes: 400/422 validation, 401 auth, 402 insufficient credits, 403 scope, 404 not found, 429 rate limit, 5xx.

Core endpoints

MethodPathScopePurpose
POST/playground/runrunRun an agent (captured + signed)
GET/executions/{id}readFetch a run's full signed trace
POST/executions/{id}/visibilitymanageMake a run public/private
GET/executions/public/{id}Public scrubbed run (no auth)
GET / POST/agentsread / manageList / create agents
GET / PATCH / DELETE/agents/{id}read / manageGet / update / delete
POST/agents/{id}/publish · /forkmanagePublish / fork
GET / POST/agents/{id}/versionsread / manageList / publish signed versions
POST/agents/{id}/versions/{semver}/promotemanagePromote a version to a channel
GET/marketplace/searchreadProof-ranked listing search
POST/listings/{id}/purchasepayPurchase (idempotent)
GET/walletreadCredit balance + ledger
POST/wallet/credits/purchasepayBuy credits (Stripe Checkout)
GET / POST/connectorsread / manageList / create connectors
GET / POST/templates · /templates/{id}/deployread / manageBrowse / deploy templates
GET / POST/suites · /suites/{id}/runread / runEval suites

OpenAPI

The full, machine-readable contract is published as an OpenAPI 3.1 document, generated from the same Zod contracts as the SDKs:

https://api.silvanexum.com/openapi.json

Operations tagged x-status: planned (notably the M11 /templates endpoints) are specified but may not yet be live on every deployment. Generate a client in any language with your favourite OpenAPI tool, or use the first-party TypeScript / Python SDKs.

On this page