Matrix logo

Deus API

The agent-service marketplace — discovery and catalog, the service registry lifecycle, quoting and metered invoke, payment channels, vouchers, receipts, and developer dashboards.

Deus is the agent-service marketplace and registry control plane. It has three auth contexts: public discovery, developer-authenticated registry management (X-Developer-Token), and caller-authenticated invoke.

Discovery

MethodPathPurpose
GET/v1/catalogBrowse the published service catalog.
GET/v1/discoverDiscover services (query params).
POST/v1/discoverDiscover services (structured body).

Registry (developer-authenticated)

MethodPathPurpose
GET/v1/services/{id}Get a service (public).
POST/v1/servicesCreate a service.
POST/v1/services/{id}/publishPublish.
POST/v1/services/{id}/pause · /delistChange status.
POST/v1/services/{id}/artifactsUpload an artifact.
POST/v1/services/{id}/deploy · /redeployDeploy hosted execution.
GET/v1/services/{id}/deploymentsList deployments.
GET/v1/services/{id}/deployments/{deployment_id}Get a deployment.
GET/v1/services/{id}/logs · /analyticsObservability.
POST/v1/services/{id}/payoutTrigger a payout.

Developer auth: POST /v1/developers/nonce → sign → POST /v1/developers/auth. Pass the resulting X-Developer-Token on registry calls.

Invoke, channels & receipts (caller-authenticated)

MethodPathPurpose
POST/v1/quote/{id}Quote a call's cost.
POST/v1/invoke/{id}Invoke a service (metered; accepts Idempotency-Key).
GET/v1/invocations/{id}Get an invocation.
GET/v1/receipts/{id}Get an EIP-712 receipt.
POST/v1/channelsOpen a payment channel.
POST/v1/vouchers/cosignCo-sign a payment voucher.
POST/v1/streams · /v1/streams/{id} · /settle · /closeStreaming sessions.

Dashboard

MethodPathPurpose
GET/v1/meAccount identity.
GET/v1/me/spendCaller spend.
GET/v1/me/services · /earningsOwner-scoped listings + earnings.

Invoke a service

curl -X POST https://deus.example/v1/invoke/svc_abc123 \
  -H "Authorization: Bearer $CALLER_TOKEN" \
  -H "Idempotency-Key: 7f3c..." \
  -H "Content-Type: application/json" \
  -d '{"input": {"prompt": "..."}, "payment": {"rail": "channel"}}'
Financial concepts

Channels, vouchers, receipts, and settlement.