SDK reference
Every method across every supported language. Pick TypeScript, Python, C#, Go, or Rust at any code block — the operation is identical, only syntax differs. All SDKs are projections of one canonical contract backbone.
Client
Initialize the canonical client. One configuration reaches every surface — entities, workflows, agents, realtime, governed connections.
client.createClient
createClient(options): VadylClientCreate a configured Vadyl client bound to a project.
Returns a fully-typed client. Tenant + project headers are auto-attached to every request. Optionally pin a feature branch.
| Name | Type | Description |
|---|---|---|
apiUrlrequired | string | Base URL — e.g. https://api.vadyl.app/v1 |
tokenrequired | string | Bearer token from your identity provider, or API key/secret pair. |
tenantrequired | string | Organization slug (sent as X-Vadyl-Tenant). |
projectrequired | string | Project slug or canonical id (sent as X-Vadyl-Project). |
branch | string? | Feature branch override — pin to sandbox/preview. |
fetch | Fetch? | Custom fetch implementation. Defaults to global fetch. |
telemetry | TelemetryOpts? | Hook into the canonical observability envelope. |
VadylClientTyped client with namespaces: entities, workflows, agents, connections, events, identity, surfaces.import { createClient } from "@vadyl/sdk";
const vadyl = createClient({
apiUrl: "https://api.vadyl.app/v1",
token: process.env.VADYL_TOKEN!,
tenant: "acme",
project: "billing",
});{
"namespace": "client",
"method": "createClient",
"id": "res_123",
"state": "active"
}Entities
Read, create, update, delete, query, expand, and watch any canonical entity. Same surface across every storage substrate.
entities.list
entities.<Entity>.list(opts?): Page<T>List entity rows with typed filters, sorting, pagination, and relation expansion.
| Name | Type | Description |
|---|---|---|
filter | Filter<T> | Typed predicate — eq / ne / gt / lt / in / between / like / isNull / and / or / not. |
sort | Sort[] | Multi-field ordering. |
pageSize | number | Items per page (default 50, max 200). |
cursor | string | Cursor for forward pagination (preferred over page numbers). |
include | string[] | Eagerly expand relations: e.g. ['customer', 'items.product']. |
fields | string[] | Sparse projection — only requested fields are returned. |
includeTotal | boolean | Include totalCount in response (extra round-trip on some substrates). |
Page<T>{ data: T[], page: { number, size, totalCount?, next?, prev? } }| Code | Description |
|---|---|
ACCESS_DENIED | The actor lacks read on Entity or doesn't satisfy the row filter. |
VALIDATION_FAILED | Filter expression references a field that doesn't exist on Entity. |
QUOTA_EXCEEDED | Project read quota exhausted. |
const recent = await vadyl.orders.list({
filter: { status: { in: ["paid", "fulfilled"] }, total: { gt: 100 } },
sort: [{ field: "createdAt", direction: "desc" }],
pageSize: 50,
include: ["customer"],
});{
"data": [{ "id": "res_123", "state": "active" }],
"page": { "size": 50, "next": "cur_1" }
}| Name | Type | Description |
|---|---|---|
idrequired | string | Primary-key value (single or composite). |
include | string[] | Relations to expand. |
TThe entity row, or throws NOT_FOUND.| Code | Description |
|---|---|
NOT_FOUND | No row matches the primary key (or the actor cannot read it under access policy). |
ACCESS_DENIED | Field-level read denied; partial result is masked or omitted. |
const order = await vadyl.orders.read("ord_abc", { include: ["customer"] });{
"namespace": "entities",
"method": "read",
"id": "res_123",
"state": "active"
}entities.create
entities.<Entity>.create(input, opts?): TCreate a row. Idempotent when an idempotency key is provided.
| Name | Type | Description |
|---|---|---|
inputrequired | EntityCreateInput | Field values for the new row. |
idempotencyKey | string | Safe-to-retry idempotency key (recommended for client-driven inserts). |
include | string[] | Relations to expand on the returned row. |
TThe persisted row with generated fields filled (id, timestamps, etc.).| Code | Description |
|---|---|
VALIDATION_FAILED | Required field missing, type mismatch, or invariant violated. |
CONFLICT | Unique-key violation. Inspect error.field. |
ACCESS_DENIED | Insert-check policy denied the row's contents. |
const customer = await vadyl.customers.create(
{ email: "ada@example.com", name: "Ada Lovelace" },
{ idempotencyKey: `signup:${session.id}` },
);{
"namespace": "entities",
"method": "create",
"id": "res_123",
"state": "active"
}entities.update
entities.<Entity>.update(id, patch, opts?): TPartial update with optimistic concurrency support.
| Name | Type | Description |
|---|---|---|
idrequired | string | Primary key of the row. |
patchrequired | EntityUpdateInput | Fields to update (partial). |
ifMatch | string | Expected ConcurrencyToken — write fails CONFLICT if changed. |
TThe updated row.| Code | Description |
|---|---|
NOT_FOUND | Row missing. |
CONFLICT | ifMatch mismatch — re-read and retry. |
ACCESS_DENIED | Update target filter excludes this row, or update result check failed. |
VALIDATION_FAILED | Patch contents fail validation. |
const updated = await vadyl.customers.update(
customer.id,
{ name: "Ada L." },
{ ifMatch: customer.concurrencyToken },
);{
"namespace": "entities",
"method": "update",
"id": "res_123",
"state": "active"
}entities.upsert
entities.<Entity>.upsert(input, opts?): TInsert if absent, update if present (matched on uniqueKeys).
| Name | Type | Description |
|---|---|---|
inputrequired | EntityUpsertInput | Full row contents. |
matchOn | string[] | Unique-key field names to match on. Defaults to declared natural key. |
idempotencyKey | string | Idempotency key. |
TThe resulting row.const stat = await vadyl.dailyStats.upsert(
{ date: "2026-05-08", visits: 1234 },
{ matchOn: ["date"] },
);{
"namespace": "entities",
"method": "upsert",
"id": "res_123",
"state": "active"
}entities.delete
entities.<Entity>.delete(id, opts?): voidDelete a row. Soft-delete on entities with that lifecycle, hard otherwise.
| Name | Type | Description |
|---|---|---|
idrequired | string | Primary key. |
ifMatch | string | Optimistic concurrency token. |
force | boolean | Hard-delete a soft-delete entity (admin-gated). |
void| Code | Description |
|---|---|
NOT_FOUND | Row missing or already deleted. |
CONFLICT | Foreign-key restrict; remove dependents first. |
ACCESS_DENIED | Delete-filter rejected the row. |
await vadyl.customers.delete(customer.id);
undefined
entities.count
entities.<Entity>.count(filter?): numberCount rows matching a filter without loading them.
| Name | Type | Description |
|---|---|---|
filter | Filter<T> | Same filter syntax as list(). |
numberconst n = await vadyl.orders.count({ status: { eq: "pending" } });42
| Name | Type | Description |
|---|---|---|
idrequired | string | Primary key. |
booleanif (await vadyl.customers.exists("c_abc")) { ... }true
entities.subscribe
entities.<Entity>.subscribe(opts?): Subscription<ChangeEvent>Live subscription to entity change events. Field NAMES only — re-read for values.
| Name | Type | Description |
|---|---|---|
filter | Filter<T> | Same predicate AST as list(). |
kinds | ChangeKind[] | Event kinds: 'created' | 'updated' | 'deleted'. |
Subscription<ChangeEvent>An async iterable of change events. Reconnect-safe.const sub = vadyl.orders.subscribe({ filter: { status: { eq: "paid" } } });
for await (const evt of sub.events()) { console.log(evt.kind, evt.entityId); }{
"kind": "updated",
"entityId": "res_123",
"changedFields": ["state"]
}entities.batchCreate
entities.<Entity>.batchCreate(rows, opts?): BatchResult<T>Insert many rows efficiently, with per-row idempotency.
| Name | Type | Description |
|---|---|---|
rowsrequired | EntityCreateInput[] | Up to 1000 rows per batch. |
atomic | boolean | If true, all-or-nothing transactional batch. |
BatchResult<T>{ inserted: T[], failed: { row, error }[] }await vadyl.products.batchCreate(rows, { atomic: true });{
"namespace": "entities",
"method": "batchCreate",
"id": "res_123",
"state": "active"
}Workflows
Start, signal, query, and replay durable workflows. Long-running orchestration that survives process restart.
workflows.start
workflows.<Name>.start(input, opts?): RunStart a new workflow run, pinned to current publication.
| Name | Type | Description |
|---|---|---|
inputrequired | WorkflowInput | Typed input to the workflow. |
idempotencyKey | string | Idempotency key for safe retries. |
delay | Duration | Schedule the start in the future. |
WorkflowRun{ id, status, startedAt }const run = await vadyl.workflows.fulfillOrder.start({ orderId: "ord_abc" });{
"namespace": "workflows",
"method": "start",
"id": "res_123",
"state": "active"
}workflows.signal
workflows.<Name>.signal(runId, signalName, payload?): voidSend a signal to a running workflow (for ctx.waitForSignal).
| Name | Type | Description |
|---|---|---|
runIdrequired | string | Workflow run id. |
signalNamerequired | string | Name of the signal channel the workflow is awaiting. |
payload | any | Typed signal payload. |
voidawait vadyl.workflows.fulfillOrder.signal(run.id, "shipped", { trackingNumber: "1Z..." });undefined
| Name | Type | Description |
|---|---|---|
runIdrequired | string | Workflow run id. |
RunState{ status, steps, currentStep, history, signals, compensations, error? }const state = await vadyl.workflows.fulfillOrder.query(run.id);
{
"namespace": "workflows",
"method": "query",
"id": "res_123",
"state": "active"
}workflows.cancel
workflows.<Name>.cancel(runId, reason?): voidCancel an in-flight run; runs registered compensations.
| Name | Type | Description |
|---|---|---|
runIdrequired | string | Workflow run id. |
reason | string | Audit reason. |
voidawait vadyl.workflows.fulfillOrder.cancel(run.id, "customer requested");
undefined
| Name | Type | Description |
|---|---|---|
filter | RunFilter | Filter by status, startedAt range, etc. |
pageSize | number | Items per page. |
cursor | string | Pagination cursor. |
Page<WorkflowRun>const failed = await vadyl.workflows.fulfillOrder.list({ filter: { status: { eq: "failed" } } });{
"data": [{ "id": "res_123", "state": "active" }],
"page": { "size": 50, "next": "cur_1" }
}Agents
Run native agents, recall memory, expose tools through MCP. Capability-aware model routing, typed plan IR, dedup-safe memory.
| Name | Type | Description |
|---|---|---|
promptrequired | string | Natural-language prompt. |
userId | string | Acting user (for memory scoping + audit). |
budget | AgentBudget | { maxTokens, maxToolCalls } overrides. |
stream | boolean | Stream step events as they complete. |
AgentRun{ id, status, plan, steps, tokens, cost }const run = await vadyl.agents.SupportAgent.run({
prompt: "Refund order #12345 due to defect",
userId: session.userId,
budget: { maxTokens: 50000, maxToolCalls: 30 },
});{
"namespace": "agents",
"method": "run",
"id": "res_123",
"state": "active"
}| Name | Type | Description |
|---|---|---|
runIdrequired | string | Agent run id. |
AsyncIterable<AgentStep>for await (const step of vadyl.agents.SupportAgent.stream(run.id)) { console.log(step.kind); }{
"kind": "updated",
"entityId": "res_123",
"changedFields": ["state"]
}agents.memory.recall
agents.<Name>.memory.recall(opts): Fact[]Recall facts from agent memory by predicate.
| Name | Type | Description |
|---|---|---|
kind | string | Fact kind. |
subject | string | Subject id (e.g. user id). |
asOf | string | ISO time — replay-stable temporal recall. |
Fact[]const facts = await vadyl.agents.SupportAgent.memory.recall({ kind: "preference", subject: userId });{
"namespace": "agents",
"method": "memory.recall",
"id": "res_123",
"state": "active"
}agents.memory.record
agents.<Name>.memory.record(fact): FactRecord a new memory fact (immutable; supersedable).
| Name | Type | Description |
|---|---|---|
kindrequired | string | Fact kind. |
subjectrequired | string | Subject id. |
bodyrequired | object | Fact body. |
Factawait vadyl.agents.SupportAgent.memory.record({
kind: "preference", subject: userId, body: { theme: "dark" },
});{
"namespace": "agents",
"method": "memory.record",
"id": "res_123",
"state": "active"
}agents.memory.supersede
agents.<Name>.memory.supersede(factId, body): FactSupersede a prior fact (the prior fact is preserved with ValidUntil set).
| Name | Type | Description |
|---|---|---|
factIdrequired | string | Existing fact id. |
bodyrequired | object | New fact body. |
Factawait vadyl.agents.SupportAgent.memory.supersede(factId, { theme: "system" });{
"namespace": "agents",
"method": "memory.supersede",
"id": "res_123",
"state": "active"
}agents.tokenAccounting.preflight
agents.<Name>.tokenAccounting.preflight(opts): PreflightResultCheck before invoking a model whether the projected spend fits the run budget.
PreflightResult{ allowed, reason?, residual }const ok = await vadyl.agents.SupportAgent.tokenAccounting.preflight({ runId, modelId, estimatedInputTokens: 4000, estimatedOutputTokens: 1500 });{
"namespace": "agents",
"method": "tokenAccounting.preflight",
"id": "res_123",
"state": "active"
}connections.invoke
connections.<name>.<operation>(input, opts?): ResultInvoke a typed governed-connection operation.
| Name | Type | Description |
|---|---|---|
inputrequired | OperationInput | Typed payload — schema depends on the connection definition. |
idempotencyKey | string | Forwarded to upstream as the provider's idempotency header. |
ResultTyped response from the upstream provider.const charge = await ctx.connections.stripe.createCharge({
amount: 2999, currency: "usd", customer: "cus_abc",
idempotencyKey: `charge:${order.id}`,
});{
"namespace": "connections",
"method": "invoke",
"id": "res_123",
"state": "active"
}events.emit
events.emit(kind, payload, opts?): EventReceiptEmit a canonical event. Goes through transactional outbox.
| Name | Type | Description |
|---|---|---|
kindrequired | string | Event type, e.g. 'order.paid'. |
payloadrequired | object | Event body. |
correlationId | string | Trace/correlation id. |
EventReceipt{ id, kind, occurredAt }await ctx.events.emit("order.paid", { orderId: order.id, total: order.total });{
"namespace": "events",
"method": "emit",
"id": "res_123",
"state": "active"
}| Name | Type | Description |
|---|---|---|
filter | EventFilter | Filter by kind, entity, time. |
AsyncIterable<Event>for await (const evt of vadyl.events.tail({ filter: { kind: "order.paid" } })) { ... }{
"kind": "updated",
"entityId": "res_123",
"changedFields": ["state"]
}Actor{ subjectId, subjectType, roles, claims, contextSets, authStrength }const me = await vadyl.identity.me();
{
"namespace": "identity",
"method": "me",
"id": "res_123",
"state": "active"
}Session[]const sessions = await vadyl.identity.sessions.list();
{
"namespace": "identity",
"method": "sessions.list",
"id": "res_123",
"state": "active"
}identity.sessions.revoke
identity.sessions.revoke(sessionId): voidRevoke a session immediately. Distributed coherence is enforced.
| Name | Type | Description |
|---|---|---|
sessionIdrequired | string | Session id to revoke. |
voidawait vadyl.identity.sessions.revoke(sessionId);
undefined
| Name | Type | Description |
|---|---|---|
subjectIdrequired | string | Actor to challenge. |
requireStrengthrequired | AuthStrength | 'mfa-totp' | 'mfa-webauthn' | 'passkey' | 'mfa-sms' | ... |
Challengeconst challenge = await vadyl.identity.challenge.start({ subjectId: userId, requireStrength: "mfa-totp" });{
"namespace": "identity",
"method": "challenge.start",
"id": "res_123",
"state": "active"
}Branching
Manage branches, sandboxes, proposals, deployments — the canonical change-management surface.
branching.branch.create
branching.branch.create(name, opts?): BranchCreate a new branch from main (or another base).
| Name | Type | Description |
|---|---|---|
namerequired | string | Branch name. |
baseBranch | string | Base branch (default: main). |
Branchawait vadyl.branching.branch.create("feature/refunds");{
"namespace": "branching",
"method": "branch.create",
"id": "res_123",
"state": "active"
}branching.sandbox.create
branching.sandbox.create(branch, opts?): SandboxProvision an isolated sandbox database for a branch.
| Name | Type | Description |
|---|---|---|
branchrequired | string | Branch name. |
seedFrom | string | Snapshot id to seed from. |
Sandboxawait vadyl.branching.sandbox.create("feature/refunds", { seedFrom: "snapshot:latest" });{
"namespace": "branching",
"method": "sandbox.create",
"id": "res_123",
"state": "active"
}branching.deploy.preview
branching.deploy.preview(target, opts?): DeployPlanPreview the effect of deploying the current branch to a target.
| Name | Type | Description |
|---|---|---|
targetrequired | string | Environment name. |
DeployPlanSchema diff classification, runtime publication, ramp policy, policy violations.const plan = await vadyl.branching.deploy.preview("production");{
"namespace": "branching",
"method": "deploy.preview",
"id": "res_123",
"state": "active"
}branching.deploy.apply
branching.deploy.apply(target, opts?): DeploymentApply the current branch to an environment with optional ramp.
| Name | Type | Description |
|---|---|---|
targetrequired | string | Environment name. |
ramp | string[] | Ramp percentages — e.g. ['5%', '25%', '50%', '100%']. |
bake | Duration | Bake time per ramp step. |
Deploymentawait vadyl.branching.deploy.apply("production", { ramp: ["5%","25%","50%","100%"], bake: "10m" });{
"namespace": "branching",
"method": "deploy.apply",
"id": "res_123",
"state": "active"
}branching.deploy.rollback
branching.deploy.rollback(target, toVersion): DeploymentRoll a target back to a prior publication version.
| Name | Type | Description |
|---|---|---|
targetrequired | string | Environment name. |
toVersionrequired | string | Publication version, e.g. v412. |
Deploymentawait vadyl.branching.deploy.rollback("production", "v412");{
"namespace": "branching",
"method": "deploy.rollback",
"id": "res_123",
"state": "active"
}Explainability
Project canonical decision-record reasoning. Reads directly from authorities — never log-scraped.
explainability.access
explainability.access(req): AccessExplanationWhy was a read or write allowed/denied?
| Name | Type | Description |
|---|---|---|
entityrequired | string | Entity name. |
operationrequired | string | 'read' | 'create' | 'update' | 'delete'. |
filter | Filter | Optional row filter to evaluate against. |
asActor | string | Actor to evaluate as (defaults to caller). |
AccessExplanation{ decision, reasonCode, evaluatedFilter, fieldMasks }const why = await vadyl.explainability.access({ entity: "Order", operation: "read", asActor: "user:abc" });{
"namespace": "explainability",
"method": "access",
"id": "res_123",
"state": "active"
}explainability.readPlan
explainability.readPlan(req): ReadPlanExplanationShow the AST plan, cache decision, chosen provider for a read.
ReadPlanExplanationconst plan = await vadyl.explainability.readPlan({ entity: "Order", filter: { status: { eq: "paid" } } });{
"namespace": "explainability",
"method": "readPlan",
"id": "res_123",
"state": "active"
}explainability.projectRuntime
explainability.projectRuntime(): ProjectRuntimeExplanationShow why this publication is serving traffic.
ProjectRuntimeExplanationconst exp = await vadyl.explainability.projectRuntime();
{
"namespace": "explainability",
"method": "projectRuntime",
"id": "res_123",
"state": "active"
}Schema
Metadata, preview, diff, validation, snapshots, migration journals, transitions, and family-aware evolution.
schema.metadata
schema.metadata(opts?): SchemaMetadataRead every entity, field, relation, index, access mask, trigger, transition state, and generated route shape.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
SchemaMetadataSchemaMetadata with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.schema.metadata({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "schema",
"method": "metadata",
"id": "res_123",
"state": "active"
}schema.preview
schema.preview(change): SchemaPreviewClassify schema changes before applying them. Returns transition strategy, risk, provider capability notes, and reason codes.
| Name | Type | Description |
|---|---|---|
changerequired | SchemaChange | Entity/field/relation/index/template/evolution change set. |
SchemaPreviewSchemaPreview with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.schema.preview({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "schema",
"method": "preview",
"id": "res_123",
"state": "active"
}schema.diff
schema.diff(target): SchemaDiffDiff the current branch or publication against another branch, environment, snapshot, or template.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
SchemaDiffSchemaDiff with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.schema.diff({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "schema",
"method": "diff",
"id": "res_123",
"state": "active"
}schema.validate
schema.validate(opts?): ValidationReportValidate schema invariants, capability requirements, access references, relation cycles, and projection compatibility.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
ValidationReportValidationReport with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.schema.validate({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "schema",
"method": "validate",
"id": "res_123",
"state": "active"
}schema.snapshot.create
schema.snapshot.create(opts?): SnapshotCreate an immutable project schema snapshot.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
SnapshotSnapshot with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.schema.snapshot.create({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "schema",
"method": "snapshot.create",
"id": "res_123",
"state": "active"
}schema.transition.execute
schema.transition.execute(id, opts?): TransitionRunExecute a planned transition with checkpoint, backfill, compatibility window, rollback, and audit evidence.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
TransitionRunTransitionRun with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.schema.transition.execute({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "schema",
"method": "transition.execute",
"id": "res_123",
"state": "active"
}Storage
Object and asset storage: upload, download, list, metadata, presign, copy, move, delete, provider bindings.
storage.upload
storage.upload(path, body, opts?): StoredObjectUpload an object with content type, checksum, retention, and provider routing.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
StoredObjectStoredObject with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.storage.upload({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "storage",
"method": "upload",
"id": "res_123",
"state": "active"
}storage.download
storage.download(path, opts?): BlobDownload an object or stream it through the runtime transport.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
BlobBlob with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.storage.download({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "storage",
"method": "download",
"id": "res_123",
"state": "active"
}storage.presign
storage.presign(path, opts): SignedUrlCreate a signed upload/download URL with expiry, method, content policy, and audit reason.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
SignedUrlSignedUrl with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.storage.presign({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "storage",
"method": "presign",
"id": "res_123",
"state": "active"
}storage.list
storage.list(opts?): Page<StoredObject>List objects under a prefix with cursor pagination.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
Page<StoredObject>A cursor-paged result with data and page metadata.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.storage.list({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"data": [{ "id": "res_123", "state": "active" }],
"page": { "size": 50, "next": "cur_1" }
}storage.copy
storage.copy(from, to, opts?): StoredObjectCopy an object without exposing provider clients.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
StoredObjectStoredObject with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.storage.copy({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "storage",
"method": "copy",
"id": "res_123",
"state": "active"
}storage.delete
storage.delete(path): voidDelete an object or fail closed when retention or access policy blocks it.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
voidNo content on success.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.storage.delete({
project: "billing",
input: { id: "res_123" },
explain: true,
});undefined
Webhooks
Outbound endpoints, inbound receivers, signatures, delivery attempts, replay, diagnostics, and secret rotation.
webhooks.endpoints.list
webhooks.endpoints.list(): WebhookEndpoint[]List outbound endpoints and their typed subscription filters.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
WebhookEndpoint[]A typed array plus correlation metadata when returned over wire protocols.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.webhooks.endpoints.list({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "webhooks",
"method": "endpoints.list",
"id": "res_123",
"state": "active"
}webhooks.endpoints.create
webhooks.endpoints.create(input): WebhookEndpointCreate a signed outbound endpoint with typed SubscriptionFilterAst.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
WebhookEndpointWebhookEndpoint with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.webhooks.endpoints.create({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "webhooks",
"method": "endpoints.create",
"id": "res_123",
"state": "active"
}webhooks.deliveries.list
webhooks.deliveries.list(endpointId): WebhookDelivery[]Inspect delivery attempts, status machine state, retry schedule, and response snapshots.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
WebhookDelivery[]A typed array plus correlation metadata when returned over wire protocols.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.webhooks.deliveries.list({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "webhooks",
"method": "deliveries.list",
"id": "res_123",
"state": "active"
}webhooks.deliveries.replay
webhooks.deliveries.replay(deliveryId): ReplayReceiptReplay a delivery with the same canonical payload and a new attempt id.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
ReplayReceiptReplayReceipt with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.webhooks.deliveries.replay({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "webhooks",
"method": "deliveries.replay",
"id": "res_123",
"state": "active"
}webhooks.receivers.create
webhooks.receivers.create(input): WebhookReceiverCreate an inbound receiver key, signature policy, replay window, and event mapping.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
WebhookReceiverWebhookReceiver with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.webhooks.receivers.create({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "webhooks",
"method": "receivers.create",
"id": "res_123",
"state": "active"
}webhooks.verify
webhooks.verify(rawBody, headers, secret): VerificationResultVerify inbound webhook bytes exactly as Vadyl does before dispatch.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
VerificationResultVerificationResult with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.webhooks.verify({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "webhooks",
"method": "verify",
"id": "res_123",
"state": "active"
}Realtime
WebSocket, SSE, entity subscriptions, channel subscriptions, field-name-only change events, reconnect, and cursor resume.
realtime.subscribeEntity
realtime.subscribeEntity(entity, opts): Subscription<ChangeEvent>Subscribe to entity changes with the same typed filter AST as reads.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
Subscription<ChangeEvent>Subscription<ChangeEvent> with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.realtime.subscribeEntity({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"kind": "updated",
"entityId": "res_123",
"changedFields": ["state"]
}realtime.subscribeChannel
realtime.subscribeChannel(channel, opts): Subscription<Message>Subscribe to a project channel or broadcast topic.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
Subscription<Message>Subscription<Message> with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.realtime.subscribeChannel({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"kind": "updated",
"entityId": "res_123",
"changedFields": ["state"]
}realtime.publish
realtime.publish(channel, message): PublishReceiptPublish a message through governed realtime fanout.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
PublishReceiptPublishReceipt with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.realtime.publish({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "realtime",
"method": "publish",
"id": "res_123",
"state": "active"
}realtime.resume
realtime.resume(cursor): Subscription<Event>Resume a dropped subscription from a server-issued cursor.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
Subscription<Event>Subscription<Event> with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.realtime.resume({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "realtime",
"method": "resume",
"id": "res_123",
"state": "active"
}Analytics
Catalog, query validation/explain/execute, models, metrics, perspectives, reports, dashboards, materializations, lineage.
analytics.catalog
analytics.catalog(): AnalyticsCatalogRead subjects, dimensions, measures, metrics, comparisons, and privacy annotations.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
AnalyticsCatalogAnalyticsCatalog with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.analytics.catalog({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "analytics",
"method": "catalog",
"id": "res_123",
"state": "active"
}analytics.query.validate
analytics.query.validate(query): QueryValidationValidate units, dimensions, measures, privacy thresholds, export class, and access grants.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
QueryValidationQueryValidation with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.analytics.query.validate({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "analytics",
"method": "query.validate",
"id": "res_123",
"state": "active"
}analytics.query.explain
analytics.query.explain(query): QueryExplanationExplain planner choices, UMG nodes, materialization use, lineage, and suppression.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
QueryExplanationQueryExplanation with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.analytics.query.explain({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "analytics",
"method": "query.explain",
"id": "res_123",
"state": "active"
}analytics.query.execute
analytics.query.execute(query): QueryResultExecute a canonical analytics query.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
QueryResultQueryResult with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.analytics.query.execute({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "analytics",
"method": "query.execute",
"id": "res_123",
"state": "active"
}analytics.reports.run
analytics.reports.run(reportId): ReportRunRun a report and return lineage plus materialization evidence.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
ReportRunReportRun with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.analytics.reports.run({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "analytics",
"method": "reports.run",
"id": "res_123",
"state": "active"
}analytics.materializations.refresh
analytics.materializations.refresh(id): MaterializationRunRefresh a materialization through scheduler-aware runtime dispatch.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
MaterializationRunMaterializationRun with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.analytics.materializations.refresh({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "analytics",
"method": "materializations.refresh",
"id": "res_123",
"state": "active"
}Automation
Compile definitions, manage runs, approvals, attempts, signals, compensation, and synthesized durable workflows.
automation.compile
automation.compile(definition): AutomationCompileResultCompile and type-check a definition against the Plane Capability Graph.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
AutomationCompileResultAutomationCompileResult with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.automation.compile({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "automation",
"method": "compile",
"id": "res_123",
"state": "active"
}automation.definitions.create
automation.definitions.create(input): AutomationDefinitionCreate a versioned automation definition.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
AutomationDefinitionAutomationDefinition with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.automation.definitions.create({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "automation",
"method": "definitions.create",
"id": "res_123",
"state": "active"
}automation.runs.start
automation.runs.start(definitionId, input): AutomationRunStart an automation run with durable state.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
AutomationRunAutomationRun with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.automation.runs.start({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "automation",
"method": "runs.start",
"id": "res_123",
"state": "active"
}automation.runs.signal
automation.runs.signal(runId, signal): AutomationRunResume a waiting run with a typed signal.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
AutomationRunAutomationRun with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.automation.runs.signal({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "automation",
"method": "runs.signal",
"id": "res_123",
"state": "active"
}automation.approvals.approve
automation.approvals.approve(taskId, input): ApprovalReceiptApprove a human-in-the-loop task.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
ApprovalReceiptApprovalReceipt with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.automation.approvals.approve({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "automation",
"method": "approvals.approve",
"id": "res_123",
"state": "active"
}automation.attempts.retry
automation.attempts.retry(attemptId): AutomationAttemptRetry a failed attempt while preserving run state.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
AutomationAttemptAutomationAttempt with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.automation.attempts.retry({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "automation",
"method": "attempts.retry",
"id": "res_123",
"state": "active"
}MCP
Token issuance, protected-resource metadata, tool/resource/prompt descriptors, invocation, and agent-safe projection.
mcp.metadata
mcp.metadata(): McpProtectedResourceMetadataRead OAuth protected resource metadata and supported scopes.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
McpProtectedResourceMetadataMcpProtectedResourceMetadata with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.mcp.metadata({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "mcp",
"method": "metadata",
"id": "res_123",
"state": "active"
}mcp.tools.list
mcp.tools.list(opts?): McpTool[]List only the tools allowed by token grants, project publication, and exposure bindings.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
McpTool[]A typed array plus correlation metadata when returned over wire protocols.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.mcp.tools.list({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "mcp",
"method": "tools.list",
"id": "res_123",
"state": "active"
}mcp.tools.call
mcp.tools.call(name, args): McpCallResultCall an MCP tool through the canonical operation dispatcher.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
McpCallResultMcpCallResult with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.mcp.tools.call({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "mcp",
"method": "tools.call",
"id": "res_123",
"state": "active"
}mcp.resources.list
mcp.resources.list(opts?): McpResource[]List MCP resources such as schema, PCG nodes, logs, memory, and knowledge documents.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
McpResource[]A typed array plus correlation metadata when returned over wire protocols.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.mcp.resources.list({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "mcp",
"method": "resources.list",
"id": "res_123",
"state": "active"
}mcp.resources.read
mcp.resources.read(uri): McpResourceContentRead an MCP resource with access checks and redaction.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
McpResourceContentMcpResourceContent with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.mcp.resources.read({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "mcp",
"method": "resources.read",
"id": "res_123",
"state": "active"
}mcp.prompts.get
mcp.prompts.get(name, args?): McpPromptResolve a prompt template derived from project state or an installed surface.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
McpPromptMcpPrompt with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.mcp.prompts.get({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "mcp",
"method": "prompts.get",
"id": "res_123",
"state": "active"
}Project capability surfaces
Publish, validate, describe, install, upgrade, grant, consume, invoke, explain, suspend, resume, and revoke project capability surfaces.
surfaces.publish
surfaces.publish(manifest): PublishedSurfacePublish a signed ProjectCapabilitySurfaceManifest from the provider project.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
PublishedSurfacePublishedSurface with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.surfaces.publish({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "surfaces",
"method": "publish",
"id": "res_123",
"state": "active"
}surfaces.validateManifest
surfaces.validateManifest(manifest): SurfaceValidationReportValidate slices, exposure bindings, grants, PCG contribution, SDK/CLI/MCP projection, and lifecycle policy.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
SurfaceValidationReportSurfaceValidationReport with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.surfaces.validateManifest({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "surfaces",
"method": "validateManifest",
"id": "res_123",
"state": "active"
}surfaces.describe
surfaces.describe(surface): SurfaceDescriptorRead the canonical descriptor for a published or installed project capability surface.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
SurfaceDescriptorSurfaceDescriptor with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.surfaces.describe({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "surfaces",
"method": "describe",
"id": "res_123",
"state": "active"
}surfaces.listPublished
surfaces.listPublished(filter?): Page<PublishedSurface>List published surfaces visible to the current project.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
Page<PublishedSurface>A cursor-paged result with data and page metadata.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.surfaces.listPublished({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"data": [{ "id": "res_123", "state": "active" }],
"page": { "size": 50, "next": "cur_1" }
}surfaces.install
surfaces.install(request): SurfaceInstallationInstall a provider surface into the current consumer project with grant narrowing and billing attribution.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
SurfaceInstallationSurfaceInstallation with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.surfaces.install({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "surfaces",
"method": "install",
"id": "res_123",
"state": "active"
}surfaces.upgrade
surfaces.upgrade(installationId, request): SurfaceInstallationUpgrade an installation to another provider version after compatibility checks.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
SurfaceInstallationSurfaceInstallation with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.surfaces.upgrade({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "surfaces",
"method": "upgrade",
"id": "res_123",
"state": "active"
}surfaces.grants.update
surfaces.grants.update(installationId, grants): SurfaceInstallationGrant[]Replace or narrow grants for an installed surface.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
SurfaceInstallationGrant[]A typed array plus correlation metadata when returned over wire protocols.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.surfaces.grants.update({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "surfaces",
"method": "grants.update",
"id": "res_123",
"state": "active"
}surfaces.consumption.query
surfaces.consumption.query(filter): Page<ProjectCapabilityConsumptionDescriptor>Query append-only usage evidence by provider, consumer, surface, operation, protocol, actor, or billing scope.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
Page<ProjectCapabilityConsumptionDescriptor>A cursor-paged result with data and page metadata.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.surfaces.consumption.query({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"data": [{ "id": "res_123", "state": "active" }],
"page": { "size": 50, "next": "cur_1" }
}surfaces.invoke
surfaces.invoke(surface, operation, input): SurfaceInvocationResultInvoke an installed operation through the same dispatcher used by REST, SDK, CLI, and MCP.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
SurfaceInvocationResultSurfaceInvocationResult with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.surfaces.invoke({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "surfaces",
"method": "invoke",
"id": "res_123",
"state": "active"
}surfaces.explain
surfaces.explain(subject): SurfaceExplanationExplain publish, install, grant, projection, invocation, or consumption decisions from canonical descriptors.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
SurfaceExplanationSurfaceExplanation with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.surfaces.explain({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "surfaces",
"method": "explain",
"id": "res_123",
"state": "active"
}Observability
Audit entries, operational trails, debug traces, metrics, spans, diagnostics, and correlation search.
observability.audit.search
observability.audit.search(filter): Page<AuditEntry>Search tamper-resistant audit entries.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
Page<AuditEntry>A cursor-paged result with data and page metadata.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.observability.audit.search({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"data": [{ "id": "res_123", "state": "active" }],
"page": { "size": 50, "next": "cur_1" }
}observability.operational.search
observability.operational.search(filter): Page<OperationalEntry>Search operational events, retries, route choices, provider calls, and dispatch state.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
Page<OperationalEntry>A cursor-paged result with data and page metadata.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.observability.operational.search({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"data": [{ "id": "res_123", "state": "active" }],
"page": { "size": 50, "next": "cur_1" }
}observability.traces.get
observability.traces.get(traceId): TraceRead a trace with spans, redaction markers, and correlated reason codes.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
TraceTrace with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.observability.traces.get({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "observability",
"method": "traces.get",
"id": "res_123",
"state": "active"
}observability.diagnostics
observability.diagnostics(scope): DiagnosticsReportRun health and coherence diagnostics for a project surface.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
DiagnosticsReportDiagnosticsReport with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.observability.diagnostics({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "observability",
"method": "diagnostics",
"id": "res_123",
"state": "active"
}Platform
Provider capabilities, runtime fabric scaling, distribution, version governance, data portability, surface descriptors, and health.
platform.providers.list
platform.providers.list(): ProviderDescriptor[]List registered providers, capability declarations, and conformance state.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
ProviderDescriptor[]A typed array plus correlation metadata when returned over wire protocols.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.platform.providers.list({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "platform",
"method": "providers.list",
"id": "res_123",
"state": "active"
}platform.runtimeFabric.plan
platform.runtimeFabric.plan(input): RuntimeFabricPlanPlan runtime topology realization before applying.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
RuntimeFabricPlanRuntimeFabricPlan with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.platform.runtimeFabric.plan({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "platform",
"method": "runtimeFabric.plan",
"id": "res_123",
"state": "active"
}platform.runtimeFabric.targets
platform.runtimeFabric.targets(input): RuntimeScaleTarget[]List scale targets by project, environment, surface, and scale group.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
RuntimeScaleTarget[]A typed array plus correlation metadata when returned over wire protocols.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.platform.runtimeFabric.targets({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "platform",
"method": "runtimeFabric.targets",
"id": "res_123",
"state": "active"
}platform.runtimeFabric.setDesiredCount
platform.runtimeFabric.setDesiredCount(input): RuntimeScaleMutationSet desired count for a manual runtime scale target.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
RuntimeScaleMutationRuntimeScaleMutation with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.platform.runtimeFabric.setDesiredCount({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "platform",
"method": "runtimeFabric.setDesiredCount",
"id": "res_123",
"state": "active"
}platform.runtimeFabric.setScalingPolicy
platform.runtimeFabric.setScalingPolicy(input): RuntimeScaleMutationUpdate a surface scaling policy with capability and governance checks.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
RuntimeScaleMutationRuntimeScaleMutation with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.platform.runtimeFabric.setScalingPolicy({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "platform",
"method": "runtimeFabric.setScalingPolicy",
"id": "res_123",
"state": "active"
}platform.runtimeFabric.setResources
platform.runtimeFabric.setResources(input): RuntimeScaleMutationUpdate vendor-neutral vertical resource policy for a runtime surface.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
RuntimeScaleMutationRuntimeScaleMutation with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.platform.runtimeFabric.setResources({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "platform",
"method": "runtimeFabric.setResources",
"id": "res_123",
"state": "active"
}platform.runtimeFabric.setIngress
platform.runtimeFabric.setIngress(input): RuntimeScaleMutationUpdate canonical ingress and load-balancing policy for a runtime surface.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
RuntimeScaleMutationRuntimeScaleMutation with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.platform.runtimeFabric.setIngress({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "platform",
"method": "runtimeFabric.setIngress",
"id": "res_123",
"state": "active"
}platform.runtimeFabric.explainAutoscale
platform.runtimeFabric.explainAutoscale(input): RuntimeAutoscaleExplanationExplain the latest autoscale decision, skipped decision, or capability rejection.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
RuntimeAutoscaleExplanationRuntimeAutoscaleExplanation with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.platform.runtimeFabric.explainAutoscale({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "platform",
"method": "runtimeFabric.explainAutoscale",
"id": "res_123",
"state": "active"
}platform.distribution.delivery
platform.distribution.delivery(input): DeliveryDescriptorResolve distribution-backed asset delivery and cache policy.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
DeliveryDescriptorDeliveryDescriptor with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.platform.distribution.delivery({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "platform",
"method": "distribution.delivery",
"id": "res_123",
"state": "active"
}platform.version.upgradePlan
platform.version.upgradePlan(input): UpgradePlanPlan platform, foundation, contract, SDK, and publication upgrades.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
UpgradePlanUpgradePlan with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.platform.version.upgradePlan({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "platform",
"method": "version.upgradePlan",
"id": "res_123",
"state": "active"
}platform.surface.describe
platform.surface(name): SurfaceDescriptorRead the canonical descriptor for any published or installed surface.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
SurfaceDescriptorSurfaceDescriptor with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.platform.surface.describe({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "platform",
"method": "surface.describe",
"id": "res_123",
"state": "active"
}platform.health
platform.health(scope?): HealthReportRead liveness, readiness, dependency health, and coherence status.
| Name | Type | Description |
|---|---|---|
opts | object | Operation-specific input. See the request example for the canonical JSON shape. |
HealthReportHealthReport with descriptor hash, correlation id, and reason-code metadata when applicable.| Code | Description |
|---|---|
ACCESS_DENIED | Required project grant, auth strength, row policy, or field mask denied the operation. |
VALIDATION_FAILED | Input does not match the compiled contract or references an unknown descriptor. |
QUOTA_EXCEEDED | A hard quota, reservation, or token budget refused the call. |
SURFACE_UNAVAILABLE | The bound provider, runtime unit, publication, or installation is unhealthy. |
const result = await vadyl.platform.health({
project: "billing",
input: { id: "res_123" },
explain: true,
});{
"namespace": "platform",
"method": "health",
"id": "res_123",
"state": "active"
}