pub struct X402BundleResponse {
pub description: Option<String>,
pub name: String,
pub resources: Vec<X402DiscoveryResource>,
pub slug: X402BundleResponseSlug,
}Expand description
Response containing a single curated bundle’s metadata and its ordered member resources. Members are the bundle’s curated endpoints joined to their full discovery metadata, in bundle-defined order. Unlike x402 protocol discovery and search responses, bundle responses omit x402Version because bundles are CDP-curated metadata, not protocol negotiation payloads.
JSON schema
{
"description": "Response containing a single curated bundle's metadata and its ordered member resources. Members are the bundle's curated endpoints joined to their full discovery metadata, in bundle-defined order. Unlike x402 protocol discovery and search responses, bundle responses omit `x402Version` because bundles are CDP-curated metadata, not protocol negotiation payloads.",
"type": "object",
"allOf": [
{
"$ref": "#/components/schemas/x402Bundle"
},
{
"type": "object",
"required": [
"resources"
],
"properties": {
"resources": {
"description": "The bundle's member resources in bundle-defined order. Each entry is the full discovery metadata for a curated endpoint belonging to this bundle. Bundle membership is capped at 50 resources.",
"examples": [
[
{
"curated": true,
"description": "Real-time token prices.",
"resource": "https://api.example.com/prices",
"skillUrl": "https://skills.cdp.coinbase.com/prices-api/SKILL.md",
"type": "http",
"x402Version": 2
}
]
],
"type": "array",
"items": {
"$ref": "#/components/schemas/x402DiscoveryResource"
},
"maxItems": 50
}
}
}
]
}Fields§
§description: Option<String>A human-readable description of the workflow the bundle covers.
name: StringThe human-readable display name of the bundle.
resources: Vec<X402DiscoveryResource>The bundle’s member resources in bundle-defined order. Each entry is the full discovery metadata for a curated endpoint belonging to this bundle. Bundle membership is capped at 50 resources.
slug: X402BundleResponseSlugThe stable, unique, URL-safe identifier for the bundle. Used as the path segment in GET /v2/x402/discovery/bundles/{bundleSlug}.