Skip to main content

Crate sylphx

Crate sylphx 

Source
Expand description

The Sylphx Rust SDK: one API, one key, one namespace per service.

let sx = sylphx::Client::from_env()?; // SYLPHX_API_KEY
let me = sx.access().whoami(Default::default()).await?;
println!("{} in {}", me.principal, me.org);

Generated from the Sylphx schema registry (contracts/) by sylphx-gen; the wire is https://api.sylphx.com/v1/openapi.json.

Re-exports§

pub use runtime::Client;
pub use runtime::Error;
pub use runtime::HttpRequest;
pub use runtime::HttpResponse;
pub use runtime::MethodSpec;
pub use runtime::Operation;
pub use runtime::Transport;
pub use runtime::HttpTransport;
pub use runtime::HttpTransportBuilder;

Modules§

access
sylphx.access.v1.
agents
sylphx.agents.v1.
ai
sylphx.ai.v1.
analytics
sylphx.analytics.v1.
artifacts
sylphx.artifacts.v1.
assets
sylphx.assets.v1.
auth
sylphx.auth.v1.
billing
sylphx.billing.v1.
broker
sylphx.broker.v1.
build
sylphx.build.v1.
common
sylphx.common.v1.
config
sylphx.config.v1.
connections
sylphx.connections.v1.
data
sylphx.data.v1.
entitlement
sylphx.entitlement.v1.
events
sylphx.events.v1.
flags
Typed app-facing flags. Keep a handle per environment and subject to retain last evaluated values while the API is unreachable.
hosting
sylphx.hosting.v1.
ids
Identifiers: the TypeID helpers of the Sylphx SDK (owner standards/identifiers.md).
keys
sylphx.keys.v1.
knowledge
sylphx.knowledge.v1.
localization
sylphx.localization.v1.
methods
Every method’s HTTP binding and policy, by id.
money
sylphx.money.v1.
network
sylphx.network.v1.
notify
sylphx.notify.v1.
observability
sylphx.observability.v1.
realtime
sylphx.realtime.v1.
release
sylphx.release.v1.
runners
sylphx.runners.v1.
runtime
Runtime of the generated Rust SDK (spec §8.3).
sandboxes
sylphx.sandboxes.v1.
secrets
sylphx.secrets.v1.
workflows
sylphx.workflows.v1.