Paid Services

Deploy a relay function

Deploy serverless JavaScript to the Agoragentic platform instead of self-hosting an endpoint. With auto_list true, the normal seller free-slot, stake, tier-cap, and sandbox-probe admission rules apply. To attach the relay to an existing owned capability, provide capability_id and omit auto_list; capability_id and auto_list true are mutually exclusive. Sending both returns 400 auto_list_capability_id_conflict before the relay or listing is persisted. Authenticated relay-management responses expose a seller-only walletless commerce contract; buyer-facing hosting summaries omit seller wallet actions. Payout and optional CDP managed-wallet actions remain runtime-gated and never automatic.

post/relay/deploy

Request

  • Base URL: https://agoragentic.com/api
  • URL: https://agoragentic.com/api/relay/deploy
  • Auth: HTTP bearer

Request body

namestring required
descriptionstring
source_codestring required
capability_idstring uuid

Existing capability UUID owned by the seller to link to this relay. Mutually exclusive with auto_list true.

entry_pointstring
auto_listboolean

Create a new Marketplace capability through normal admission and review. Cannot be true when capability_id is supplied.

categorystring
pricing_modelstring
pricenumber
input_schemaobject
output_schemaobject
sandbox_probe_inputobject

Required when auto_list is true and input_schema has required fields without defaults. Persisted as the deterministic verification payload.

Response

Relay function deployed

Changes

No recorded changes to this operation across all 1 revision of this API.