runx Hosted API
v0.1.0Governed hosted API for run submission, connect, grants, approvals, and inspection.
https://api.runx.aiHosted API surfacehttps://connect.runx.aiHosted Connect surfacehttps://runx.aiHosted app surfaceHosted API contract for run submission, connect, grants, approvals, webhook ingress, and inspection.
Authentication
BearerAuthhttpScheme: bearer (token)
BuyerKeyapiKeyThe Ed25519 buyer key that owns a purchase, with the request's signature and time in X-Runx-Buyer-Signature and X-Runx-Buyer-Issued-At.
API Key: X-Runx-Buyer-Key in header
system
Health check
Response
Health status.
curl -X GET 'https://api.runx.ai/healthz'const response = await fetch('https://api.runx.ai/healthz', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/healthz', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/healthz')
data = response.json(){
"status": "string"
}Readiness check
Response
Readiness status.
Dependencies are not ready.
curl -X GET 'https://api.runx.ai/readyz'const response = await fetch('https://api.runx.ai/readyz', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/readyz', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/readyz')
data = response.json(){
"status": "ok",
"checks": {}
}{
"status": "not_ready",
"error": "string",
"checks": {}
}OpenAPI document
Response
OpenAPI document.
curl -X GET 'https://api.runx.ai/openapi.json'const response = await fetch('https://api.runx.ai/openapi.json', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/openapi.json', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/openapi.json')
data = response.json(){}Inspect hosted API request metrics
Response
Hosted API request metrics.
Unauthorized.
Forbidden.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/system/metrics'const response = await fetch('https://api.runx.ai/v1/system/metrics', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/system/metrics', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/system/metrics')
data = response.json(){
"status": "success",
"metrics": {
"started_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z",
"in_flight_requests": 0,
"requests_total": 0,
"error_responses_total": 0,
"client_error_responses_total": 0,
"server_error_responses_total": 0,
"latency_ms": {
"total": 0,
"average": 0,
"max": 0,
"buckets": {
"le_50ms": 0,
"le_100ms": 0,
"le_250ms": 0,
"le_500ms": 0,
"le_1000ms": 0,
"gt_1000ms": 0
}
},
"status_counts": {},
"routes": [
{
"method": "string",
"route": "string",
"requests_total": 0,
"error_responses_total": 0,
"client_error_responses_total": 0,
"server_error_responses_total": 0,
"latency_ms": {
"total": 0,
"average": 0,
"max": 0,
"buckets": {
"le_50ms": 0,
"le_100ms": 0,
"le_250ms": 0,
"le_500ms": 0,
"le_1000ms": 0,
"gt_1000ms": 0
}
},
"status_counts": {}
}
]
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}public
Inspect public system status
Response
Public system status.
Public system status degraded.
curl -X GET 'https://api.runx.ai/v1/system/status'const response = await fetch('https://api.runx.ai/v1/system/status', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/system/status', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/system/status')
data = response.json(){
"overall": "online",
"checked_at": "string",
"summary": "string",
"checks": [
{
"id": "string",
"label": "string",
"status": "ok",
"detail": "string"
}
]
}{
"overall": "online",
"checked_at": "string",
"summary": "string",
"checks": [
{
"id": "string",
"label": "string",
"status": "ok",
"detail": "string"
}
]
}List the public live feed
Parameters
limitstringqueryMaximum number of feed items to return.
Response
Public live feed.
curl -X GET 'https://api.runx.ai/v1/feed'const response = await fetch('https://api.runx.ai/v1/feed', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/feed', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/feed')
data = response.json(){
"status": "success",
"as_of": "string",
"feed": [
{
"id": "string",
"source": "runx-hosted",
"status": "string",
"title": "string",
"target": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"run_id": "string",
"receipt_id": "string",
"skill_id": "string",
"actions_count": 0,
"url": "string",
"principal": "string",
"principal_handle": "string",
"signer_trust": "verified",
"scopes": [
"string"
],
"parent_receipt_id": "string",
"graph_depth": 0,
"metadata": {}
}
]
}List published connectors, one page at a time, with public readiness per placement
Parameters
qstringqueryText matched against connector name, display name, description and category, ignoring case (at most 100 characters).
categorystringqueryCategory id.
placementstringqueryOnly connectors whose placement is ready: hosted or local.
publisherstringqueryPublisher namespace.
limitstringqueryPage size, 1 to 100 (default 48).
cursorstringqueryThe next_cursor of the previous page.
Response
Connector catalog.
Invalid query.
Connector catalog unavailable.
curl -X GET 'https://api.runx.ai/v1/connectors'const response = await fetch('https://api.runx.ai/v1/connectors', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/connectors')
data = response.json(){
"status": "success",
"query": {
"q": "string",
"category": "string",
"trust_tier": "first_party",
"placement": "hosted",
"publisher": "string"
},
"catalog_total": 0,
"total": 0,
"facets": {
"categories": [
{
"count": 0,
"id": "string",
"label": "string"
}
],
"placements": [
{
"placement": "hosted",
"count": 0
}
]
},
"connectors": [
{
"connector": "string",
"publisher": {
"id": "string",
"slug": "string",
"handle": "string",
"display_name": "string",
"kind": "org",
"verified": true,
"image": {
"digest": "string",
"url": "string"
},
"url": "string"
},
"id": "string",
"version": "string",
"name": "string",
"description": "string",
"category": {
"id": "string",
"label": "string"
},
"runtime_capability": true,
"trust_tier": "first_party",
"auth_methods": [
"delegated"
],
"placements": [
{
"placement": "hosted",
"auth": [
"delegated"
],
"ready": true,
"ready_operations": 0,
"reasons": [
{
"check": "requirement",
"outcome": "pass",
"detail": "string"
}
]
}
],
"manifest_digest": "string",
"content_digest": "string",
"connector_digest": "string",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
}
}
],
"next_cursor": "string"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Publish a connector to the hosted registry
Publishes the files runx registry package emits under the publisher that holds the connector name's namespace, for whom the signed-in principal must be authorized. The registry reads them with the native runtime and refuses any other files; a version is immutable.
Body
Connector package.
versionstringfilesArray<PublicPackageFile>requiredResponse
These files were already published under this version.
Published connector version.
Invalid connector package.
Unauthorized.
Missing connectors:write, a namespace the principal may not publish in, or a name that does not fit its namespace.
The version exists with other files.
The package is too large.
Hosted registry unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/connectors' \
-H 'Content-Type: application/json' \
-d '{
"version": "string",
"files": [
{
"path": "string",
"content": "string"
}
]
}'const response = await fetch('https://api.runx.ai/v1/connectors', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"version": "string",
"files": [
{
"path": "string",
"content": "string"
}
]
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"version": "string",
"files": [
{
"path": "string",
"content": "string"
}
]
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"version": "string",
"files": [
{
"path": "string",
"content": "string"
}
]
}
response = requests.post('https://api.runx.ai/v1/connectors', json=payload)
data = response.json(){
"version": "string",
"files": [
{
"path": "string",
"content": "string"
}
]
}{
"status": "success",
"publish": {
"status": "published",
"connector": "string",
"version": "string",
"content_digest": "string",
"manifest_digest": "string",
"connector_digest": "string",
"trust_tier": "first_party",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"public_url": "string"
}
}{
"status": "success",
"publish": {
"status": "published",
"connector": "string",
"version": "string",
"content_digest": "string",
"manifest_digest": "string",
"connector_digest": "string",
"trust_tier": "first_party",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"public_url": "string"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Inspect one published connector at its current version: its public manifest, digests, readiness and setup
Parameters
namespacestringrequiredpathThe connector's namespace: its whole name when it has one segment.
Response
Connector detail.
Connector not found.
Connector catalog unavailable.
curl -X GET 'https://api.runx.ai/v1/connectors/{namespace}'const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/connectors/{namespace}')
data = response.json(){
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Inspect one published connector at its current version: its public manifest, digests, readiness and setup
Parameters
namespacestringrequiredpathThe connector's namespace: its whole name when it has one segment.
surfacestringrequiredpathThe surface under the namespace.
Response
Connector detail.
Connector not found.
Connector catalog unavailable.
curl -X GET 'https://api.runx.ai/v1/connectors/{namespace}/{surface}'const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/{surface}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/{surface}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/connectors/{namespace}/{surface}')
data = response.json(){
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}List a connector's published versions
Newest publication first, with a version tie-break; a withdrawn version is not listed. A runx asked for a connector by name installs the newest of these it reads. The cursor is bound to this connector.
Parameters
namespacestringrequiredpathThe connector's namespace: its whole name when it has one segment.
limitstringqueryPage size: default 20, at most 100.
cursorstringqueryOpaque cursor from the previous page's next_cursor.
Response
Connector version history.
Invalid limit or cursor.
Connector not found.
Connector catalog unavailable.
curl -X GET 'https://api.runx.ai/v1/connectors/{namespace}/versions'const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/versions', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/versions', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/connectors/{namespace}/versions')
data = response.json(){
"connector": "string",
"versions": [
{
"version": "string",
"created_at": "string",
"content_digest": "string",
"trust_tier": "first_party"
}
],
"has_more": true,
"next_cursor": "string",
"status": "success"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}List a connector's published versions
Newest publication first, with a version tie-break; a withdrawn version is not listed. A runx asked for a connector by name installs the newest of these it reads. The cursor is bound to this connector.
Parameters
namespacestringrequiredpathThe connector's namespace: its whole name when it has one segment.
surfacestringrequiredpathThe surface under the namespace.
limitstringqueryPage size: default 20, at most 100.
cursorstringqueryOpaque cursor from the previous page's next_cursor.
Response
Connector version history.
Invalid limit or cursor.
Connector not found.
Connector catalog unavailable.
curl -X GET 'https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions'const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions')
data = response.json(){
"connector": "string",
"versions": [
{
"version": "string",
"created_at": "string",
"content_digest": "string",
"trust_tier": "first_party"
}
],
"has_more": true,
"next_cursor": "string",
"status": "success"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Inspect one exact published connector version
Parameters
namespacestringrequiredpathThe connector's namespace: its whole name when it has one segment.
versionstringrequiredpathRegistry version label.
Response
Connector version detail.
Connector version not found.
Connector catalog unavailable.
curl -X GET 'https://api.runx.ai/v1/connectors/{namespace}/versions/{version}'const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/versions/{version}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/versions/{version}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/connectors/{namespace}/versions/{version}')
data = response.json(){
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Inspect one exact published connector version
Parameters
namespacestringrequiredpathThe connector's namespace: its whole name when it has one segment.
surfacestringrequiredpathThe surface under the namespace.
versionstringrequiredpathRegistry version label.
Response
Connector version detail.
Connector version not found.
Connector catalog unavailable.
curl -X GET 'https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}'const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}')
data = response.json(){
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Serve a mark at the SHA-256 of its bytes
A taxonomy category's mark, a skill or connector package's mark while a public version ships it, or a publisher's image while the publisher shows it. Served inert (no sniffing, scripts, styles or navigation) and immutable.
Parameters
filestringrequiredpath<sha256>.svg.
Response
The mark.
Nothing public shows that mark.
curl -X GET 'https://api.runx.ai/v1/marks/{file}'const response = await fetch('https://api.runx.ai/v1/marks/{file}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/marks/{file}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/marks/{file}')
data = response.json()string{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Read one connector version's files and signed manifest, as install verifies them
A withdrawn version answers with its stored files, signed over its preserved name, and withdrawn_at; nothing installs it.
Parameters
namespacestringrequiredpathThe connector's namespace: its whole name when it has one segment.
versionstringrequiredpathRegistry version label.
Response
Connector package.
Connector version not found.
Hosted registry unavailable.
curl -X GET 'https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/package'const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/package', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/package', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/package')
data = response.json(){
"status": "success",
"package": {
"connector": "string",
"version": "string",
"trust_tier": "first_party",
"files": [
{
"path": "string",
"content": "string"
}
],
"signed_manifest": {
"schema": "runx.registry.signed_manifest.v1",
"subject": {
"kind": "skill",
"name": "string"
},
"version": "string",
"content_digest": "string",
"signer": {
"id": "string",
"key_id": "string"
},
"signature": {
"alg": "ed25519",
"value": "string"
}
}
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Read one connector version's files and signed manifest, as install verifies them
A withdrawn version answers with its stored files, signed over its preserved name, and withdrawn_at; nothing installs it.
Parameters
namespacestringrequiredpathThe connector's namespace: its whole name when it has one segment.
surfacestringrequiredpathThe surface under the namespace.
versionstringrequiredpathRegistry version label.
Response
Connector package.
Connector version not found.
Hosted registry unavailable.
curl -X GET 'https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/package'const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/package', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/package', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/package')
data = response.json(){
"status": "success",
"package": {
"connector": "string",
"version": "string",
"trust_tier": "first_party",
"files": [
{
"path": "string",
"content": "string"
}
],
"signed_manifest": {
"schema": "runx.registry.signed_manifest.v1",
"subject": {
"kind": "skill",
"name": "string"
},
"version": "string",
"content_digest": "string",
"signer": {
"id": "string",
"key_id": "string"
},
"signature": {
"alg": "ed25519",
"value": "string"
}
}
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Download one connector version's manifest bytes
The stored bytes, withdrawn or not; the ETag is their SHA-256, not the native manifest digest of the parsed manifest.
Parameters
namespacestringrequiredpathThe connector's namespace: its whole name when it has one segment.
versionstringrequiredpathRegistry version label.
Response
Connector manifest source.
Connector version not found.
Hosted registry unavailable.
curl -X GET 'https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/connector.yaml'const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/connector.yaml', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/connector.yaml', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/connector.yaml')
data = response.json()string{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Download one connector version's manifest bytes
The stored bytes, withdrawn or not; the ETag is their SHA-256, not the native manifest digest of the parsed manifest.
Parameters
namespacestringrequiredpathThe connector's namespace: its whole name when it has one segment.
surfacestringrequiredpathThe surface under the namespace.
versionstringrequiredpathRegistry version label.
Response
Connector manifest source.
Connector version not found.
Hosted registry unavailable.
curl -X GET 'https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/connector.yaml'const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/connector.yaml', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/connector.yaml', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/connector.yaml')
data = response.json()string{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Fetch public trust-root keys
Returns the public key set used to verify hosted receipt signatures and payment-admission proofs.
Response
Public trust-root document.
curl -X GET 'https://api.runx.ai/v1/trust/keys'const response = await fetch('https://api.runx.ai/v1/trust/keys', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/trust/keys', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/trust/keys')
data = response.json(){
"schema": "runx.trust_root.v1",
"keys": [
{
"kty": "OKP",
"crv": "Ed25519",
"alg": "EdDSA",
"use": "sig",
"kid": "string",
"purpose": "receipt_signature",
"issuer_type": "string",
"x": "string",
"public_key_digest": "string"
}
]
}List the public receipt projection feed
Returns monotonic public receipt publication and tombstone projections after the supplied cursor.
Parameters
cursorstringqueryLast consumed projection sequence. Omit or pass 0 to read from the beginning.
limitstringqueryMaximum projections to return, between 1 and 500.
Response
Public receipt projection page.
Invalid cursor or limit.
Receipt projection feed unavailable.
curl -X GET 'https://api.runx.ai/v1/projections/receipts'const response = await fetch('https://api.runx.ai/v1/projections/receipts', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/projections/receipts', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/projections/receipts')
data = response.json(){
"status": "success",
"cursor": 0,
"next_cursor": 1,
"receipts": [
{
"seq": 1,
"event": "published",
"digest": "string",
"receipt_id": "string",
"kid": "string",
"schema": "string",
"subject_kind": "string",
"seal": {},
"lineage_uris": [
"string"
],
"tombstone_reason": "string",
"published_at": "2024-01-15T09:30:00Z"
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Inspect one public receipt notarization projection
Parameters
digeststringrequiredpathThe receipt's digest: its hex, as its link carries it, or with the sha256: prefix.
Response
Public receipt notarization projection.
Receipt not found or unpublished.
Receipt notary unavailable.
curl -X GET 'https://api.runx.ai/v1/receipts/notarizations/{digest}'const response = await fetch('https://api.runx.ai/v1/receipts/notarizations/{digest}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/receipts/notarizations/{digest}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/receipts/notarizations/{digest}')
data = response.json(){
"status": "success",
"receipt": {
"notarization_status": "notarized",
"digest": "string",
"mode": "full",
"mode_statement": "string",
"receipt_id": "string",
"declared_receipt_id": "string",
"verified_at": "string",
"sealed_at": "string",
"updated_at": "string",
"runx_version": "string",
"issuer": {
"type": "string",
"label": "string"
},
"edge_key": {
"type": "string",
"kid": "string",
"public_key_digest": "string"
},
"verdict": {
"valid": true,
"signature_issuer_type": "string",
"signature_status": "string",
"signature_kid": "string",
"digest_status": "string",
"content_address_status": "string",
"lineage_status": "string",
"findings_count": 0,
"finding_codes": [
"string"
]
},
"subject": {
"kind": "string",
"ref_type": "string"
},
"public_claim": {
"schema": "runx.public_receipt_claim.v1",
"kind": "string",
"title": "string",
"venue": {
"id": "string",
"name": "string",
"url": "string"
},
"subject": {
"type": "string",
"id": "string",
"label": "string"
},
"amount": {
"cents": 0,
"currency": "string"
},
"source_url": "string",
"occurred_at": "string"
},
"claim_statement": "string",
"publisher": {
"principal_id": "string"
},
"checks": [
{
"id": "integrity",
"title": "string",
"checks": [
{
"id": "string",
"label": "string",
"result": {
"kind": "pass",
"label": "string"
},
"reason": "string"
}
]
}
],
"alert": {
"kind": "fail",
"label": "string",
"check_id": "string"
},
"notary_verification": {
"counter_seal": {
"schema": "string",
"issuer": {
"type": "string",
"kid": "string"
},
"payload": {},
"payload_digest": "string",
"digest": "string",
"signature": {
"alg": "string",
"value": "string"
}
},
"signer_public_keys": [
{
"kid": "string",
"public_key_digest": "string",
"public_key_pem": "string"
}
]
},
"verification": {
"notary_key_url": "string",
"notary_key_filename": "string",
"seal_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"receipt_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
}
},
"claims": [
"string"
],
"limitations": [
"string"
]
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}List public registry skills with search and filters
Parameters
qstringqueryText query: a skill matches when any word begins a word of its identity, description, tags, runners or category, and relevance ranks those that match more, identity above description above the rest.
publisherstringqueryPublisher namespace filter.
tagstringqueryTag filter.
kindstringqueryCatalog kind filter: skill or graph.
categorystringqueryRegistry category filter: code, research, ops, growth, content, data, security, payments, or authoring.
profile_modestringqueryRunner mode filter: profiled or portable.
featuredstringqueryWhen true, return only the editorial selection's featured skills, in its order.
includestringqueryWhen set to unverified, include zero-install community skills in broad discovery.
trust_tierstringqueryTrust tier filter: first_party, verified, or community.
idsstringqueryUp to 100 exact skill ids (publisher/name), comma-separated, read as one batch. The page holds those that are listed; the community discovery floor does not apply.
connectorstringqueryOnly skills whose current version declares this connector id.
sortstringquerySort order: relevance (the default with q), recommended (the default without), newest, most-installed, or a-z.
limitstringqueryMaximum number of skills to return, 1 to 100 (default 24).
cursorstringqueryContinues the query that returned it as next_cursor; a cursor from another query is rejected.
countstringqueryWhen 1, add the total listed skills the query matches, when it can be computed within budget.
facetsstringqueryWhen 1, add facet counts for the query, when they can be computed within budget.
Response
Public registry listing.
curl -X GET 'https://api.runx.ai/v1/skills'const response = await fetch('https://api.runx.ai/v1/skills', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/skills', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/skills')
data = response.json(){
"query": {
"q": "string",
"publisher": "string",
"tag": "string",
"kind": "skill",
"category": "string",
"profile_mode": "profiled",
"sort": "recommended",
"include": "unverified",
"trust_tier": "first_party",
"featured": true,
"ids": [
"string"
],
"connector": "string",
"limit": 0,
"cursor": "string"
},
"skills": [
{
"skill_id": "string",
"publisher": {
"id": "string",
"slug": "string",
"handle": "string",
"display_name": "string",
"kind": "org",
"verified": true,
"image": {
"digest": "string",
"url": "string"
},
"url": "string"
},
"trust_tier": "first_party",
"maturity": "alpha",
"name": "string",
"title": "string",
"summary": "string",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
},
"discoverable": true,
"relationships": [
{
"kind": "evidence_source",
"id": "string",
"label": "string",
"reference": "string"
}
],
"connectors": [
{
"connector": "string",
"version": "string",
"name": "string",
"runtime_capability": true,
"trust_tier": "first_party",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
}
}
],
"description": "string",
"catalog_kind": "skill",
"version": "string",
"created_at": "string",
"updated_at": "string",
"profile_mode": "profiled",
"runner_names": [
"string"
],
"paid_listing": {
"bundle_digest": "string",
"offers": {},
"profile_digest": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"skill_digest": "string",
"skill_id": "string",
"version": "string"
},
"required_scopes": [
"string"
],
"tags": [
"string"
],
"category": "string",
"category_label": "string",
"install_count": 0,
"verified_run_count": 0,
"last_verified_run_at": "string",
"page_url": "string",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"run_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"catalog_visibility": "public"
}
],
"has_more": true,
"next_cursor": "string",
"total": 0,
"catalog_total": 0,
"connector": {
"connector": "string",
"name": "string"
},
"facets": {
"publishers": [
{
"value": "string",
"count": 0
}
],
"tags": [
{
"value": "string",
"count": 0
}
],
"kinds": [
{
"value": "string",
"count": 0
}
],
"categories": [
{
"value": "string",
"count": 0,
"label": "string",
"surface": "builder"
}
],
"profile_modes": [
{
"value": "string",
"count": 0
}
]
},
"status": "success"
}Publish a skill to the hosted registry
Publishes one governed skill markdown document under a publisher the signed-in principal is authorized for. The caller cannot set the trust tier.
Body
Hosted skill publish payload.
markdownstringrequiredComplete SKILL.md document, including frontmatter.
profile_documentstringOptional run.yaml profile document published with the skill.
versionstringOptional version or content ref. If omitted, the registry derives one from content.
publisherstringThe namespace to publish for, required when the principal may publish for several; it must be one it is authorized for.
package_filesArray<HostedSkillPackageFile>Optional UTF-8 skill package files persisted with the registry version and used by hosted publish admission to rerun the package harness. Allowed paths are root worker modules referenced by run.yaml, nested SKILL.md/run.yaml packages, references markdown, and tool manifests/minimal runtimes.
Response
Published hosted skill.
Invalid skill package.
Unauthorized.
Missing publish scope.
Skill version conflict.
Hosted registry unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/skills' \
-H 'Content-Type: application/json' \
-d '{
"markdown": "string",
"profile_document": "string",
"version": "string",
"publisher": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
]
}'const response = await fetch('https://api.runx.ai/v1/skills', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"markdown": "string",
"profile_document": "string",
"version": "string",
"publisher": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
]
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/skills', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"markdown": "string",
"profile_document": "string",
"version": "string",
"publisher": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
]
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"markdown": "string",
"profile_document": "string",
"version": "string",
"publisher": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
]
}
response = requests.post('https://api.runx.ai/v1/skills', json=payload)
data = response.json(){
"markdown": "string",
"profile_document": "string",
"version": "string",
"publisher": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
]
}{
"status": "success",
"publish": {
"status": "published",
"skill_id": "string",
"publisher": "string",
"name": "string",
"version": "string",
"digest": "string",
"profile_digest": "string",
"paid_listing": {
"bundle_digest": "string",
"offers": {},
"profile_digest": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"skill_digest": "string",
"skill_id": "string",
"version": "string"
},
"trust_tier": "community",
"maturity": "alpha",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"run_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"public_url": "https://example.com",
"harness": {
"status": "passed",
"case_count": 0,
"assertion_error_count": 0,
"assertion_errors": [
"string"
],
"case_names": [
"string"
],
"receipt_ids": [
"string"
],
"graph_case_count": 0,
"evidence_id": "string",
"evidence_url": "https://example.com"
}
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Inspect one public publisher profile
Parameters
slugstringrequiredpathPublisher slug.
Response
Public publisher profile.
Publisher not found.
curl -X GET 'https://api.runx.ai/v1/publishers/{slug}'const response = await fetch('https://api.runx.ai/v1/publishers/{slug}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/publishers/{slug}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/publishers/{slug}')
data = response.json(){
"status": "success",
"publisher": {
"id": "string",
"slug": "string",
"handle": "string",
"display_name": "string",
"kind": "org",
"verified": true,
"image": {
"digest": "string",
"url": "string"
},
"url": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "string"
}
],
"skill_count": 0,
"install_count": 0,
"categories": [
{
"value": "string",
"count": 0,
"label": "string",
"surface": "builder"
}
],
"updated_at": "string"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Change your publisher's profile
A principal authorized to publish for the namespace changes its display name, description and links. Verification is the verification authority's alone.
Body
The profile fields to change.
display_namestringdescriptionstring | nulllinksArray<PublicPublisherProfileLink>Parameters
slugstringrequiredpathPublisher namespace.
Response
The changed publisher.
Validation error.
Unauthorized.
Missing a publishing scope.
No publisher this principal publishes for.
Registry publishers unavailable.
Authorization
BearerAuthhttp (bearer)curl -X PATCH 'https://api.runx.ai/v1/publishers/{slug}' \
-H 'Content-Type: application/json' \
-d '{
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
]
}'const response = await fetch('https://api.runx.ai/v1/publishers/{slug}', {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
]
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/publishers/{slug}', {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
]
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
]
}
response = requests.patch('https://api.runx.ai/v1/publishers/{slug}', json=payload)
data = response.json(){
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
]
}{
"status": "success",
"publisher": {
"publisher_id": "string",
"slug": "string",
"kind": "org",
"display_name": "string",
"description": "string",
"verified": true,
"image_digest": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
],
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Inspect the verified skill a root name addresses
A root name is one segment the registry assigns to a verified publisher's skill. The answer is that skill read by its canonical publisher/name; a root name can move, a canonical id cannot.
Parameters
rootstringrequiredpathRoot name or root@version.
Response
Public skill detail.
No listed skill holds that root name.
curl -X GET 'https://api.runx.ai/v1/skills/{root}'const response = await fetch('https://api.runx.ai/v1/skills/{root}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/skills/{root}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/skills/{root}')
data = response.json(){
"status": "success",
"skill": {
"skill_id": "string",
"publisher": {
"id": "string",
"slug": "string",
"handle": "string",
"display_name": "string",
"kind": "org",
"verified": true,
"image": {
"digest": "string",
"url": "string"
},
"url": "string"
},
"trust_tier": "first_party",
"maturity": "alpha",
"name": "string",
"title": "string",
"summary": "string",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
},
"discoverable": true,
"relationships": [
{
"kind": "evidence_source",
"id": "string",
"label": "string",
"reference": "string"
}
],
"connectors": [
{
"connector": "string",
"version": "string",
"name": "string",
"runtime_capability": true,
"trust_tier": "first_party",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
}
}
],
"description": "string",
"catalog_kind": "skill",
"version": "string",
"created_at": "string",
"updated_at": "string",
"profile_mode": "profiled",
"runner_names": [
"string"
],
"paid_listing": {
"bundle_digest": "string",
"offers": {},
"profile_digest": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"skill_digest": "string",
"skill_id": "string",
"version": "string"
},
"required_scopes": [
"string"
],
"tags": [
"string"
],
"category": "string",
"category_label": "string",
"install_count": 0,
"verified_run_count": 0,
"last_verified_run_at": "string",
"page_url": "string",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"run_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"catalog_visibility": "public",
"attestations": [
{
"kind": "source",
"id": "string",
"status": "verified",
"summary": "string",
"source": "string",
"issued_at": "string",
"metadata": {}
}
],
"digest": "string",
"profile_digest": "string",
"content_digest": "string",
"presentation": {
"title": "string",
"overview": "string",
"method": [
{
"title": "string",
"description": "string",
"skill": "string",
"runner": "string",
"public_skill": {
"skill_id": "string",
"name": "string",
"page_url": "string"
}
}
],
"inputs": [
{
"label": "string",
"description": "string",
"input": "string"
}
],
"outputs": [
{
"label": "string",
"description": "string"
}
],
"stops": {
"title": "string",
"description": "string"
},
"example": {
"title": "string",
"path": "string",
"url": "string"
},
"relationships": [
{
"kind": "evidence_source",
"id": "string",
"label": "string",
"reference": "string"
}
]
},
"files": {
"manual": "string",
"profile": "string",
"catalog": "string"
},
"versions_url": "string",
"markdown": "string",
"profile_document": "string",
"harness": {
"status": "passed",
"declared_case_count": 0,
"declared_cases": [
{
"name": "string",
"runner": "string",
"expected_status": "string"
}
],
"case_count": 0,
"checks_passed": 0,
"checks_failed": 0,
"receipt_ids": [
"string"
],
"evidence_url": "string",
"latest_run": {
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
},
"results": [
{
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
],
"recent_runs": [
{
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
],
"older_version": {
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
},
"recent_activity": [
{
"id": "string",
"source": "runx-hosted",
"status": "string",
"title": "string",
"target": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"run_id": "string",
"receipt_id": "string",
"skill_id": "string",
"actions_count": 0,
"url": "string",
"principal": "string",
"principal_handle": "string",
"signer_trust": "verified",
"scopes": [
"string"
],
"parent_receipt_id": "string",
"graph_depth": 0,
"metadata": {}
}
],
"source": {
"provider": "github",
"repo": "string",
"repo_url": "string",
"skill_path": "string",
"profile_path": "string",
"ref": "string",
"sha": "string",
"default_branch": "string",
"event": "enrollment",
"immutable": true,
"live": true,
"tombstoned": true,
"tag": "string",
"publisher_handle": "string"
}
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Inspect one public registry skill
Parameters
publisherstringrequiredpathPublisher namespace.
namestringrequiredpathSkill name or name@version.
refstringqueryOptional rolling ref selector such as main.
Response
Public skill detail.
Skill not found.
curl -X GET 'https://api.runx.ai/v1/skills/{publisher}/{name}'const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/skills/{publisher}/{name}')
data = response.json(){
"status": "success",
"skill": {
"skill_id": "string",
"publisher": {
"id": "string",
"slug": "string",
"handle": "string",
"display_name": "string",
"kind": "org",
"verified": true,
"image": {
"digest": "string",
"url": "string"
},
"url": "string"
},
"trust_tier": "first_party",
"maturity": "alpha",
"name": "string",
"title": "string",
"summary": "string",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
},
"discoverable": true,
"relationships": [
{
"kind": "evidence_source",
"id": "string",
"label": "string",
"reference": "string"
}
],
"connectors": [
{
"connector": "string",
"version": "string",
"name": "string",
"runtime_capability": true,
"trust_tier": "first_party",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
}
}
],
"description": "string",
"catalog_kind": "skill",
"version": "string",
"created_at": "string",
"updated_at": "string",
"profile_mode": "profiled",
"runner_names": [
"string"
],
"paid_listing": {
"bundle_digest": "string",
"offers": {},
"profile_digest": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"skill_digest": "string",
"skill_id": "string",
"version": "string"
},
"required_scopes": [
"string"
],
"tags": [
"string"
],
"category": "string",
"category_label": "string",
"install_count": 0,
"verified_run_count": 0,
"last_verified_run_at": "string",
"page_url": "string",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"run_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"catalog_visibility": "public",
"attestations": [
{
"kind": "source",
"id": "string",
"status": "verified",
"summary": "string",
"source": "string",
"issued_at": "string",
"metadata": {}
}
],
"digest": "string",
"profile_digest": "string",
"content_digest": "string",
"presentation": {
"title": "string",
"overview": "string",
"method": [
{
"title": "string",
"description": "string",
"skill": "string",
"runner": "string",
"public_skill": {
"skill_id": "string",
"name": "string",
"page_url": "string"
}
}
],
"inputs": [
{
"label": "string",
"description": "string",
"input": "string"
}
],
"outputs": [
{
"label": "string",
"description": "string"
}
],
"stops": {
"title": "string",
"description": "string"
},
"example": {
"title": "string",
"path": "string",
"url": "string"
},
"relationships": [
{
"kind": "evidence_source",
"id": "string",
"label": "string",
"reference": "string"
}
]
},
"files": {
"manual": "string",
"profile": "string",
"catalog": "string"
},
"versions_url": "string",
"markdown": "string",
"profile_document": "string",
"harness": {
"status": "passed",
"declared_case_count": 0,
"declared_cases": [
{
"name": "string",
"runner": "string",
"expected_status": "string"
}
],
"case_count": 0,
"checks_passed": 0,
"checks_failed": 0,
"receipt_ids": [
"string"
],
"evidence_url": "string",
"latest_run": {
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
},
"results": [
{
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
],
"recent_runs": [
{
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
],
"older_version": {
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
},
"recent_activity": [
{
"id": "string",
"source": "runx-hosted",
"status": "string",
"title": "string",
"target": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"run_id": "string",
"receipt_id": "string",
"skill_id": "string",
"actions_count": 0,
"url": "string",
"principal": "string",
"principal_handle": "string",
"signer_trust": "verified",
"scopes": [
"string"
],
"parent_receipt_id": "string",
"graph_depth": 0,
"metadata": {}
}
],
"source": {
"provider": "github",
"repo": "string",
"repo_url": "string",
"skill_path": "string",
"profile_path": "string",
"ref": "string",
"sha": "string",
"default_branch": "string",
"event": "enrollment",
"immutable": true,
"live": true,
"tombstoned": true,
"tag": "string",
"publisher_handle": "string"
}
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}List a public skill's published versions
Newest publication first, with a version tie-break. Only versions the public may see are listed. The cursor is bound to this skill.
Parameters
publisherstringrequiredpathPublisher namespace.
namestringrequiredpathSkill name.
limitstringqueryPage size: default 20, at most 100.
cursorstringqueryOpaque cursor from the previous page's next_cursor.
Response
Public version history.
Invalid limit or cursor.
Skill not found.
curl -X GET 'https://api.runx.ai/v1/skills/{publisher}/{name}/versions'const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/versions', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/versions', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/skills/{publisher}/{name}/versions')
data = response.json(){
"skill_id": "string",
"versions": [
{
"version": "string",
"created_at": "string",
"content_digest": "string",
"trust_tier": "first_party",
"maturity": "alpha",
"immutable": true,
"source_ref": "string",
"page_url": "string"
}
],
"has_more": true,
"next_cursor": "string",
"status": "success"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Read one public file of an exact skill version
Serves the manual (SKILL.md), the published execution profile (profile, plain text) and the catalog reference and example its references/catalog.md declares. Other package files are not served here. The path may contain slashes.
Parameters
publisherstringrequiredpathPublisher namespace.
namestringrequiredpathSkill name.
versionstringrequiredpathExact published version.
pathstringrequiredpathPackage-relative file path.
Response
The file's exact bytes.
Invalid path.
Version or file not found.
curl -X GET 'https://api.runx.ai/v1/skills/{publisher}/{name}/versions/{version}/files/{path}'const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/versions/{version}/files/{path}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/versions/{version}/files/{path}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/skills/{publisher}/{name}/versions/{version}/files/{path}')
data = response.json()stringstring{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Acquire a pinned public registry skill for one installation
Body
Registry skill acquisition request.
installation_idstringrequiredversionstringchannelstringParameters
publisherstringrequiredpathPublisher namespace.
namestringrequiredpathSkill name or name@version.
Response
Registry skill acquisition payload.
Validation error.
Skill not found.
Registry store unavailable.
curl -X POST 'https://api.runx.ai/v1/skills/{publisher}/{name}/acquire' \
-H 'Content-Type: application/json' \
-d '{
"installation_id": "string",
"version": "string",
"channel": "string"
}'const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/acquire', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"installation_id": "string",
"version": "string",
"channel": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/acquire', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"installation_id": "string",
"version": "string",
"channel": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"installation_id": "string",
"version": "string",
"channel": "string"
}
response = requests.post('https://api.runx.ai/v1/skills/{publisher}/{name}/acquire', json=payload)
data = response.json(){
"installation_id": "string",
"version": "string",
"channel": "string"
}{
"status": "success",
"install_count": 0,
"acquisition": {
"skill_id": "string",
"name": "string",
"version": "string",
"digest": "string",
"signed_manifest": {
"schema": "runx.registry.signed_manifest.v1",
"subject": {
"kind": "skill",
"name": "string"
},
"version": "string",
"content_digest": "string",
"signer": {
"id": "string",
"key_id": "string"
},
"signature": {
"alg": "ed25519",
"value": "string"
}
},
"markdown": "string",
"profile_document": "string",
"profile_digest": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
],
"bundle_digest": "string",
"paid_listing": {
"bundle_digest": "string",
"offers": {},
"profile_digest": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"skill_digest": "string",
"skill_id": "string",
"version": "string"
},
"trust_tier": "first_party",
"publisher": {
"kind": "organization",
"id": "string",
"handle": "string",
"display_name": "string"
},
"source_metadata": {
"provider": "github",
"repo": "string",
"repo_url": "string",
"skill_path": "string",
"profile_path": "string",
"ref": "string",
"sha": "string",
"default_branch": "string",
"event": "enrollment",
"immutable": true,
"live": true,
"tombstoned": true,
"tag": "string",
"publisher_handle": "string"
},
"attestations": [
{
"kind": "source",
"id": "string",
"status": "verified",
"summary": "string",
"source": "string",
"issued_at": "string",
"metadata": {}
}
],
"runner_names": [
"string"
]
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Read one executable public version's signed record, as a registry closure holds it
Parameters
publisherstringrequiredpathPublisher namespace.
namestringrequiredpathSkill name.
versionstringrequiredpathPublished version.
Response
The signed version record.
No executable public version.
Registry store unavailable.
curl -X GET 'https://api.runx.ai/v1/skills/{publisher}/{name}/versions/{version}/record'const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/versions/{version}/record', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/versions/{version}/record', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/skills/{publisher}/{name}/versions/{version}/record')
data = response.json(){
"status": "success",
"record": {
"skill_id": "string",
"version": "string"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Report a public registry skill for moderation review
Records one authenticated report against a resolved skill version. Reports inform moderation; they are not trust evidence.
Body
Public skill report payload.
versionstringOptional skill version to report. If omitted, the latest public version is reported.
reasonstringspammalwareunsafe_authoritymisleadingrightsotherrequireddetailstringOptional reporter detail. Stored for moderation review, never used as trust evidence.
Parameters
publisherstringrequiredpathPublisher namespace.
namestringrequiredpathSkill name or name@version.
Response
Duplicate report already recorded.
Skill report recorded.
Invalid report payload.
Unauthorized.
Missing report scope.
Skill not found.
Report rate limit exceeded.
Hosted registry unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/skills/{publisher}/{name}/report' \
-H 'Content-Type: application/json' \
-d '{
"version": "string",
"reason": "spam",
"detail": "string"
}'const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/report', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"version": "string",
"reason": "spam",
"detail": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/report', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"version": "string",
"reason": "spam",
"detail": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"version": "string",
"reason": "spam",
"detail": "string"
}
response = requests.post('https://api.runx.ai/v1/skills/{publisher}/{name}/report', json=payload)
data = response.json(){
"version": "string",
"reason": "spam",
"detail": "string"
}{
"status": "success",
"report": {
"status": "recorded",
"id": "string",
"skill_id": "string",
"version": "string",
"reason": "spam",
"created_at": "2024-01-15T09:30:00Z"
}
}{
"status": "success",
"report": {
"status": "recorded",
"id": "string",
"skill_id": "string",
"version": "string",
"reason": "spam",
"created_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Inspect public harness evidence for one registry skill
Parameters
publisherstringrequiredpathPublisher namespace.
namestringrequiredpathSkill name or name@version.
refstringqueryOptional rolling ref selector such as main.
Response
Public harness detail.
Skill not found.
curl -X GET 'https://api.runx.ai/v1/skills/{publisher}/{name}/harness'const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/harness', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/harness', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/skills/{publisher}/{name}/harness')
data = response.json(){
"status": "success",
"skill_id": "string",
"harness": {
"status": "passed",
"declared_case_count": 0,
"declared_cases": [
{
"name": "string",
"runner": "string",
"expected_status": "string"
}
],
"case_count": 0,
"checks_passed": 0,
"checks_failed": 0,
"receipt_ids": [
"string"
],
"evidence_url": "string",
"latest_run": {
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
},
"results": [
{
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
],
"recent_runs": [
{
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
],
"older_version": {
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Append public website evidence events
Body
Public evidence ingestion request.
eventsArray<PublicEvidenceInput>requiredResponse
Stored public evidence events.
Validation error.
Unauthorized.
Forbidden.
Public evidence store unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/admin/public/evidence' \
-H 'Content-Type: application/json' \
-d '{
"events": [
{
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
},
"id": "string"
}
]
}'const response = await fetch('https://api.runx.ai/v1/admin/public/evidence', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"events": [
{
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
},
"id": "string"
}
]
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/admin/public/evidence', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"events": [
{
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
},
"id": "string"
}
]
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"events": [
{
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
},
"id": "string"
}
]
}
response = requests.post('https://api.runx.ai/v1/admin/public/evidence', json=payload)
data = response.json(){
"events": [
{
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
},
"id": "string"
}
]
}{
"status": "accepted",
"count": 0,
"events": [
{
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
},
"id": "string"
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}identity
Inspect the authenticated principal
Response
Authenticated principal.
Unauthorized.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/me'const response = await fetch('https://api.runx.ai/v1/me', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/me', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/me')
data = response.json(){
"status": "success",
"principal": {
"principal_id": "string",
"role": "user",
"display_name": "string",
"scopes": [
"string"
],
"namespace_prefixes": [
"string"
]
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Create a self-serve hosted principal and credential
Body
Optional account display metadata.
display_namestringResponse
Created principal and one-time credential.
Self-serve identity is not configured.
curl -X POST 'https://api.runx.ai/v1/accounts' \
-H 'Content-Type: application/json' \
-d '{
"display_name": "string"
}'const response = await fetch('https://api.runx.ai/v1/accounts', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"display_name": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/accounts', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"display_name": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"display_name": "string"
}
response = requests.post('https://api.runx.ai/v1/accounts', json=payload)
data = response.json(){
"display_name": "string"
}{
"status": "created",
"principal": {},
"credential": {
"credential_id": "string",
"token": "string"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Exchange an OIDC token for a short-lived service access token
Body
OIDC-backed service token exchange request.
Canonical prerelease v1 schema for exchanging an external OIDC token for a runx service access token.
service_principal_idstringrequiredoidc_tokenstringrequiredResponse
Issued service access token.
Validation error.
OIDC token not accepted.
Service principal not found.
Service token exchange unavailable.
curl -X POST 'https://api.runx.ai/v1/service/token/exchange' \
-H 'Content-Type: application/json' \
-d '{
"service_principal_id": "string",
"oidc_token": "string"
}'const response = await fetch('https://api.runx.ai/v1/service/token/exchange', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"service_principal_id": "string",
"oidc_token": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/service/token/exchange', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"service_principal_id": "string",
"oidc_token": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"service_principal_id": "string",
"oidc_token": "string"
}
response = requests.post('https://api.runx.ai/v1/service/token/exchange', json=payload)
data = response.json(){
"service_principal_id": "string",
"oidc_token": "string"
}{
"status": "success",
"access_token": "string",
"expires_at": "2024-01-15T09:30:00Z",
"principal": {
"principal_id": "string",
"role": "user",
"display_name": "string",
"scopes": [
"string"
],
"namespace_prefixes": [
"string"
]
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}runs
Allocate, inspect, or hand off a tenant-owned artifact
Stores one bounded artifact, returns verified metadata, or copies an explicitly approved artifact into a registered target principal. Other artifact operations remain available only inside the trusted hosted runtime.
Body
Hosted artifact operation request.
operationstringrequiredrun_idstringrequiredinputobjectrequiredoperationstringrequiredrun_idstringrequiredinputobjectrequiredoperationstringrequiredrun_idstringrequiredinputobjectrequiredoperationstringrequiredrun_idstringrequiredinputobjectrequiredoperationstringrequiredrun_idstringrequiredinputobjectrequiredResponse
Verified artifact operation evidence.
Validation error.
Unauthorized.
Missing artifact operation scope.
Artifact not found.
Artifact operation conflict.
Artifact request is too large.
Artifact operation rate limit exceeded.
Artifact storage returned an invalid result.
Artifact operation is unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/artifact-operations' \
-H 'Content-Type: application/json' \
-d '{
"operation": "artifact.allocate",
"run_id": "string",
"input": {
"idempotency_key": "string",
"data_base64": "string",
"content_digest": "string",
"media_type": "string"
}
}'const response = await fetch('https://api.runx.ai/v1/artifact-operations', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"operation": "artifact.allocate",
"run_id": "string",
"input": {
"idempotency_key": "string",
"data_base64": "string",
"content_digest": "string",
"media_type": "string"
}
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/artifact-operations', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"operation": "artifact.allocate",
"run_id": "string",
"input": {
"idempotency_key": "string",
"data_base64": "string",
"content_digest": "string",
"media_type": "string"
}
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"operation": "artifact.allocate",
"run_id": "string",
"input": {
"idempotency_key": "string",
"data_base64": "string",
"content_digest": "string",
"media_type": "string"
}
}
response = requests.post('https://api.runx.ai/v1/artifact-operations', json=payload)
data = response.json(){
"operation": "artifact.allocate",
"run_id": "string",
"input": {
"idempotency_key": "string",
"data_base64": "string",
"content_digest": "string",
"media_type": "string"
}
}{
"operation": "artifact.allocate",
"access": "mutate",
"result": {
"artifact_uri": "string",
"content_digest": "string",
"media_type": "string",
"size_bytes": 1,
"created_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Buy a run of a skill runner a seller offers
A runx account buys with its bearer token and pays with x402, MPP, a payment body, or account_payment: a quote it decided on, paid from its runx balance or one of its supported payment grants. MPP uses Payment-Authorization alongside bearer authentication. A buyer with no account names buyer_key, which owns the purchase; a purchase on a resource held under that key also carries the key's signature.
Body
A purchase of an offered runner.
runnerstringinputsobjectidempotency_keystringpaymentRunxExecutePurchaseRequestaccount_paymentobject | objectAn account purchase: the quoted purchase its buyer decided on, paid from the account's runx balance or with one of its payment grants.
versionstringThe listing version the buyer priced; a purchase of another is refused.
buyer_keystringThe Ed25519 key that owns the purchase: it signs the purchase's reads and claims.
Parameters
publisherstringrequiredpathSkill publisher.
namestringrequiredpathSkill name.
Idempotency-KeystringheaderStable run and purchase retry key.
AcceptstringheaderUse application/json with a quoted profile equal to the RunxQuotePurchaseResult schema's $id to receive the canonical Runx quote. Without that explicit profile, the selected payment protocol presents its challenge.
PAYMENT-SIGNATUREstringheaderOptional standard x402 v2 payment payload using bounded standard base64.
Payment-AuthorizationstringheaderOptional MPP credential answering one exact quoted WWW-Authenticate challenge. Authorization remains the account bearer token.
X-Runx-Buyer-SignaturestringheaderThe buyer key's Ed25519 signature over runx.payment.purchase_read_request.v1: this method, this URL and the issued-at time.
X-Runx-Buyer-Issued-AtstringheaderWhen the request was signed; runx refuses one outside five minutes of its clock.
Response
The purchase its buyer reads.
Validation error.
Unauthorized.
Payment challenge or rail-neutral refusal.
The runner carries no offer, the quote or version changed, the resource it acts on is not held, or paid admission conflicts.
Authorization
BearerAuthhttp (bearer)BuyerKeyapiKey in headerThe Ed25519 buyer key that owns a purchase, with the request's signature and time in X-Runx-Buyer-Signature and X-Runx-Buyer-Issued-At.
curl -X POST 'https://api.runx.ai/v1/skills/{publisher}/{name}/run' \
-H 'Content-Type: application/json' \
-d '{
"runner": "string",
"inputs": {},
"idempotency_key": "string",
"payment": {
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"purchase_id": "string",
"settlement_family": "string"
},
"account_payment": {
"purchase_id": "string",
"method": "balance"
},
"version": "string",
"buyer_key": "string"
}'const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/run', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"runner": "string",
"inputs": {},
"idempotency_key": "string",
"payment": {
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"purchase_id": "string",
"settlement_family": "string"
},
"account_payment": {
"purchase_id": "string",
"method": "balance"
},
"version": "string",
"buyer_key": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/run', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"runner": "string",
"inputs": {},
"idempotency_key": "string",
"payment": {
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"purchase_id": "string",
"settlement_family": "string"
},
"account_payment": {
"purchase_id": "string",
"method": "balance"
},
"version": "string",
"buyer_key": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"runner": "string",
"inputs": {},
"idempotency_key": "string",
"payment": {
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"purchase_id": "string",
"settlement_family": "string"
},
"account_payment": {
"purchase_id": "string",
"method": "balance"
},
"version": "string",
"buyer_key": "string"
}
response = requests.post('https://api.runx.ai/v1/skills/{publisher}/{name}/run', json=payload)
data = response.json(){
"runner": "string",
"inputs": {},
"idempotency_key": "string",
"payment": {
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"purchase_id": "string",
"settlement_family": "string"
},
"account_payment": {
"purchase_id": "string",
"method": "balance"
},
"version": "string",
"buyer_key": "string"
}{
"balance_micro": 0,
"failure": {
"code": "string",
"message": "string"
},
"holds": [
{
"connector": "string",
"credential": "string",
"expires_at": "string",
"target": "string",
"value_digest": "string"
}
],
"purchase": {
"accepted_settlement_families": [
"string"
],
"act_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"amount_minor": 1,
"buyer_key": "string",
"buyer_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"canonicalizer_version": "runx.receipt.c14n.v1",
"created_at": "string",
"currency": "string",
"execution_state": "unstarted",
"expires_at": "string",
"external_job_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"input_digest": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"outcome_gate": "open",
"package_digest": "string",
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"payment_state": "unpaid",
"purchase_id": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"settlement_family": "string",
"skill_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"updated_at": "string"
},
"receipt": {}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"accepts": [
{
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
}
],
"error": "string",
"extensions": {},
"resource": {
"description": "string",
"iconUrl": "string",
"mimeType": "string",
"serviceName": "string",
"tags": [
"string"
],
"url": "string"
},
"x402Version": 2
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}List runs for the authenticated principal
Parameters
qstringqueryCase-insensitive search over run id, skill, actors, and artifact types.
skillstringqueryExact skill filter.
statusstringqueryExact hosted lifecycle status filter.
actorstringqueryExact actor filter derived from submitted resolutions.
artifact_typestringqueryExact artifact type filter derived from hosted ledger entries.
sincestringqueryInclusive ISO-8601 lower bound for run creation time.
untilstringqueryInclusive ISO-8601 upper bound for run creation time.
limitstringqueryMaximum number of runs to return: integer 1–100, default 50.
cursorstringqueryOptional opaque cursor returned by the previous run-list page.
Response
Run list.
Invalid cursor, limit, or date filter.
Unauthorized.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/runs'const response = await fetch('https://api.runx.ai/v1/runs', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/runs', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/runs')
data = response.json(){
"status": "success",
"runs": [
{
"id": "string",
"skill": "string",
"runner": "string",
"package_digest": "string",
"execution_closure_digest": "string",
"status": "pending",
"host_status": "running",
"trace_id": "string",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"completed_at": "2024-01-15T09:30:00Z",
"actors": [
"string"
],
"artifact_types": [
"string"
],
"lineage": {
"kind": "rerun",
"source_run_id": "string",
"source_receipt_id": "string"
},
"receipt_id": "string",
"receipt_kind": "string",
"kernel_run_id": "string",
"error": "string",
"updated_at": "2024-01-15T09:30:00Z",
"created_at": "2024-01-15T09:30:00Z"
}
],
"next_cursor": "string"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Diff two hosted runs
Parameters
leftstringqueryLeft run id.
rightstringqueryRight run id.
Response
Run diff.
Validation error.
Unauthorized.
Run not found.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/runs/diff'const response = await fetch('https://api.runx.ai/v1/runs/diff', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/runs/diff', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/runs/diff')
data = response.json(){
"status": "success",
"diff": {
"left": {
"id": "string",
"skill": "string",
"runner": "string",
"package_digest": "string",
"execution_closure_digest": "string",
"status": "pending",
"host_status": "running",
"trace_id": "string",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"completed_at": "2024-01-15T09:30:00Z",
"actors": [
"string"
],
"artifact_types": [
"string"
],
"lineage": {
"kind": "rerun",
"source_run_id": "string",
"source_receipt_id": "string"
},
"receipt_id": "string",
"receipt_kind": "string",
"kernel_run_id": "string",
"error": "string",
"updated_at": "2024-01-15T09:30:00Z",
"created_at": "2024-01-15T09:30:00Z"
},
"right": {
"id": "string",
"skill": "string",
"runner": "string",
"package_digest": "string",
"execution_closure_digest": "string",
"status": "pending",
"host_status": "running",
"trace_id": "string",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"completed_at": "2024-01-15T09:30:00Z",
"actors": [
"string"
],
"artifact_types": [
"string"
],
"lineage": {
"kind": "rerun",
"source_run_id": "string",
"source_receipt_id": "string"
},
"receipt_id": "string",
"receipt_kind": "string",
"kernel_run_id": "string",
"error": "string",
"updated_at": "2024-01-15T09:30:00Z",
"created_at": "2024-01-15T09:30:00Z"
},
"changed": true,
"fields": {},
"actors": {
"added": [
"string"
],
"removed": [
"string"
]
},
"artifactTypes": {
"added": [
"string"
],
"removed": [
"string"
]
}
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Read one purchase as its buyer: never the seller's run
Read by the account that bought it, or by a request the buyer key that owns it signed. A purchase lists what it holds; a held value never appears.
Parameters
idstringrequiredpathPurchase id: the purchase id.
X-Runx-Buyer-SignaturestringheaderThe buyer key's Ed25519 signature over runx.payment.purchase_read_request.v1: this method, this URL and the issued-at time.
X-Runx-Buyer-Issued-AtstringheaderWhen the request was signed; runx refuses one outside five minutes of its clock.
Response
Purchase.
Unauthorized, or a signature that is not the key's, here and now.
Purchase not found.
Authorization
BearerAuthhttp (bearer)BuyerKeyapiKey in headerThe Ed25519 buyer key that owns a purchase, with the request's signature and time in X-Runx-Buyer-Signature and X-Runx-Buyer-Issued-At.
curl -X GET 'https://api.runx.ai/v1/purchases/{id}'const response = await fetch('https://api.runx.ai/v1/purchases/{id}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/purchases/{id}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/purchases/{id}')
data = response.json(){
"balance_micro": 0,
"failure": {
"code": "string",
"message": "string"
},
"holds": [
{
"connector": "string",
"credential": "string",
"expires_at": "string",
"target": "string",
"value_digest": "string"
}
],
"purchase": {
"accepted_settlement_families": [
"string"
],
"act_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"amount_minor": 1,
"buyer_key": "string",
"buyer_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"canonicalizer_version": "runx.receipt.c14n.v1",
"created_at": "string",
"currency": "string",
"execution_state": "unstarted",
"expires_at": "string",
"external_job_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"input_digest": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"outcome_gate": "open",
"package_digest": "string",
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"payment_state": "unpaid",
"purchase_id": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"settlement_family": "string",
"skill_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"updated_at": "string"
},
"receipt": {}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Claim what a purchase a buyer key owns holds
The buyer key signs runx.payment.purchase_claim.v1 over this URL, the time and the digest of the purchase's receipt, so a purchase claims nothing before it is fulfilled. An account's purchase is used through runx and never claimed.
Body
The buyer key's signed claim.
What a buyer sends runx's claim route for a held value (runx.payment.purchase_claim.v1).
claim_urlstringrequiredThe endpoint this claim is sent to: a claim is good for one endpoint.
issued_atstringrequiredWhen the buyer signed; runx refuses a stale claim.
receipt_digeststringrequiredThe digest of runx's receipt for the fulfilled purchase, as the purchase gave it: a purchase has none until it is fulfilled.
signaturestringrequiredThe buyer's signature over the claim schema, the endpoint, the time and the receipt digest, as stable JSON.
Parameters
idstringrequiredpathPurchase id: the purchase id.
Response
What the purchase holds now, with its fields.
The claim is not shaped as one.
The claim is not signed by this purchase's key, here and now.
Purchase not found.
The purchase is not key-owned or not fulfilled.
Authorization
BearerAuthhttp (bearer)BuyerKeyapiKey in headerThe Ed25519 buyer key that owns a purchase, with the request's signature and time in X-Runx-Buyer-Signature and X-Runx-Buyer-Issued-At.
curl -X POST 'https://api.runx.ai/v1/purchases/{id}/claim' \
-H 'Content-Type: application/json' \
-d '{
"claim_url": "string",
"issued_at": "string",
"receipt_digest": "string",
"signature": "string"
}'const response = await fetch('https://api.runx.ai/v1/purchases/{id}/claim', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"claim_url": "string",
"issued_at": "string",
"receipt_digest": "string",
"signature": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/purchases/{id}/claim', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"claim_url": "string",
"issued_at": "string",
"receipt_digest": "string",
"signature": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"claim_url": "string",
"issued_at": "string",
"receipt_digest": "string",
"signature": "string"
}
response = requests.post('https://api.runx.ai/v1/purchases/{id}/claim', json=payload)
data = response.json(){
"claim_url": "string",
"issued_at": "string",
"receipt_digest": "string",
"signature": "string"
}{
"status": "claimed",
"holds": [
{
"connector": "string",
"credential": "string",
"target": "string",
"expires_at": "2024-01-15T09:30:00Z",
"value_digest": "string",
"fields": {}
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Read one artifact a fulfilled purchase delivered
A short-lived read link for the purchase's result artifact, or an artifact its result names. The artifact stays the seller's; nothing is copied, and the reference is the one runx's purchase receipt sealed.
Parameters
idstringrequiredpathPurchase id: the purchase id.
artifact_uristringrequiredpathThe artifact reference the purchase's result names.
Response
A short-lived read of the artifact.
Unauthorized.
Missing artifacts:read scope.
The purchase delivered no such artifact.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/purchases/{id}/artifacts/{artifact_uri}'const response = await fetch('https://api.runx.ai/v1/purchases/{id}/artifacts/{artifact_uri}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/purchases/{id}/artifacts/{artifact_uri}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/purchases/{id}/artifacts/{artifact_uri}')
data = response.json(){
"artifact_uri": "string",
"content_digest": "string",
"media_type": "string",
"size_bytes": 1,
"created_at": "2024-01-15T09:30:00Z",
"url": "https://example.com",
"expires_at": "2024-01-15T09:30:00Z"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Inspect one run
Parameters
idstringrequiredpathRun id.
Response
Run detail.
Unauthorized.
Run not found.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/runs/{id}'const response = await fetch('https://api.runx.ai/v1/runs/{id}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/runs/{id}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/runs/{id}')
data = response.json(){
"status": "found",
"run": {
"id": "string",
"skill": "string",
"runner": "string",
"package_digest": "string",
"execution_closure_digest": "string",
"status": "pending",
"host_status": "running",
"trace_id": "string",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"completed_at": "2024-01-15T09:30:00Z",
"actors": [
"string"
],
"artifact_types": [
"string"
],
"lineage": {
"kind": "rerun",
"source_run_id": "string",
"source_receipt_id": "string"
},
"receipt_id": "string",
"receipt_kind": "string",
"kernel_run_id": "string",
"error": "string",
"updated_at": "2024-01-15T09:30:00Z",
"created_at": "2024-01-15T09:30:00Z"
},
"result": {
"state": "available"
},
"resolution_requests": [
{
"id": "string",
"kind": "input",
"questions": [
{
"description": "string",
"free_text": true,
"id": "string",
"options": [
{
"detail": "string",
"label": "string"
}
],
"prompt": "string",
"required": true,
"type": "string"
}
]
}
],
"submitted_resolutions": [
{
"request_id": "string",
"request_digest": "string",
"request_kind": "input",
"actor": "human",
"submitted_at": "2024-01-15T09:30:00Z"
}
],
"request_routes": [
{
"request_id": "string",
"route": {
"route_id": "string",
"missing": true,
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
]
},
"matched_by": {
"kind": "none",
"rule_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}List outstanding requests for a run
Parameters
idstringrequiredpathRun id.
Response
Run requests.
Unauthorized.
Run not found.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/runs/{id}/requests'const response = await fetch('https://api.runx.ai/v1/runs/{id}/requests', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/runs/{id}/requests', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/runs/{id}/requests')
data = response.json(){
"status": "success",
"run_id": "string",
"requests": [
{
"id": "string",
"kind": "input",
"questions": [
{
"description": "string",
"free_text": true,
"id": "string",
"options": [
{
"detail": "string",
"label": "string"
}
],
"prompt": "string",
"required": true,
"type": "string"
}
],
"request_digest": "string",
"submitted_resolution": {
"request_id": "string",
"request_digest": "string",
"request_kind": "input",
"actor": "human",
"submitted_at": "2024-01-15T09:30:00Z"
}
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Submit a response to a run request
Body
Run request response.
Canonical prerelease v1 schema for hosted request-response submissions.
approvedbooleanrequiredrequest_digeststringrequiredThe digest runx reported for the request this answers. An answer to a request that has changed since is refused.
payloadanyrequiredrequest_digeststringrequiredThe digest runx reported for the request this answers. An answer to a request that has changed since is refused.
Parameters
idstringrequiredpathRun id.
requestIdstringrequiredpathRun request id.
Response
Recorded response.
Validation error.
Unauthorized.
Run not found.
Run conflict.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/runs/{id}/requests/{requestId}/responses' \
-H 'Content-Type: application/json' \
-d '{
"approved": true,
"request_digest": "string"
}'const response = await fetch('https://api.runx.ai/v1/runs/{id}/requests/{requestId}/responses', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"approved": true,
"request_digest": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/runs/{id}/requests/{requestId}/responses', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"approved": true,
"request_digest": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"approved": True,
"request_digest": "string"
}
response = requests.post('https://api.runx.ai/v1/runs/{id}/requests/{requestId}/responses', json=payload)
data = response.json(){
"approved": true,
"request_digest": "string"
}{
"status": "recorded",
"run": {
"id": "string",
"skill": "string",
"runner": "string",
"package_digest": "string",
"execution_closure_digest": "string",
"status": "pending",
"host_status": "running",
"trace_id": "string",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"completed_at": "2024-01-15T09:30:00Z",
"actors": [
"string"
],
"artifact_types": [
"string"
],
"lineage": {
"kind": "rerun",
"source_run_id": "string",
"source_receipt_id": "string"
},
"receipt_id": "string",
"receipt_kind": "string",
"kernel_run_id": "string",
"error": "string",
"updated_at": "2024-01-15T09:30:00Z",
"created_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}receipts
List private execution receipt summaries
Requires receipts:read. Pages are ordered by creation time and receipt identity, ascending.
Parameters
cursorstringqueryOpaque next_cursor from the previous page.
limitstringqueryMaximum results: 1–100, default 50.
Response
Tenant receipt summaries.
Invalid cursor or limit.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/receipts'const response = await fetch('https://api.runx.ai/v1/receipts', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/receipts', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/receipts')
data = response.json(){
"status": "success",
"receipts": [
{}
],
"next_cursor": "string"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Read a private execution receipt summary
Parameters
idstringrequiredpathExecution receipt identity.
Response
Tenant receipt summary.
Receipt not found for this principal.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/receipts/{id}'const response = await fetch('https://api.runx.ai/v1/receipts/{id}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/receipts/{id}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/receipts/{id}')
data = response.json(){
"status": "accepted",
"receipt": {},
"duplicate_of": "string"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Fetch public trust-root keys
Returns the public key set used to verify hosted receipt signatures and payment-admission proofs.
Response
Public trust-root document.
curl -X GET 'https://api.runx.ai/v1/trust/keys'const response = await fetch('https://api.runx.ai/v1/trust/keys', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/trust/keys', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/trust/keys')
data = response.json(){
"schema": "runx.trust_root.v1",
"keys": [
{
"kty": "OKP",
"crv": "Ed25519",
"alg": "EdDSA",
"use": "sig",
"kid": "string",
"purpose": "receipt_signature",
"issuer_type": "string",
"x": "string",
"public_key_digest": "string"
}
]
}List the public receipt projection feed
Returns monotonic public receipt publication and tombstone projections after the supplied cursor.
Parameters
cursorstringqueryLast consumed projection sequence. Omit or pass 0 to read from the beginning.
limitstringqueryMaximum projections to return, between 1 and 500.
Response
Public receipt projection page.
Invalid cursor or limit.
Receipt projection feed unavailable.
curl -X GET 'https://api.runx.ai/v1/projections/receipts'const response = await fetch('https://api.runx.ai/v1/projections/receipts', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/projections/receipts', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/projections/receipts')
data = response.json(){
"status": "success",
"cursor": 0,
"next_cursor": 1,
"receipts": [
{
"seq": 1,
"event": "published",
"digest": "string",
"receipt_id": "string",
"kid": "string",
"schema": "string",
"subject_kind": "string",
"seal": {},
"lineage_uris": [
"string"
],
"tombstone_reason": "string",
"published_at": "2024-01-15T09:30:00Z"
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Inspect one public receipt notarization projection
Parameters
digeststringrequiredpathThe receipt's digest: its hex, as its link carries it, or with the sha256: prefix.
Response
Public receipt notarization projection.
Receipt not found or unpublished.
Receipt notary unavailable.
curl -X GET 'https://api.runx.ai/v1/receipts/notarizations/{digest}'const response = await fetch('https://api.runx.ai/v1/receipts/notarizations/{digest}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/receipts/notarizations/{digest}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/receipts/notarizations/{digest}')
data = response.json(){
"status": "success",
"receipt": {
"notarization_status": "notarized",
"digest": "string",
"mode": "full",
"mode_statement": "string",
"receipt_id": "string",
"declared_receipt_id": "string",
"verified_at": "string",
"sealed_at": "string",
"updated_at": "string",
"runx_version": "string",
"issuer": {
"type": "string",
"label": "string"
},
"edge_key": {
"type": "string",
"kid": "string",
"public_key_digest": "string"
},
"verdict": {
"valid": true,
"signature_issuer_type": "string",
"signature_status": "string",
"signature_kid": "string",
"digest_status": "string",
"content_address_status": "string",
"lineage_status": "string",
"findings_count": 0,
"finding_codes": [
"string"
]
},
"subject": {
"kind": "string",
"ref_type": "string"
},
"public_claim": {
"schema": "runx.public_receipt_claim.v1",
"kind": "string",
"title": "string",
"venue": {
"id": "string",
"name": "string",
"url": "string"
},
"subject": {
"type": "string",
"id": "string",
"label": "string"
},
"amount": {
"cents": 0,
"currency": "string"
},
"source_url": "string",
"occurred_at": "string"
},
"claim_statement": "string",
"publisher": {
"principal_id": "string"
},
"checks": [
{
"id": "integrity",
"title": "string",
"checks": [
{
"id": "string",
"label": "string",
"result": {
"kind": "pass",
"label": "string"
},
"reason": "string"
}
]
}
],
"alert": {
"kind": "fail",
"label": "string",
"check_id": "string"
},
"notary_verification": {
"counter_seal": {
"schema": "string",
"issuer": {
"type": "string",
"kid": "string"
},
"payload": {},
"payload_digest": "string",
"digest": "string",
"signature": {
"alg": "string",
"value": "string"
}
},
"signer_public_keys": [
{
"kid": "string",
"public_key_digest": "string",
"public_key_pem": "string"
}
]
},
"verification": {
"notary_key_url": "string",
"notary_key_filename": "string",
"seal_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"receipt_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
}
},
"claims": [
"string"
],
"limitations": [
"string"
]
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Notarize one edge receipt or declared receipt digest
Requires a bearer principal with receipts:write scope.
Body
Full receipt or digest-only notarization request.
publishbooleanpublic_claimReceiptPublicClaimreceiptobjectrequiredpublishbooleanpublic_claimReceiptPublicClaimreceipt_rawstringrequiredmodestringrequiredpublishbooleanpublic_claimReceiptPublicClaimdigeststringrequiredreceipt_idstringResponse
Receipt notarized.
Validation error.
Unauthorized.
Forbidden.
Receipt request too large.
Receipt verification failed.
Rate limited.
Receipt notary unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/receipts/notarize' \
-H 'Content-Type: application/json' \
-d '{
"publish": true,
"public_claim": {
"schema": "runx.public_receipt_claim.v1",
"kind": "payout",
"title": "string",
"venue": {
"id": "string",
"name": "string",
"url": "https://example.com"
},
"subject": {
"type": "string",
"id": "string",
"label": "string"
},
"amount": {
"cents": 0,
"currency": "string"
},
"source_url": "https://example.com",
"occurred_at": "2024-01-15T09:30:00Z"
},
"receipt": {}
}'const response = await fetch('https://api.runx.ai/v1/receipts/notarize', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"publish": true,
"public_claim": {
"schema": "runx.public_receipt_claim.v1",
"kind": "payout",
"title": "string",
"venue": {
"id": "string",
"name": "string",
"url": "https://example.com"
},
"subject": {
"type": "string",
"id": "string",
"label": "string"
},
"amount": {
"cents": 0,
"currency": "string"
},
"source_url": "https://example.com",
"occurred_at": "2024-01-15T09:30:00Z"
},
"receipt": {}
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/receipts/notarize', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"publish": true,
"public_claim": {
"schema": "runx.public_receipt_claim.v1",
"kind": "payout",
"title": "string",
"venue": {
"id": "string",
"name": "string",
"url": "https://example.com"
},
"subject": {
"type": "string",
"id": "string",
"label": "string"
},
"amount": {
"cents": 0,
"currency": "string"
},
"source_url": "https://example.com",
"occurred_at": "2024-01-15T09:30:00Z"
},
"receipt": {}
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"publish": True,
"public_claim": {
"schema": "runx.public_receipt_claim.v1",
"kind": "payout",
"title": "string",
"venue": {
"id": "string",
"name": "string",
"url": "https://example.com"
},
"subject": {
"type": "string",
"id": "string",
"label": "string"
},
"amount": {
"cents": 0,
"currency": "string"
},
"source_url": "https://example.com",
"occurred_at": "2024-01-15T09:30:00Z"
},
"receipt": {}
}
response = requests.post('https://api.runx.ai/v1/receipts/notarize', json=payload)
data = response.json(){
"publish": true,
"public_claim": {
"schema": "runx.public_receipt_claim.v1",
"kind": "payout",
"title": "string",
"venue": {
"id": "string",
"name": "string",
"url": "https://example.com"
},
"subject": {
"type": "string",
"id": "string",
"label": "string"
},
"amount": {
"cents": 0,
"currency": "string"
},
"source_url": "https://example.com",
"occurred_at": "2024-01-15T09:30:00Z"
},
"receipt": {}
}{
"status": "notarized",
"replay_status": "created",
"digest": "string",
"mode": "full",
"published": true,
"receipt_id": "string",
"public_claim": {
"schema": "runx.public_receipt_claim.v1",
"kind": "payout",
"title": "string",
"venue": {
"id": "string",
"name": "string",
"url": "https://example.com"
},
"subject": {
"type": "string",
"id": "string",
"label": "string"
},
"amount": {
"cents": 0,
"currency": "string"
},
"source_url": "https://example.com",
"occurred_at": "2024-01-15T09:30:00Z"
},
"public_url": "https://example.com",
"edge_issuer": {},
"runx_version": "string",
"verified_at": "2024-01-15T09:30:00Z",
"verdict": {},
"counter_seal": {}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"error": "string",
"code": "receipt_verification_failed",
"verdict": {}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Hide one public receipt notarization page
Parameters
digeststringrequiredpathReceipt digest, with or without sha256: prefix.
Response
Receipt notarization unpublished.
Unauthorized.
Forbidden.
Receipt not found.
Receipt notary unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/receipts/{digest}/unpublish'const response = await fetch('https://api.runx.ai/v1/receipts/{digest}/unpublish', {
method: 'POST',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/receipts/{digest}/unpublish', {
method: 'POST',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.post('https://api.runx.ai/v1/receipts/{digest}/unpublish')
data = response.json(){
"status": "notarized",
"replay_status": "created",
"digest": "string",
"mode": "full",
"published": true,
"receipt_id": "string",
"public_claim": {
"schema": "runx.public_receipt_claim.v1",
"kind": "payout",
"title": "string",
"venue": {
"id": "string",
"name": "string",
"url": "https://example.com"
},
"subject": {
"type": "string",
"id": "string",
"label": "string"
},
"amount": {
"cents": 0,
"currency": "string"
},
"source_url": "https://example.com",
"occurred_at": "2024-01-15T09:30:00Z"
},
"public_url": "https://example.com",
"edge_issuer": {},
"runx_version": "string",
"verified_at": "2024-01-15T09:30:00Z",
"verdict": {},
"counter_seal": {}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}observations
Read a tenant's source observations
Requires signals:read. Returns an ascending page ordered by admission time and observation identity.
Parameters
cursorstringqueryOpaque next_cursor from the previous page.
limitstringqueryMaximum results: 1–100, default 50.
Response
Observation page.
Invalid page query.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/signals'const response = await fetch('https://api.runx.ai/v1/signals', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/signals', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/signals')
data = response.json(){
"status": "success",
"observations": [
{
"schema": "runx.source_observation.v1",
"observation_id": "string",
"content_digest": "string",
"source_policy_digest": "string",
"admitted_at": "2024-01-15T09:30:00Z",
"signal": {
"authenticity": {
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"host_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"principal_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"signature_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"trust_level": "unverified",
"verified_at": "string",
"verified_by_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
},
"body_preview": "string",
"digest": {
"algorithm": "sha256",
"canonicalization": "string",
"derived_from": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"value": "string"
},
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"extensions": {},
"links": {
"duplicate_candidates": [
{
"candidate_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"confidence": 0,
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"observed_at": "string",
"reviewer_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
}
],
"duplicate_of": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"related": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"superseded_by": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"supersedes": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
},
"observed_at": "string",
"schema": "runx.signal.v1",
"signal_id": "string",
"signal_type": "string",
"source_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"title": "string"
}
}
],
"next_cursor": "string"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Admit a source observation
Requires signals:write. Stores normalized source evidence without execution, triage, or a receipt signature.
Body
Source event and locator admission policy.
source_eventobjectrequiredsource_policySourceAdmissionPolicyrequiredResponse
Duplicate delivery.
Observation admitted.
Invalid request or operator policy fields.
Source not admitted.
Same event identity with changed content.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/signals' \
-H 'Content-Type: application/json' \
-d '{
"source_event": {
"provider": "string",
"source_locator": "string"
},
"source_policy": {
"enabled": true,
"allowed_providers": [
"string"
],
"allowed_sources": [
"string"
],
"allowed_event_kinds": [
"string"
]
}
}'const response = await fetch('https://api.runx.ai/v1/signals', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"source_event": {
"provider": "string",
"source_locator": "string"
},
"source_policy": {
"enabled": true,
"allowed_providers": [
"string"
],
"allowed_sources": [
"string"
],
"allowed_event_kinds": [
"string"
]
}
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/signals', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"source_event": {
"provider": "string",
"source_locator": "string"
},
"source_policy": {
"enabled": true,
"allowed_providers": [
"string"
],
"allowed_sources": [
"string"
],
"allowed_event_kinds": [
"string"
]
}
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"source_event": {
"provider": "string",
"source_locator": "string"
},
"source_policy": {
"enabled": True,
"allowed_providers": [
"string"
],
"allowed_sources": [
"string"
],
"allowed_event_kinds": [
"string"
]
}
}
response = requests.post('https://api.runx.ai/v1/signals', json=payload)
data = response.json(){
"source_event": {
"provider": "string",
"source_locator": "string"
},
"source_policy": {
"enabled": true,
"allowed_providers": [
"string"
],
"allowed_sources": [
"string"
],
"allowed_event_kinds": [
"string"
]
}
}{
"status": "accepted",
"observation": {
"schema": "runx.source_observation.v1",
"observation_id": "string",
"content_digest": "string",
"source_policy_digest": "string",
"admitted_at": "2024-01-15T09:30:00Z",
"signal": {
"authenticity": {
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"host_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"principal_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"signature_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"trust_level": "unverified",
"verified_at": "string",
"verified_by_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
},
"body_preview": "string",
"digest": {
"algorithm": "sha256",
"canonicalization": "string",
"derived_from": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"value": "string"
},
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"extensions": {},
"links": {
"duplicate_candidates": [
{
"candidate_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"confidence": 0,
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"observed_at": "string",
"reviewer_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
}
],
"duplicate_of": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"related": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"superseded_by": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"supersedes": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
},
"observed_at": "string",
"schema": "runx.signal.v1",
"signal_id": "string",
"signal_type": "string",
"source_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"title": "string"
}
}
}{
"status": "accepted",
"observation": {
"schema": "runx.source_observation.v1",
"observation_id": "string",
"content_digest": "string",
"source_policy_digest": "string",
"admitted_at": "2024-01-15T09:30:00Z",
"signal": {
"authenticity": {
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"host_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"principal_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"signature_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"trust_level": "unverified",
"verified_at": "string",
"verified_by_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
},
"body_preview": "string",
"digest": {
"algorithm": "sha256",
"canonicalization": "string",
"derived_from": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"value": "string"
},
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"extensions": {},
"links": {
"duplicate_candidates": [
{
"candidate_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"confidence": 0,
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"observed_at": "string",
"reviewer_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
}
],
"duplicate_of": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"related": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"superseded_by": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"supersedes": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
},
"observed_at": "string",
"schema": "runx.signal.v1",
"signal_id": "string",
"signal_type": "string",
"source_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"title": "string"
}
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Receive an authenticated source webhook
Uses the configured provider HMAC secret and source policy binding to resolve the tenant. Maximum body size is 1 MiB. Slack verification challenges return text/plain.
Parameters
providerstringrequiredpathConfigured webhook provider.
Response
Duplicate delivery or Slack challenge.
Observation admitted.
Invalid provider signature.
Conflicting delivery identity.
curl -X POST 'https://api.runx.ai/webhooks/signals/{provider}'const response = await fetch('https://api.runx.ai/webhooks/signals/{provider}', {
method: 'POST',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/webhooks/signals/{provider}', {
method: 'POST',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.post('https://api.runx.ai/webhooks/signals/{provider}')
data = response.json(){
"status": "accepted",
"observation": {
"schema": "runx.source_observation.v1",
"observation_id": "string",
"content_digest": "string",
"source_policy_digest": "string",
"admitted_at": "2024-01-15T09:30:00Z",
"signal": {
"authenticity": {
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"host_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"principal_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"signature_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"trust_level": "unverified",
"verified_at": "string",
"verified_by_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
},
"body_preview": "string",
"digest": {
"algorithm": "sha256",
"canonicalization": "string",
"derived_from": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"value": "string"
},
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"extensions": {},
"links": {
"duplicate_candidates": [
{
"candidate_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"confidence": 0,
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"observed_at": "string",
"reviewer_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
}
],
"duplicate_of": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"related": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"superseded_by": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"supersedes": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
},
"observed_at": "string",
"schema": "runx.signal.v1",
"signal_id": "string",
"signal_type": "string",
"source_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"title": "string"
}
}
}string{
"status": "accepted",
"observation": {
"schema": "runx.source_observation.v1",
"observation_id": "string",
"content_digest": "string",
"source_policy_digest": "string",
"admitted_at": "2024-01-15T09:30:00Z",
"signal": {
"authenticity": {
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"host_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"principal_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"signature_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"trust_level": "unverified",
"verified_at": "string",
"verified_by_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
},
"body_preview": "string",
"digest": {
"algorithm": "sha256",
"canonicalization": "string",
"derived_from": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"value": "string"
},
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"extensions": {},
"links": {
"duplicate_candidates": [
{
"candidate_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"confidence": 0,
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"observed_at": "string",
"reviewer_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
}
],
"duplicate_of": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"related": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"superseded_by": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"supersedes": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
},
"observed_at": "string",
"schema": "runx.signal.v1",
"signal_id": "string",
"signal_type": "string",
"source_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"title": "string"
}
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}billing
Summarize purchases sold by the authenticated seller
Response
Typed purchase result.
Invalid current-V1 request envelope.
Unauthorized.
Missing scope, or the purchase is another party's.
Purchase request rate limited.
Purchase service unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/purchases/overview'const response = await fetch('https://api.runx.ai/v1/purchases/overview', {
method: 'POST',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/purchases/overview', {
method: 'POST',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.post('https://api.runx.ai/v1/purchases/overview')
data = response.json(){
"schema": "runx.seller_purchase_overview.v1",
"generated_at": "2024-01-15T09:30:00Z",
"periods": [
{
"period": "last_24_hours",
"metrics": {
"purchase_count": 0,
"paid_count": 0,
"successful_count": 0,
"failed_count": 0,
"in_progress_count": 0,
"delivered_count": 0,
"refunded_count": 0,
"unique_buyer_count": 0,
"repeat_buyer_count": 0,
"money": [
{
"currency": "string",
"gross_amount_minor": 0,
"refunded_amount_minor": 0
}
]
}
}
],
"tools": [
{
"offer_id": "string",
"metrics": {
"purchase_count": 0,
"paid_count": 0,
"successful_count": 0,
"failed_count": 0,
"in_progress_count": 0,
"delivered_count": 0,
"refunded_count": 0,
"unique_buyer_count": 0,
"repeat_buyer_count": 0,
"money": [
{
"currency": "string",
"gross_amount_minor": 0,
"refunded_amount_minor": 0
}
]
},
"last_paid_at": "2024-01-15T09:30:00Z"
}
],
"offers_truncated": true,
"daily": [
{
"date": "2024-01-15",
"metrics": {
"purchase_count": 0,
"paid_count": 0,
"successful_count": 0,
"failed_count": 0,
"in_progress_count": 0,
"delivered_count": 0,
"refunded_count": 0,
"unique_buyer_count": 0,
"repeat_buyer_count": 0,
"money": [
{
"currency": "string",
"gross_amount_minor": 0,
"refunded_amount_minor": 0
}
]
}
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}List purchases sold by the authenticated seller
Body
Bounded page of the seller's purchases.
Seller-facing HTTP contracts owned by purchases. OpenAPI is generated from these types; portable fields reference their canonical Runx schema.
cursorstringlimitinteger[1, 100]50Response
Typed purchase result.
Invalid current-V1 request envelope.
Unauthorized.
Missing scope, or the purchase is another party's.
Purchase request rate limited.
Purchase service unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/purchases/list' \
-H 'Content-Type: application/json' \
-d '{
"cursor": "string",
"limit": 50
}'const response = await fetch('https://api.runx.ai/v1/purchases/list', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"cursor": "string",
"limit": 50
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/purchases/list', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"cursor": "string",
"limit": 50
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"cursor": "string",
"limit": 50
}
response = requests.post('https://api.runx.ai/v1/purchases/list', json=payload)
data = response.json(){
"cursor": "string",
"limit": 50
}{
"schema": "runx.seller_purchase_page.v1",
"items": [
{
"purchase_id": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"package_digest": "string",
"input_digest": "string",
"amount_minor": 1,
"currency": "string",
"settlement_family": "string",
"payment_state": "unpaid",
"execution_state": "unstarted",
"outcome_gate": "open",
"payment_ref": {
"type": "thread",
"uri": "string"
},
"created_at": "string",
"updated_at": "string",
"run": {
"run_ref": {
"type": "thread",
"uri": "string"
},
"attempt_count": 0,
"next_attempt_at": "2024-01-15T09:30:00Z",
"blocked_at": "2024-01-15T09:30:00Z"
},
"terminal": {
"outcome": "fulfilment",
"delivery_state": "pending",
"delivered_at": "2024-01-15T09:30:00Z",
"receipt_ref": {
"type": "thread",
"uri": "string"
},
"result_ref": {
"type": "thread",
"uri": "string"
},
"refund_ref": {
"type": "thread",
"uri": "string"
},
"failure": {
"code": "string",
"message": "string"
}
}
}
],
"next_cursor": "string"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Read an owned purchase
Body
Current-V1 purchase read request.
purchase_idstringrequiredResponse
Typed purchase result.
Invalid current-V1 request envelope.
Unauthorized.
Missing scope, or the purchase is another party's.
Purchase request rate limited.
Purchase service unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/purchases/get' \
-H 'Content-Type: application/json' \
-d '{
"purchase_id": "string"
}'const response = await fetch('https://api.runx.ai/v1/purchases/get', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"purchase_id": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/purchases/get', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"purchase_id": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"purchase_id": "string"
}
response = requests.post('https://api.runx.ai/v1/purchases/get', json=payload)
data = response.json(){
"purchase_id": "string"
}{
"status": "admitted",
"value": {
"failure": {
"code": "string",
"message": "string"
},
"purchase": {
"accepted_settlement_families": [
"string"
],
"act_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"amount_minor": 1,
"buyer_key": "string",
"buyer_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"canonicalizer_version": "runx.receipt.c14n.v1",
"created_at": "string",
"currency": "string",
"execution_state": "unstarted",
"expires_at": "string",
"external_job_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"input_digest": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"outcome_gate": "open",
"package_digest": "string",
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"payment_state": "unpaid",
"purchase_id": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"settlement_family": "string",
"skill_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"updated_at": "string"
},
"receipt_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"result_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"run_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "act",
"uri": "string"
}
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Cancel an owned purchase
Body
Current-V1 purchase cancellation request.
idempotencyobjectrequiredpurchase_idstringrequiredResponse
Typed purchase result.
Invalid current-V1 request envelope.
Unauthorized.
Missing scope, or the purchase is another party's.
Purchase request rate limited.
Purchase service unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/purchases/cancel' \
-H 'Content-Type: application/json' \
-d '{
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"purchase_id": "string"
}'const response = await fetch('https://api.runx.ai/v1/purchases/cancel', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"purchase_id": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/purchases/cancel', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"purchase_id": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"purchase_id": "string"
}
response = requests.post('https://api.runx.ai/v1/purchases/cancel', json=payload)
data = response.json(){
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"purchase_id": "string"
}{
"status": "admitted",
"value": {
"purchase": {
"accepted_settlement_families": [
"string"
],
"act_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"amount_minor": 1,
"buyer_key": "string",
"buyer_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"canonicalizer_version": "runx.receipt.c14n.v1",
"created_at": "string",
"currency": "string",
"execution_state": "unstarted",
"expires_at": "string",
"external_job_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"input_digest": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"outcome_gate": "open",
"package_digest": "string",
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"payment_state": "unpaid",
"purchase_id": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"settlement_family": "string",
"skill_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"updated_at": "string"
}
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Create a self-serve hosted principal and credential
Body
Optional account display metadata.
display_namestringResponse
Created principal and one-time credential.
Self-serve identity is not configured.
curl -X POST 'https://api.runx.ai/v1/accounts' \
-H 'Content-Type: application/json' \
-d '{
"display_name": "string"
}'const response = await fetch('https://api.runx.ai/v1/accounts', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"display_name": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/accounts', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"display_name": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"display_name": "string"
}
response = requests.post('https://api.runx.ai/v1/accounts', json=payload)
data = response.json(){
"display_name": "string"
}{
"status": "created",
"principal": {},
"credential": {
"credential_id": "string",
"token": "string"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Create a Stripe SetupIntent for self-serve hosted topup
Body
Stripe setup idempotency request.
idempotency_keystringResponse
Stripe setup intent.
Validation error.
Unauthorized.
Stripe setup is not configured.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/billing/stripe/setup-intents' \
-H 'Content-Type: application/json' \
-d '{
"idempotency_key": "string"
}'const response = await fetch('https://api.runx.ai/v1/billing/stripe/setup-intents', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"idempotency_key": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/billing/stripe/setup-intents', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"idempotency_key": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"idempotency_key": "string"
}
response = requests.post('https://api.runx.ai/v1/billing/stripe/setup-intents', json=payload)
data = response.json(){
"idempotency_key": "string"
}{
"status": "created",
"stripe_setup": {
"customer": "string",
"setup_intent_id": "string",
"client_secret": "string"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Verify a completed Stripe SetupIntent and store the payment method
Parameters
idstringrequiredpathStripe SetupIntent id.
Response
Verified Stripe payment method.
Unauthorized.
Setup intent does not belong to this principal.
Setup intent is not complete.
Stripe setup is not configured.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/billing/stripe/setup-intents/{id}/confirm'const response = await fetch('https://api.runx.ai/v1/billing/stripe/setup-intents/{id}/confirm', {
method: 'POST',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/billing/stripe/setup-intents/{id}/confirm', {
method: 'POST',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.post('https://api.runx.ai/v1/billing/stripe/setup-intents/{id}/confirm')
data = response.json(){
"status": "success",
"stripe_payment_method": {
"principal_id": "string",
"customer": "string",
"paymentMethod": "string",
"created_at": "string",
"updated_at": "string"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Top up hosted credits through the configured Stripe rail
Body
Credit topup request.
amountinteger>= 1requiredidempotency_keystringResponse
Idempotent topup replay.
Topup applied.
Validation error.
Unauthorized.
Stripe charge refused.
Topup is not configured.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/billing/topup' \
-H 'Content-Type: application/json' \
-d '{
"amount": 1,
"idempotency_key": "string"
}'const response = await fetch('https://api.runx.ai/v1/billing/topup', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"amount": 1,
"idempotency_key": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/billing/topup', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"amount": 1,
"idempotency_key": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"amount": 1,
"idempotency_key": "string"
}
response = requests.post('https://api.runx.ai/v1/billing/topup', json=payload)
data = response.json(){
"amount": 1,
"idempotency_key": "string"
}{
"status": "applied",
"balance": 0,
"credited": 0,
"debited": 0,
"receipt_id": "string"
}{
"status": "applied",
"balance": 0,
"credited": 0,
"debited": 0,
"receipt_id": "string"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Project hosted credit balance from sealed receipts
Response
Projected credit balance.
Unauthorized.
Billing is not configured.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/billing/balance'const response = await fetch('https://api.runx.ai/v1/billing/balance', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/billing/balance', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/billing/balance')
data = response.json(){
"status": "success",
"balance": 0,
"credited": 0,
"debited": 0
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}List flat entitlement add-on records for the current principal
Response
Entitlement records.
Unauthorized.
Entitlements are not configured.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/billing/entitlements'const response = await fetch('https://api.runx.ai/v1/billing/entitlements', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/billing/entitlements', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/billing/entitlements')
data = response.json(){
"status": "success",
"entitlements": [
{}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Create or update one flat entitlement add-on record
Body
Entitlement subscription reference.
principal_idstringsubscription_referencestringrequiredParameters
addonstringrequiredpathEntitlement add-on id.
Response
Entitlement record.
Validation error.
Unauthorized.
Forbidden.
Entitlements are not configured.
Authorization
BearerAuthhttp (bearer)curl -X PUT 'https://api.runx.ai/v1/billing/entitlements/{addon}' \
-H 'Content-Type: application/json' \
-d '{
"principal_id": "string",
"subscription_reference": "string"
}'const response = await fetch('https://api.runx.ai/v1/billing/entitlements/{addon}', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"principal_id": "string",
"subscription_reference": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/billing/entitlements/{addon}', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"principal_id": "string",
"subscription_reference": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"principal_id": "string",
"subscription_reference": "string"
}
response = requests.put('https://api.runx.ai/v1/billing/entitlements/{addon}', json=payload)
data = response.json(){
"principal_id": "string",
"subscription_reference": "string"
}{
"status": "success",
"entitlement": {}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Start Stripe Connect seller onboarding for the authenticated tenant
Body
Seller onboarding link request.
refresh_urlstring<uri>requiredreturn_urlstring<uri>requiredseller_principal_idstringemailstringcountrystringResponse
Stripe Connect onboarding URL.
Validation error.
Unauthorized.
Stripe Connect onboarding is not configured.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/payments/connect/onboarding/start' \
-H 'Content-Type: application/json' \
-d '{
"refresh_url": "https://example.com",
"return_url": "https://example.com",
"seller_principal_id": "string",
"email": "string",
"country": "string"
}'const response = await fetch('https://api.runx.ai/v1/payments/connect/onboarding/start', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"refresh_url": "https://example.com",
"return_url": "https://example.com",
"seller_principal_id": "string",
"email": "string",
"country": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/payments/connect/onboarding/start', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"refresh_url": "https://example.com",
"return_url": "https://example.com",
"seller_principal_id": "string",
"email": "string",
"country": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"refresh_url": "https://example.com",
"return_url": "https://example.com",
"seller_principal_id": "string",
"email": "string",
"country": "string"
}
response = requests.post('https://api.runx.ai/v1/payments/connect/onboarding/start', json=payload)
data = response.json(){
"refresh_url": "https://example.com",
"return_url": "https://example.com",
"seller_principal_id": "string",
"email": "string",
"country": "string"
}{
"ok": true,
"onboarding_url": "https://example.com",
"expires_at": 0,
"seller": {
"principal_id": "string",
"stripe_account_id": "string",
"charges_enabled": true,
"payouts_enabled": true,
"details_submitted": true,
"status": "pending",
"registered_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Read Stripe Connect seller onboarding status for the authenticated tenant
Response
Stripe Connect seller status.
Unauthorized.
Stripe Connect onboarding is not configured.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/payments/connect/onboarding/status'const response = await fetch('https://api.runx.ai/v1/payments/connect/onboarding/status', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/payments/connect/onboarding/status', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/payments/connect/onboarding/status')
data = response.json(){
"ok": true,
"seller": {
"principal_id": "string",
"stripe_account_id": "string",
"charges_enabled": true,
"payouts_enabled": true,
"details_submitted": true,
"status": "pending",
"registered_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Fund a marketplace posting through tenant Stripe Connect
Body
Marketplace posting funding request.
principal_idstringidempotency_keystringrequiredposting_idstringrequiredpayer_refstringrequiredpayee_refstringrequiredcurrencystringrequiredprice_centsinteger>= 1requiredfee_centsinteger>= 0requiredclaim_limitinteger>= 1requiredfunded_claim_slotsinteger>= 1requiredquote_digeststringquote_expires_atstring<date-time>refund_policy_refstringResponse
Sealed marketplace funding receipt.
Validation error.
Unauthorized.
Refund or settlement policy refusal.
Stripe Connect marketplace is not configured.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/payments/connect/fund' \
-H 'Content-Type: application/json' \
-d '{
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string"
}'const response = await fetch('https://api.runx.ai/v1/payments/connect/fund', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/payments/connect/fund', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string"
}
response = requests.post('https://api.runx.ai/v1/payments/connect/fund', json=payload)
data = response.json(){
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string"
}{
"ok": true,
"receipt": {},
"idempotent_replay": true
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Pay a marketplace claim through tenant Stripe Connect
Body
Marketplace claim payout request.
principal_idstringidempotency_keystringrequiredposting_idstringrequiredclaim_idstringrequireddestination_account_idstringrequiredpayee_refstringrequiredpayer_refstringcurrencystringrequiredamount_centsinteger>= 1requiredsource_funding_intent_idstringrequiredsettled_atstring<date-time>requiredResponse
Sealed marketplace payout receipt.
Validation error.
Unauthorized.
Settlement policy refusal.
Stripe Connect marketplace is not configured.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/payments/connect/payout' \
-H 'Content-Type: application/json' \
-d '{
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"destination_account_id": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"settled_at": "2024-01-15T09:30:00Z"
}'const response = await fetch('https://api.runx.ai/v1/payments/connect/payout', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"destination_account_id": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"settled_at": "2024-01-15T09:30:00Z"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/payments/connect/payout', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"destination_account_id": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"settled_at": "2024-01-15T09:30:00Z"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"destination_account_id": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"settled_at": "2024-01-15T09:30:00Z"
}
response = requests.post('https://api.runx.ai/v1/payments/connect/payout', json=payload)
data = response.json(){
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"destination_account_id": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"settled_at": "2024-01-15T09:30:00Z"
}{
"ok": true,
"receipt": {},
"idempotent_replay": true
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Refund marketplace funding or reverse a marketplace payout through tenant Stripe Connect
Body
Marketplace funding refund or payout reversal request.
Response
Sealed marketplace refund receipt.
Validation error.
Unauthorized.
Receipt not found.
Refund policy refusal.
Stripe Connect marketplace is not configured.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/payments/connect/refund' \
-H 'Content-Type: application/json'const response = await fetch('https://api.runx.ai/v1/payments/connect/refund', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/payments/connect/refund', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.post('https://api.runx.ai/v1/payments/connect/refund', headers={'Content-Type': 'application/json'})
data = response.json(){
"ok": true,
"receipt": {},
"idempotent_replay": true
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Create a hosted PayPal checkout order for marketplace funding
Body
Marketplace funding terms plus optional return URLs.
principal_idstringidempotency_keystringrequiredposting_idstringrequiredpayer_refstringrequiredpayee_refstringrequiredcurrencystringrequiredprice_centsinteger>= 1requiredfee_centsinteger>= 0requiredclaim_limitinteger>= 1requiredfunded_claim_slotsinteger>= 1requiredquote_digeststringquote_expires_atstring<date-time>refund_policy_refstringreturn_urlstring<uri>cancel_urlstring<uri>Response
PayPal order and approval URL.
Validation error.
Unauthorized.
PayPal order creation failed.
PayPal marketplace funding is not configured.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/payments/paypal/orders' \
-H 'Content-Type: application/json' \
-d '{
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"return_url": "https://example.com",
"cancel_url": "https://example.com"
}'const response = await fetch('https://api.runx.ai/v1/payments/paypal/orders', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"return_url": "https://example.com",
"cancel_url": "https://example.com"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/payments/paypal/orders', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"return_url": "https://example.com",
"cancel_url": "https://example.com"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"return_url": "https://example.com",
"cancel_url": "https://example.com"
}
response = requests.post('https://api.runx.ai/v1/payments/paypal/orders', json=payload)
data = response.json(){
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"return_url": "https://example.com",
"cancel_url": "https://example.com"
}{
"ok": true,
"order_id": "string",
"status": "string",
"approval_url": "https://example.com",
"amount_cents": 1,
"currency": "string"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Capture a hosted PayPal order and seal a marketplace funding receipt
Body
Marketplace funding terms plus approved PayPal order id.
principal_idstringidempotency_keystringrequiredposting_idstringrequiredpayer_refstringrequiredpayee_refstringrequiredcurrencystringrequiredprice_centsinteger>= 1requiredfee_centsinteger>= 0requiredclaim_limitinteger>= 1requiredfunded_claim_slotsinteger>= 1requiredquote_digeststringquote_expires_atstring<date-time>refund_policy_refstringorder_idstringrequiredResponse
Sealed marketplace funding receipt.
Validation error.
Unauthorized.
Settlement policy refusal.
PayPal capture failed.
PayPal marketplace funding is not configured.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/payments/paypal/capture' \
-H 'Content-Type: application/json' \
-d '{
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"order_id": "string"
}'const response = await fetch('https://api.runx.ai/v1/payments/paypal/capture', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"order_id": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/payments/paypal/capture', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"order_id": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"order_id": "string"
}
response = requests.post('https://api.runx.ai/v1/payments/paypal/capture', json=payload)
data = response.json(){
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"order_id": "string"
}{
"ok": true,
"receipt": {},
"idempotent_replay": true
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Refund PayPal marketplace funding and seal a refund receipt
Body
Marketplace PayPal funding refund request.
funding_receipt_idstringrequiredidempotency_keystringrequiredamount_centsinteger>= 1requiredrefund_basisstringrequiredreasonstringrequiredworker_slots_refundedinteger>= 0requiredworker_refunded_centsinteger>= 0requiredfee_refunded_centsinteger>= 0requiredpolicy_decision_refstringResponse
Sealed marketplace refund receipt.
Validation error.
Unauthorized.
Receipt not found.
Refund policy refusal.
PayPal refund failed.
PayPal marketplace funding is not configured.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/payments/paypal/refund' \
-H 'Content-Type: application/json' \
-d '{
"funding_receipt_id": "string",
"idempotency_key": "string",
"amount_cents": 1,
"refund_basis": "string",
"reason": "string",
"worker_slots_refunded": 0,
"worker_refunded_cents": 0,
"fee_refunded_cents": 0,
"policy_decision_ref": "string"
}'const response = await fetch('https://api.runx.ai/v1/payments/paypal/refund', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"funding_receipt_id": "string",
"idempotency_key": "string",
"amount_cents": 1,
"refund_basis": "string",
"reason": "string",
"worker_slots_refunded": 0,
"worker_refunded_cents": 0,
"fee_refunded_cents": 0,
"policy_decision_ref": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/payments/paypal/refund', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"funding_receipt_id": "string",
"idempotency_key": "string",
"amount_cents": 1,
"refund_basis": "string",
"reason": "string",
"worker_slots_refunded": 0,
"worker_refunded_cents": 0,
"fee_refunded_cents": 0,
"policy_decision_ref": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"funding_receipt_id": "string",
"idempotency_key": "string",
"amount_cents": 1,
"refund_basis": "string",
"reason": "string",
"worker_slots_refunded": 0,
"worker_refunded_cents": 0,
"fee_refunded_cents": 0,
"policy_decision_ref": "string"
}
response = requests.post('https://api.runx.ai/v1/payments/paypal/refund', json=payload)
data = response.json(){
"funding_receipt_id": "string",
"idempotency_key": "string",
"amount_cents": 1,
"refund_basis": "string",
"reason": "string",
"worker_slots_refunded": 0,
"worker_refunded_cents": 0,
"fee_refunded_cents": 0,
"policy_decision_ref": "string"
}{
"ok": true,
"receipt": {},
"idempotent_replay": true
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Quote a marketplace posting's x402 payment requirements
Body
x402 marketplace posting quote request.
resourcestringrequireddescriptionstringprice_centsinteger>= 1requiredfee_centsinteger>= 0requiredfunded_claim_slotsinteger>= 1requiredmax_timeout_secondsinteger>= 1Response
Canonical x402 payment requirements.
Validation error.
Unauthorized.
Tenant x402 marketplace rail is not configured.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/payments/x402/quote' \
-H 'Content-Type: application/json' \
-d '{
"resource": "string",
"description": "string",
"price_cents": 1,
"fee_cents": 0,
"funded_claim_slots": 1,
"max_timeout_seconds": 1
}'const response = await fetch('https://api.runx.ai/v1/payments/x402/quote', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"resource": "string",
"description": "string",
"price_cents": 1,
"fee_cents": 0,
"funded_claim_slots": 1,
"max_timeout_seconds": 1
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/payments/x402/quote', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"resource": "string",
"description": "string",
"price_cents": 1,
"fee_cents": 0,
"funded_claim_slots": 1,
"max_timeout_seconds": 1
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"resource": "string",
"description": "string",
"price_cents": 1,
"fee_cents": 0,
"funded_claim_slots": 1,
"max_timeout_seconds": 1
}
response = requests.post('https://api.runx.ai/v1/payments/x402/quote', json=payload)
data = response.json(){
"resource": "string",
"description": "string",
"price_cents": 1,
"fee_cents": 0,
"funded_claim_slots": 1,
"max_timeout_seconds": 1
}{
"ok": true,
"accepts": [
{
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
}
],
"payment_requirements": {
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Read tenant x402 settlement targets
Response
Configured x402 settlement targets.
Unauthorized.
Forbidden.
Tenant x402 credential is not configured.
x402 target management is not configured.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/payments/x402/targets'const response = await fetch('https://api.runx.ai/v1/payments/x402/targets', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/payments/x402/targets', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/payments/x402/targets')
data = response.json(){
"ok": true,
"grant_id": "string",
"outbound_configured": true,
"targets": [
{
"network": "base-sepolia",
"asset": "string",
"pay_to": "string",
"asset_decimals": 0,
"eip712_domain": {
"name": "string",
"version": "string"
},
"recommended": true
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Replace tenant x402 settlement targets without rotating CDP secrets
Body
x402 settlement target replacement.
targetsArray<X402SettlementTarget>requiredResponse
Configured x402 settlement targets.
Validation error.
Unauthorized.
Forbidden.
Tenant x402 credential is not configured.
Tenant credential is not BYO Coinbase CDP.
x402 target management is not configured.
Authorization
BearerAuthhttp (bearer)curl -X PUT 'https://api.runx.ai/v1/payments/x402/targets' \
-H 'Content-Type: application/json' \
-d '{
"targets": [
{
"network": "base-sepolia",
"asset": "string",
"pay_to": "string",
"asset_decimals": 0,
"eip712_domain": {
"name": "string",
"version": "string"
},
"recommended": true
}
]
}'const response = await fetch('https://api.runx.ai/v1/payments/x402/targets', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"targets": [
{
"network": "base-sepolia",
"asset": "string",
"pay_to": "string",
"asset_decimals": 0,
"eip712_domain": {
"name": "string",
"version": "string"
},
"recommended": true
}
]
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/payments/x402/targets', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"targets": [
{
"network": "base-sepolia",
"asset": "string",
"pay_to": "string",
"asset_decimals": 0,
"eip712_domain": {
"name": "string",
"version": "string"
},
"recommended": true
}
]
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"targets": [
{
"network": "base-sepolia",
"asset": "string",
"pay_to": "string",
"asset_decimals": 0,
"eip712_domain": {
"name": "string",
"version": "string"
},
"recommended": True
}
]
}
response = requests.put('https://api.runx.ai/v1/payments/x402/targets', json=payload)
data = response.json(){
"targets": [
{
"network": "base-sepolia",
"asset": "string",
"pay_to": "string",
"asset_decimals": 0,
"eip712_domain": {
"name": "string",
"version": "string"
},
"recommended": true
}
]
}{
"ok": true,
"grant_id": "string",
"outbound_configured": true,
"targets": [
{
"network": "base-sepolia",
"asset": "string",
"pay_to": "string",
"asset_decimals": 0,
"eip712_domain": {
"name": "string",
"version": "string"
},
"recommended": true
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Fund a marketplace posting through tenant Coinbase CDP x402
Body
x402 marketplace posting funding request.
principal_idstringidempotency_keystringrequiredposting_idstringrequiredpayer_refstringrequiredpayee_refstringrequiredcurrencystringrequiredprice_centsinteger>= 1requiredfee_centsinteger>= 0requiredclaim_limitinteger>= 1requiredfunded_claim_slotsinteger>= 1requiredquote_digeststringquote_expires_atstring<date-time>refund_policy_refstringpayment_payloadX402V2PaymentPayloadrequiredpayment_requirementsX402V2PaymentRequirementsrequiredResponse
Sealed marketplace funding receipt.
Validation error.
Unauthorized.
x402 payment verification failed.
Tenant x402 marketplace rail is not configured.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/payments/x402/fund' \
-H 'Content-Type: application/json' \
-d '{
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"payment_payload": {
"accepted": {
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
},
"extensions": {},
"payload": {},
"resource": {
"description": "string",
"iconUrl": "string",
"mimeType": "string",
"serviceName": "string",
"tags": [
"string"
],
"url": "string"
},
"x402Version": 2
},
"payment_requirements": {
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
}
}'const response = await fetch('https://api.runx.ai/v1/payments/x402/fund', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"payment_payload": {
"accepted": {
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
},
"extensions": {},
"payload": {},
"resource": {
"description": "string",
"iconUrl": "string",
"mimeType": "string",
"serviceName": "string",
"tags": [
"string"
],
"url": "string"
},
"x402Version": 2
},
"payment_requirements": {
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
}
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/payments/x402/fund', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"payment_payload": {
"accepted": {
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
},
"extensions": {},
"payload": {},
"resource": {
"description": "string",
"iconUrl": "string",
"mimeType": "string",
"serviceName": "string",
"tags": [
"string"
],
"url": "string"
},
"x402Version": 2
},
"payment_requirements": {
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
}
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"payment_payload": {
"accepted": {
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
},
"extensions": {},
"payload": {},
"resource": {
"description": "string",
"iconUrl": "string",
"mimeType": "string",
"serviceName": "string",
"tags": [
"string"
],
"url": "string"
},
"x402Version": 2
},
"payment_requirements": {
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
}
}
response = requests.post('https://api.runx.ai/v1/payments/x402/fund', json=payload)
data = response.json(){
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"payment_payload": {
"accepted": {
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
},
"extensions": {},
"payload": {},
"resource": {
"description": "string",
"iconUrl": "string",
"mimeType": "string",
"serviceName": "string",
"tags": [
"string"
],
"url": "string"
},
"x402Version": 2
},
"payment_requirements": {
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
}
}{
"ok": true,
"receipt": {},
"idempotent_replay": true
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Refund x402 marketplace funding to its verified payer
Body
Linked x402 marketplace funding refund request.
funding_receipt_idstringrequiredidempotency_keystringrequiredamount_centsinteger>= 1requiredrefund_basisstringrequiredreasonstringrequiredworker_slots_refundedinteger>= 0requiredworker_refunded_centsinteger>= 0requiredfee_refunded_centsinteger>= 0requiredpolicy_decision_refstringResponse
Sealed x402 marketplace refund receipt.
x402 refund is reserved and still settling.
Validation error.
Unauthorized.
Funding receipt not found.
Refund policy or provider-evidence refusal.
x402 refund rail is unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/payments/x402/refund' \
-H 'Content-Type: application/json' \
-d '{
"funding_receipt_id": "string",
"idempotency_key": "string",
"amount_cents": 1,
"refund_basis": "string",
"reason": "string",
"worker_slots_refunded": 0,
"worker_refunded_cents": 0,
"fee_refunded_cents": 0,
"policy_decision_ref": "string"
}'const response = await fetch('https://api.runx.ai/v1/payments/x402/refund', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"funding_receipt_id": "string",
"idempotency_key": "string",
"amount_cents": 1,
"refund_basis": "string",
"reason": "string",
"worker_slots_refunded": 0,
"worker_refunded_cents": 0,
"fee_refunded_cents": 0,
"policy_decision_ref": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/payments/x402/refund', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"funding_receipt_id": "string",
"idempotency_key": "string",
"amount_cents": 1,
"refund_basis": "string",
"reason": "string",
"worker_slots_refunded": 0,
"worker_refunded_cents": 0,
"fee_refunded_cents": 0,
"policy_decision_ref": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"funding_receipt_id": "string",
"idempotency_key": "string",
"amount_cents": 1,
"refund_basis": "string",
"reason": "string",
"worker_slots_refunded": 0,
"worker_refunded_cents": 0,
"fee_refunded_cents": 0,
"policy_decision_ref": "string"
}
response = requests.post('https://api.runx.ai/v1/payments/x402/refund', json=payload)
data = response.json(){
"funding_receipt_id": "string",
"idempotency_key": "string",
"amount_cents": 1,
"refund_basis": "string",
"reason": "string",
"worker_slots_refunded": 0,
"worker_refunded_cents": 0,
"fee_refunded_cents": 0,
"policy_decision_ref": "string"
}{
"ok": true,
"receipt": {},
"idempotent_replay": true
}{
"ok": true,
"status": "pending",
"code": "settlement_pending",
"message": "string",
"retryable": true
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Pay a marketplace claim through tenant Coinbase CDP x402
Body
x402 marketplace claim payout request.
idempotency_keystringrequiredposting_idstringrequiredclaim_idstringrequiredworker_principal_idstringrequiredrailstringrequiredpayout_identity_hashstringrequiredpayee_refstringrequiredpayer_refstringcurrencystringrequiredamount_centsinteger>= 1requiredsource_funding_intent_idstringrequiredpayout_basis_refstringsettled_atstring<date-time>requiredResponse
Sealed marketplace payout receipt.
Validation error.
Unauthorized.
Settlement policy refusal.
Tenant x402 payout rail is not configured.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/payments/x402/payout' \
-H 'Content-Type: application/json' \
-d '{
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"worker_principal_id": "string",
"rail": "string",
"payout_identity_hash": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"payout_basis_ref": "string",
"settled_at": "2024-01-15T09:30:00Z"
}'const response = await fetch('https://api.runx.ai/v1/payments/x402/payout', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"worker_principal_id": "string",
"rail": "string",
"payout_identity_hash": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"payout_basis_ref": "string",
"settled_at": "2024-01-15T09:30:00Z"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/payments/x402/payout', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"worker_principal_id": "string",
"rail": "string",
"payout_identity_hash": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"payout_basis_ref": "string",
"settled_at": "2024-01-15T09:30:00Z"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"worker_principal_id": "string",
"rail": "string",
"payout_identity_hash": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"payout_basis_ref": "string",
"settled_at": "2024-01-15T09:30:00Z"
}
response = requests.post('https://api.runx.ai/v1/payments/x402/payout', json=payload)
data = response.json(){
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"worker_principal_id": "string",
"rail": "string",
"payout_identity_hash": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"payout_basis_ref": "string",
"settled_at": "2024-01-15T09:30:00Z"
}{
"ok": true,
"receipt": {},
"idempotent_replay": true
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Pay a marketplace claim from tenant x402 float
Body
x402 tenant-float payout request.
idempotency_keystringrequiredposting_idstringrequiredclaim_idstringrequiredworker_principal_idstringrequiredrailstringrequiredpayout_identity_hashstringrequiredpayee_refstringrequiredpayer_refstringcurrencystringrequiredamount_centsinteger>= 1requiredsource_funding_intent_idstringpayout_basis_refstringsettled_atstring<date-time>requiredResponse
Sealed marketplace payout receipt.
Validation error.
Unauthorized.
Settlement policy refusal.
Tenant x402 payout rail is not configured.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/payments/x402/float-payout' \
-H 'Content-Type: application/json' \
-d '{
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"worker_principal_id": "string",
"rail": "string",
"payout_identity_hash": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"payout_basis_ref": "string",
"settled_at": "2024-01-15T09:30:00Z"
}'const response = await fetch('https://api.runx.ai/v1/payments/x402/float-payout', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"worker_principal_id": "string",
"rail": "string",
"payout_identity_hash": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"payout_basis_ref": "string",
"settled_at": "2024-01-15T09:30:00Z"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/payments/x402/float-payout', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"worker_principal_id": "string",
"rail": "string",
"payout_identity_hash": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"payout_basis_ref": "string",
"settled_at": "2024-01-15T09:30:00Z"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"worker_principal_id": "string",
"rail": "string",
"payout_identity_hash": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"payout_basis_ref": "string",
"settled_at": "2024-01-15T09:30:00Z"
}
response = requests.post('https://api.runx.ai/v1/payments/x402/float-payout', json=payload)
data = response.json(){
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"worker_principal_id": "string",
"rail": "string",
"payout_identity_hash": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"payout_basis_ref": "string",
"settled_at": "2024-01-15T09:30:00Z"
}{
"ok": true,
"receipt": {},
"idempotent_replay": true
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Register a worker payout wallet for x402 marketplace settlement
Body
Worker x402 payout wallet registration.
worker_principal_idstringrequiredrailstringrequiredaddressstringrequiredResponse
Registered x402 worker wallet.
Validation error.
Unauthorized.
Payment write scope is required.
Payout wallet is registered to another worker.
x402 worker-wallet registry is not configured.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/payments/x402/worker-wallet' \
-H 'Content-Type: application/json' \
-d '{
"worker_principal_id": "string",
"rail": "string",
"address": "string"
}'const response = await fetch('https://api.runx.ai/v1/payments/x402/worker-wallet', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"worker_principal_id": "string",
"rail": "string",
"address": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/payments/x402/worker-wallet', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"worker_principal_id": "string",
"rail": "string",
"address": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"worker_principal_id": "string",
"rail": "string",
"address": "string"
}
response = requests.post('https://api.runx.ai/v1/payments/x402/worker-wallet', json=payload)
data = response.json(){
"worker_principal_id": "string",
"rail": "string",
"address": "string"
}{
"ok": true
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}purchases
Summarize purchases sold by the authenticated seller
Response
Typed purchase result.
Invalid current-V1 request envelope.
Unauthorized.
Missing scope, or the purchase is another party's.
Purchase request rate limited.
Purchase service unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/purchases/overview'const response = await fetch('https://api.runx.ai/v1/purchases/overview', {
method: 'POST',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/purchases/overview', {
method: 'POST',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.post('https://api.runx.ai/v1/purchases/overview')
data = response.json(){
"schema": "runx.seller_purchase_overview.v1",
"generated_at": "2024-01-15T09:30:00Z",
"periods": [
{
"period": "last_24_hours",
"metrics": {
"purchase_count": 0,
"paid_count": 0,
"successful_count": 0,
"failed_count": 0,
"in_progress_count": 0,
"delivered_count": 0,
"refunded_count": 0,
"unique_buyer_count": 0,
"repeat_buyer_count": 0,
"money": [
{
"currency": "string",
"gross_amount_minor": 0,
"refunded_amount_minor": 0
}
]
}
}
],
"tools": [
{
"offer_id": "string",
"metrics": {
"purchase_count": 0,
"paid_count": 0,
"successful_count": 0,
"failed_count": 0,
"in_progress_count": 0,
"delivered_count": 0,
"refunded_count": 0,
"unique_buyer_count": 0,
"repeat_buyer_count": 0,
"money": [
{
"currency": "string",
"gross_amount_minor": 0,
"refunded_amount_minor": 0
}
]
},
"last_paid_at": "2024-01-15T09:30:00Z"
}
],
"offers_truncated": true,
"daily": [
{
"date": "2024-01-15",
"metrics": {
"purchase_count": 0,
"paid_count": 0,
"successful_count": 0,
"failed_count": 0,
"in_progress_count": 0,
"delivered_count": 0,
"refunded_count": 0,
"unique_buyer_count": 0,
"repeat_buyer_count": 0,
"money": [
{
"currency": "string",
"gross_amount_minor": 0,
"refunded_amount_minor": 0
}
]
}
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}List purchases sold by the authenticated seller
Body
Bounded page of the seller's purchases.
Seller-facing HTTP contracts owned by purchases. OpenAPI is generated from these types; portable fields reference their canonical Runx schema.
cursorstringlimitinteger[1, 100]50Response
Typed purchase result.
Invalid current-V1 request envelope.
Unauthorized.
Missing scope, or the purchase is another party's.
Purchase request rate limited.
Purchase service unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/purchases/list' \
-H 'Content-Type: application/json' \
-d '{
"cursor": "string",
"limit": 50
}'const response = await fetch('https://api.runx.ai/v1/purchases/list', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"cursor": "string",
"limit": 50
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/purchases/list', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"cursor": "string",
"limit": 50
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"cursor": "string",
"limit": 50
}
response = requests.post('https://api.runx.ai/v1/purchases/list', json=payload)
data = response.json(){
"cursor": "string",
"limit": 50
}{
"schema": "runx.seller_purchase_page.v1",
"items": [
{
"purchase_id": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"package_digest": "string",
"input_digest": "string",
"amount_minor": 1,
"currency": "string",
"settlement_family": "string",
"payment_state": "unpaid",
"execution_state": "unstarted",
"outcome_gate": "open",
"payment_ref": {
"type": "thread",
"uri": "string"
},
"created_at": "string",
"updated_at": "string",
"run": {
"run_ref": {
"type": "thread",
"uri": "string"
},
"attempt_count": 0,
"next_attempt_at": "2024-01-15T09:30:00Z",
"blocked_at": "2024-01-15T09:30:00Z"
},
"terminal": {
"outcome": "fulfilment",
"delivery_state": "pending",
"delivered_at": "2024-01-15T09:30:00Z",
"receipt_ref": {
"type": "thread",
"uri": "string"
},
"result_ref": {
"type": "thread",
"uri": "string"
},
"refund_ref": {
"type": "thread",
"uri": "string"
},
"failure": {
"code": "string",
"message": "string"
}
}
}
],
"next_cursor": "string"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Read an owned purchase
Body
Current-V1 purchase read request.
purchase_idstringrequiredResponse
Typed purchase result.
Invalid current-V1 request envelope.
Unauthorized.
Missing scope, or the purchase is another party's.
Purchase request rate limited.
Purchase service unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/purchases/get' \
-H 'Content-Type: application/json' \
-d '{
"purchase_id": "string"
}'const response = await fetch('https://api.runx.ai/v1/purchases/get', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"purchase_id": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/purchases/get', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"purchase_id": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"purchase_id": "string"
}
response = requests.post('https://api.runx.ai/v1/purchases/get', json=payload)
data = response.json(){
"purchase_id": "string"
}{
"status": "admitted",
"value": {
"failure": {
"code": "string",
"message": "string"
},
"purchase": {
"accepted_settlement_families": [
"string"
],
"act_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"amount_minor": 1,
"buyer_key": "string",
"buyer_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"canonicalizer_version": "runx.receipt.c14n.v1",
"created_at": "string",
"currency": "string",
"execution_state": "unstarted",
"expires_at": "string",
"external_job_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"input_digest": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"outcome_gate": "open",
"package_digest": "string",
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"payment_state": "unpaid",
"purchase_id": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"settlement_family": "string",
"skill_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"updated_at": "string"
},
"receipt_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"result_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"run_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "act",
"uri": "string"
}
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Cancel an owned purchase
Body
Current-V1 purchase cancellation request.
idempotencyobjectrequiredpurchase_idstringrequiredResponse
Typed purchase result.
Invalid current-V1 request envelope.
Unauthorized.
Missing scope, or the purchase is another party's.
Purchase request rate limited.
Purchase service unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/purchases/cancel' \
-H 'Content-Type: application/json' \
-d '{
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"purchase_id": "string"
}'const response = await fetch('https://api.runx.ai/v1/purchases/cancel', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"purchase_id": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/purchases/cancel', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"purchase_id": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"purchase_id": "string"
}
response = requests.post('https://api.runx.ai/v1/purchases/cancel', json=payload)
data = response.json(){
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"purchase_id": "string"
}{
"status": "admitted",
"value": {
"purchase": {
"accepted_settlement_families": [
"string"
],
"act_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"amount_minor": 1,
"buyer_key": "string",
"buyer_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"canonicalizer_version": "runx.receipt.c14n.v1",
"created_at": "string",
"currency": "string",
"execution_state": "unstarted",
"expires_at": "string",
"external_job_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"input_digest": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"outcome_gate": "open",
"package_digest": "string",
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"payment_state": "unpaid",
"purchase_id": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"settlement_family": "string",
"skill_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"updated_at": "string"
}
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Read one purchase as its buyer: never the seller's run
Read by the account that bought it, or by a request the buyer key that owns it signed. A purchase lists what it holds; a held value never appears.
Parameters
idstringrequiredpathPurchase id: the purchase id.
X-Runx-Buyer-SignaturestringheaderThe buyer key's Ed25519 signature over runx.payment.purchase_read_request.v1: this method, this URL and the issued-at time.
X-Runx-Buyer-Issued-AtstringheaderWhen the request was signed; runx refuses one outside five minutes of its clock.
Response
Purchase.
Unauthorized, or a signature that is not the key's, here and now.
Purchase not found.
Authorization
BearerAuthhttp (bearer)BuyerKeyapiKey in headerThe Ed25519 buyer key that owns a purchase, with the request's signature and time in X-Runx-Buyer-Signature and X-Runx-Buyer-Issued-At.
curl -X GET 'https://api.runx.ai/v1/purchases/{id}'const response = await fetch('https://api.runx.ai/v1/purchases/{id}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/purchases/{id}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/purchases/{id}')
data = response.json(){
"balance_micro": 0,
"failure": {
"code": "string",
"message": "string"
},
"holds": [
{
"connector": "string",
"credential": "string",
"expires_at": "string",
"target": "string",
"value_digest": "string"
}
],
"purchase": {
"accepted_settlement_families": [
"string"
],
"act_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"amount_minor": 1,
"buyer_key": "string",
"buyer_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"canonicalizer_version": "runx.receipt.c14n.v1",
"created_at": "string",
"currency": "string",
"execution_state": "unstarted",
"expires_at": "string",
"external_job_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"input_digest": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"outcome_gate": "open",
"package_digest": "string",
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"payment_state": "unpaid",
"purchase_id": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"settlement_family": "string",
"skill_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"updated_at": "string"
},
"receipt": {}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Claim what a purchase a buyer key owns holds
The buyer key signs runx.payment.purchase_claim.v1 over this URL, the time and the digest of the purchase's receipt, so a purchase claims nothing before it is fulfilled. An account's purchase is used through runx and never claimed.
Body
The buyer key's signed claim.
What a buyer sends runx's claim route for a held value (runx.payment.purchase_claim.v1).
claim_urlstringrequiredThe endpoint this claim is sent to: a claim is good for one endpoint.
issued_atstringrequiredWhen the buyer signed; runx refuses a stale claim.
receipt_digeststringrequiredThe digest of runx's receipt for the fulfilled purchase, as the purchase gave it: a purchase has none until it is fulfilled.
signaturestringrequiredThe buyer's signature over the claim schema, the endpoint, the time and the receipt digest, as stable JSON.
Parameters
idstringrequiredpathPurchase id: the purchase id.
Response
What the purchase holds now, with its fields.
The claim is not shaped as one.
The claim is not signed by this purchase's key, here and now.
Purchase not found.
The purchase is not key-owned or not fulfilled.
Authorization
BearerAuthhttp (bearer)BuyerKeyapiKey in headerThe Ed25519 buyer key that owns a purchase, with the request's signature and time in X-Runx-Buyer-Signature and X-Runx-Buyer-Issued-At.
curl -X POST 'https://api.runx.ai/v1/purchases/{id}/claim' \
-H 'Content-Type: application/json' \
-d '{
"claim_url": "string",
"issued_at": "string",
"receipt_digest": "string",
"signature": "string"
}'const response = await fetch('https://api.runx.ai/v1/purchases/{id}/claim', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"claim_url": "string",
"issued_at": "string",
"receipt_digest": "string",
"signature": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/purchases/{id}/claim', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"claim_url": "string",
"issued_at": "string",
"receipt_digest": "string",
"signature": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"claim_url": "string",
"issued_at": "string",
"receipt_digest": "string",
"signature": "string"
}
response = requests.post('https://api.runx.ai/v1/purchases/{id}/claim', json=payload)
data = response.json(){
"claim_url": "string",
"issued_at": "string",
"receipt_digest": "string",
"signature": "string"
}{
"status": "claimed",
"holds": [
{
"connector": "string",
"credential": "string",
"target": "string",
"expires_at": "2024-01-15T09:30:00Z",
"value_digest": "string",
"fields": {}
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Read one artifact a fulfilled purchase delivered
A short-lived read link for the purchase's result artifact, or an artifact its result names. The artifact stays the seller's; nothing is copied, and the reference is the one runx's purchase receipt sealed.
Parameters
idstringrequiredpathPurchase id: the purchase id.
artifact_uristringrequiredpathThe artifact reference the purchase's result names.
Response
A short-lived read of the artifact.
Unauthorized.
Missing artifacts:read scope.
The purchase delivered no such artifact.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/purchases/{id}/artifacts/{artifact_uri}'const response = await fetch('https://api.runx.ai/v1/purchases/{id}/artifacts/{artifact_uri}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/purchases/{id}/artifacts/{artifact_uri}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/purchases/{id}/artifacts/{artifact_uri}')
data = response.json(){
"artifact_uri": "string",
"content_digest": "string",
"media_type": "string",
"size_bytes": 1,
"created_at": "2024-01-15T09:30:00Z",
"url": "https://example.com",
"expires_at": "2024-01-15T09:30:00Z"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}connect
Create a signed connect ticket
Body
Connect ticket request.
providerstringrequiredscopesArray<string>scope_familystringauthority_kindstringread_onlyconstructivedestructivetarget_repostringtarget_locatorstringreturn_tostring<uri>requiredResponse
Created connect ticket.
Validation error.
Unauthorized.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/connect/tickets' \
-H 'Content-Type: application/json' \
-d '{
"provider": "string",
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"return_to": "https://example.com"
}'const response = await fetch('https://api.runx.ai/v1/connect/tickets', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"provider": "string",
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"return_to": "https://example.com"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connect/tickets', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"provider": "string",
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"return_to": "https://example.com"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"provider": "string",
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"return_to": "https://example.com"
}
response = requests.post('https://api.runx.ai/v1/connect/tickets', json=payload)
data = response.json(){
"provider": "string",
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"return_to": "https://example.com"
}{
"status": "success",
"connect": {}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}List grants
Response
Grants.
Unauthorized.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/grants'const response = await fetch('https://api.runx.ai/v1/grants', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/grants', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/grants')
data = response.json(){
"status": "success",
"grants": [
{
"grant_id": "string",
"principal_id": "string",
"provider": "string",
"account": "string",
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"auth_mode": "oauth",
"material_kind": "provider_credential",
"credential_material_bound": true,
"verification_status": "pending",
"verified_at": "2024-01-15T09:30:00Z",
"expires_at": "2024-01-15T09:30:00Z",
"grant_reference": {
"grant_id": "string",
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string"
},
"status": "active",
"created_at": "2024-01-15T09:30:00Z"
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Revoke one grant
Parameters
idstringrequiredpathGrant id.
Response
Revoked grant.
Unauthorized.
Grant not found.
Authorization
BearerAuthhttp (bearer)curl -X DELETE 'https://api.runx.ai/v1/grants/{id}'const response = await fetch('https://api.runx.ai/v1/grants/{id}', {
method: 'DELETE',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/grants/{id}', {
method: 'DELETE',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.delete('https://api.runx.ai/v1/grants/{id}')
data = response.json(){
"status": "revoked",
"grant": {
"grant_id": "string",
"principal_id": "string",
"provider": "string",
"account": "string",
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"auth_mode": "oauth",
"material_kind": "provider_credential",
"credential_material_bound": true,
"verification_status": "pending",
"verified_at": "2024-01-15T09:30:00Z",
"expires_at": "2024-01-15T09:30:00Z",
"grant_reference": {
"grant_id": "string",
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string"
},
"status": "active",
"created_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Invoke one grant-bound governed provider operation
Body
Grant and fixed provider operation input.
connector_bindingConnectorBindingrequiredAn exact connector revision: its connector name, its manifest digest, and its connector digest over the manifest and the tool packages it runs. A grant lists the one Connect executes it under; a provider operation or request names the one its caller admitted, and Cloud refuses any other with operation_contract_mismatch.
grant_idstringrequiredoperationstringrequiredoperation_digeststringrequiredThe digest of the connector operation the caller admitted. Cloud refuses one that is not its manifest's with operation_contract_mismatch.
targetstringrequiredExact provider-neutral target locator bound into the operation readback evidence.
scopesArray<string>Optional exact Runx capability scopes already admitted by the runtime; Cloud checks supplied evidence against the connector manifest and grant.
inputobjectaccessstringreadmutateOptional caller assertion checked against the connector manifest's operation before dispatch.
Response
Provider operation result.
Invalid or unsupported operation request.
Unauthorized.
Grant or binding does not authorize the operation.
Grant not found.
Operation unavailable, or admitted under another contract.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/provider-operations' \
-H 'Content-Type: application/json' \
-d '{
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"grant_id": "string",
"operation": "string",
"operation_digest": "string",
"target": "string",
"scopes": [
"string"
],
"input": {},
"access": "read"
}'const response = await fetch('https://api.runx.ai/v1/provider-operations', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"grant_id": "string",
"operation": "string",
"operation_digest": "string",
"target": "string",
"scopes": [
"string"
],
"input": {},
"access": "read"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/provider-operations', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"grant_id": "string",
"operation": "string",
"operation_digest": "string",
"target": "string",
"scopes": [
"string"
],
"input": {},
"access": "read"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"grant_id": "string",
"operation": "string",
"operation_digest": "string",
"target": "string",
"scopes": [
"string"
],
"input": {},
"access": "read"
}
response = requests.post('https://api.runx.ai/v1/provider-operations', json=payload)
data = response.json(){
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"grant_id": "string",
"operation": "string",
"operation_digest": "string",
"target": "string",
"scopes": [
"string"
],
"input": {},
"access": "read"
}{
"status": "success",
"provider": "string",
"operation": "string",
"target": "string",
"access": "read",
"readback_uri": "string",
"operation_id": "string",
"idempotency_key": "string"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Send one declared request of a grant-bound connector operation
Body
Grant, operation digests, and the declared request to render.
One declared request of a hosted connector operation, named by id. Cloud renders it from its own copy of the declaration and sends it through the provider gateway with the binding's credential.
connector_bindingConnectorBindingrequiredAn exact connector revision: its connector name, its manifest digest, and its connector digest over the manifest and the tool packages it runs. A grant lists the one Connect executes it under; a provider operation or request names the one its caller admitted, and Cloud refuses any other with operation_contract_mismatch.
grant_idstringrequiredoperationstringrequiredoperation_digeststringrequiredimplementation_digeststringrequiredinputobjectrequiredidempotency_keystringrequeststringrequirediteminteger>= 0The element of a repeated request, by position.
responsesobjectThe write's decoded answer, by request id, for a checking read whose request binds it. Accepted only for checking reads.
Response
The provider's answer, whole.
Invalid request or input; nothing was sent.
Unauthorized.
Grant or binding does not authorize the operation; nothing was sent.
Grant not found.
Operation admitted under another contract; nothing was sent.
The request may have been sent; the outcome is unknown.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/provider-requests' \
-H 'Content-Type: application/json' \
-d '{
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"grant_id": "string",
"operation": "string",
"operation_digest": "string",
"implementation_digest": "string",
"input": {},
"idempotency_key": "string",
"request": "string",
"item": 0,
"responses": {}
}'const response = await fetch('https://api.runx.ai/v1/provider-requests', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"grant_id": "string",
"operation": "string",
"operation_digest": "string",
"implementation_digest": "string",
"input": {},
"idempotency_key": "string",
"request": "string",
"item": 0,
"responses": {}
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/provider-requests', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"grant_id": "string",
"operation": "string",
"operation_digest": "string",
"implementation_digest": "string",
"input": {},
"idempotency_key": "string",
"request": "string",
"item": 0,
"responses": {}
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"grant_id": "string",
"operation": "string",
"operation_digest": "string",
"implementation_digest": "string",
"input": {},
"idempotency_key": "string",
"request": "string",
"item": 0,
"responses": {}
}
response = requests.post('https://api.runx.ai/v1/provider-requests', json=payload)
data = response.json(){
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"grant_id": "string",
"operation": "string",
"operation_digest": "string",
"implementation_digest": "string",
"input": {},
"idempotency_key": "string",
"request": "string",
"item": 0,
"responses": {}
}{
"status": 0,
"body": "string"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Create a connect session
Body
Connect session request.
providerstringrequiredscopesArray<string>scope_familystringauthority_kindstringread_onlyconstructivedestructivetarget_repostringtarget_locatorstringcredential_grant_idstringAn active verified BYO grant whose retained credential material will be reused for this new, independently scoped grant. Mutually exclusive with binding_id.
Response
Existing grant reused.
OAuth required.
Validation error.
Unauthorized.
This deployment opens no hosted session for the requested provider.
Hosted credential sessions need the credential store, which is not configured.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/connect/sessions' \
-H 'Content-Type: application/json' \
-d '{
"provider": "string",
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"credential_grant_id": "string"
}'const response = await fetch('https://api.runx.ai/v1/connect/sessions', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"provider": "string",
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"credential_grant_id": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connect/sessions', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"provider": "string",
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"credential_grant_id": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"provider": "string",
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"credential_grant_id": "string"
}
response = requests.post('https://api.runx.ai/v1/connect/sessions', json=payload)
data = response.json(){
"provider": "string",
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"credential_grant_id": "string"
}{
"status": "created",
"session_id": "string",
"flow_id": "string",
"grant": {
"grant_id": "string",
"principal_id": "string",
"provider": "string",
"account": "string",
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"auth_mode": "oauth",
"material_kind": "provider_credential",
"credential_material_bound": true,
"verification_status": "pending",
"verified_at": "2024-01-15T09:30:00Z",
"expires_at": "2024-01-15T09:30:00Z",
"grant_reference": {
"grant_id": "string",
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string"
},
"status": "active",
"created_at": "2024-01-15T09:30:00Z"
}
}{
"status": "pending",
"session_id": "string",
"flow_id": "string",
"authorization_url": "https://example.com",
"poll_after_ms": 0,
"expires_at": "2024-01-15T09:30:00Z"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"status": "connect_unavailable",
"provider": "string",
"reason": "not_hosted",
"error": "string"
}{
"status": "connect_unavailable",
"provider": "string",
"reason": "not_hosted",
"error": "string"
}Inspect one connect session
Parameters
idstringrequiredpathSession id.
Response
Connect session.
Unauthorized.
Flow not found.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/connect/sessions/{id}'const response = await fetch('https://api.runx.ai/v1/connect/sessions/{id}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connect/sessions/{id}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/connect/sessions/{id}')
data = response.json(){
"status": "pending",
"session_id": "string",
"flow_id": "string",
"poll_after_ms": 0
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}provider-references
List active provider credential references
Response
Provider references.
Unauthorized.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/provider-references'const response = await fetch('https://api.runx.ai/v1/provider-references', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/provider-references', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/provider-references')
data = response.json(){
"status": "success",
"provider_references": [
{
"provider_reference": "string",
"principal_id": "string",
"provider": "string",
"scopes": [
"string"
],
"status": "active",
"created_at": "2024-01-15T09:30:00Z"
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Revoke one provider credential reference
Parameters
provider_referencestringrequiredpathProvider reference.
Response
Revoked provider reference.
Unauthorized.
Provider reference not found.
Authorization
BearerAuthhttp (bearer)curl -X DELETE 'https://api.runx.ai/v1/provider-references/{provider_reference}'const response = await fetch('https://api.runx.ai/v1/provider-references/{provider_reference}', {
method: 'DELETE',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/provider-references/{provider_reference}', {
method: 'DELETE',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.delete('https://api.runx.ai/v1/provider-references/{provider_reference}')
data = response.json(){
"status": "revoked",
"provider_reference": {
"provider_reference": "string",
"principal_id": "string",
"provider": "string",
"scopes": [
"string"
],
"status": "active",
"created_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}admin
Inspect hosted API request metrics
Response
Hosted API request metrics.
Unauthorized.
Forbidden.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/system/metrics'const response = await fetch('https://api.runx.ai/v1/system/metrics', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/system/metrics', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/system/metrics')
data = response.json(){
"status": "success",
"metrics": {
"started_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z",
"in_flight_requests": 0,
"requests_total": 0,
"error_responses_total": 0,
"client_error_responses_total": 0,
"server_error_responses_total": 0,
"latency_ms": {
"total": 0,
"average": 0,
"max": 0,
"buckets": {
"le_50ms": 0,
"le_100ms": 0,
"le_250ms": 0,
"le_500ms": 0,
"le_1000ms": 0,
"gt_1000ms": 0
}
},
"status_counts": {},
"routes": [
{
"method": "string",
"route": "string",
"requests_total": 0,
"error_responses_total": 0,
"client_error_responses_total": 0,
"server_error_responses_total": 0,
"latency_ms": {
"total": 0,
"average": 0,
"max": 0,
"buckets": {
"le_50ms": 0,
"le_100ms": 0,
"le_250ms": 0,
"le_500ms": 0,
"le_1000ms": 0,
"gt_1000ms": 0
}
},
"status_counts": {}
}
]
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Create or update one flat entitlement add-on record
Body
Entitlement subscription reference.
principal_idstringsubscription_referencestringrequiredParameters
addonstringrequiredpathEntitlement add-on id.
Response
Entitlement record.
Validation error.
Unauthorized.
Forbidden.
Entitlements are not configured.
Authorization
BearerAuthhttp (bearer)curl -X PUT 'https://api.runx.ai/v1/billing/entitlements/{addon}' \
-H 'Content-Type: application/json' \
-d '{
"principal_id": "string",
"subscription_reference": "string"
}'const response = await fetch('https://api.runx.ai/v1/billing/entitlements/{addon}', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"principal_id": "string",
"subscription_reference": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/billing/entitlements/{addon}', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"principal_id": "string",
"subscription_reference": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"principal_id": "string",
"subscription_reference": "string"
}
response = requests.put('https://api.runx.ai/v1/billing/entitlements/{addon}', json=payload)
data = response.json(){
"principal_id": "string",
"subscription_reference": "string"
}{
"status": "success",
"entitlement": {}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Publish a registry skill through the hosted admin surface
Body
Registry publish request.
publisherstringrequiredAn existing publisher's namespace; administrative publication never creates one.
versionstringmarkdownstringrequiredprofile_documentstringpackage_filesArray<HostedSkillPackageFile>trust_tierstringfirst_partyverifiedcommunityThe verification authority's admission for this version; community when absent.
harnessHarnessPublishSummaryrequiredResponse
Published registry skill.
Validation error.
Unauthorized.
Forbidden.
Registry store unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/admin/registry/publish' \
-H 'Content-Type: application/json' \
-d '{
"publisher": "string",
"version": "string",
"markdown": "string",
"profile_document": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
],
"trust_tier": "first_party",
"harness": {
"status": "passed",
"case_count": 0,
"assertion_error_count": 0,
"assertion_errors": [
"string"
],
"case_names": [
"string"
],
"receipt_ids": [
"string"
],
"graph_case_count": 0,
"evidence_id": "string",
"evidence_url": "https://example.com"
}
}'const response = await fetch('https://api.runx.ai/v1/admin/registry/publish', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"publisher": "string",
"version": "string",
"markdown": "string",
"profile_document": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
],
"trust_tier": "first_party",
"harness": {
"status": "passed",
"case_count": 0,
"assertion_error_count": 0,
"assertion_errors": [
"string"
],
"case_names": [
"string"
],
"receipt_ids": [
"string"
],
"graph_case_count": 0,
"evidence_id": "string",
"evidence_url": "https://example.com"
}
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/admin/registry/publish', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"publisher": "string",
"version": "string",
"markdown": "string",
"profile_document": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
],
"trust_tier": "first_party",
"harness": {
"status": "passed",
"case_count": 0,
"assertion_error_count": 0,
"assertion_errors": [
"string"
],
"case_names": [
"string"
],
"receipt_ids": [
"string"
],
"graph_case_count": 0,
"evidence_id": "string",
"evidence_url": "https://example.com"
}
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"publisher": "string",
"version": "string",
"markdown": "string",
"profile_document": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
],
"trust_tier": "first_party",
"harness": {
"status": "passed",
"case_count": 0,
"assertion_error_count": 0,
"assertion_errors": [
"string"
],
"case_names": [
"string"
],
"receipt_ids": [
"string"
],
"graph_case_count": 0,
"evidence_id": "string",
"evidence_url": "https://example.com"
}
}
response = requests.post('https://api.runx.ai/v1/admin/registry/publish', json=payload)
data = response.json(){
"publisher": "string",
"version": "string",
"markdown": "string",
"profile_document": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
],
"trust_tier": "first_party",
"harness": {
"status": "passed",
"case_count": 0,
"assertion_error_count": 0,
"assertion_errors": [
"string"
],
"case_names": [
"string"
],
"receipt_ids": [
"string"
],
"graph_case_count": 0,
"evidence_id": "string",
"evidence_url": "https://example.com"
}
}{
"status": "success",
"publish": {},
"harness": {
"status": "passed",
"case_count": 0,
"assertion_error_count": 0,
"assertion_errors": [
"string"
],
"case_names": [
"string"
],
"receipt_ids": [
"string"
],
"graph_case_count": 0,
"evidence_id": "string",
"evidence_url": "https://example.com"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Provision a publisher namespace and authorize its principals
The only way to take a reserved slug. A principal publishes for a namespace only through this authorization or by claiming its own verified GitHub handle.
Body
Publisher to provision.
slugstringrequiredkindstringorguserteamrequireddisplay_namestringrequiredverifiedbooleanprincipalsArray<string>requiredResponse
Provisioned publisher.
Validation error, or the slug is taken.
Unauthorized.
Forbidden.
Registry publishers unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/admin/registry/publishers' \
-H 'Content-Type: application/json' \
-d '{
"slug": "string",
"kind": "org",
"display_name": "string",
"verified": true,
"principals": [
"string"
]
}'const response = await fetch('https://api.runx.ai/v1/admin/registry/publishers', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"slug": "string",
"kind": "org",
"display_name": "string",
"verified": true,
"principals": [
"string"
]
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/admin/registry/publishers', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"slug": "string",
"kind": "org",
"display_name": "string",
"verified": true,
"principals": [
"string"
]
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"slug": "string",
"kind": "org",
"display_name": "string",
"verified": True,
"principals": [
"string"
]
}
response = requests.post('https://api.runx.ai/v1/admin/registry/publishers', json=payload)
data = response.json(){
"slug": "string",
"kind": "org",
"display_name": "string",
"verified": true,
"principals": [
"string"
]
}{
"status": "success",
"publisher": {
"publisher_id": "string",
"slug": "string",
"kind": "org",
"display_name": "string",
"description": "string",
"verified": true,
"image_digest": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
],
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Authorize one more principal to publish for a publisher
Body
Principal to authorize.
principal_idstringrequiredParameters
slugstringrequiredpathPublisher namespace.
Response
Authorized principal.
Validation error, or no such publisher.
Unauthorized.
Forbidden.
Registry publishers unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/admin/registry/publishers/{slug}/principals' \
-H 'Content-Type: application/json' \
-d '{
"principal_id": "string"
}'const response = await fetch('https://api.runx.ai/v1/admin/registry/publishers/{slug}/principals', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"principal_id": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/admin/registry/publishers/{slug}/principals', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"principal_id": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"principal_id": "string"
}
response = requests.post('https://api.runx.ai/v1/admin/registry/publishers/{slug}/principals', json=payload)
data = response.json(){
"principal_id": "string"
}{
"status": "success",
"publisher": "string",
"principal_id": "string"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Show a published mark as a publisher's image
Names a mark a public skill or connector version ships, which publication has already checked; the image is served at that SHA-256.
Body
The mark's SHA-256.
mark_digeststringrequiredParameters
slugstringrequiredpathPublisher namespace.
Response
The publisher, showing the image.
The request names no mark.
Unauthorized.
Forbidden.
No such publisher, or no public version ships that mark.
Registry publishers unavailable.
Authorization
BearerAuthhttp (bearer)curl -X PUT 'https://api.runx.ai/v1/admin/registry/publishers/{slug}/image' \
-H 'Content-Type: application/json' \
-d '{
"mark_digest": "string"
}'const response = await fetch('https://api.runx.ai/v1/admin/registry/publishers/{slug}/image', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"mark_digest": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/admin/registry/publishers/{slug}/image', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"mark_digest": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"mark_digest": "string"
}
response = requests.put('https://api.runx.ai/v1/admin/registry/publishers/{slug}/image', json=payload)
data = response.json(){
"mark_digest": "string"
}{
"status": "success",
"publisher": {
"publisher_id": "string",
"slug": "string",
"kind": "org",
"display_name": "string",
"description": "string",
"verified": true,
"image_digest": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
],
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Clear a publisher's image
Parameters
slugstringrequiredpathPublisher namespace.
Response
The publisher, without an image.
Unauthorized.
Forbidden.
No such publisher.
Registry publishers unavailable.
Authorization
BearerAuthhttp (bearer)curl -X DELETE 'https://api.runx.ai/v1/admin/registry/publishers/{slug}/image'const response = await fetch('https://api.runx.ai/v1/admin/registry/publishers/{slug}/image', {
method: 'DELETE',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/admin/registry/publishers/{slug}/image', {
method: 'DELETE',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.delete('https://api.runx.ai/v1/admin/registry/publishers/{slug}/image')
data = response.json(){
"status": "success",
"publisher": {
"publisher_id": "string",
"slug": "string",
"kind": "org",
"display_name": "string",
"description": "string",
"verified": true,
"image_digest": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
],
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Change a publisher's profile and verification
The verification authority's profile route: display name, description, links and verified. A field the request omits is kept.
Body
The profile fields to change.
display_namestringdescriptionstring | nulllinksArray<PublicPublisherProfileLink>verifiedbooleanParameters
slugstringrequiredpathPublisher namespace.
Response
The changed publisher.
Validation error.
Unauthorized.
Forbidden.
No such publisher.
Registry publishers unavailable.
Authorization
BearerAuthhttp (bearer)curl -X PATCH 'https://api.runx.ai/v1/admin/registry/publishers/{slug}' \
-H 'Content-Type: application/json' \
-d '{
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
],
"verified": true
}'const response = await fetch('https://api.runx.ai/v1/admin/registry/publishers/{slug}', {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
],
"verified": true
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/admin/registry/publishers/{slug}', {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
],
"verified": true
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
],
"verified": True
}
response = requests.patch('https://api.runx.ai/v1/admin/registry/publishers/{slug}', json=payload)
data = response.json(){
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
],
"verified": true
}{
"status": "success",
"publisher": {
"publisher_id": "string",
"slug": "string",
"kind": "org",
"display_name": "string",
"description": "string",
"verified": true,
"image_digest": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
],
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Inspect the hosted approval inbox across principals
Parameters
principal_idstringqueryOptional principal id filter.
skillstringqueryOptional skill filter.
routestringqueryOptional approval route id filter.
limitstringqueryApproval rows per page: integer from 1 to 200, default 50.
cursorstringqueryOpaque cursor returned by the previous approval inbox page. Ordered by updated_at descending, then run_id and request_id in Unicode code-point order.
Response
Approval inbox.
Invalid page limit or approval cursor.
Unauthorized.
Forbidden.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/admin/approvals'const response = await fetch('https://api.runx.ai/v1/admin/approvals', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/admin/approvals', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/admin/approvals')
data = response.json(){
"status": "success",
"approvals": [
{
"run_id": "string",
"principal_id": "string",
"skill": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"request_id": "string",
"request_digest": "string",
"gate": {
"id": "string",
"type": "string",
"reason": "string",
"summary": {}
},
"route": {
"route_id": "string",
"missing": true,
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
]
},
"matched_by": {
"kind": "none",
"rule_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
}
],
"next_cursor": "string"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Append public website evidence events
Body
Public evidence ingestion request.
eventsArray<PublicEvidenceInput>requiredResponse
Stored public evidence events.
Validation error.
Unauthorized.
Forbidden.
Public evidence store unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/admin/public/evidence' \
-H 'Content-Type: application/json' \
-d '{
"events": [
{
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
},
"id": "string"
}
]
}'const response = await fetch('https://api.runx.ai/v1/admin/public/evidence', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"events": [
{
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
},
"id": "string"
}
]
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/admin/public/evidence', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"events": [
{
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
},
"id": "string"
}
]
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"events": [
{
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
},
"id": "string"
}
]
}
response = requests.post('https://api.runx.ai/v1/admin/public/evidence', json=payload)
data = response.json(){
"events": [
{
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
},
"id": "string"
}
]
}{
"status": "accepted",
"count": 0,
"events": [
{
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
},
"id": "string"
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}List runs across principals
Parameters
principal_idstringqueryFilter by principal id.
qstringqueryCase-insensitive search over run id, skill, actors, and artifact types.
skillstringqueryExact skill filter.
statusstringqueryExact hosted lifecycle status filter.
actorstringqueryExact actor filter derived from submitted resolutions.
artifact_typestringqueryExact artifact type filter derived from hosted ledger entries.
sincestringqueryInclusive ISO-8601 lower bound for run creation time.
untilstringqueryInclusive ISO-8601 upper bound for run creation time.
limitstringqueryMaximum number of runs to return: integer 1–100, default 50.
cursorstringqueryOptional opaque cursor returned by the previous run-list page.
Response
Run list.
Invalid cursor, limit, or date filter.
Unauthorized.
Forbidden.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/admin/runs'const response = await fetch('https://api.runx.ai/v1/admin/runs', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/admin/runs', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/admin/runs')
data = response.json(){
"status": "success",
"runs": [
{
"id": "string",
"skill": "string",
"runner": "string",
"package_digest": "string",
"execution_closure_digest": "string",
"status": "pending",
"host_status": "running",
"trace_id": "string",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"completed_at": "2024-01-15T09:30:00Z",
"actors": [
"string"
],
"artifact_types": [
"string"
],
"lineage": {
"kind": "rerun",
"source_run_id": "string",
"source_receipt_id": "string"
},
"receipt_id": "string",
"receipt_kind": "string",
"kernel_run_id": "string",
"error": "string",
"updated_at": "2024-01-15T09:30:00Z",
"created_at": "2024-01-15T09:30:00Z"
}
],
"next_cursor": "string"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Inspect one run across principals
Parameters
idstringrequiredpathRun id.
Response
Run detail.
Unauthorized.
Forbidden.
Run not found.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/admin/runs/{id}'const response = await fetch('https://api.runx.ai/v1/admin/runs/{id}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/admin/runs/{id}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/admin/runs/{id}')
data = response.json(){
"status": "found",
"run": {
"id": "string",
"skill": "string",
"runner": "string",
"package_digest": "string",
"execution_closure_digest": "string",
"status": "pending",
"host_status": "running",
"trace_id": "string",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"completed_at": "2024-01-15T09:30:00Z",
"actors": [
"string"
],
"artifact_types": [
"string"
],
"lineage": {
"kind": "rerun",
"source_run_id": "string",
"source_receipt_id": "string"
},
"receipt_id": "string",
"receipt_kind": "string",
"kernel_run_id": "string",
"error": "string",
"updated_at": "2024-01-15T09:30:00Z",
"created_at": "2024-01-15T09:30:00Z"
},
"result": {
"state": "available"
},
"resolution_requests": [
{
"id": "string",
"kind": "input",
"questions": [
{
"description": "string",
"free_text": true,
"id": "string",
"options": [
{
"detail": "string",
"label": "string"
}
],
"prompt": "string",
"required": true,
"type": "string"
}
]
}
],
"submitted_resolutions": [
{
"request_id": "string",
"request_digest": "string",
"request_kind": "input",
"actor": "human",
"submitted_at": "2024-01-15T09:30:00Z"
}
],
"request_routes": [
{
"request_id": "string",
"route": {
"route_id": "string",
"missing": true,
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
]
},
"matched_by": {
"kind": "none",
"rule_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}registry
Publish a connector to the hosted registry
Publishes the files runx registry package emits under the publisher that holds the connector name's namespace, for whom the signed-in principal must be authorized. The registry reads them with the native runtime and refuses any other files; a version is immutable.
Body
Connector package.
versionstringfilesArray<PublicPackageFile>requiredResponse
These files were already published under this version.
Published connector version.
Invalid connector package.
Unauthorized.
Missing connectors:write, a namespace the principal may not publish in, or a name that does not fit its namespace.
The version exists with other files.
The package is too large.
Hosted registry unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/connectors' \
-H 'Content-Type: application/json' \
-d '{
"version": "string",
"files": [
{
"path": "string",
"content": "string"
}
]
}'const response = await fetch('https://api.runx.ai/v1/connectors', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"version": "string",
"files": [
{
"path": "string",
"content": "string"
}
]
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"version": "string",
"files": [
{
"path": "string",
"content": "string"
}
]
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"version": "string",
"files": [
{
"path": "string",
"content": "string"
}
]
}
response = requests.post('https://api.runx.ai/v1/connectors', json=payload)
data = response.json(){
"version": "string",
"files": [
{
"path": "string",
"content": "string"
}
]
}{
"status": "success",
"publish": {
"status": "published",
"connector": "string",
"version": "string",
"content_digest": "string",
"manifest_digest": "string",
"connector_digest": "string",
"trust_tier": "first_party",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"public_url": "string"
}
}{
"status": "success",
"publish": {
"status": "published",
"connector": "string",
"version": "string",
"content_digest": "string",
"manifest_digest": "string",
"connector_digest": "string",
"trust_tier": "first_party",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"public_url": "string"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Read one connector version's files and signed manifest, as install verifies them
A withdrawn version answers with its stored files, signed over its preserved name, and withdrawn_at; nothing installs it.
Parameters
namespacestringrequiredpathThe connector's namespace: its whole name when it has one segment.
versionstringrequiredpathRegistry version label.
Response
Connector package.
Connector version not found.
Hosted registry unavailable.
curl -X GET 'https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/package'const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/package', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/package', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/package')
data = response.json(){
"status": "success",
"package": {
"connector": "string",
"version": "string",
"trust_tier": "first_party",
"files": [
{
"path": "string",
"content": "string"
}
],
"signed_manifest": {
"schema": "runx.registry.signed_manifest.v1",
"subject": {
"kind": "skill",
"name": "string"
},
"version": "string",
"content_digest": "string",
"signer": {
"id": "string",
"key_id": "string"
},
"signature": {
"alg": "ed25519",
"value": "string"
}
}
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Read one connector version's files and signed manifest, as install verifies them
A withdrawn version answers with its stored files, signed over its preserved name, and withdrawn_at; nothing installs it.
Parameters
namespacestringrequiredpathThe connector's namespace: its whole name when it has one segment.
surfacestringrequiredpathThe surface under the namespace.
versionstringrequiredpathRegistry version label.
Response
Connector package.
Connector version not found.
Hosted registry unavailable.
curl -X GET 'https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/package'const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/package', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/package', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/package')
data = response.json(){
"status": "success",
"package": {
"connector": "string",
"version": "string",
"trust_tier": "first_party",
"files": [
{
"path": "string",
"content": "string"
}
],
"signed_manifest": {
"schema": "runx.registry.signed_manifest.v1",
"subject": {
"kind": "skill",
"name": "string"
},
"version": "string",
"content_digest": "string",
"signer": {
"id": "string",
"key_id": "string"
},
"signature": {
"alg": "ed25519",
"value": "string"
}
}
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Download one connector version's manifest bytes
The stored bytes, withdrawn or not; the ETag is their SHA-256, not the native manifest digest of the parsed manifest.
Parameters
namespacestringrequiredpathThe connector's namespace: its whole name when it has one segment.
versionstringrequiredpathRegistry version label.
Response
Connector manifest source.
Connector version not found.
Hosted registry unavailable.
curl -X GET 'https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/connector.yaml'const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/connector.yaml', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/connector.yaml', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/connector.yaml')
data = response.json()string{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Download one connector version's manifest bytes
The stored bytes, withdrawn or not; the ETag is their SHA-256, not the native manifest digest of the parsed manifest.
Parameters
namespacestringrequiredpathThe connector's namespace: its whole name when it has one segment.
surfacestringrequiredpathThe surface under the namespace.
versionstringrequiredpathRegistry version label.
Response
Connector manifest source.
Connector version not found.
Hosted registry unavailable.
curl -X GET 'https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/connector.yaml'const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/connector.yaml', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/connector.yaml', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/connector.yaml')
data = response.json()string{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Publish a skill to the hosted registry
Publishes one governed skill markdown document under a publisher the signed-in principal is authorized for. The caller cannot set the trust tier.
Body
Hosted skill publish payload.
markdownstringrequiredComplete SKILL.md document, including frontmatter.
profile_documentstringOptional run.yaml profile document published with the skill.
versionstringOptional version or content ref. If omitted, the registry derives one from content.
publisherstringThe namespace to publish for, required when the principal may publish for several; it must be one it is authorized for.
package_filesArray<HostedSkillPackageFile>Optional UTF-8 skill package files persisted with the registry version and used by hosted publish admission to rerun the package harness. Allowed paths are root worker modules referenced by run.yaml, nested SKILL.md/run.yaml packages, references markdown, and tool manifests/minimal runtimes.
Response
Published hosted skill.
Invalid skill package.
Unauthorized.
Missing publish scope.
Skill version conflict.
Hosted registry unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/skills' \
-H 'Content-Type: application/json' \
-d '{
"markdown": "string",
"profile_document": "string",
"version": "string",
"publisher": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
]
}'const response = await fetch('https://api.runx.ai/v1/skills', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"markdown": "string",
"profile_document": "string",
"version": "string",
"publisher": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
]
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/skills', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"markdown": "string",
"profile_document": "string",
"version": "string",
"publisher": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
]
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"markdown": "string",
"profile_document": "string",
"version": "string",
"publisher": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
]
}
response = requests.post('https://api.runx.ai/v1/skills', json=payload)
data = response.json(){
"markdown": "string",
"profile_document": "string",
"version": "string",
"publisher": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
]
}{
"status": "success",
"publish": {
"status": "published",
"skill_id": "string",
"publisher": "string",
"name": "string",
"version": "string",
"digest": "string",
"profile_digest": "string",
"paid_listing": {
"bundle_digest": "string",
"offers": {},
"profile_digest": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"skill_digest": "string",
"skill_id": "string",
"version": "string"
},
"trust_tier": "community",
"maturity": "alpha",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"run_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"public_url": "https://example.com",
"harness": {
"status": "passed",
"case_count": 0,
"assertion_error_count": 0,
"assertion_errors": [
"string"
],
"case_names": [
"string"
],
"receipt_ids": [
"string"
],
"graph_case_count": 0,
"evidence_id": "string",
"evidence_url": "https://example.com"
}
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Change your publisher's profile
A principal authorized to publish for the namespace changes its display name, description and links. Verification is the verification authority's alone.
Body
The profile fields to change.
display_namestringdescriptionstring | nulllinksArray<PublicPublisherProfileLink>Parameters
slugstringrequiredpathPublisher namespace.
Response
The changed publisher.
Validation error.
Unauthorized.
Missing a publishing scope.
No publisher this principal publishes for.
Registry publishers unavailable.
Authorization
BearerAuthhttp (bearer)curl -X PATCH 'https://api.runx.ai/v1/publishers/{slug}' \
-H 'Content-Type: application/json' \
-d '{
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
]
}'const response = await fetch('https://api.runx.ai/v1/publishers/{slug}', {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
]
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/publishers/{slug}', {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
]
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
]
}
response = requests.patch('https://api.runx.ai/v1/publishers/{slug}', json=payload)
data = response.json(){
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
]
}{
"status": "success",
"publisher": {
"publisher_id": "string",
"slug": "string",
"kind": "org",
"display_name": "string",
"description": "string",
"verified": true,
"image_digest": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
],
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Report a public registry skill for moderation review
Records one authenticated report against a resolved skill version. Reports inform moderation; they are not trust evidence.
Body
Public skill report payload.
versionstringOptional skill version to report. If omitted, the latest public version is reported.
reasonstringspammalwareunsafe_authoritymisleadingrightsotherrequireddetailstringOptional reporter detail. Stored for moderation review, never used as trust evidence.
Parameters
publisherstringrequiredpathPublisher namespace.
namestringrequiredpathSkill name or name@version.
Response
Duplicate report already recorded.
Skill report recorded.
Invalid report payload.
Unauthorized.
Missing report scope.
Skill not found.
Report rate limit exceeded.
Hosted registry unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/skills/{publisher}/{name}/report' \
-H 'Content-Type: application/json' \
-d '{
"version": "string",
"reason": "spam",
"detail": "string"
}'const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/report', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"version": "string",
"reason": "spam",
"detail": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/report', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"version": "string",
"reason": "spam",
"detail": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"version": "string",
"reason": "spam",
"detail": "string"
}
response = requests.post('https://api.runx.ai/v1/skills/{publisher}/{name}/report', json=payload)
data = response.json(){
"version": "string",
"reason": "spam",
"detail": "string"
}{
"status": "success",
"report": {
"status": "recorded",
"id": "string",
"skill_id": "string",
"version": "string",
"reason": "spam",
"created_at": "2024-01-15T09:30:00Z"
}
}{
"status": "success",
"report": {
"status": "recorded",
"id": "string",
"skill_id": "string",
"version": "string",
"reason": "spam",
"created_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}artifacts
Allocate, inspect, or hand off a tenant-owned artifact
Stores one bounded artifact, returns verified metadata, or copies an explicitly approved artifact into a registered target principal. Other artifact operations remain available only inside the trusted hosted runtime.
Body
Hosted artifact operation request.
operationstringrequiredrun_idstringrequiredinputobjectrequiredoperationstringrequiredrun_idstringrequiredinputobjectrequiredoperationstringrequiredrun_idstringrequiredinputobjectrequiredoperationstringrequiredrun_idstringrequiredinputobjectrequiredoperationstringrequiredrun_idstringrequiredinputobjectrequiredResponse
Verified artifact operation evidence.
Validation error.
Unauthorized.
Missing artifact operation scope.
Artifact not found.
Artifact operation conflict.
Artifact request is too large.
Artifact operation rate limit exceeded.
Artifact storage returned an invalid result.
Artifact operation is unavailable.
Authorization
BearerAuthhttp (bearer)curl -X POST 'https://api.runx.ai/v1/artifact-operations' \
-H 'Content-Type: application/json' \
-d '{
"operation": "artifact.allocate",
"run_id": "string",
"input": {
"idempotency_key": "string",
"data_base64": "string",
"content_digest": "string",
"media_type": "string"
}
}'const response = await fetch('https://api.runx.ai/v1/artifact-operations', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"operation": "artifact.allocate",
"run_id": "string",
"input": {
"idempotency_key": "string",
"data_base64": "string",
"content_digest": "string",
"media_type": "string"
}
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/artifact-operations', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"operation": "artifact.allocate",
"run_id": "string",
"input": {
"idempotency_key": "string",
"data_base64": "string",
"content_digest": "string",
"media_type": "string"
}
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"operation": "artifact.allocate",
"run_id": "string",
"input": {
"idempotency_key": "string",
"data_base64": "string",
"content_digest": "string",
"media_type": "string"
}
}
response = requests.post('https://api.runx.ai/v1/artifact-operations', json=payload)
data = response.json(){
"operation": "artifact.allocate",
"run_id": "string",
"input": {
"idempotency_key": "string",
"data_base64": "string",
"content_digest": "string",
"media_type": "string"
}
}{
"operation": "artifact.allocate",
"access": "mutate",
"result": {
"artifact_uri": "string",
"content_digest": "string",
"media_type": "string",
"size_bytes": 1,
"created_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Read one artifact a fulfilled purchase delivered
A short-lived read link for the purchase's result artifact, or an artifact its result names. The artifact stays the seller's; nothing is copied, and the reference is the one runx's purchase receipt sealed.
Parameters
idstringrequiredpathPurchase id: the purchase id.
artifact_uristringrequiredpathThe artifact reference the purchase's result names.
Response
A short-lived read of the artifact.
Unauthorized.
Missing artifacts:read scope.
The purchase delivered no such artifact.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/purchases/{id}/artifacts/{artifact_uri}'const response = await fetch('https://api.runx.ai/v1/purchases/{id}/artifacts/{artifact_uri}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/purchases/{id}/artifacts/{artifact_uri}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/purchases/{id}/artifacts/{artifact_uri}')
data = response.json(){
"artifact_uri": "string",
"content_digest": "string",
"media_type": "string",
"size_bytes": 1,
"created_at": "2024-01-15T09:30:00Z",
"url": "https://example.com",
"expires_at": "2024-01-15T09:30:00Z"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}skills
Buy a run of a skill runner a seller offers
A runx account buys with its bearer token and pays with x402, MPP, a payment body, or account_payment: a quote it decided on, paid from its runx balance or one of its supported payment grants. MPP uses Payment-Authorization alongside bearer authentication. A buyer with no account names buyer_key, which owns the purchase; a purchase on a resource held under that key also carries the key's signature.
Body
A purchase of an offered runner.
runnerstringinputsobjectidempotency_keystringpaymentRunxExecutePurchaseRequestaccount_paymentobject | objectAn account purchase: the quoted purchase its buyer decided on, paid from the account's runx balance or with one of its payment grants.
versionstringThe listing version the buyer priced; a purchase of another is refused.
buyer_keystringThe Ed25519 key that owns the purchase: it signs the purchase's reads and claims.
Parameters
publisherstringrequiredpathSkill publisher.
namestringrequiredpathSkill name.
Idempotency-KeystringheaderStable run and purchase retry key.
AcceptstringheaderUse application/json with a quoted profile equal to the RunxQuotePurchaseResult schema's $id to receive the canonical Runx quote. Without that explicit profile, the selected payment protocol presents its challenge.
PAYMENT-SIGNATUREstringheaderOptional standard x402 v2 payment payload using bounded standard base64.
Payment-AuthorizationstringheaderOptional MPP credential answering one exact quoted WWW-Authenticate challenge. Authorization remains the account bearer token.
X-Runx-Buyer-SignaturestringheaderThe buyer key's Ed25519 signature over runx.payment.purchase_read_request.v1: this method, this URL and the issued-at time.
X-Runx-Buyer-Issued-AtstringheaderWhen the request was signed; runx refuses one outside five minutes of its clock.
Response
The purchase its buyer reads.
Validation error.
Unauthorized.
Payment challenge or rail-neutral refusal.
The runner carries no offer, the quote or version changed, the resource it acts on is not held, or paid admission conflicts.
Authorization
BearerAuthhttp (bearer)BuyerKeyapiKey in headerThe Ed25519 buyer key that owns a purchase, with the request's signature and time in X-Runx-Buyer-Signature and X-Runx-Buyer-Issued-At.
curl -X POST 'https://api.runx.ai/v1/skills/{publisher}/{name}/run' \
-H 'Content-Type: application/json' \
-d '{
"runner": "string",
"inputs": {},
"idempotency_key": "string",
"payment": {
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"purchase_id": "string",
"settlement_family": "string"
},
"account_payment": {
"purchase_id": "string",
"method": "balance"
},
"version": "string",
"buyer_key": "string"
}'const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/run', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"runner": "string",
"inputs": {},
"idempotency_key": "string",
"payment": {
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"purchase_id": "string",
"settlement_family": "string"
},
"account_payment": {
"purchase_id": "string",
"method": "balance"
},
"version": "string",
"buyer_key": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/skills/{publisher}/{name}/run', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"runner": "string",
"inputs": {},
"idempotency_key": "string",
"payment": {
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"purchase_id": "string",
"settlement_family": "string"
},
"account_payment": {
"purchase_id": "string",
"method": "balance"
},
"version": "string",
"buyer_key": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"runner": "string",
"inputs": {},
"idempotency_key": "string",
"payment": {
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"purchase_id": "string",
"settlement_family": "string"
},
"account_payment": {
"purchase_id": "string",
"method": "balance"
},
"version": "string",
"buyer_key": "string"
}
response = requests.post('https://api.runx.ai/v1/skills/{publisher}/{name}/run', json=payload)
data = response.json(){
"runner": "string",
"inputs": {},
"idempotency_key": "string",
"payment": {
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"purchase_id": "string",
"settlement_family": "string"
},
"account_payment": {
"purchase_id": "string",
"method": "balance"
},
"version": "string",
"buyer_key": "string"
}{
"balance_micro": 0,
"failure": {
"code": "string",
"message": "string"
},
"holds": [
{
"connector": "string",
"credential": "string",
"expires_at": "string",
"target": "string",
"value_digest": "string"
}
],
"purchase": {
"accepted_settlement_families": [
"string"
],
"act_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"amount_minor": 1,
"buyer_key": "string",
"buyer_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"canonicalizer_version": "runx.receipt.c14n.v1",
"created_at": "string",
"currency": "string",
"execution_state": "unstarted",
"expires_at": "string",
"external_job_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"input_digest": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"outcome_gate": "open",
"package_digest": "string",
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"payment_state": "unpaid",
"purchase_id": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"settlement_family": "string",
"skill_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"updated_at": "string"
},
"receipt": {}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"accepts": [
{
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
}
],
"error": "string",
"extensions": {},
"resource": {
"description": "string",
"iconUrl": "string",
"mimeType": "string",
"serviceName": "string",
"tags": [
"string"
],
"url": "string"
},
"x402Version": 2
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}governance
List policy bundle versions for the authenticated principal
Response
Policy bundles.
Unauthorized.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/policy/bundles'const response = await fetch('https://api.runx.ai/v1/policy/bundles', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/policy/bundles', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/policy/bundles')
data = response.json(){
"status": "success",
"bundles": [
{
"principal_id": "string",
"bundle_id": "string",
"version": "string",
"title": "string",
"summary": "string",
"workspace_policy": {
"strict_process_tool_inline_code": true
},
"approval_routing": {
"default_route_id": "string",
"rules": [
{
"id": "string",
"route_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
]
},
"created_at": "2024-01-15T09:30:00Z"
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Inspect one policy bundle version
Parameters
bundleIdstringrequiredpathPolicy bundle id.
versionstringrequiredpathPolicy bundle version.
Response
Policy bundle.
Unauthorized.
Policy bundle not found.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/policy/bundles/{bundleId}/versions/{version}'const response = await fetch('https://api.runx.ai/v1/policy/bundles/{bundleId}/versions/{version}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/policy/bundles/{bundleId}/versions/{version}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/policy/bundles/{bundleId}/versions/{version}')
data = response.json(){
"status": "success",
"bundle": {
"principal_id": "string",
"bundle_id": "string",
"version": "string",
"title": "string",
"summary": "string",
"workspace_policy": {
"strict_process_tool_inline_code": true
},
"approval_routing": {
"default_route_id": "string",
"rules": [
{
"id": "string",
"route_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
]
},
"created_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Create one immutable policy bundle version
Body
Policy bundle definition.
titlestringsummarystringworkspace_policyPolicyBundleWorkspacePolicyapproval_routingPolicyBundleRoutingParameters
bundleIdstringrequiredpathPolicy bundle id.
versionstringrequiredpathPolicy bundle version.
Response
Stored policy bundle.
Validation error.
Unauthorized.
Authorization
BearerAuthhttp (bearer)curl -X PUT 'https://api.runx.ai/v1/policy/bundles/{bundleId}/versions/{version}' \
-H 'Content-Type: application/json' \
-d '{
"title": "string",
"summary": "string",
"workspace_policy": {
"strict_process_tool_inline_code": true
},
"approval_routing": {
"default_route_id": "string",
"rules": [
{
"id": "string",
"route_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
]
}
}'const response = await fetch('https://api.runx.ai/v1/policy/bundles/{bundleId}/versions/{version}', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"title": "string",
"summary": "string",
"workspace_policy": {
"strict_process_tool_inline_code": true
},
"approval_routing": {
"default_route_id": "string",
"rules": [
{
"id": "string",
"route_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
]
}
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/policy/bundles/{bundleId}/versions/{version}', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"title": "string",
"summary": "string",
"workspace_policy": {
"strict_process_tool_inline_code": true
},
"approval_routing": {
"default_route_id": "string",
"rules": [
{
"id": "string",
"route_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
]
}
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"title": "string",
"summary": "string",
"workspace_policy": {
"strict_process_tool_inline_code": True
},
"approval_routing": {
"default_route_id": "string",
"rules": [
{
"id": "string",
"route_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
]
}
}
response = requests.put('https://api.runx.ai/v1/policy/bundles/{bundleId}/versions/{version}', json=payload)
data = response.json(){
"title": "string",
"summary": "string",
"workspace_policy": {
"strict_process_tool_inline_code": true
},
"approval_routing": {
"default_route_id": "string",
"rules": [
{
"id": "string",
"route_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
]
}
}{
"status": "success",
"bundle": {
"principal_id": "string",
"bundle_id": "string",
"version": "string",
"title": "string",
"summary": "string",
"workspace_policy": {
"strict_process_tool_inline_code": true
},
"approval_routing": {
"default_route_id": "string",
"rules": [
{
"id": "string",
"route_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
]
},
"created_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}List policy attachments for the authenticated principal
Response
Policy attachments.
Unauthorized.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/policy/attachments'const response = await fetch('https://api.runx.ai/v1/policy/attachments', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/policy/attachments', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/policy/attachments')
data = response.json(){
"status": "success",
"attachments": [
{
"principal_id": "string",
"scope_kind": "workspace_default",
"scope_ref": "string",
"bundle_id": "string",
"bundle_version": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Attach one policy bundle version to the principal default workspace scope
Body
Policy attachment.
bundle_idstringrequiredbundle_versionstringrequiredParameters
If-MatchstringheaderRequired when replacing an existing attachment. Use the current attachment updated_at timestamp.
Response
Stored policy attachment.
Validation error.
Unauthorized.
Referenced policy bundle not found.
Revision precondition failed.
Revision precondition required.
Authorization
BearerAuthhttp (bearer)curl -X PUT 'https://api.runx.ai/v1/policy/attachments/workspace' \
-H 'Content-Type: application/json' \
-d '{
"bundle_id": "string",
"bundle_version": "string"
}'const response = await fetch('https://api.runx.ai/v1/policy/attachments/workspace', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"bundle_id": "string",
"bundle_version": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/policy/attachments/workspace', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"bundle_id": "string",
"bundle_version": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"bundle_id": "string",
"bundle_version": "string"
}
response = requests.put('https://api.runx.ai/v1/policy/attachments/workspace', json=payload)
data = response.json(){
"bundle_id": "string",
"bundle_version": "string"
}{
"status": "success",
"attachment": {
"principal_id": "string",
"scope_kind": "workspace_default",
"scope_ref": "string",
"bundle_id": "string",
"bundle_version": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Delete the principal default policy attachment
Parameters
If-MatchstringheaderRequired when deleting an existing attachment. Use the current attachment updated_at timestamp.
Response
Deleted policy attachment.
Unauthorized.
Policy attachment not found.
Revision precondition failed.
Revision precondition required.
Authorization
BearerAuthhttp (bearer)curl -X DELETE 'https://api.runx.ai/v1/policy/attachments/workspace'const response = await fetch('https://api.runx.ai/v1/policy/attachments/workspace', {
method: 'DELETE',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/policy/attachments/workspace', {
method: 'DELETE',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.delete('https://api.runx.ai/v1/policy/attachments/workspace')
data = response.json(){
"status": "success",
"attachment": {
"principal_id": "string",
"scope_kind": "workspace_default",
"scope_ref": "string",
"bundle_id": "string",
"bundle_version": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Attach one policy bundle version to a skill override scope
Body
Policy attachment.
bundle_idstringrequiredbundle_versionstringrequiredParameters
skillstringrequiredpathSkill id or skill name.
If-MatchstringheaderRequired when replacing an existing attachment. Use the current attachment updated_at timestamp.
Response
Stored policy attachment.
Validation error.
Unauthorized.
Referenced policy bundle not found.
Revision precondition failed.
Revision precondition required.
Authorization
BearerAuthhttp (bearer)curl -X PUT 'https://api.runx.ai/v1/policy/attachments/skills/{skill}' \
-H 'Content-Type: application/json' \
-d '{
"bundle_id": "string",
"bundle_version": "string"
}'const response = await fetch('https://api.runx.ai/v1/policy/attachments/skills/{skill}', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"bundle_id": "string",
"bundle_version": "string"
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/policy/attachments/skills/{skill}', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"bundle_id": "string",
"bundle_version": "string"
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"bundle_id": "string",
"bundle_version": "string"
}
response = requests.put('https://api.runx.ai/v1/policy/attachments/skills/{skill}', json=payload)
data = response.json(){
"bundle_id": "string",
"bundle_version": "string"
}{
"status": "success",
"attachment": {
"principal_id": "string",
"scope_kind": "workspace_default",
"scope_ref": "string",
"bundle_id": "string",
"bundle_version": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Delete one skill-specific policy attachment
Parameters
skillstringrequiredpathSkill id or skill name.
If-MatchstringheaderRequired when deleting an existing attachment. Use the current attachment updated_at timestamp.
Response
Deleted policy attachment.
Unauthorized.
Policy attachment not found.
Revision precondition failed.
Revision precondition required.
Authorization
BearerAuthhttp (bearer)curl -X DELETE 'https://api.runx.ai/v1/policy/attachments/skills/{skill}'const response = await fetch('https://api.runx.ai/v1/policy/attachments/skills/{skill}', {
method: 'DELETE',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/policy/attachments/skills/{skill}', {
method: 'DELETE',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.delete('https://api.runx.ai/v1/policy/attachments/skills/{skill}')
data = response.json(){
"status": "success",
"attachment": {
"principal_id": "string",
"scope_kind": "workspace_default",
"scope_ref": "string",
"bundle_id": "string",
"bundle_version": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}List approval routes for the authenticated principal
Response
Approval routes.
Unauthorized.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/approval-routes'const response = await fetch('https://api.runx.ai/v1/approval-routes', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/approval-routes', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/approval-routes')
data = response.json(){
"status": "success",
"routes": [
{
"principal_id": "string",
"route_id": "string",
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
],
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
]
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Inspect one approval route
Parameters
routeIdstringrequiredpathApproval route id.
Response
Approval route.
Unauthorized.
Approval route not found.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/approval-routes/{routeId}'const response = await fetch('https://api.runx.ai/v1/approval-routes/{routeId}', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/approval-routes/{routeId}', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/approval-routes/{routeId}')
data = response.json(){
"status": "success",
"route": {
"principal_id": "string",
"route_id": "string",
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
],
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Create or update one approval route
Body
Approval route definition.
titlestringsummarystringrecipientsArray<PolicyApprovalRouteRecipient>requiredParameters
routeIdstringrequiredpathApproval route id.
If-MatchstringheaderRequired when replacing an existing approval route. Use the current route updated_at timestamp.
Response
Stored approval route.
Validation error.
Unauthorized.
Revision precondition failed.
Revision precondition required.
Authorization
BearerAuthhttp (bearer)curl -X PUT 'https://api.runx.ai/v1/approval-routes/{routeId}' \
-H 'Content-Type: application/json' \
-d '{
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
]
}'const response = await fetch('https://api.runx.ai/v1/approval-routes/{routeId}', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
]
}),
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/approval-routes/{routeId}', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
]
}),
});
const data: Record<string, unknown> = await response.json();import requests
payload = {
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
]
}
response = requests.put('https://api.runx.ai/v1/approval-routes/{routeId}', json=payload)
data = response.json(){
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
]
}{
"status": "success",
"route": {
"principal_id": "string",
"route_id": "string",
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
],
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Delete one approval route
Parameters
routeIdstringrequiredpathApproval route id.
If-MatchstringheaderRequired when deleting an existing approval route. Use the current route updated_at timestamp.
Response
Deleted approval route.
Unauthorized.
Approval route not found.
Revision precondition failed.
Revision precondition required.
Authorization
BearerAuthhttp (bearer)curl -X DELETE 'https://api.runx.ai/v1/approval-routes/{routeId}'const response = await fetch('https://api.runx.ai/v1/approval-routes/{routeId}', {
method: 'DELETE',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/approval-routes/{routeId}', {
method: 'DELETE',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.delete('https://api.runx.ai/v1/approval-routes/{routeId}')
data = response.json(){
"status": "success",
"route": {
"principal_id": "string",
"route_id": "string",
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
],
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Inspect the hosted approval inbox across principals
Parameters
principal_idstringqueryOptional principal id filter.
skillstringqueryOptional skill filter.
routestringqueryOptional approval route id filter.
limitstringqueryApproval rows per page: integer from 1 to 200, default 50.
cursorstringqueryOpaque cursor returned by the previous approval inbox page. Ordered by updated_at descending, then run_id and request_id in Unicode code-point order.
Response
Approval inbox.
Invalid page limit or approval cursor.
Unauthorized.
Forbidden.
Authorization
BearerAuthhttp (bearer)curl -X GET 'https://api.runx.ai/v1/admin/approvals'const response = await fetch('https://api.runx.ai/v1/admin/approvals', {
method: 'GET',
});
const data = await response.json();const response = await fetch('https://api.runx.ai/v1/admin/approvals', {
method: 'GET',
});
const data: Record<string, unknown> = await response.json();import requests
response = requests.get('https://api.runx.ai/v1/admin/approvals')
data = response.json(){
"status": "success",
"approvals": [
{
"run_id": "string",
"principal_id": "string",
"skill": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"request_id": "string",
"request_digest": "string",
"gate": {
"id": "string",
"type": "string",
"reason": "string",
"summary": {}
},
"route": {
"route_id": "string",
"missing": true,
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
]
},
"matched_by": {
"kind": "none",
"rule_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
}
],
"next_cursor": "string"
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}Models
ErrorEnvelope
objectEvery refusal: the code a client branches on and the human message as error. Some refusals add detail their code names, such as a rate limit's retry_after_seconds or a failed verification's verdict.
codestringrequirederrorstringrequiredretry_after_secondsinteger>= 1{
"code": "string",
"error": "string",
"retry_after_seconds": 1
}HostedReadinessCheck
objectstatusstringoknot_readydisabledrequirederrorstring{
"status": "ok",
"error": "string"
}HostedReadinessEnvelope
objectstatusstringrequiredchecksobjectrequired{
"status": "ok",
"checks": {}
}HostedReadinessErrorEnvelope
objectstatusstringrequirederrorstringrequiredchecksobjectrequired{
"status": "not_ready",
"error": "string",
"checks": {}
}HostedApiLatencyBucketCounts
objectle_50msinteger>= 0requiredle_100msinteger>= 0requiredle_250msinteger>= 0requiredle_500msinteger>= 0requiredle_1000msinteger>= 0requiredgt_1000msinteger>= 0required{
"le_50ms": 0,
"le_100ms": 0,
"le_250ms": 0,
"le_500ms": 0,
"le_1000ms": 0,
"gt_1000ms": 0
}HostedApiLatencyMetrics
objecttotalnumber>= 0requiredaveragenumber>= 0requiredmaxnumber>= 0requiredbucketsHostedApiLatencyBucketCountsrequired{
"total": 0,
"average": 0,
"max": 0,
"buckets": {
"le_50ms": 0,
"le_100ms": 0,
"le_250ms": 0,
"le_500ms": 0,
"le_1000ms": 0,
"gt_1000ms": 0
}
}HostedApiRouteMetrics
objectmethodstringrequiredroutestringrequiredrequests_totalinteger>= 0requirederror_responses_totalinteger>= 0requiredclient_error_responses_totalinteger>= 0requiredserver_error_responses_totalinteger>= 0requiredlatency_msHostedApiLatencyMetricsrequiredstatus_countsobjectrequired{
"method": "string",
"route": "string",
"requests_total": 0,
"error_responses_total": 0,
"client_error_responses_total": 0,
"server_error_responses_total": 0,
"latency_ms": {
"total": 0,
"average": 0,
"max": 0,
"buckets": {
"le_50ms": 0,
"le_100ms": 0,
"le_250ms": 0,
"le_500ms": 0,
"le_1000ms": 0,
"gt_1000ms": 0
}
},
"status_counts": {}
}HostedApiMetrics
objectstarted_atstring<date-time>requiredupdated_atstring<date-time>requiredin_flight_requestsinteger>= 0requiredrequests_totalinteger>= 0requirederror_responses_totalinteger>= 0requiredclient_error_responses_totalinteger>= 0requiredserver_error_responses_totalinteger>= 0requiredlatency_msHostedApiLatencyMetricsrequiredstatus_countsobjectrequiredroutesArray<HostedApiRouteMetrics>required{
"started_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z",
"in_flight_requests": 0,
"requests_total": 0,
"error_responses_total": 0,
"client_error_responses_total": 0,
"server_error_responses_total": 0,
"latency_ms": {
"total": 0,
"average": 0,
"max": 0,
"buckets": {
"le_50ms": 0,
"le_100ms": 0,
"le_250ms": 0,
"le_500ms": 0,
"le_1000ms": 0,
"gt_1000ms": 0
}
},
"status_counts": {},
"routes": [
{
"method": "string",
"route": "string",
"requests_total": 0,
"error_responses_total": 0,
"client_error_responses_total": 0,
"server_error_responses_total": 0,
"latency_ms": {
"total": 0,
"average": 0,
"max": 0,
"buckets": {
"le_50ms": 0,
"le_100ms": 0,
"le_250ms": 0,
"le_500ms": 0,
"le_1000ms": 0,
"gt_1000ms": 0
}
},
"status_counts": {}
}
]
}HostedApiMetricsEnvelope
objectstatusstringrequiredmetricsHostedApiMetricsrequired{
"status": "success",
"metrics": {
"started_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z",
"in_flight_requests": 0,
"requests_total": 0,
"error_responses_total": 0,
"client_error_responses_total": 0,
"server_error_responses_total": 0,
"latency_ms": {
"total": 0,
"average": 0,
"max": 0,
"buckets": {
"le_50ms": 0,
"le_100ms": 0,
"le_250ms": 0,
"le_500ms": 0,
"le_1000ms": 0,
"gt_1000ms": 0
}
},
"status_counts": {},
"routes": [
{
"method": "string",
"route": "string",
"requests_total": 0,
"error_responses_total": 0,
"client_error_responses_total": 0,
"server_error_responses_total": 0,
"latency_ms": {
"total": 0,
"average": 0,
"max": 0,
"buckets": {
"le_50ms": 0,
"le_100ms": 0,
"le_250ms": 0,
"le_500ms": 0,
"le_1000ms": 0,
"gt_1000ms": 0
}
},
"status_counts": {}
}
]
}
}PrincipalSummary
objectprincipal_idstringrequiredrolestringuseradminservicerequireddisplay_namestringscopesArray<string>namespace_prefixesArray<string>{
"principal_id": "string",
"role": "user",
"display_name": "string",
"scopes": [
"string"
],
"namespace_prefixes": [
"string"
]
}PrincipalEnvelope
objectstatusstringrequiredprincipalPrincipalSummaryrequired{
"status": "success",
"principal": {
"principal_id": "string",
"role": "user",
"display_name": "string",
"scopes": [
"string"
],
"namespace_prefixes": [
"string"
]
}
}ServiceTokenExchangeEnvelope
objectstatusstringrequiredaccess_tokenstringrequiredexpires_atstring<date-time>requiredprincipalPrincipalSummaryrequired{
"status": "success",
"access_token": "string",
"expires_at": "2024-01-15T09:30:00Z",
"principal": {
"principal_id": "string",
"role": "user",
"display_name": "string",
"scopes": [
"string"
],
"namespace_prefixes": [
"string"
]
}
}HostedRunSummary
objectCanonical prerelease v1 schema for summarized hosted run state returned by the hosted API.
idstringrequiredskillstringrequiredrunnerstringpackage_digeststringexecution_closure_digeststringstatusstringpendingrunningwaiting_resolutionsuccessfailuredeniedrequiredhost_statusstringrunningpausedcompletedfaileddeniedrequiredtrace_idstringpolicy_bindingobjectcompleted_atstring<date-time>actorsArray<string>artifact_typesArray<string>lineageobjectreceipt_idstringreceipt_kindstringkernel_run_idstringerrorstringupdated_atstring<date-time>requiredcreated_atstring<date-time>required{
"id": "string",
"skill": "string",
"runner": "string",
"package_digest": "string",
"execution_closure_digest": "string",
"status": "pending",
"host_status": "running",
"trace_id": "string",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"completed_at": "2024-01-15T09:30:00Z",
"actors": [
"string"
],
"artifact_types": [
"string"
],
"lineage": {
"kind": "rerun",
"source_run_id": "string",
"source_receipt_id": "string"
},
"receipt_id": "string",
"receipt_kind": "string",
"kernel_run_id": "string",
"error": "string",
"updated_at": "2024-01-15T09:30:00Z",
"created_at": "2024-01-15T09:30:00Z"
}RunSkillRequest
objectrunnerstringinputsobjectidempotency_keystringpaymentRunxExecutePurchaseRequestaccount_paymentobject | objectAn account purchase: the quoted purchase its buyer decided on, paid from the account's runx balance or with one of its payment grants.
versionstringThe listing version the buyer priced; a purchase of another is refused.
buyer_keystringThe Ed25519 key that owns the purchase: it signs the purchase's reads and claims.
{
"runner": "string",
"inputs": {},
"idempotency_key": "string",
"payment": {
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"purchase_id": "string",
"settlement_family": "string"
},
"account_payment": {
"purchase_id": "string",
"method": "balance"
},
"version": "string",
"buyer_key": "string"
}PurchaseClaimed
objectstatusstringrequiredholdsArray<object>required{
"status": "claimed",
"holds": [
{
"connector": "string",
"credential": "string",
"target": "string",
"expires_at": "2024-01-15T09:30:00Z",
"value_digest": "string",
"fields": {}
}
]
}PaidSkillRunPaymentResponse
objectacceptsArray<object>requirederrorstring | nullextensionsobject | nullresourceobjectrequiredx402Versionintegerrequiredstatusstringrequiredvalueobjectrequiredcodestringoffer_unavailablequote_expiredterms_changedreplay_conflictpayment_not_authorizedcapacity_unavailablenot_foundcancellation_not_availablerequiredreasonstringrequiredstatusstringrequiredstatusanyrequiredcodestringrequirederrorstringrequiredretry_after_secondsinteger>= 1{
"accepts": [
{
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
}
],
"error": "string",
"extensions": {},
"resource": {
"description": "string",
"iconUrl": "string",
"mimeType": "string",
"serviceName": "string",
"tags": [
"string"
],
"url": "string"
},
"x402Version": 2
}ServiceTokenExchangeRequest
objectCanonical prerelease v1 schema for exchanging an external OIDC token for a runx service access token.
service_principal_idstringrequiredoidc_tokenstringrequired{
"service_principal_id": "string",
"oidc_token": "string"
}CreateRunResponse
objectCanonical prerelease v1 schema for hosted run creation responses.
statusanyrequiredrun_idstringrequiredinspect_urlstringapp_urlstringrequests_urlstringlinksobject{
"status": "accepted",
"run_id": "string",
"inspect_url": "string",
"app_url": "string",
"requests_url": "string",
"links": {
"api": "string",
"app": "string",
"requests": "string"
}
}RunListEnvelope
objectstatusstringrequiredrunsArray<HostedRunSummary>requirednext_cursorstring{
"status": "success",
"runs": [
{
"id": "string",
"skill": "string",
"runner": "string",
"package_digest": "string",
"execution_closure_digest": "string",
"status": "pending",
"host_status": "running",
"trace_id": "string",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"completed_at": "2024-01-15T09:30:00Z",
"actors": [
"string"
],
"artifact_types": [
"string"
],
"lineage": {
"kind": "rerun",
"source_run_id": "string",
"source_receipt_id": "string"
},
"receipt_id": "string",
"receipt_kind": "string",
"kernel_run_id": "string",
"error": "string",
"updated_at": "2024-01-15T09:30:00Z",
"created_at": "2024-01-15T09:30:00Z"
}
],
"next_cursor": "string"
}RunDetailEnvelope
objectCanonical prerelease v1 schema for hosted run inspection responses.
statusanyrequiredrunHostedRunSummaryrequiredCanonical prerelease v1 schema for summarized hosted run state returned by the hosted API.
resultobjectresolution_requestsArray<resolution-request.schema.json>requiredsubmitted_resolutionsArray<storedResolution>requiredrequest_routesArray<requestRoute>{
"status": "found",
"run": {
"id": "string",
"skill": "string",
"runner": "string",
"package_digest": "string",
"execution_closure_digest": "string",
"status": "pending",
"host_status": "running",
"trace_id": "string",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"completed_at": "2024-01-15T09:30:00Z",
"actors": [
"string"
],
"artifact_types": [
"string"
],
"lineage": {
"kind": "rerun",
"source_run_id": "string",
"source_receipt_id": "string"
},
"receipt_id": "string",
"receipt_kind": "string",
"kernel_run_id": "string",
"error": "string",
"updated_at": "2024-01-15T09:30:00Z",
"created_at": "2024-01-15T09:30:00Z"
},
"result": {
"state": "available"
},
"resolution_requests": [
{
"id": "string",
"kind": "input",
"questions": [
{
"description": "string",
"free_text": true,
"id": "string",
"options": [
{
"detail": "string",
"label": "string"
}
],
"prompt": "string",
"required": true,
"type": "string"
}
]
}
],
"submitted_resolutions": [
{
"request_id": "string",
"request_digest": "string",
"request_kind": "input",
"actor": "human",
"submitted_at": "2024-01-15T09:30:00Z"
}
],
"request_routes": [
{
"request_id": "string",
"route": {
"route_id": "string",
"missing": true,
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
]
},
"matched_by": {
"kind": "none",
"rule_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
}
]
}RunDiffEnvelope
objectCanonical prerelease v1 schema for hosted run summary diffs.
statusanyrequireddiffobjectrequired{
"status": "success",
"diff": {
"left": {
"id": "string",
"skill": "string",
"runner": "string",
"package_digest": "string",
"execution_closure_digest": "string",
"status": "pending",
"host_status": "running",
"trace_id": "string",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"completed_at": "2024-01-15T09:30:00Z",
"actors": [
"string"
],
"artifact_types": [
"string"
],
"lineage": {
"kind": "rerun",
"source_run_id": "string",
"source_receipt_id": "string"
},
"receipt_id": "string",
"receipt_kind": "string",
"kernel_run_id": "string",
"error": "string",
"updated_at": "2024-01-15T09:30:00Z",
"created_at": "2024-01-15T09:30:00Z"
},
"right": {
"id": "string",
"skill": "string",
"runner": "string",
"package_digest": "string",
"execution_closure_digest": "string",
"status": "pending",
"host_status": "running",
"trace_id": "string",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"completed_at": "2024-01-15T09:30:00Z",
"actors": [
"string"
],
"artifact_types": [
"string"
],
"lineage": {
"kind": "rerun",
"source_run_id": "string",
"source_receipt_id": "string"
},
"receipt_id": "string",
"receipt_kind": "string",
"kernel_run_id": "string",
"error": "string",
"updated_at": "2024-01-15T09:30:00Z",
"created_at": "2024-01-15T09:30:00Z"
},
"changed": true,
"fields": {},
"actors": {
"added": [
"string"
],
"removed": [
"string"
]
},
"artifactTypes": {
"added": [
"string"
],
"removed": [
"string"
]
}
}
}RunRequestSummary
objectHosted v1 resolution request with an optional recorded response. Request payloads reference the canonical OSS contracts.
idstringrequiredkindanyrequiredquestionsArray<question.schema.json>requiredrequest_digeststringrequiredThe digest runx reported for the request; an answer to it names this digest.
submitted_resolutionstoredResolutionidstringrequiredkindanyrequiredgateapproval-gate.schema.jsonrequiredThe gate an approval request asks a person to pass, and why.
request_digeststringrequiredThe digest runx reported for the request; an answer to it names this digest.
submitted_resolutionstoredResolutionidstringrequiredkindanyrequiredinvocationagent-act-invocation.schema.jsonrequiredrequest_digeststringrequiredThe digest runx reported for the request; an answer to it names this digest.
submitted_resolutionstoredResolution{
"id": "string",
"kind": "input",
"questions": [
{
"description": "string",
"free_text": true,
"id": "string",
"options": [
{
"detail": "string",
"label": "string"
}
],
"prompt": "string",
"required": true,
"type": "string"
}
],
"request_digest": "string",
"submitted_resolution": {
"request_id": "string",
"request_digest": "string",
"request_kind": "input",
"actor": "human",
"submitted_at": "2024-01-15T09:30:00Z"
}
}RunRequestsEnvelope
objectCanonical prerelease v1 schema for listing queued hosted resolution requests.
statusanyrequiredrun_idstringrequiredrequestsArray<run-request-summary.schema.json>required{
"status": "success",
"run_id": "string",
"requests": [
{
"id": "string",
"kind": "input",
"questions": [
{
"description": "string",
"free_text": true,
"id": "string",
"options": [
{
"detail": "string",
"label": "string"
}
],
"prompt": "string",
"required": true,
"type": "string"
}
],
"request_digest": "string",
"submitted_resolution": {
"request_id": "string",
"request_digest": "string",
"request_kind": "input",
"actor": "human",
"submitted_at": "2024-01-15T09:30:00Z"
}
}
]
}RunRequestResponseRequest
objectCanonical prerelease v1 schema for hosted request-response submissions.
approvedbooleanrequiredrequest_digeststringrequiredThe digest runx reported for the request this answers. An answer to a request that has changed since is refused.
payloadanyrequiredrequest_digeststringrequiredThe digest runx reported for the request this answers. An answer to a request that has changed since is refused.
{
"approved": true,
"request_digest": "string"
}RunRecordedEnvelope
objectstatusstringrequiredrunHostedRunSummaryrequiredCanonical prerelease v1 schema for summarized hosted run state returned by the hosted API.
{
"status": "recorded",
"run": {
"id": "string",
"skill": "string",
"runner": "string",
"package_digest": "string",
"execution_closure_digest": "string",
"status": "pending",
"host_status": "running",
"trace_id": "string",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"completed_at": "2024-01-15T09:30:00Z",
"actors": [
"string"
],
"artifact_types": [
"string"
],
"lineage": {
"kind": "rerun",
"source_run_id": "string",
"source_receipt_id": "string"
},
"receipt_id": "string",
"receipt_kind": "string",
"kernel_run_id": "string",
"error": "string",
"updated_at": "2024-01-15T09:30:00Z",
"created_at": "2024-01-15T09:30:00Z"
}
}PolicyApprovalRouteRecipient
objectkindstringprincipalemailslack_channelwebhookrequiredvaluestringrequiredlabelstring{
"kind": "principal",
"value": "string",
"label": "string"
}PolicyApprovalRouteSummary
objectprincipal_idstringrequiredroute_idstringrequiredtitlestringsummarystringrecipientsArray<PolicyApprovalRouteRecipient>requiredcreated_atstring<date-time>requiredupdated_atstring<date-time>required{
"principal_id": "string",
"route_id": "string",
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
],
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}ApprovalRouteSnapshot
objectroute_idstringrequiredmissingbooleantitlestringsummarystringrecipientsArray<PolicyApprovalRouteRecipient>required{
"route_id": "string",
"missing": true,
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
]
}PutApprovalRouteRequest
objecttitlestringsummarystringrecipientsArray<PolicyApprovalRouteRecipient>required{
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
]
}ApprovalRouteEnvelope
objectstatusstringrequiredroutePolicyApprovalRouteSummaryrequired{
"status": "success",
"route": {
"principal_id": "string",
"route_id": "string",
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
],
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}ApprovalRouteListEnvelope
objectstatusstringrequiredroutesArray<PolicyApprovalRouteSummary>required{
"status": "success",
"routes": [
{
"principal_id": "string",
"route_id": "string",
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
],
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
]
}PolicyBundleRoutingRule
objectidstringrequiredroute_idstringrequiredskillstringgate_typestringgate_idstring{
"id": "string",
"route_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}PolicyBundleRouting
objectdefault_route_idstringrulesArray<PolicyBundleRoutingRule>required{
"default_route_id": "string",
"rules": [
{
"id": "string",
"route_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
]
}PolicyBundleWorkspacePolicy
objectstrict_process_tool_inline_codeboolean{
"strict_process_tool_inline_code": true
}PolicyBundleSummary
objectprincipal_idstringrequiredbundle_idstringrequiredversionstringrequiredtitlestringsummarystringworkspace_policyPolicyBundleWorkspacePolicyrequiredapproval_routingPolicyBundleRoutingrequiredcreated_atstring<date-time>required{
"principal_id": "string",
"bundle_id": "string",
"version": "string",
"title": "string",
"summary": "string",
"workspace_policy": {
"strict_process_tool_inline_code": true
},
"approval_routing": {
"default_route_id": "string",
"rules": [
{
"id": "string",
"route_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
]
},
"created_at": "2024-01-15T09:30:00Z"
}PutPolicyBundleRequest
objecttitlestringsummarystringworkspace_policyPolicyBundleWorkspacePolicyapproval_routingPolicyBundleRouting{
"title": "string",
"summary": "string",
"workspace_policy": {
"strict_process_tool_inline_code": true
},
"approval_routing": {
"default_route_id": "string",
"rules": [
{
"id": "string",
"route_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
]
}
}PolicyBundleEnvelope
objectstatusstringrequiredbundlePolicyBundleSummaryrequired{
"status": "success",
"bundle": {
"principal_id": "string",
"bundle_id": "string",
"version": "string",
"title": "string",
"summary": "string",
"workspace_policy": {
"strict_process_tool_inline_code": true
},
"approval_routing": {
"default_route_id": "string",
"rules": [
{
"id": "string",
"route_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
]
},
"created_at": "2024-01-15T09:30:00Z"
}
}PolicyBundleListEnvelope
objectstatusstringrequiredbundlesArray<PolicyBundleSummary>required{
"status": "success",
"bundles": [
{
"principal_id": "string",
"bundle_id": "string",
"version": "string",
"title": "string",
"summary": "string",
"workspace_policy": {
"strict_process_tool_inline_code": true
},
"approval_routing": {
"default_route_id": "string",
"rules": [
{
"id": "string",
"route_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
]
},
"created_at": "2024-01-15T09:30:00Z"
}
]
}PolicyAttachmentSummary
objectprincipal_idstringrequiredscope_kindstringworkspace_defaultskillrequiredscope_refstringbundle_idstringrequiredbundle_versionstringrequiredcreated_atstring<date-time>requiredupdated_atstring<date-time>required{
"principal_id": "string",
"scope_kind": "workspace_default",
"scope_ref": "string",
"bundle_id": "string",
"bundle_version": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}PutPolicyAttachmentRequest
objectbundle_idstringrequiredbundle_versionstringrequired{
"bundle_id": "string",
"bundle_version": "string"
}PolicyAttachmentEnvelope
objectstatusstringsuccessdeletedrequiredattachmentPolicyAttachmentSummaryrequired{
"status": "success",
"attachment": {
"principal_id": "string",
"scope_kind": "workspace_default",
"scope_ref": "string",
"bundle_id": "string",
"bundle_version": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}PolicyAttachmentListEnvelope
objectstatusstringrequiredattachmentsArray<PolicyAttachmentSummary>required{
"status": "success",
"attachments": [
{
"principal_id": "string",
"scope_kind": "workspace_default",
"scope_ref": "string",
"bundle_id": "string",
"bundle_version": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
]
}HostedApprovalGate
objectidstringrequiredtypestringreasonstringrequiredsummaryobject{
"id": "string",
"type": "string",
"reason": "string",
"summary": {}
}ApprovalInboxItem
objectrun_idstringrequiredprincipal_idstringrequiredskillstringrequiredcreated_atstring<date-time>requiredupdated_atstring<date-time>requiredpolicy_bindingobjectrequest_idstringrequiredrequest_digeststringrequiredgateHostedApprovalGaterequiredrouteApprovalRouteSnapshotmatched_byobjectrequired{
"run_id": "string",
"principal_id": "string",
"skill": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"request_id": "string",
"request_digest": "string",
"gate": {
"id": "string",
"type": "string",
"reason": "string",
"summary": {}
},
"route": {
"route_id": "string",
"missing": true,
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
]
},
"matched_by": {
"kind": "none",
"rule_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
}ApprovalInboxEnvelope
objectstatusstringrequiredapprovalsArray<ApprovalInboxItem>requirednext_cursorstring{
"status": "success",
"approvals": [
{
"run_id": "string",
"principal_id": "string",
"skill": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z",
"policy_binding": {
"bundle_id": "string",
"bundle_version": "string",
"scope_kind": "workspace_default",
"scope_ref": "string"
},
"request_id": "string",
"request_digest": "string",
"gate": {
"id": "string",
"type": "string",
"reason": "string",
"summary": {}
},
"route": {
"route_id": "string",
"missing": true,
"title": "string",
"summary": "string",
"recipients": [
{
"kind": "principal",
"value": "string",
"label": "string"
}
]
},
"matched_by": {
"kind": "none",
"rule_id": "string",
"skill": "string",
"gate_type": "string",
"gate_id": "string"
}
}
],
"next_cursor": "string"
}ConnectTicketEnvelope
objectstatusstringrequiredconnectobjectrequired{
"status": "success",
"connect": {}
}CreateConnectTicketRequest
objectproviderstringrequiredscopesArray<string>scope_familystringauthority_kindstringread_onlyconstructivedestructivetarget_repostringtarget_locatorstringreturn_tostring<uri>required{
"provider": "string",
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"return_to": "https://example.com"
}HostedProviderReference
objectprovider_referencestringrequiredprincipal_idstringrequiredproviderstringrequiredscopesArray<string>requiredstatusstringactiverevokedrequiredcreated_atstring<date-time>required{
"provider_reference": "string",
"principal_id": "string",
"provider": "string",
"scopes": [
"string"
],
"status": "active",
"created_at": "2024-01-15T09:30:00Z"
}ProviderReferenceListEnvelope
objectstatusstringrequiredprovider_referencesArray<HostedProviderReference>required{
"status": "success",
"provider_references": [
{
"provider_reference": "string",
"principal_id": "string",
"provider": "string",
"scopes": [
"string"
],
"status": "active",
"created_at": "2024-01-15T09:30:00Z"
}
]
}ProviderReferenceRevokedEnvelope
objectstatusstringrequiredprovider_referenceHostedProviderReferencerequired{
"status": "revoked",
"provider_reference": {
"provider_reference": "string",
"principal_id": "string",
"provider": "string",
"scopes": [
"string"
],
"status": "active",
"created_at": "2024-01-15T09:30:00Z"
}
}ConnectorBinding
objectAn exact connector revision: its connector name, its manifest digest, and its connector digest over the manifest and the tool packages it runs. A grant lists the one Connect executes it under; a provider operation or request names the one its caller admitted, and Cloud refuses any other with operation_contract_mismatch.
connectorstringrequiredmanifest_digeststringrequiredconnector_digeststringrequired{
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
}ConnectGrant
objectgrant_idstringrequiredprincipal_idstringrequiredproviderstringrequiredThe provider namespace the grant and its authorization are keyed by, or a payment rail.
accountstringThe delegated account the grant holds, by name, when Connect recorded one.
connector_bindingConnectorBindingAn exact connector revision: its connector name, its manifest digest, and its connector digest over the manifest and the tool packages it runs. A grant lists the one Connect executes it under; a provider operation or request names the one its caller admitted, and Cloud refuses any other with operation_contract_mismatch.
scopesArray<string>requiredscope_familystringauthority_kindstringread_onlyconstructivedestructivetarget_repostringtarget_locatorstringauth_modestringoauthbyorequiredmaterial_kindstringprovider_credentialbyo_credentialrequiredcredential_material_boundbooleanrequiredverification_statusstringpendingverifiedfailedverified_atstring<date-time>expires_atstring<date-time>grant_referenceobjectstatusstringactiveexpiredrevokedrequiredcreated_atstring<date-time>required{
"grant_id": "string",
"principal_id": "string",
"provider": "string",
"account": "string",
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"auth_mode": "oauth",
"material_kind": "provider_credential",
"credential_material_bound": true,
"verification_status": "pending",
"verified_at": "2024-01-15T09:30:00Z",
"expires_at": "2024-01-15T09:30:00Z",
"grant_reference": {
"grant_id": "string",
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string"
},
"status": "active",
"created_at": "2024-01-15T09:30:00Z"
}GrantListEnvelope
objectstatusstringrequiredgrantsArray<ConnectGrant>required{
"status": "success",
"grants": [
{
"grant_id": "string",
"principal_id": "string",
"provider": "string",
"account": "string",
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"auth_mode": "oauth",
"material_kind": "provider_credential",
"credential_material_bound": true,
"verification_status": "pending",
"verified_at": "2024-01-15T09:30:00Z",
"expires_at": "2024-01-15T09:30:00Z",
"grant_reference": {
"grant_id": "string",
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string"
},
"status": "active",
"created_at": "2024-01-15T09:30:00Z"
}
]
}GrantRevokedEnvelope
objectstatusstringrequiredgrantConnectGrantrequired{
"status": "revoked",
"grant": {
"grant_id": "string",
"principal_id": "string",
"provider": "string",
"account": "string",
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"auth_mode": "oauth",
"material_kind": "provider_credential",
"credential_material_bound": true,
"verification_status": "pending",
"verified_at": "2024-01-15T09:30:00Z",
"expires_at": "2024-01-15T09:30:00Z",
"grant_reference": {
"grant_id": "string",
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string"
},
"status": "active",
"created_at": "2024-01-15T09:30:00Z"
}
}ProviderOperationRequest
objectconnector_bindingConnectorBindingrequiredAn exact connector revision: its connector name, its manifest digest, and its connector digest over the manifest and the tool packages it runs. A grant lists the one Connect executes it under; a provider operation or request names the one its caller admitted, and Cloud refuses any other with operation_contract_mismatch.
grant_idstringrequiredoperationstringrequiredoperation_digeststringrequiredThe digest of the connector operation the caller admitted. Cloud refuses one that is not its manifest's with operation_contract_mismatch.
targetstringrequiredExact provider-neutral target locator bound into the operation readback evidence.
scopesArray<string>Optional exact Runx capability scopes already admitted by the runtime; Cloud checks supplied evidence against the connector manifest and grant.
inputobjectaccessstringreadmutateOptional caller assertion checked against the connector manifest's operation before dispatch.
{
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"grant_id": "string",
"operation": "string",
"operation_digest": "string",
"target": "string",
"scopes": [
"string"
],
"input": {},
"access": "read"
}ProviderRequestRequest
objectOne declared request of a hosted connector operation, named by id. Cloud renders it from its own copy of the declaration and sends it through the provider gateway with the binding's credential.
connector_bindingConnectorBindingrequiredAn exact connector revision: its connector name, its manifest digest, and its connector digest over the manifest and the tool packages it runs. A grant lists the one Connect executes it under; a provider operation or request names the one its caller admitted, and Cloud refuses any other with operation_contract_mismatch.
grant_idstringrequiredoperationstringrequiredoperation_digeststringrequiredimplementation_digeststringrequiredinputobjectrequiredidempotency_keystringrequeststringrequirediteminteger>= 0The element of a repeated request, by position.
responsesobjectThe write's decoded answer, by request id, for a checking read whose request binds it. Accepted only for checking reads.
{
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"grant_id": "string",
"operation": "string",
"operation_digest": "string",
"implementation_digest": "string",
"input": {},
"idempotency_key": "string",
"request": "string",
"item": 0,
"responses": {}
}ProviderRequestAnswer
objectThe provider's answer, whole: provider errors are answers, never clipped.
statusintegerrequiredbodystringrequired{
"status": 0,
"body": "string"
}ProviderOperationResultEnvelope
objectstatusstringrequiredproviderstringrequiredoperationstringrequiredtargetstringrequiredaccessstringreadmutaterequiredThe access the connector manifest declares for the executed operation.
resultanyrequiredreadback_uristringrequiredoperation_idstringidempotency_keystring{
"status": "success",
"provider": "string",
"operation": "string",
"target": "string",
"access": "read",
"readback_uri": "string",
"operation_id": "string",
"idempotency_key": "string"
}CreateConnectSessionRequest
objectproviderstringrequiredscopesArray<string>scope_familystringauthority_kindstringread_onlyconstructivedestructivetarget_repostringtarget_locatorstringcredential_grant_idstringAn active verified BYO grant whose retained credential material will be reused for this new, independently scoped grant. Mutually exclusive with binding_id.
{
"provider": "string",
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"credential_grant_id": "string"
}ConnectSessionPendingEnvelope
objectstatusstringrequiredsession_idstringrequiredflow_idstringrequiredauthorization_urlstring<uri>requiredpoll_after_msintegerrequiredexpires_atstring<date-time>{
"status": "pending",
"session_id": "string",
"flow_id": "string",
"authorization_url": "https://example.com",
"poll_after_ms": 0,
"expires_at": "2024-01-15T09:30:00Z"
}ConnectSessionCompleteEnvelope
objectstatusstringcreatedunchangedrequiredsession_idstringflow_idstringgrantConnectGrantrequired{
"status": "created",
"session_id": "string",
"flow_id": "string",
"grant": {
"grant_id": "string",
"principal_id": "string",
"provider": "string",
"account": "string",
"connector_binding": {
"connector": "string",
"manifest_digest": "string",
"connector_digest": "string"
},
"scopes": [
"string"
],
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string",
"auth_mode": "oauth",
"material_kind": "provider_credential",
"credential_material_bound": true,
"verification_status": "pending",
"verified_at": "2024-01-15T09:30:00Z",
"expires_at": "2024-01-15T09:30:00Z",
"grant_reference": {
"grant_id": "string",
"scope_family": "string",
"authority_kind": "read_only",
"target_repo": "string",
"target_locator": "string"
},
"status": "active",
"created_at": "2024-01-15T09:30:00Z"
}
}ConnectSessionStatusEnvelope
objectstatusstringrequiredsession_idstringrequiredflow_idstringrequiredpoll_after_msintegerrequiredstatusstringrequiredsession_idstringrequiredflow_idstringrequirederrorstringrequiredstatusstringrequiredsession_idstringrequiredflow_idstringrequiredproviderstringrequiredcredential_material_boundbooleanrequiredverified_atstring<date-time>statusstringcreatedunchangedrequiredsession_idstringrequiredflow_idstringrequiredgrantConnectGrantrequired{
"status": "pending",
"session_id": "string",
"flow_id": "string",
"poll_after_ms": 0
}CategoryFacetEntry
objectvaluestringrequiredcountnumberrequiredlabelstringrequiredsurfacestring{
"value": "string",
"count": 0,
"label": "string",
"surface": "builder"
}CopyableCommand
objectshellstringrequiredargvArray<string>requiredcopy_textstringrequired{
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
}EmbeddedOfferVersionBindingContract
objectinput_schema_digeststringrequiredoffer_idstringrequiredoutput_schema_digeststringrequiredprofile_digeststringrequiredversionstringrequired{
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
}OperationVerb
string"read"PaidSkillActsOnContract
objectconnectorstringrequiredcredentialstringrequiredtargetanyrequired{
"connector": "string",
"credential": "string"
}PaidSkillListingContract
objectbundle_digeststringrequiredoffersobjectrequiredprofile_digeststringrequiredseller_refPrincipalReferenceContractrequiredskill_digeststringrequiredskill_idstringrequiredversionstringrequired{
"bundle_digest": "string",
"offers": {},
"profile_digest": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"skill_digest": "string",
"skill_id": "string",
"version": "string"
}PaidSkillPriceCaseContract
objectamount_minornumberrequiredwhenArray<PriceChoiceContract>required{
"amount_minor": 0,
"when": [
"string"
]
}PaidSkillPriceContract
objectamount_minornumberrequiredmodelstringrequiredcasesArray<PaidSkillPriceCaseContract>requiredmodelstringrequiredselectorsArray<string>requiredartifact_inputstringrequiredbase_amount_minornumberrequiredmax_bytesnumberrequiredmodelstringrequiredunit_amount_minornumberrequiredunit_bytesnumberrequired{
"amount_minor": 0,
"model": "fixed"
}PaidSkillRunnerOfferContract
objectaccepted_settlement_familiesArray<string>requiredacts_onPaidSkillActsOnContractcurrencystringrequiredoffer_versionEmbeddedOfferVersionBindingContractrequiredpriceobject | object | objectrequired{
"accepted_settlement_families": [
"string"
],
"acts_on": {
"connector": "string",
"credential": "string"
},
"currency": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"price": {
"amount_minor": 0,
"model": "fixed"
}
}PrincipalReferenceContract
objectlabelstringlocatorstringobserved_atstringproof_kindProofKindContracteffect_evidenceeffect_finalitycredential_resolutionproviderstringtypestringrequireduristringrequired{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
}ProofKindContract
string"effect_evidence"PublicBoundConnectorMark
objectdigeststringrequiredurlstringrequiredsourcestringrequiredconnectorstringrequired{
"digest": "string",
"url": "string",
"source": "connector",
"connector": "string"
}PublicConnectorAuthMethod
string"delegated"PublicConnectorCategory
objectidstringrequiredlabelstringrequired{
"id": "string",
"label": "string"
}PublicConnectorCredential
objectkindstringrequiredfieldsArray<object>requiredaudienceArray<string>{
"kind": "string",
"fields": [
{
"name": "string",
"label": "string",
"secret": true,
"required": true
}
],
"audience": [
"string"
]
}PublicConnectorDetail
objectconnectorstringrequiredpublisherPublicPublisherrequiredidstringrequiredversionstringrequirednamestringrequireddescriptionstringrequiredcategoryPublicConnectorCategoryrequiredruntime_capabilitybooleanrequiredtrust_tierstringfirst_partyverifiedcommunityrequiredauth_methodsArray<PublicConnectorAuthMethod>delegatedcredentialssessionnonerequiredplacementsArray<PublicConnectorPlacement>requiredmanifest_digeststringrequiredcontent_digeststringrequiredconnector_digeststringrequiredmarkPublicDeclaredMarkrequiredoperationsArray<PublicConnectorOperationDetail>requiredsetupArray<PublicConnectorSetup>requiredmanifestanyrequiredmanifest_urlstringrequiredinstall_commandCopyableCommandrequiredcli_releasestringrequired{
"connector": "string",
"publisher": {
"id": "string",
"slug": "string",
"handle": "string",
"display_name": "string",
"kind": "org",
"verified": true,
"image": {
"digest": "string",
"url": "string"
},
"url": "string"
},
"id": "string",
"version": "string",
"name": "string",
"description": "string",
"category": {
"id": "string",
"label": "string"
},
"runtime_capability": true,
"trust_tier": "first_party",
"auth_methods": [
"delegated"
],
"placements": [
{
"placement": "hosted",
"auth": [
"delegated"
],
"ready": true,
"ready_operations": 0,
"reasons": [
{
"check": "requirement",
"outcome": "pass",
"detail": "string"
}
]
}
],
"manifest_digest": "string",
"content_digest": "string",
"connector_digest": "string",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
},
"operations": [
{
"name": "string",
"verb": "read",
"description": "string",
"scopes": [
"string"
],
"implemented": true,
"operation_digest": "string",
"implementation_digest": "string",
"placements": [
{
"placement": "hosted",
"ready": true,
"reasons": [
{
"check": "requirement",
"outcome": "pass",
"detail": "string"
}
]
}
]
}
],
"setup": [
{
"placement": "hosted",
"method": "delegated",
"credential": "string",
"commands": [
[
"string"
]
]
}
],
"manifest_url": "string",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"cli_release": "string"
}PublicConnectorGuarantees
objectprovider_idempotencyobjectreadbackobject{
"provider_idempotency": {
"value": "enforced",
"meaning": "string"
},
"readback": {
"value": "unavailable",
"meaning": "string"
}
}PublicConnectorImplementation
objecthttpobjectrequiredmcpobjectrequiredprocessobjectrequiredwebobjectrequiredstoreobjectrequiredartifactobjectrequired{
"http": {
"allowed_hosts": [
"string"
]
}
}PublicConnectorManifest
objectschemastringrequiredidstringrequirednamestringrequireddescriptionstringrequiredauthPublicConnectorManifestAuthrequiredparametersJsonObjectplacementsPublicConnectorManifestPlacementsrequiredoperationsobjectrequired{
"schema": "runx.connector.v1",
"id": "string",
"name": "string",
"description": "string",
"auth": {
"credentials": {},
"delegated": {},
"session": {
"kind": "command",
"command": [
"string"
],
"credential": "string"
},
"none": {}
},
"placements": {
"hosted": {
"auth": "delegated",
"credential": "string",
"callers": "public"
},
"local": {
"auth": [
"credentials"
],
"mcp_server": {
"transport": "string"
}
}
},
"operations": {}
}PublicConnectorManifestAuth
objectcredentialsobjectdelegatedobjectsessionobjectnoneobject{
"credentials": {},
"delegated": {},
"session": {
"kind": "command",
"command": [
"string"
],
"credential": "string"
},
"none": {}
}PublicConnectorManifestOperation
objectdescriptionstringrequiredverbPublicConnectorOperationVerbreadwritecommentreviewmergecreateupdatedeleteexecuterevokerequiredscopesArray<string>requiredcredentialsArray<string>targetobjectrequiredapprovalstringnonerequiredidempotency_key_formatstringrunxuuidguaranteesPublicConnectorGuaranteesamountstring | objectinput_schemaJsonObjectresult_fieldsArray<string>effectobjecthostedobjectimplementationobject | object | object | object | object | object{
"description": "string",
"verb": "read",
"scopes": [
"string"
],
"credentials": [
"string"
],
"target": {
"pattern": "string"
},
"approval": "none",
"idempotency_key_format": "runx",
"guarantees": {
"provider_idempotency": {
"value": "enforced",
"meaning": "string"
},
"readback": {
"value": "unavailable",
"meaning": "string"
}
},
"amount": "none",
"result_fields": [
"string"
],
"effect": {
"kind": "thread"
},
"hosted": {
"provider_scopes": [
"string"
]
},
"implementation": {
"http": {
"allowed_hosts": [
"string"
]
}
}
}PublicConnectorManifestPlacements
objecthostedobjectlocalobject{
"hosted": {
"auth": "delegated",
"credential": "string",
"callers": "public"
},
"local": {
"auth": [
"credentials"
],
"mcp_server": {
"transport": "string"
}
}
}PublicConnectorOperationDetail
objectnamestringrequiredverbPublicConnectorOperationVerbreadwritecommentreviewmergecreateupdatedeleteexecuterevokerequireddescriptionstringrequiredscopesArray<string>requiredimplementedbooleanrequiredoperation_digeststringrequiredimplementation_digeststringplacementsArray<PublicOperationPlacementReadiness>required{
"name": "string",
"verb": "read",
"description": "string",
"scopes": [
"string"
],
"implemented": true,
"operation_digest": "string",
"implementation_digest": "string",
"placements": [
{
"placement": "hosted",
"ready": true,
"reasons": [
{
"check": "requirement",
"outcome": "pass",
"detail": "string"
}
]
}
]
}PublicConnectorOperationVerb
string"read"PublicConnectorPackage
objectconnectorstringrequiredversionstringrequiredtrust_tierstringfirst_partyverifiedcommunityrequiredfilesArray<PublicPackageFile>requiredsigned_manifestRegistrySignedManifestrequired{
"connector": "string",
"version": "string",
"trust_tier": "first_party",
"files": [
{
"path": "string",
"content": "string"
}
],
"signed_manifest": {
"schema": "runx.registry.signed_manifest.v1",
"subject": {
"kind": "skill",
"name": "string"
},
"version": "string",
"content_digest": "string",
"signer": {
"id": "string",
"key_id": "string"
},
"signature": {
"alg": "ed25519",
"value": "string"
}
}
}PublicConnectorPackageResponse
objectstatusstringrequiredpackagePublicConnectorPackage | PublicWithdrawnConnectorPackagerequired{
"status": "success",
"package": {
"connector": "string",
"version": "string",
"trust_tier": "first_party",
"files": [
{
"path": "string",
"content": "string"
}
],
"signed_manifest": {
"schema": "runx.registry.signed_manifest.v1",
"subject": {
"kind": "skill",
"name": "string"
},
"version": "string",
"content_digest": "string",
"signer": {
"id": "string",
"key_id": "string"
},
"signature": {
"alg": "ed25519",
"value": "string"
}
}
}
}PublicConnectorPlacement
objectplacementPublicConnectorPlacementNamehostedlocalrequiredauthArray<PublicConnectorAuthMethod>delegatedcredentialssessionnonerequiredreadybooleanrequiredready_operationsnumberrequiredreasonsArray<PublicReadinessReason>required{
"placement": "hosted",
"auth": [
"delegated"
],
"ready": true,
"ready_operations": 0,
"reasons": [
{
"check": "requirement",
"outcome": "pass",
"detail": "string"
}
]
}PublicConnectorPublishRequest
objectversionstringfilesArray<PublicPackageFile>required{
"version": "string",
"files": [
{
"path": "string",
"content": "string"
}
]
}PublicConnectorPublishResponse
objectstatusstringrequiredpublishPublicConnectorPublishResultrequired{
"status": "success",
"publish": {
"status": "published",
"connector": "string",
"version": "string",
"content_digest": "string",
"manifest_digest": "string",
"connector_digest": "string",
"trust_tier": "first_party",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"public_url": "string"
}
}PublicConnectorPublishResult
objectstatusstringpublishedunchangedrequiredconnectorstringrequiredversionstringrequiredcontent_digeststringrequiredmanifest_digeststringrequiredconnector_digeststringrequiredtrust_tierstringfirst_partyverifiedcommunityrequiredinstall_commandCopyableCommandrequiredpublic_urlstringrequired{
"status": "published",
"connector": "string",
"version": "string",
"content_digest": "string",
"manifest_digest": "string",
"connector_digest": "string",
"trust_tier": "first_party",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"public_url": "string"
}PublicConnectorSetup
objectplacementPublicConnectorPlacementNamehostedlocalrequiredmethodPublicConnectorAuthMethoddelegatedcredentialssessionnonerequiredcredentialstringcommandsArray<Array<string>>required{
"placement": "hosted",
"method": "delegated",
"credential": "string",
"commands": [
[
"string"
]
]
}PublicConnectorSummary
objectconnectorstringrequiredpublisherPublicPublisherrequiredidstringrequiredversionstringrequirednamestringrequireddescriptionstringrequiredcategoryPublicConnectorCategoryrequiredruntime_capabilitybooleanrequiredtrust_tierstringfirst_partyverifiedcommunityrequiredauth_methodsArray<PublicConnectorAuthMethod>delegatedcredentialssessionnonerequiredplacementsArray<PublicConnectorPlacement>requiredmanifest_digeststringrequiredcontent_digeststringrequiredconnector_digeststringrequiredmarkPublicDeclaredMarkrequired{
"connector": "string",
"publisher": {
"id": "string",
"slug": "string",
"handle": "string",
"display_name": "string",
"kind": "org",
"verified": true,
"image": {
"digest": "string",
"url": "string"
},
"url": "string"
},
"id": "string",
"version": "string",
"name": "string",
"description": "string",
"category": {
"id": "string",
"label": "string"
},
"runtime_capability": true,
"trust_tier": "first_party",
"auth_methods": [
"delegated"
],
"placements": [
{
"placement": "hosted",
"auth": [
"delegated"
],
"ready": true,
"ready_operations": 0,
"reasons": [
{
"check": "requirement",
"outcome": "pass",
"detail": "string"
}
]
}
],
"manifest_digest": "string",
"content_digest": "string",
"connector_digest": "string",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
}
}PublicConnectorVersionSummary
objectversionstringrequiredcreated_atstringrequiredcontent_digeststringrequiredtrust_tierstringfirst_partyverifiedcommunityrequired{
"version": "string",
"created_at": "string",
"content_digest": "string",
"trust_tier": "first_party"
}PublicConnectorVersionsResponse
objectconnectorstringrequiredversionsArray<PublicConnectorVersionSummary>requiredhas_morebooleanrequirednext_cursorstringstatusstringrequired{
"connector": "string",
"versions": [
{
"version": "string",
"created_at": "string",
"content_digest": "string",
"trust_tier": "first_party"
}
],
"has_more": true,
"next_cursor": "string",
"status": "success"
}PublicConnectorVersionsResult
objectconnectorstringrequiredversionsArray<PublicConnectorVersionSummary>requiredhas_morebooleanrequirednext_cursorstring{
"connector": "string",
"versions": [
{
"version": "string",
"created_at": "string",
"content_digest": "string",
"trust_tier": "first_party"
}
],
"has_more": true,
"next_cursor": "string"
}PublicConnectorsQuery
objectqstringcategorystringtrust_tierstringfirst_partyverifiedcommunityplacementPublicConnectorPlacementNamehostedlocalpublisherstring{
"q": "string",
"category": "string",
"trust_tier": "first_party",
"placement": "hosted",
"publisher": "string"
}PublicConnectorsResponse
objectstatusstringrequiredqueryPublicConnectorsQueryrequiredcatalog_totalnumberrequiredtotalnumberrequiredfacetsobjectrequiredconnectorsArray<PublicConnectorSummary>requirednext_cursorstring{
"status": "success",
"query": {
"q": "string",
"category": "string",
"trust_tier": "first_party",
"placement": "hosted",
"publisher": "string"
},
"catalog_total": 0,
"total": 0,
"facets": {
"categories": [
{
"count": 0,
"id": "string",
"label": "string"
}
],
"placements": [
{
"placement": "hosted",
"count": 0
}
]
},
"connectors": [
{
"connector": "string",
"publisher": {
"id": "string",
"slug": "string",
"handle": "string",
"display_name": "string",
"kind": "org",
"verified": true,
"image": {
"digest": "string",
"url": "string"
},
"url": "string"
},
"id": "string",
"version": "string",
"name": "string",
"description": "string",
"category": {
"id": "string",
"label": "string"
},
"runtime_capability": true,
"trust_tier": "first_party",
"auth_methods": [
"delegated"
],
"placements": [
{
"placement": "hosted",
"auth": [
"delegated"
],
"ready": true,
"ready_operations": 0,
"reasons": [
{
"check": "requirement",
"outcome": "pass",
"detail": "string"
}
]
}
],
"manifest_digest": "string",
"content_digest": "string",
"connector_digest": "string",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
}
}
],
"next_cursor": "string"
}PublicDeclaredMark
objectdigeststringrequiredurlstringrequiredsourcestringowncategoryrequired{
"digest": "string",
"url": "string",
"source": "own"
}PublicEvidenceEvent
objectidstringrequiredkindPublicEvidenceKindrequiredsourcestringrequiredstatusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequiredtitlestringrequiredtimestampstringrequiredsummarystringrepostringworkflowstringbranchstringcommitstringskill_idstringrun_idstringreceipt_idstringurlstringmetadataobjectharnessPublicHarnessResult{
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}PublicEvidenceInput
objectkindPublicEvidenceKindrequiredsourcestringrequiredstatusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequiredtitlestringrequiredtimestampstringrequiredsummarystringrepostringworkflowstringbranchstringcommitstringskill_idstringrun_idstringreceipt_idstringurlstringmetadataobjectharnessPublicHarnessResultidstring{
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
},
"id": "string"
}PublicEvidenceStatus
string"success"PublicFeedItem
objectidstringrequiredsourcestringrunx-hostedpublic-evidencerequiredstatusstringrequiredtitlestringrequiredtargetstringrequiredtimestampstringrequiredsummarystringrepostringworkflowstringbranchstringcommitstringrun_idstringreceipt_idstringskill_idstringactions_countnumberurlstringprincipalstringprincipal_handlestringsigner_truststringverifiedcommunityunverifiedscopesArray<string>parent_receipt_idstringgraph_depthnumbermetadataobject{
"id": "string",
"source": "runx-hosted",
"status": "string",
"title": "string",
"target": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"run_id": "string",
"receipt_id": "string",
"skill_id": "string",
"actions_count": 0,
"url": "string",
"principal": "string",
"principal_handle": "string",
"signer_trust": "verified",
"scopes": [
"string"
],
"parent_receipt_id": "string",
"graph_depth": 0,
"metadata": {}
}PublicFeedResponse
objectstatusstringrequiredas_ofstringrequiredfeedArray<PublicFeedItem>required{
"status": "success",
"as_of": "string",
"feed": [
{
"id": "string",
"source": "runx-hosted",
"status": "string",
"title": "string",
"target": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"run_id": "string",
"receipt_id": "string",
"skill_id": "string",
"actions_count": 0,
"url": "string",
"principal": "string",
"principal_handle": "string",
"signer_trust": "verified",
"scopes": [
"string"
],
"parent_receipt_id": "string",
"graph_depth": 0,
"metadata": {}
}
]
}PublicHarnessResult
objectproducerstringrequiredverificationstringregistrypublisherrequiredsuitestringrequiredattempt_idstringrequiredversionstringrequiredcontent_digeststringrequiredresultstringpassedfailedrequiredchecks_totalnumberrequiredchecks_passednumberrequiredchecks_failednumberrequiredruntimestring{
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}PublicHarnessSummary
objectstatusstringpassedfailednot_recordedolder_versionunavailablerequireddeclared_case_countnumberrequireddeclared_casesArray<object>requiredcase_countnumberrequiredchecks_passednumberchecks_failednumberreceipt_idsArray<string>requiredevidence_urlstringlatest_runPublicEvidenceEventresultsArray<PublicEvidenceEvent>requiredrecent_runsArray<PublicEvidenceEvent>requiredolder_versionPublicEvidenceEvent{
"status": "passed",
"declared_case_count": 0,
"declared_cases": [
{
"name": "string",
"runner": "string",
"expected_status": "string"
}
],
"case_count": 0,
"checks_passed": 0,
"checks_failed": 0,
"receipt_ids": [
"string"
],
"evidence_url": "string",
"latest_run": {
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
},
"results": [
{
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
],
"recent_runs": [
{
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
],
"older_version": {
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
}PublicOperationPlacementReadiness
objectplacementPublicConnectorPlacementNamehostedlocalrequiredreadybooleanrequiredreasonsArray<PublicReadinessReason>required{
"placement": "hosted",
"ready": true,
"reasons": [
{
"check": "requirement",
"outcome": "pass",
"detail": "string"
}
]
}PublicPackageFile
objectpathstringrequiredcontentstringrequired{
"path": "string",
"content": "string"
}PublicPublisher
objectidstringrequiredslugstringrequiredhandlestringrequireddisplay_namestringrequiredkindstringorguserteamrequiredverifiedbooleanrequiredimagePublicMarkurlstringrequired{
"id": "string",
"slug": "string",
"handle": "string",
"display_name": "string",
"kind": "org",
"verified": true,
"image": {
"digest": "string",
"url": "string"
},
"url": "string"
}PublicPublisherProfile
objectidstringrequiredslugstringrequiredhandlestringrequireddisplay_namestringrequiredkindstringorguserteamrequiredverifiedbooleanrequiredimagePublicMarkurlstringrequireddescriptionstringlinksArray<object>requiredskill_countnumberinstall_countnumbercategoriesArray<CategoryFacetEntry>updated_atstring{
"id": "string",
"slug": "string",
"handle": "string",
"display_name": "string",
"kind": "org",
"verified": true,
"image": {
"digest": "string",
"url": "string"
},
"url": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "string"
}
],
"skill_count": 0,
"install_count": 0,
"categories": [
{
"value": "string",
"count": 0,
"label": "string",
"surface": "builder"
}
],
"updated_at": "string"
}PublicPublisherProfileResponse
objectstatusstringrequiredpublisherPublicPublisherProfilerequired{
"status": "success",
"publisher": {
"id": "string",
"slug": "string",
"handle": "string",
"display_name": "string",
"kind": "org",
"verified": true,
"image": {
"digest": "string",
"url": "string"
},
"url": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "string"
}
],
"skill_count": 0,
"install_count": 0,
"categories": [
{
"value": "string",
"count": 0,
"label": "string",
"surface": "builder"
}
],
"updated_at": "string"
}
}PublicReadinessCheck
string"requirement"PublicReadinessReason
objectcheckPublicReadinessCheckrequirementinstancecapabilitydelegationapprovalimplementationtolerancerequiredoutcomePublicReadinessOutcomepassfailrequiredunknownrequireddetailstringrequired{
"check": "requirement",
"outcome": "pass",
"detail": "string"
}PublicReceiptCheck
objectidstringrequiredlabelstringrequiredresultobjectrequiredreasonstringrequired{
"id": "string",
"label": "string",
"result": {
"kind": "pass",
"label": "string"
},
"reason": "string"
}PublicReceiptCheckGroup
objectidstringintegrityissuernotarizationrequiredtitlestringrequiredchecksArray<PublicReceiptCheck>required{
"id": "integrity",
"title": "string",
"checks": [
{
"id": "string",
"label": "string",
"result": {
"kind": "pass",
"label": "string"
},
"reason": "string"
}
]
}PublicReceiptClaim
objectschemastringrequiredkindstringrequiredtitlestringrequiredvenueobjectrequiredsubjectobjectamountobjectsource_urlstringoccurred_atstringrequired{
"schema": "runx.public_receipt_claim.v1",
"kind": "string",
"title": "string",
"venue": {
"id": "string",
"name": "string",
"url": "string"
},
"subject": {
"type": "string",
"id": "string",
"label": "string"
},
"amount": {
"cents": 0,
"currency": "string"
},
"source_url": "string",
"occurred_at": "string"
}PublicReceiptNotarization
objectstatusstringrequiredreceiptPublicReceiptNotarizationRecordrequired{
"status": "success",
"receipt": {
"notarization_status": "notarized",
"digest": "string",
"mode": "full",
"mode_statement": "string",
"receipt_id": "string",
"declared_receipt_id": "string",
"verified_at": "string",
"sealed_at": "string",
"updated_at": "string",
"runx_version": "string",
"issuer": {
"type": "string",
"label": "string"
},
"edge_key": {
"type": "string",
"kid": "string",
"public_key_digest": "string"
},
"verdict": {
"valid": true,
"signature_issuer_type": "string",
"signature_status": "string",
"signature_kid": "string",
"digest_status": "string",
"content_address_status": "string",
"lineage_status": "string",
"findings_count": 0,
"finding_codes": [
"string"
]
},
"subject": {
"kind": "string",
"ref_type": "string"
},
"public_claim": {
"schema": "runx.public_receipt_claim.v1",
"kind": "string",
"title": "string",
"venue": {
"id": "string",
"name": "string",
"url": "string"
},
"subject": {
"type": "string",
"id": "string",
"label": "string"
},
"amount": {
"cents": 0,
"currency": "string"
},
"source_url": "string",
"occurred_at": "string"
},
"claim_statement": "string",
"publisher": {
"principal_id": "string"
},
"checks": [
{
"id": "integrity",
"title": "string",
"checks": [
{
"id": "string",
"label": "string",
"result": {
"kind": "pass",
"label": "string"
},
"reason": "string"
}
]
}
],
"alert": {
"kind": "fail",
"label": "string",
"check_id": "string"
},
"notary_verification": {
"counter_seal": {
"schema": "string",
"issuer": {
"type": "string",
"kid": "string"
},
"payload": {},
"payload_digest": "string",
"digest": "string",
"signature": {
"alg": "string",
"value": "string"
}
},
"signer_public_keys": [
{
"kid": "string",
"public_key_digest": "string",
"public_key_pem": "string"
}
]
},
"verification": {
"notary_key_url": "string",
"notary_key_filename": "string",
"seal_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"receipt_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
}
},
"claims": [
"string"
],
"limitations": [
"string"
]
}
}PublicReceiptNotarizationRecord
objectnotarization_statusstringrequireddigeststringrequiredmodestringfulldigest_onlyrequiredmode_statementstringrequiredreceipt_idstringdeclared_receipt_idstringverified_atstringrequiredsealed_atstringrequiredupdated_atstringrequiredrunx_versionstringrequiredissuerobjectedge_keyobjectrequiredverdictobjectrequiredsubjectobjectpublic_claimPublicReceiptClaimclaim_statementstringpublisherobjectrequiredchecksArray<PublicReceiptCheckGroup>requiredalertobjectnotary_verificationobjectrequiredverificationobjectrequiredclaimsArray<string>requiredlimitationsArray<string>required{
"notarization_status": "notarized",
"digest": "string",
"mode": "full",
"mode_statement": "string",
"receipt_id": "string",
"declared_receipt_id": "string",
"verified_at": "string",
"sealed_at": "string",
"updated_at": "string",
"runx_version": "string",
"issuer": {
"type": "string",
"label": "string"
},
"edge_key": {
"type": "string",
"kid": "string",
"public_key_digest": "string"
},
"verdict": {
"valid": true,
"signature_issuer_type": "string",
"signature_status": "string",
"signature_kid": "string",
"digest_status": "string",
"content_address_status": "string",
"lineage_status": "string",
"findings_count": 0,
"finding_codes": [
"string"
]
},
"subject": {
"kind": "string",
"ref_type": "string"
},
"public_claim": {
"schema": "runx.public_receipt_claim.v1",
"kind": "string",
"title": "string",
"venue": {
"id": "string",
"name": "string",
"url": "string"
},
"subject": {
"type": "string",
"id": "string",
"label": "string"
},
"amount": {
"cents": 0,
"currency": "string"
},
"source_url": "string",
"occurred_at": "string"
},
"claim_statement": "string",
"publisher": {
"principal_id": "string"
},
"checks": [
{
"id": "integrity",
"title": "string",
"checks": [
{
"id": "string",
"label": "string",
"result": {
"kind": "pass",
"label": "string"
},
"reason": "string"
}
]
}
],
"alert": {
"kind": "fail",
"label": "string",
"check_id": "string"
},
"notary_verification": {
"counter_seal": {
"schema": "string",
"issuer": {
"type": "string",
"kid": "string"
},
"payload": {},
"payload_digest": "string",
"digest": "string",
"signature": {
"alg": "string",
"value": "string"
}
},
"signer_public_keys": [
{
"kid": "string",
"public_key_digest": "string",
"public_key_pem": "string"
}
]
},
"verification": {
"notary_key_url": "string",
"notary_key_filename": "string",
"seal_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"receipt_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
}
},
"claims": [
"string"
],
"limitations": [
"string"
]
}PublicRegistryAttestation
objectkindstringsourcepublisherverificationrequiredidstringrequiredstatusstringverifieddeclaredrequiredsummarystringrequiredsourcestringissued_atstringmetadataobject{
"kind": "source",
"id": "string",
"status": "verified",
"summary": "string",
"source": "string",
"issued_at": "string",
"metadata": {}
}PublicRegistryPublisher
objectkindstringorganizationuserteamservicepublisherrequiredidstringrequiredhandlestringdisplay_namestring{
"kind": "organization",
"id": "string",
"handle": "string",
"display_name": "string"
}PublicRegistrySource
objectproviderstringrequiredrepostringrequiredrepo_urlstringrequiredskill_pathstringrequiredprofile_pathstringrefstringrequiredshastringrequireddefault_branchstringrequiredeventstringenrollmentpushtagtombstonerequiredimmutablebooleanrequiredlivebooleanrequiredtombstonedbooleantagstringpublisher_handlestring{
"provider": "github",
"repo": "string",
"repo_url": "string",
"skill_path": "string",
"profile_path": "string",
"ref": "string",
"sha": "string",
"default_branch": "string",
"event": "enrollment",
"immutable": true,
"live": true,
"tombstoned": true,
"tag": "string",
"publisher_handle": "string"
}PublicSkillConnector
objectconnectorstringrequiredversionstringrequirednamestringrequiredruntime_capabilitybooleanrequiredtrust_tierstringfirst_partyverifiedcommunitymarkPublicDeclaredMarkrequired{
"connector": "string",
"version": "string",
"name": "string",
"runtime_capability": true,
"trust_tier": "first_party",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
}
}PublicSkillDetail
objectskill_idstringrequiredpublisherPublicPublisherrequiredtrust_tierstringfirst_partyverifiedcommunityrequiredmaturitystringalphabetastablerequirednamestringrequiredtitlestringrequiredsummarystringmarkPublicDeclaredMark | PublicBoundConnectorMarkrequireddiscoverablebooleanrequiredrelationshipsArray<PublicSkillRelationship>connectorsArray<PublicSkillConnector>requireddescriptionstringcatalog_kindstringskillgraphrequiredversionstringrequiredcreated_atstringrequiredupdated_atstringrequiredprofile_modestringprofiledportablerequiredrunner_namesArray<string>requiredpaid_listingPaidSkillListingContractrequired_scopesArray<string>requiredtagsArray<string>requiredcategorystringrequiredcategory_labelstringrequiredinstall_countnumberrequiredverified_run_countnumberrequiredlast_verified_run_atstringpage_urlstringrequiredinstall_commandCopyableCommandrequiredrun_commandCopyableCommandrequiredcatalog_visibilitystringpublicinternalattestationsArray<PublicRegistryAttestation>requireddigeststringrequiredprofile_digeststringcontent_digeststringrequiredpresentationPublicSkillPresentationfilesPublicSkillFilesrequiredversions_urlstringrequiredmarkdownstringrequiredprofile_documentstringharnessPublicHarnessSummaryrequiredrecent_activityArray<PublicFeedItem>requiredsourcePublicRegistrySource{
"skill_id": "string",
"publisher": {
"id": "string",
"slug": "string",
"handle": "string",
"display_name": "string",
"kind": "org",
"verified": true,
"image": {
"digest": "string",
"url": "string"
},
"url": "string"
},
"trust_tier": "first_party",
"maturity": "alpha",
"name": "string",
"title": "string",
"summary": "string",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
},
"discoverable": true,
"relationships": [
{
"kind": "evidence_source",
"id": "string",
"label": "string",
"reference": "string"
}
],
"connectors": [
{
"connector": "string",
"version": "string",
"name": "string",
"runtime_capability": true,
"trust_tier": "first_party",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
}
}
],
"description": "string",
"catalog_kind": "skill",
"version": "string",
"created_at": "string",
"updated_at": "string",
"profile_mode": "profiled",
"runner_names": [
"string"
],
"paid_listing": {
"bundle_digest": "string",
"offers": {},
"profile_digest": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"skill_digest": "string",
"skill_id": "string",
"version": "string"
},
"required_scopes": [
"string"
],
"tags": [
"string"
],
"category": "string",
"category_label": "string",
"install_count": 0,
"verified_run_count": 0,
"last_verified_run_at": "string",
"page_url": "string",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"run_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"catalog_visibility": "public",
"attestations": [
{
"kind": "source",
"id": "string",
"status": "verified",
"summary": "string",
"source": "string",
"issued_at": "string",
"metadata": {}
}
],
"digest": "string",
"profile_digest": "string",
"content_digest": "string",
"presentation": {
"title": "string",
"overview": "string",
"method": [
{
"title": "string",
"description": "string",
"skill": "string",
"runner": "string",
"public_skill": {
"skill_id": "string",
"name": "string",
"page_url": "string"
}
}
],
"inputs": [
{
"label": "string",
"description": "string",
"input": "string"
}
],
"outputs": [
{
"label": "string",
"description": "string"
}
],
"stops": {
"title": "string",
"description": "string"
},
"example": {
"title": "string",
"path": "string",
"url": "string"
},
"relationships": [
{
"kind": "evidence_source",
"id": "string",
"label": "string",
"reference": "string"
}
]
},
"files": {
"manual": "string",
"profile": "string",
"catalog": "string"
},
"versions_url": "string",
"markdown": "string",
"profile_document": "string",
"harness": {
"status": "passed",
"declared_case_count": 0,
"declared_cases": [
{
"name": "string",
"runner": "string",
"expected_status": "string"
}
],
"case_count": 0,
"checks_passed": 0,
"checks_failed": 0,
"receipt_ids": [
"string"
],
"evidence_url": "string",
"latest_run": {
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
},
"results": [
{
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
],
"recent_runs": [
{
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
],
"older_version": {
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
},
"recent_activity": [
{
"id": "string",
"source": "runx-hosted",
"status": "string",
"title": "string",
"target": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"run_id": "string",
"receipt_id": "string",
"skill_id": "string",
"actions_count": 0,
"url": "string",
"principal": "string",
"principal_handle": "string",
"signer_trust": "verified",
"scopes": [
"string"
],
"parent_receipt_id": "string",
"graph_depth": 0,
"metadata": {}
}
],
"source": {
"provider": "github",
"repo": "string",
"repo_url": "string",
"skill_path": "string",
"profile_path": "string",
"ref": "string",
"sha": "string",
"default_branch": "string",
"event": "enrollment",
"immutable": true,
"live": true,
"tombstoned": true,
"tag": "string",
"publisher_handle": "string"
}
}PublicSkillDetailResponse
objectstatusstringrequiredskillPublicSkillDetailrequired{
"status": "success",
"skill": {
"skill_id": "string",
"publisher": {
"id": "string",
"slug": "string",
"handle": "string",
"display_name": "string",
"kind": "org",
"verified": true,
"image": {
"digest": "string",
"url": "string"
},
"url": "string"
},
"trust_tier": "first_party",
"maturity": "alpha",
"name": "string",
"title": "string",
"summary": "string",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
},
"discoverable": true,
"relationships": [
{
"kind": "evidence_source",
"id": "string",
"label": "string",
"reference": "string"
}
],
"connectors": [
{
"connector": "string",
"version": "string",
"name": "string",
"runtime_capability": true,
"trust_tier": "first_party",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
}
}
],
"description": "string",
"catalog_kind": "skill",
"version": "string",
"created_at": "string",
"updated_at": "string",
"profile_mode": "profiled",
"runner_names": [
"string"
],
"paid_listing": {
"bundle_digest": "string",
"offers": {},
"profile_digest": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"skill_digest": "string",
"skill_id": "string",
"version": "string"
},
"required_scopes": [
"string"
],
"tags": [
"string"
],
"category": "string",
"category_label": "string",
"install_count": 0,
"verified_run_count": 0,
"last_verified_run_at": "string",
"page_url": "string",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"run_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"catalog_visibility": "public",
"attestations": [
{
"kind": "source",
"id": "string",
"status": "verified",
"summary": "string",
"source": "string",
"issued_at": "string",
"metadata": {}
}
],
"digest": "string",
"profile_digest": "string",
"content_digest": "string",
"presentation": {
"title": "string",
"overview": "string",
"method": [
{
"title": "string",
"description": "string",
"skill": "string",
"runner": "string",
"public_skill": {
"skill_id": "string",
"name": "string",
"page_url": "string"
}
}
],
"inputs": [
{
"label": "string",
"description": "string",
"input": "string"
}
],
"outputs": [
{
"label": "string",
"description": "string"
}
],
"stops": {
"title": "string",
"description": "string"
},
"example": {
"title": "string",
"path": "string",
"url": "string"
},
"relationships": [
{
"kind": "evidence_source",
"id": "string",
"label": "string",
"reference": "string"
}
]
},
"files": {
"manual": "string",
"profile": "string",
"catalog": "string"
},
"versions_url": "string",
"markdown": "string",
"profile_document": "string",
"harness": {
"status": "passed",
"declared_case_count": 0,
"declared_cases": [
{
"name": "string",
"runner": "string",
"expected_status": "string"
}
],
"case_count": 0,
"checks_passed": 0,
"checks_failed": 0,
"receipt_ids": [
"string"
],
"evidence_url": "string",
"latest_run": {
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
},
"results": [
{
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
],
"recent_runs": [
{
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
],
"older_version": {
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
},
"recent_activity": [
{
"id": "string",
"source": "runx-hosted",
"status": "string",
"title": "string",
"target": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"run_id": "string",
"receipt_id": "string",
"skill_id": "string",
"actions_count": 0,
"url": "string",
"principal": "string",
"principal_handle": "string",
"signer_trust": "verified",
"scopes": [
"string"
],
"parent_receipt_id": "string",
"graph_depth": 0,
"metadata": {}
}
],
"source": {
"provider": "github",
"repo": "string",
"repo_url": "string",
"skill_path": "string",
"profile_path": "string",
"ref": "string",
"sha": "string",
"default_branch": "string",
"event": "enrollment",
"immutable": true,
"live": true,
"tombstoned": true,
"tag": "string",
"publisher_handle": "string"
}
}
}PublicSkillFiles
objectmanualstringrequiredprofilestringcatalogstring{
"manual": "string",
"profile": "string",
"catalog": "string"
}PublicSkillHarnessResponse
objectstatusstringrequiredskill_idstringrequiredharnessPublicHarnessSummaryrequired{
"status": "success",
"skill_id": "string",
"harness": {
"status": "passed",
"declared_case_count": 0,
"declared_cases": [
{
"name": "string",
"runner": "string",
"expected_status": "string"
}
],
"case_count": 0,
"checks_passed": 0,
"checks_failed": 0,
"receipt_ids": [
"string"
],
"evidence_url": "string",
"latest_run": {
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
},
"results": [
{
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
],
"recent_runs": [
{
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
],
"older_version": {
"id": "string",
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
}
}
}
}PublicSkillPresentation
objecttitlestringoverviewstringmethodArray<object>inputsArray<object>outputsArray<object>stopsobjectexampleobjectrelationshipsArray<PublicSkillRelationship>{
"title": "string",
"overview": "string",
"method": [
{
"title": "string",
"description": "string",
"skill": "string",
"runner": "string",
"public_skill": {
"skill_id": "string",
"name": "string",
"page_url": "string"
}
}
],
"inputs": [
{
"label": "string",
"description": "string",
"input": "string"
}
],
"outputs": [
{
"label": "string",
"description": "string"
}
],
"stops": {
"title": "string",
"description": "string"
},
"example": {
"title": "string",
"path": "string",
"url": "string"
},
"relationships": [
{
"kind": "evidence_source",
"id": "string",
"label": "string",
"reference": "string"
}
]
}PublicSkillRelationship
objectkindstringevidence_sourcehandoffecosystemrequiredidstringrequiredlabelstringrequiredreferencestring{
"kind": "evidence_source",
"id": "string",
"label": "string",
"reference": "string"
}PublicSkillSummary
objectskill_idstringrequiredpublisherPublicPublisherrequiredtrust_tierstringfirst_partyverifiedcommunityrequiredmaturitystringalphabetastablerequirednamestringrequiredtitlestringrequiredsummarystringmarkPublicDeclaredMark | PublicBoundConnectorMarkrequireddiscoverablebooleanrequiredrelationshipsArray<PublicSkillRelationship>connectorsArray<PublicSkillConnector>requireddescriptionstringcatalog_kindstringskillgraphrequiredversionstringrequiredcreated_atstringrequiredupdated_atstringrequiredprofile_modestringprofiledportablerequiredrunner_namesArray<string>requiredpaid_listingPaidSkillListingContractrequired_scopesArray<string>requiredtagsArray<string>requiredcategorystringrequiredcategory_labelstringrequiredinstall_countnumberrequiredverified_run_countnumberrequiredlast_verified_run_atstringpage_urlstringrequiredinstall_commandCopyableCommandrequiredrun_commandCopyableCommandrequiredcatalog_visibilitystringpublicinternal{
"skill_id": "string",
"publisher": {
"id": "string",
"slug": "string",
"handle": "string",
"display_name": "string",
"kind": "org",
"verified": true,
"image": {
"digest": "string",
"url": "string"
},
"url": "string"
},
"trust_tier": "first_party",
"maturity": "alpha",
"name": "string",
"title": "string",
"summary": "string",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
},
"discoverable": true,
"relationships": [
{
"kind": "evidence_source",
"id": "string",
"label": "string",
"reference": "string"
}
],
"connectors": [
{
"connector": "string",
"version": "string",
"name": "string",
"runtime_capability": true,
"trust_tier": "first_party",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
}
}
],
"description": "string",
"catalog_kind": "skill",
"version": "string",
"created_at": "string",
"updated_at": "string",
"profile_mode": "profiled",
"runner_names": [
"string"
],
"paid_listing": {
"bundle_digest": "string",
"offers": {},
"profile_digest": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"skill_digest": "string",
"skill_id": "string",
"version": "string"
},
"required_scopes": [
"string"
],
"tags": [
"string"
],
"category": "string",
"category_label": "string",
"install_count": 0,
"verified_run_count": 0,
"last_verified_run_at": "string",
"page_url": "string",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"run_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"catalog_visibility": "public"
}PublicSkillVersionSummary
objectversionstringrequiredcreated_atstringrequiredcontent_digeststringrequiredtrust_tierstringfirst_partyverifiedcommunityrequiredmaturitystringalphabetastablerequiredimmutablebooleanrequiredsource_refstringpage_urlstringrequired{
"version": "string",
"created_at": "string",
"content_digest": "string",
"trust_tier": "first_party",
"maturity": "alpha",
"immutable": true,
"source_ref": "string",
"page_url": "string"
}PublicSkillVersionsResponse
objectskill_idstringrequiredversionsArray<PublicSkillVersionSummary>requiredhas_morebooleanrequirednext_cursorstringstatusstringrequired{
"skill_id": "string",
"versions": [
{
"version": "string",
"created_at": "string",
"content_digest": "string",
"trust_tier": "first_party",
"maturity": "alpha",
"immutable": true,
"source_ref": "string",
"page_url": "string"
}
],
"has_more": true,
"next_cursor": "string",
"status": "success"
}PublicSkillVersionsResult
objectskill_idstringrequiredversionsArray<PublicSkillVersionSummary>requiredhas_morebooleanrequirednext_cursorstring{
"skill_id": "string",
"versions": [
{
"version": "string",
"created_at": "string",
"content_digest": "string",
"trust_tier": "first_party",
"maturity": "alpha",
"immutable": true,
"source_ref": "string",
"page_url": "string"
}
],
"has_more": true,
"next_cursor": "string"
}PublicSkillsQuery
objectqstringrequiredpublisherstringtagstringkindstringskillgraphcategorystringprofile_modestringprofiledportablesortstringrecommendednewesta-zmost-installedrelevancerequiredincludestringtrust_tierstringfirst_partyverifiedcommunityfeaturedbooleanidsArray<string>connectorstringlimitnumberrequiredcursorstring{
"q": "string",
"publisher": "string",
"tag": "string",
"kind": "skill",
"category": "string",
"profile_mode": "profiled",
"sort": "recommended",
"include": "unverified",
"trust_tier": "first_party",
"featured": true,
"ids": [
"string"
],
"connector": "string",
"limit": 0,
"cursor": "string"
}PublicSkillsResponse
objectqueryPublicSkillsQueryrequiredskillsArray<PublicSkillSummary>requiredhas_morebooleanrequirednext_cursorstringtotalnumbercatalog_totalnumberconnectorobjectfacetsobjectstatusstringrequired{
"query": {
"q": "string",
"publisher": "string",
"tag": "string",
"kind": "skill",
"category": "string",
"profile_mode": "profiled",
"sort": "recommended",
"include": "unverified",
"trust_tier": "first_party",
"featured": true,
"ids": [
"string"
],
"connector": "string",
"limit": 0,
"cursor": "string"
},
"skills": [
{
"skill_id": "string",
"publisher": {
"id": "string",
"slug": "string",
"handle": "string",
"display_name": "string",
"kind": "org",
"verified": true,
"image": {
"digest": "string",
"url": "string"
},
"url": "string"
},
"trust_tier": "first_party",
"maturity": "alpha",
"name": "string",
"title": "string",
"summary": "string",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
},
"discoverable": true,
"relationships": [
{
"kind": "evidence_source",
"id": "string",
"label": "string",
"reference": "string"
}
],
"connectors": [
{
"connector": "string",
"version": "string",
"name": "string",
"runtime_capability": true,
"trust_tier": "first_party",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
}
}
],
"description": "string",
"catalog_kind": "skill",
"version": "string",
"created_at": "string",
"updated_at": "string",
"profile_mode": "profiled",
"runner_names": [
"string"
],
"paid_listing": {
"bundle_digest": "string",
"offers": {},
"profile_digest": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"skill_digest": "string",
"skill_id": "string",
"version": "string"
},
"required_scopes": [
"string"
],
"tags": [
"string"
],
"category": "string",
"category_label": "string",
"install_count": 0,
"verified_run_count": 0,
"last_verified_run_at": "string",
"page_url": "string",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"run_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"catalog_visibility": "public"
}
],
"has_more": true,
"next_cursor": "string",
"total": 0,
"catalog_total": 0,
"connector": {
"connector": "string",
"name": "string"
},
"facets": {
"publishers": [
{
"value": "string",
"count": 0
}
],
"tags": [
{
"value": "string",
"count": 0
}
],
"kinds": [
{
"value": "string",
"count": 0
}
],
"categories": [
{
"value": "string",
"count": 0,
"label": "string",
"surface": "builder"
}
],
"profile_modes": [
{
"value": "string",
"count": 0
}
]
},
"status": "success"
}PublicSkillsResult
objectqueryPublicSkillsQueryrequiredskillsArray<PublicSkillSummary>requiredhas_morebooleanrequirednext_cursorstringtotalnumbercatalog_totalnumberconnectorobjectfacetsobject{
"query": {
"q": "string",
"publisher": "string",
"tag": "string",
"kind": "skill",
"category": "string",
"profile_mode": "profiled",
"sort": "recommended",
"include": "unverified",
"trust_tier": "first_party",
"featured": true,
"ids": [
"string"
],
"connector": "string",
"limit": 0,
"cursor": "string"
},
"skills": [
{
"skill_id": "string",
"publisher": {
"id": "string",
"slug": "string",
"handle": "string",
"display_name": "string",
"kind": "org",
"verified": true,
"image": {
"digest": "string",
"url": "string"
},
"url": "string"
},
"trust_tier": "first_party",
"maturity": "alpha",
"name": "string",
"title": "string",
"summary": "string",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
},
"discoverable": true,
"relationships": [
{
"kind": "evidence_source",
"id": "string",
"label": "string",
"reference": "string"
}
],
"connectors": [
{
"connector": "string",
"version": "string",
"name": "string",
"runtime_capability": true,
"trust_tier": "first_party",
"mark": {
"digest": "string",
"url": "string",
"source": "own"
}
}
],
"description": "string",
"catalog_kind": "skill",
"version": "string",
"created_at": "string",
"updated_at": "string",
"profile_mode": "profiled",
"runner_names": [
"string"
],
"paid_listing": {
"bundle_digest": "string",
"offers": {},
"profile_digest": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"skill_digest": "string",
"skill_id": "string",
"version": "string"
},
"required_scopes": [
"string"
],
"tags": [
"string"
],
"category": "string",
"category_label": "string",
"install_count": 0,
"verified_run_count": 0,
"last_verified_run_at": "string",
"page_url": "string",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"run_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"catalog_visibility": "public"
}
],
"has_more": true,
"next_cursor": "string",
"total": 0,
"catalog_total": 0,
"connector": {
"connector": "string",
"name": "string"
},
"facets": {
"publishers": [
{
"value": "string",
"count": 0
}
],
"tags": [
{
"value": "string",
"count": 0
}
],
"kinds": [
{
"value": "string",
"count": 0
}
],
"categories": [
{
"value": "string",
"count": 0,
"label": "string",
"surface": "builder"
}
],
"profile_modes": [
{
"value": "string",
"count": 0
}
]
}
}PublicSubjectMark
objectdigeststringrequiredurlstringrequiredsourcestringowncategoryrequireddigeststringrequiredurlstringrequiredsourcestringrequiredconnectorstringrequired{
"digest": "string",
"url": "string",
"source": "own"
}PublicSystemStatus
objectoverallstringonlinedegradedrequiredchecked_atstringrequiredsummarystringrequiredchecksArray<PublicSystemStatusCheck>required{
"overall": "online",
"checked_at": "string",
"summary": "string",
"checks": [
{
"id": "string",
"label": "string",
"status": "ok",
"detail": "string"
}
]
}PublicSystemStatusCheck
objectidstringrequiredlabelstringrequiredstatusstringoknot_readydisabledunknownrequireddetailstring{
"id": "string",
"label": "string",
"status": "ok",
"detail": "string"
}PublicTrustRoot
objectschemastringrequiredkeysArray<PublicTrustRootKey>required{
"schema": "runx.trust_root.v1",
"keys": [
{
"kty": "OKP",
"crv": "Ed25519",
"alg": "EdDSA",
"use": "sig",
"kid": "string",
"purpose": "receipt_signature",
"issuer_type": "string",
"x": "string",
"public_key_digest": "string"
}
]
}PublicTrustRootKey
objectktystringrequiredcrvstringrequiredalgstringrequiredusestringrequiredkidstringrequiredpurposestringrequiredissuer_typestringxstringrequiredpublic_key_digeststringrequired{
"kty": "OKP",
"crv": "Ed25519",
"alg": "EdDSA",
"use": "sig",
"kid": "string",
"purpose": "receipt_signature",
"issuer_type": "string",
"x": "string",
"public_key_digest": "string"
}PublicTrustSignal
objectidstringrequiredlabelstringrequiredstatusstringverifieddeclarednot_declaredplaceholderrequiredvaluestringrequired{
"id": "string",
"label": "string",
"status": "verified",
"value": "string"
}PublicWithdrawnConnectorPackage
objectconnectorstringrequiredversionstringrequiredwithdrawn_atstringrequiredfilesArray<PublicPackageFile>requiredsigned_manifestRegistrySignedManifestrequired{
"connector": "string",
"version": "string",
"withdrawn_at": "string",
"files": [
{
"path": "string",
"content": "string"
}
],
"signed_manifest": {
"schema": "runx.registry.signed_manifest.v1",
"subject": {
"kind": "skill",
"name": "string"
},
"version": "string",
"content_digest": "string",
"signer": {
"id": "string",
"key_id": "string"
},
"signature": {
"alg": "ed25519",
"value": "string"
}
}
}ReferenceKind
string"thread"RegistrySignedManifest
objectschemastringrequiredsubjectRegistrySubjectrequiredversionstringrequiredcontent_digeststringrequiredsignerobjectrequiredsignatureobjectrequired{
"schema": "runx.registry.signed_manifest.v1",
"subject": {
"kind": "skill",
"name": "string"
},
"version": "string",
"content_digest": "string",
"signer": {
"id": "string",
"key_id": "string"
},
"signature": {
"alg": "ed25519",
"value": "string"
}
}RegistrySubject
objectkindRegistrySubjectKindskillconnectorrequirednamestringrequired{
"kind": "skill",
"name": "string"
}SellerPurchaseList
objectschemastringrequireditemsArray<SellerPurchaseSummary>requirednext_cursorstring{
"schema": "runx.seller_purchase_page.v1",
"items": [
{
"purchase_id": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"package_digest": "string",
"input_digest": "string",
"amount_minor": 1,
"currency": "string",
"settlement_family": "string",
"payment_state": "unpaid",
"execution_state": "unstarted",
"outcome_gate": "open",
"payment_ref": {
"type": "thread",
"uri": "string"
},
"created_at": "string",
"updated_at": "string",
"run": {
"run_ref": {
"type": "thread",
"uri": "string"
},
"attempt_count": 0,
"next_attempt_at": "2024-01-15T09:30:00Z",
"blocked_at": "2024-01-15T09:30:00Z"
},
"terminal": {
"outcome": "fulfilment",
"delivery_state": "pending",
"delivered_at": "2024-01-15T09:30:00Z",
"receipt_ref": {
"type": "thread",
"uri": "string"
},
"result_ref": {
"type": "thread",
"uri": "string"
},
"refund_ref": {
"type": "thread",
"uri": "string"
},
"failure": {
"code": "string",
"message": "string"
}
}
}
],
"next_cursor": "string"
}SellerPurchaseListRequest
objectSeller-facing HTTP contracts owned by purchases. OpenAPI is generated from these types; portable fields reference their canonical Runx schema.
cursorstringlimitinteger[1, 100]50{
"cursor": "string",
"limit": 50
}SellerPurchaseMetricsContract
objectpurchase_countinteger>= 0requiredpaid_countinteger>= 0requiredsuccessful_countinteger>= 0requiredfailed_countinteger>= 0requiredin_progress_countinteger>= 0requireddelivered_countinteger>= 0requiredrefunded_countinteger>= 0requiredunique_buyer_countinteger>= 0requiredrepeat_buyer_countinteger>= 0requiredmoneyArray<object>required{
"purchase_count": 0,
"paid_count": 0,
"successful_count": 0,
"failed_count": 0,
"in_progress_count": 0,
"delivered_count": 0,
"refunded_count": 0,
"unique_buyer_count": 0,
"repeat_buyer_count": 0,
"money": [
{
"currency": "string",
"gross_amount_minor": 0,
"refunded_amount_minor": 0
}
]
}SellerPurchaseOverviewContract
objectschemastringrequiredgenerated_atstring<date-time>requiredperiodsArray<object>requiredtoolsArray<object>requiredoffers_truncatedbooleanrequireddailyArray<object>required{
"schema": "runx.seller_purchase_overview.v1",
"generated_at": "2024-01-15T09:30:00Z",
"periods": [
{
"period": "last_24_hours",
"metrics": {
"purchase_count": 0,
"paid_count": 0,
"successful_count": 0,
"failed_count": 0,
"in_progress_count": 0,
"delivered_count": 0,
"refunded_count": 0,
"unique_buyer_count": 0,
"repeat_buyer_count": 0,
"money": [
{
"currency": "string",
"gross_amount_minor": 0,
"refunded_amount_minor": 0
}
]
}
}
],
"tools": [
{
"offer_id": "string",
"metrics": {
"purchase_count": 0,
"paid_count": 0,
"successful_count": 0,
"failed_count": 0,
"in_progress_count": 0,
"delivered_count": 0,
"refunded_count": 0,
"unique_buyer_count": 0,
"repeat_buyer_count": 0,
"money": [
{
"currency": "string",
"gross_amount_minor": 0,
"refunded_amount_minor": 0
}
]
},
"last_paid_at": "2024-01-15T09:30:00Z"
}
],
"offers_truncated": true,
"daily": [
{
"date": "2024-01-15",
"metrics": {
"purchase_count": 0,
"paid_count": 0,
"successful_count": 0,
"failed_count": 0,
"in_progress_count": 0,
"delivered_count": 0,
"refunded_count": 0,
"unique_buyer_count": 0,
"repeat_buyer_count": 0,
"money": [
{
"currency": "string",
"gross_amount_minor": 0,
"refunded_amount_minor": 0
}
]
}
}
]
}SellerPurchaseReference
objecttypetypethreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequiredWhat a reference points at. External kinds never name a provider: the reference's provider and locator say where, and connectors declare which of their locators are which kind.
uristringrequired{
"type": "thread",
"uri": "string"
}SellerPurchaseSummary
objectpurchase_idpurchase_idrequiredoffer_versionoffer_versionrequiredpackage_digestpackage_digestrequiredThe execution package digest the purchase runs (runx.skill-package.v1 over the files a run loads), not the registry's digest of the published package files that a listing binds.
input_digestinput_digestrequiredamount_minoramount_minor[1, 9007199254740991]requiredcurrencycurrencyrequiredsettlement_familysettlement_familypayment_statepayment_stateunpaidsettlingsettledrefundedrequiredexecution_stateexecution_stateunstartedqueuedrunningwaiting_externalcancellingsucceededfailedcancelledrequiredoutcome_gateoutcome_gateopenfulfilment_wonrefund_wonrequiredpayment_refSellerPurchaseReferencecreated_atcreated_atrequiredupdated_atupdated_atrequiredrunobjectterminalobject{
"purchase_id": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"package_digest": "string",
"input_digest": "string",
"amount_minor": 1,
"currency": "string",
"settlement_family": "string",
"payment_state": "unpaid",
"execution_state": "unstarted",
"outcome_gate": "open",
"payment_ref": {
"type": "thread",
"uri": "string"
},
"created_at": "string",
"updated_at": "string",
"run": {
"run_ref": {
"type": "thread",
"uri": "string"
},
"attempt_count": 0,
"next_attempt_at": "2024-01-15T09:30:00Z",
"blocked_at": "2024-01-15T09:30:00Z"
},
"terminal": {
"outcome": "fulfilment",
"delivery_state": "pending",
"delivered_at": "2024-01-15T09:30:00Z",
"receipt_ref": {
"type": "thread",
"uri": "string"
},
"result_ref": {
"type": "thread",
"uri": "string"
},
"refund_ref": {
"type": "thread",
"uri": "string"
},
"failure": {
"code": "string",
"message": "string"
}
}
}PublicReceiptProjection
objectseqinteger>= 1requiredeventstringpublishedunpublishedrequireddigeststringrequiredreceipt_idstringkidstringschemastringsubject_kindstringsealobjectlineage_urisArray<string>requiredtombstone_reasonstringpublished_atstring<date-time>required{
"seq": 1,
"event": "published",
"digest": "string",
"receipt_id": "string",
"kid": "string",
"schema": "string",
"subject_kind": "string",
"seal": {},
"lineage_uris": [
"string"
],
"tombstone_reason": "string",
"published_at": "2024-01-15T09:30:00Z"
}PublicReceiptProjectionFeedEnvelope
objectstatusstringrequiredcursorinteger>= 0requirednext_cursorinteger>= 1receiptsArray<PublicReceiptProjection>required{
"status": "success",
"cursor": 0,
"next_cursor": 1,
"receipts": [
{
"seq": 1,
"event": "published",
"digest": "string",
"receipt_id": "string",
"kid": "string",
"schema": "string",
"subject_kind": "string",
"seal": {},
"lineage_uris": [
"string"
],
"tombstone_reason": "string",
"published_at": "2024-01-15T09:30:00Z"
}
]
}PublicPublisherProfileLink
objectlabelstringrequiredurlstring<uri>required{
"label": "string",
"url": "https://example.com"
}HostedSkillPublishRequest
objectmarkdownstringrequiredComplete SKILL.md document, including frontmatter.
profile_documentstringOptional run.yaml profile document published with the skill.
versionstringOptional version or content ref. If omitted, the registry derives one from content.
publisherstringThe namespace to publish for, required when the principal may publish for several; it must be one it is authorized for.
package_filesArray<HostedSkillPackageFile>Optional UTF-8 skill package files persisted with the registry version and used by hosted publish admission to rerun the package harness. Allowed paths are root worker modules referenced by run.yaml, nested SKILL.md/run.yaml packages, references markdown, and tool manifests/minimal runtimes.
{
"markdown": "string",
"profile_document": "string",
"version": "string",
"publisher": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
]
}HostedSkillPackageFile
objectpathstringrequiredRelative allowlisted package path. Root SKILL.md and run.yaml use their dedicated fields.
contentstringrequiredUTF-8 file content.
{
"path": "string",
"content": "string"
}HostedSkillPublishResult
objectstatusstringpublishedunchangedrequiredskill_idstringrequiredpublisherstringrequirednamestringrequiredversionstringrequireddigeststringrequiredprofile_digeststringpaid_listingRunxPaidSkillListingImmutable marketplace identity and commercial terms for paid runners in one published skill version. Seller identity is resolved by the authenticated registry boundary and is never accepted from run.yaml.
trust_tierstringrequiredmaturitystringalphabetastablerequiredinstall_commandCopyableCommandrequiredrun_commandCopyableCommandrequiredpublic_urlstring<uri>requiredharnessHarnessPublishSummary{
"status": "published",
"skill_id": "string",
"publisher": "string",
"name": "string",
"version": "string",
"digest": "string",
"profile_digest": "string",
"paid_listing": {
"bundle_digest": "string",
"offers": {},
"profile_digest": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"skill_digest": "string",
"skill_id": "string",
"version": "string"
},
"trust_tier": "community",
"maturity": "alpha",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"run_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"public_url": "https://example.com",
"harness": {
"status": "passed",
"case_count": 0,
"assertion_error_count": 0,
"assertion_errors": [
"string"
],
"case_names": [
"string"
],
"receipt_ids": [
"string"
],
"graph_case_count": 0,
"evidence_id": "string",
"evidence_url": "https://example.com"
}
}HostedSkillPublishEnvelope
objectstatusstringrequiredpublishHostedSkillPublishResultrequired{
"status": "success",
"publish": {
"status": "published",
"skill_id": "string",
"publisher": "string",
"name": "string",
"version": "string",
"digest": "string",
"profile_digest": "string",
"paid_listing": {
"bundle_digest": "string",
"offers": {},
"profile_digest": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"skill_digest": "string",
"skill_id": "string",
"version": "string"
},
"trust_tier": "community",
"maturity": "alpha",
"install_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"run_command": {
"shell": "posix",
"argv": [
"string"
],
"copy_text": "string"
},
"public_url": "https://example.com",
"harness": {
"status": "passed",
"case_count": 0,
"assertion_error_count": 0,
"assertion_errors": [
"string"
],
"case_names": [
"string"
],
"receipt_ids": [
"string"
],
"graph_case_count": 0,
"evidence_id": "string",
"evidence_url": "https://example.com"
}
}
}HostedSkillReportRequest
objectversionstringOptional skill version to report. If omitted, the latest public version is reported.
reasonstringspammalwareunsafe_authoritymisleadingrightsotherrequireddetailstringOptional reporter detail. Stored for moderation review, never used as trust evidence.
{
"version": "string",
"reason": "spam",
"detail": "string"
}HostedSkillReportResult
objectstatusstringrecordedalready_recordedrequiredidstringrequiredskill_idstringrequiredversionstringrequiredreasonstringspammalwareunsafe_authoritymisleadingrightsotherrequiredcreated_atstring<date-time>required{
"status": "recorded",
"id": "string",
"skill_id": "string",
"version": "string",
"reason": "spam",
"created_at": "2024-01-15T09:30:00Z"
}HostedSkillReportEnvelope
objectstatusstringrequiredreportHostedSkillReportResultrequired{
"status": "success",
"report": {
"status": "recorded",
"id": "string",
"skill_id": "string",
"version": "string",
"reason": "spam",
"created_at": "2024-01-15T09:30:00Z"
}
}AcquireSkillRequest
objectinstallation_idstringrequiredversionstringchannelstring{
"installation_id": "string",
"version": "string",
"channel": "string"
}SkillVersionRecordEnvelope
objectOne version's signed registry record, as a registry closure holds it; the runtime verifies it against the registry's key.
statusstringrequiredrecordobjectrequired{
"status": "success",
"record": {
"skill_id": "string",
"version": "string"
}
}AcquireSkillResponse
objectstatusstringrequiredinstall_countintegerrequiredacquisitionobjectrequired{
"status": "success",
"install_count": 0,
"acquisition": {
"skill_id": "string",
"name": "string",
"version": "string",
"digest": "string",
"signed_manifest": {
"schema": "runx.registry.signed_manifest.v1",
"subject": {
"kind": "skill",
"name": "string"
},
"version": "string",
"content_digest": "string",
"signer": {
"id": "string",
"key_id": "string"
},
"signature": {
"alg": "ed25519",
"value": "string"
}
},
"markdown": "string",
"profile_document": "string",
"profile_digest": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
],
"bundle_digest": "string",
"paid_listing": {
"bundle_digest": "string",
"offers": {},
"profile_digest": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"skill_digest": "string",
"skill_id": "string",
"version": "string"
},
"trust_tier": "first_party",
"publisher": {
"kind": "organization",
"id": "string",
"handle": "string",
"display_name": "string"
},
"source_metadata": {
"provider": "github",
"repo": "string",
"repo_url": "string",
"skill_path": "string",
"profile_path": "string",
"ref": "string",
"sha": "string",
"default_branch": "string",
"event": "enrollment",
"immutable": true,
"live": true,
"tombstoned": true,
"tag": "string",
"publisher_handle": "string"
},
"attestations": [
{
"kind": "source",
"id": "string",
"status": "verified",
"summary": "string",
"source": "string",
"issued_at": "string",
"metadata": {}
}
],
"runner_names": [
"string"
]
}
}WebhookAcceptedEnvelope
objectstatusstringrequiredupdatedintegerrequired{
"status": "accepted",
"updated": 0
}PublicEvidenceIngestRequest
objecteventsArray<PublicEvidenceInput>required{
"events": [
{
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
},
"id": "string"
}
]
}PublicEvidenceIngestEnvelope
objectstatusstringrequiredcountintegerrequiredeventsArray<PublicEvidenceInput>required{
"status": "accepted",
"count": 0,
"events": [
{
"kind": "string",
"source": "string",
"status": "success",
"title": "string",
"timestamp": "string",
"summary": "string",
"repo": "string",
"workflow": "string",
"branch": "string",
"commit": "string",
"skill_id": "string",
"run_id": "string",
"receipt_id": "string",
"url": "string",
"metadata": {},
"harness": {
"producer": "string",
"verification": "registry",
"suite": "string",
"attempt_id": "string",
"version": "string",
"content_digest": "string",
"result": "passed",
"checks_total": 0,
"checks_passed": 0,
"checks_failed": 0,
"runtime": "string"
},
"id": "string"
}
]
}HarnessPublishSummary
objectstatusstringpassedfailednot_declaredrequiredcase_countintegerrequiredassertion_error_countintegerrequiredassertion_errorsArray<string>requiredcase_namesArray<string>requiredreceipt_idsArray<string>requiredgraph_case_countintegerevidence_idstringevidence_urlstring<uri>{
"status": "passed",
"case_count": 0,
"assertion_error_count": 0,
"assertion_errors": [
"string"
],
"case_names": [
"string"
],
"receipt_ids": [
"string"
],
"graph_case_count": 0,
"evidence_id": "string",
"evidence_url": "https://example.com"
}AdminRegistryPublishRequest
objectpublisherstringrequiredAn existing publisher's namespace; administrative publication never creates one.
versionstringmarkdownstringrequiredprofile_documentstringpackage_filesArray<HostedSkillPackageFile>trust_tierstringfirst_partyverifiedcommunityThe verification authority's admission for this version; community when absent.
harnessHarnessPublishSummaryrequired{
"publisher": "string",
"version": "string",
"markdown": "string",
"profile_document": "string",
"package_files": [
{
"path": "string",
"content": "string"
}
],
"trust_tier": "first_party",
"harness": {
"status": "passed",
"case_count": 0,
"assertion_error_count": 0,
"assertion_errors": [
"string"
],
"case_names": [
"string"
],
"receipt_ids": [
"string"
],
"graph_case_count": 0,
"evidence_id": "string",
"evidence_url": "https://example.com"
}
}AdminRegistryPublisherRequest
objectslugstringrequiredkindstringorguserteamrequireddisplay_namestringrequiredverifiedbooleanprincipalsArray<string>required{
"slug": "string",
"kind": "org",
"display_name": "string",
"verified": true,
"principals": [
"string"
]
}AdminRegistryPublisher
objectpublisher_idstringrequiredslugstringrequiredkindstringorguserteamrequireddisplay_namestringrequireddescriptionstringverifiedbooleanrequiredimage_digeststringlinksArray<PublicPublisherProfileLink>requiredcreated_atstring<date-time>requiredupdated_atstring<date-time>required{
"publisher_id": "string",
"slug": "string",
"kind": "org",
"display_name": "string",
"description": "string",
"verified": true,
"image_digest": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
],
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}AdminRegistryPublisherResponse
objectstatusstringrequiredpublisherAdminRegistryPublisherrequired{
"status": "success",
"publisher": {
"publisher_id": "string",
"slug": "string",
"kind": "org",
"display_name": "string",
"description": "string",
"verified": true,
"image_digest": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
],
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}AdminRegistryPublisherPrincipalResponse
objectstatusstringrequiredpublisherstringrequiredprincipal_idstringrequired{
"status": "success",
"publisher": "string",
"principal_id": "string"
}AdminRegistryPublisherPrincipalRequest
objectprincipal_idstringrequired{
"principal_id": "string"
}PublisherProfileRequest
objectdisplay_namestringdescriptionstring | nulllinksArray<PublicPublisherProfileLink>{
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
]
}AdminRegistryPublisherProfileRequest
objectdisplay_namestringdescriptionstring | nulllinksArray<PublicPublisherProfileLink>verifiedboolean{
"display_name": "string",
"description": "string",
"links": [
{
"label": "string",
"url": "https://example.com"
}
],
"verified": true
}AdminRegistryPublishEnvelope
objectstatusstringrequiredpublishobjectrequiredharnessHarnessPublishSummaryrequired{
"status": "success",
"publish": {},
"harness": {
"status": "passed",
"case_count": 0,
"assertion_error_count": 0,
"assertion_errors": [
"string"
],
"case_names": [
"string"
],
"receipt_ids": [
"string"
],
"graph_case_count": 0,
"evidence_id": "string",
"evidence_url": "https://example.com"
}
}SourceAdmissionPolicy
objectenabledbooleanallowed_providersArray<string>allowed_sourcesArray<string>allowed_event_kindsArray<string>{
"enabled": true,
"allowed_providers": [
"string"
],
"allowed_sources": [
"string"
],
"allowed_event_kinds": [
"string"
]
}SourceObservationRequest
objectsource_eventobjectrequiredsource_policySourceAdmissionPolicyrequired{
"source_event": {
"provider": "string",
"source_locator": "string"
},
"source_policy": {
"enabled": true,
"allowed_providers": [
"string"
],
"allowed_sources": [
"string"
],
"allowed_event_kinds": [
"string"
]
}
}SourceObservation
objectschemaanyrequiredobservation_idstringrequiredcontent_digeststringrequiredsource_policy_digeststringrequiredadmitted_atstring<date-time>requiredsignalRunxSignalrequired{
"schema": "runx.source_observation.v1",
"observation_id": "string",
"content_digest": "string",
"source_policy_digest": "string",
"admitted_at": "2024-01-15T09:30:00Z",
"signal": {
"authenticity": {
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"host_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"principal_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"signature_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"trust_level": "unverified",
"verified_at": "string",
"verified_by_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
},
"body_preview": "string",
"digest": {
"algorithm": "sha256",
"canonicalization": "string",
"derived_from": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"value": "string"
},
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"extensions": {},
"links": {
"duplicate_candidates": [
{
"candidate_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"confidence": 0,
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"observed_at": "string",
"reviewer_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
}
],
"duplicate_of": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"related": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"superseded_by": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"supersedes": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
},
"observed_at": "string",
"schema": "runx.signal.v1",
"signal_id": "string",
"signal_type": "string",
"source_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"title": "string"
}
}SourceObservationEnvelope
objectstatusanyacceptedduplicaterequiredobservationSourceObservationrequired{
"status": "accepted",
"observation": {
"schema": "runx.source_observation.v1",
"observation_id": "string",
"content_digest": "string",
"source_policy_digest": "string",
"admitted_at": "2024-01-15T09:30:00Z",
"signal": {
"authenticity": {
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"host_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"principal_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"signature_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"trust_level": "unverified",
"verified_at": "string",
"verified_by_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
},
"body_preview": "string",
"digest": {
"algorithm": "sha256",
"canonicalization": "string",
"derived_from": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"value": "string"
},
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"extensions": {},
"links": {
"duplicate_candidates": [
{
"candidate_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"confidence": 0,
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"observed_at": "string",
"reviewer_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
}
],
"duplicate_of": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"related": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"superseded_by": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"supersedes": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
},
"observed_at": "string",
"schema": "runx.signal.v1",
"signal_id": "string",
"signal_type": "string",
"source_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"title": "string"
}
}
}SourceObservationPage
objectstatusanyrequiredobservationsArray<SourceObservation>requirednext_cursorstring{
"status": "success",
"observations": [
{
"schema": "runx.source_observation.v1",
"observation_id": "string",
"content_digest": "string",
"source_policy_digest": "string",
"admitted_at": "2024-01-15T09:30:00Z",
"signal": {
"authenticity": {
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"host_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"principal_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"signature_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"trust_level": "unverified",
"verified_at": "string",
"verified_by_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
},
"body_preview": "string",
"digest": {
"algorithm": "sha256",
"canonicalization": "string",
"derived_from": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"value": "string"
},
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"extensions": {},
"links": {
"duplicate_candidates": [
{
"candidate_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"confidence": 0,
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"observed_at": "string",
"reviewer_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
}
],
"duplicate_of": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"related": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"superseded_by": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"supersedes": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
},
"observed_at": "string",
"schema": "runx.signal.v1",
"signal_id": "string",
"signal_type": "string",
"source_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"title": "string"
}
}
],
"next_cursor": "string"
}TenantReceiptSummaryEnvelope
objectstatusanyacceptedduplicatefoundrequiredreceiptobjectrequiredduplicate_ofstring{
"status": "accepted",
"receipt": {},
"duplicate_of": "string"
}TenantReceiptSummaryList
objectstatusanyrequiredreceiptsArray<object>requirednext_cursorstring{
"status": "success",
"receipts": [
{}
],
"next_cursor": "string"
}ArtifactAllocationRequest
objectoperationstringrequiredrun_idstringrequiredinputobjectrequired{
"operation": "artifact.allocate",
"run_id": "string",
"input": {
"idempotency_key": "string",
"data_base64": "string",
"content_digest": "string",
"media_type": "string"
}
}ArtifactInspectionRequest
objectoperationstringrequiredrun_idstringrequiredinputobjectrequired{
"operation": "artifact.inspect",
"run_id": "string",
"input": {
"artifact_uri": "string"
}
}ArtifactHandoffRequest
objectoperationstringrequiredrun_idstringrequiredinputobjectrequired{
"operation": "artifact.handoff",
"run_id": "string",
"input": {
"source_artifact_uri": "string",
"target_principal_id": "string",
"idempotency_key": "string"
}
}ArtifactDownloadRequest
objectoperationstringrequiredrun_idstringrequiredinputobjectrequired{
"operation": "artifact.download",
"run_id": "string",
"input": {
"artifact_uri": "string",
"maximum_bytes": 1
}
}ArtifactAccessRequest
objectoperationstringrequiredrun_idstringrequiredinputobjectrequired{
"operation": "artifact.access",
"run_id": "string",
"input": {
"artifact_uri": "string",
"expires_in_seconds": 1
}
}ArtifactOperationRequest
objectoperationstringrequiredrun_idstringrequiredinputobjectrequiredoperationstringrequiredrun_idstringrequiredinputobjectrequiredoperationstringrequiredrun_idstringrequiredinputobjectrequiredoperationstringrequiredrun_idstringrequiredinputobjectrequiredoperationstringrequiredrun_idstringrequiredinputobjectrequired{
"operation": "artifact.allocate",
"run_id": "string",
"input": {
"idempotency_key": "string",
"data_base64": "string",
"content_digest": "string",
"media_type": "string"
}
}ArtifactOperationEnvelope
objectoperationanyaccessanyresultHostedArtifactEvidenceoperationanyaccessanyresultHostedArtifactEvidenceoperationanyaccessanyresultHostedArtifactHandoffEvidenceoperationanyaccessanyresultHostedArtifactDownloadEvidenceoperationanyaccessanyresultHostedArtifactAccessEvidence{
"operation": "artifact.allocate",
"access": "mutate",
"result": {
"artifact_uri": "string",
"content_digest": "string",
"media_type": "string",
"size_bytes": 1,
"created_at": "2024-01-15T09:30:00Z"
}
}HostedArtifactDownloadEvidence
objectartifact_uristringrequiredcontent_digeststringrequiredmedia_typestringrequiredsize_bytesinteger>= 1requiredcreated_atstring<date-time>requireddata_base64stringrequired{
"artifact_uri": "string",
"content_digest": "string",
"media_type": "string",
"size_bytes": 1,
"created_at": "2024-01-15T09:30:00Z",
"data_base64": "string"
}HostedArtifactAccessEvidence
objectartifact_uristringrequiredcontent_digeststringrequiredmedia_typestringrequiredsize_bytesinteger>= 1requiredcreated_atstring<date-time>requiredurlstring<uri>requiredexpires_atstring<date-time>required{
"artifact_uri": "string",
"content_digest": "string",
"media_type": "string",
"size_bytes": 1,
"created_at": "2024-01-15T09:30:00Z",
"url": "https://example.com",
"expires_at": "2024-01-15T09:30:00Z"
}HostedArtifactEvidence
objectartifact_uristringrequiredcontent_digeststringrequiredmedia_typestringrequiredsize_bytesinteger>= 1requiredcreated_atstring<date-time>required{
"artifact_uri": "string",
"content_digest": "string",
"media_type": "string",
"size_bytes": 1,
"created_at": "2024-01-15T09:30:00Z"
}HostedArtifactHandoffEvidence
objectsource_artifact_uristringrequiredtarget_principal_uristringrequiredartifactHostedArtifactEvidencerequired{
"source_artifact_uri": "string",
"target_principal_uri": "string",
"artifact": {
"artifact_uri": "string",
"content_digest": "string",
"media_type": "string",
"size_bytes": 1,
"created_at": "2024-01-15T09:30:00Z"
}
}ReceiptNotarizeRequest
objectpublishbooleanpublic_claimReceiptPublicClaimreceiptobjectrequiredpublishbooleanpublic_claimReceiptPublicClaimreceipt_rawstringrequiredmodestringrequiredpublishbooleanpublic_claimReceiptPublicClaimdigeststringrequiredreceipt_idstring{
"publish": true,
"public_claim": {
"schema": "runx.public_receipt_claim.v1",
"kind": "payout",
"title": "string",
"venue": {
"id": "string",
"name": "string",
"url": "https://example.com"
},
"subject": {
"type": "string",
"id": "string",
"label": "string"
},
"amount": {
"cents": 0,
"currency": "string"
},
"source_url": "https://example.com",
"occurred_at": "2024-01-15T09:30:00Z"
},
"receipt": {}
}ReceiptPublicClaim
objectschemastringrequiredkindstringpayoutfundingjudgmentprofile_updatedeliverysignuprequiredtitlestringrequiredvenueobjectrequiredsubjectobjectamountobjectsource_urlstring<uri>occurred_atstring<date-time>required{
"schema": "runx.public_receipt_claim.v1",
"kind": "payout",
"title": "string",
"venue": {
"id": "string",
"name": "string",
"url": "https://example.com"
},
"subject": {
"type": "string",
"id": "string",
"label": "string"
},
"amount": {
"cents": 0,
"currency": "string"
},
"source_url": "https://example.com",
"occurred_at": "2024-01-15T09:30:00Z"
}ReceiptNotaryEnvelope
objectstatusstringrequiredreplay_statusstringcreatedexistingrequireddigeststringrequiredmodestringfulldigest_onlyrequiredpublishedbooleanrequiredreceipt_idstringpublic_claimReceiptPublicClaimpublic_urlstring<uri>edge_issuerobjectrunx_versionstringrequiredverified_atstring<date-time>requiredverdictobjectrequiredcounter_sealobjectrequired{
"status": "notarized",
"replay_status": "created",
"digest": "string",
"mode": "full",
"published": true,
"receipt_id": "string",
"public_claim": {
"schema": "runx.public_receipt_claim.v1",
"kind": "payout",
"title": "string",
"venue": {
"id": "string",
"name": "string",
"url": "https://example.com"
},
"subject": {
"type": "string",
"id": "string",
"label": "string"
},
"amount": {
"cents": 0,
"currency": "string"
},
"source_url": "https://example.com",
"occurred_at": "2024-01-15T09:30:00Z"
},
"public_url": "https://example.com",
"edge_issuer": {},
"runx_version": "string",
"verified_at": "2024-01-15T09:30:00Z",
"verdict": {},
"counter_seal": {}
}ReceiptVerificationFailedEnvelope
objecterrorstringrequiredcodestringrequiredverdictobjectrequired{
"error": "string",
"code": "receipt_verification_failed",
"verdict": {}
}AccountCreatedEnvelope
objectstatusanyrequiredprincipalobjectrequiredcredentialobjectrequired{
"status": "created",
"principal": {},
"credential": {
"credential_id": "string",
"token": "string"
}
}StripeSetupIntentEnvelope
objectstatusanyrequiredstripe_setupobjectrequired{
"status": "created",
"stripe_setup": {
"customer": "string",
"setup_intent_id": "string",
"client_secret": "string"
}
}StripePaymentMethodEnvelope
objectstatusanyrequiredstripe_payment_methodobjectrequired{
"status": "success",
"stripe_payment_method": {
"principal_id": "string",
"customer": "string",
"paymentMethod": "string",
"created_at": "string",
"updated_at": "string"
}
}BillingTopupRequest
objectamountinteger>= 1requiredidempotency_keystring{
"amount": 1,
"idempotency_key": "string"
}BillingTopupEnvelope
objectstatusanyappliedalready_appliedrequiredbalanceintegerrequiredcreditedintegerrequireddebitedintegerrequiredreceipt_idstringrequired{
"status": "applied",
"balance": 0,
"credited": 0,
"debited": 0,
"receipt_id": "string"
}BillingBalanceEnvelope
objectstatusanyrequiredbalanceintegerrequiredcreditedintegerrequireddebitedintegerrequired{
"status": "success",
"balance": 0,
"credited": 0,
"debited": 0
}EntitlementEnvelope
objectstatusanyrequiredentitlementobjectrequired{
"status": "success",
"entitlement": {}
}EntitlementListEnvelope
objectstatusanyrequiredentitlementsArray<object>required{
"status": "success",
"entitlements": [
{}
]
}PutEntitlementRequest
objectprincipal_idstringsubscription_referencestringrequired{
"principal_id": "string",
"subscription_reference": "string"
}StripeConnectOnboardingStartRequest
objectrefresh_urlstring<uri>requiredreturn_urlstring<uri>requiredseller_principal_idstringemailstringcountrystring{
"refresh_url": "https://example.com",
"return_url": "https://example.com",
"seller_principal_id": "string",
"email": "string",
"country": "string"
}StripeConnectSeller
objectprincipal_idstringrequiredstripe_account_idstringrequiredcharges_enabledbooleanrequiredpayouts_enabledbooleanrequireddetails_submittedbooleanrequiredstatusstringpendingenabledrestrictedrequiredregistered_atstring<date-time>requiredupdated_atstring<date-time>required{
"principal_id": "string",
"stripe_account_id": "string",
"charges_enabled": true,
"payouts_enabled": true,
"details_submitted": true,
"status": "pending",
"registered_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}StripeConnectOnboardingStartEnvelope
objectokanyrequiredonboarding_urlstring<uri>requiredexpires_atinteger | stringrequiredsellerStripeConnectSellerrequired{
"ok": true,
"onboarding_url": "https://example.com",
"expires_at": 0,
"seller": {
"principal_id": "string",
"stripe_account_id": "string",
"charges_enabled": true,
"payouts_enabled": true,
"details_submitted": true,
"status": "pending",
"registered_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}StripeConnectOnboardingStatusEnvelope
objectokanyrequiredsellerStripeConnectSeller | nullrequired{
"ok": true,
"seller": {
"principal_id": "string",
"stripe_account_id": "string",
"charges_enabled": true,
"payouts_enabled": true,
"details_submitted": true,
"status": "pending",
"registered_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}MarketplaceFundingRequest
objectprincipal_idstringidempotency_keystringrequiredposting_idstringrequiredpayer_refstringrequiredpayee_refstringrequiredcurrencystringrequiredprice_centsinteger>= 1requiredfee_centsinteger>= 0requiredclaim_limitinteger>= 1requiredfunded_claim_slotsinteger>= 1requiredquote_digeststringquote_expires_atstring<date-time>refund_policy_refstring{
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string"
}PayPalMarketplaceOrderRequest
objectprincipal_idstringidempotency_keystringrequiredposting_idstringrequiredpayer_refstringrequiredpayee_refstringrequiredcurrencystringrequiredprice_centsinteger>= 1requiredfee_centsinteger>= 0requiredclaim_limitinteger>= 1requiredfunded_claim_slotsinteger>= 1requiredquote_digeststringquote_expires_atstring<date-time>refund_policy_refstringreturn_urlstring<uri>cancel_urlstring<uri>{
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"return_url": "https://example.com",
"cancel_url": "https://example.com"
}PayPalMarketplaceCaptureRequest
objectprincipal_idstringidempotency_keystringrequiredposting_idstringrequiredpayer_refstringrequiredpayee_refstringrequiredcurrencystringrequiredprice_centsinteger>= 1requiredfee_centsinteger>= 0requiredclaim_limitinteger>= 1requiredfunded_claim_slotsinteger>= 1requiredquote_digeststringquote_expires_atstring<date-time>refund_policy_refstringorder_idstringrequired{
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"order_id": "string"
}PayPalOrderEnvelope
objectokanyrequiredorder_idstringrequiredstatusstringrequiredapproval_urlstring<uri>amount_centsinteger>= 1requiredcurrencystringrequired{
"ok": true,
"order_id": "string",
"status": "string",
"approval_url": "https://example.com",
"amount_cents": 1,
"currency": "string"
}X402MarketplaceFundingRequest
objectprincipal_idstringidempotency_keystringrequiredposting_idstringrequiredpayer_refstringrequiredpayee_refstringrequiredcurrencystringrequiredprice_centsinteger>= 1requiredfee_centsinteger>= 0requiredclaim_limitinteger>= 1requiredfunded_claim_slotsinteger>= 1requiredquote_digeststringquote_expires_atstring<date-time>refund_policy_refstringpayment_payloadX402V2PaymentPayloadrequiredpayment_requirementsX402V2PaymentRequirementsrequired{
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"payer_ref": "string",
"payee_ref": "string",
"currency": "string",
"price_cents": 1,
"fee_cents": 0,
"claim_limit": 1,
"funded_claim_slots": 1,
"quote_digest": "string",
"quote_expires_at": "2024-01-15T09:30:00Z",
"refund_policy_ref": "string",
"payment_payload": {
"accepted": {
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
},
"extensions": {},
"payload": {},
"resource": {
"description": "string",
"iconUrl": "string",
"mimeType": "string",
"serviceName": "string",
"tags": [
"string"
],
"url": "string"
},
"x402Version": 2
},
"payment_requirements": {
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
}
}X402MarketplaceRefundRequest
objectfunding_receipt_idstringrequiredidempotency_keystringrequiredamount_centsinteger>= 1requiredrefund_basisstringrequiredreasonstringrequiredworker_slots_refundedinteger>= 0requiredworker_refunded_centsinteger>= 0requiredfee_refunded_centsinteger>= 0requiredpolicy_decision_refstring{
"funding_receipt_id": "string",
"idempotency_key": "string",
"amount_cents": 1,
"refund_basis": "string",
"reason": "string",
"worker_slots_refunded": 0,
"worker_refunded_cents": 0,
"fee_refunded_cents": 0,
"policy_decision_ref": "string"
}X402SettlementPendingEnvelope
objectokanyrequiredstatusanyrequiredcodeanyrequiredmessagestringrequiredretryableanyrequired{
"ok": true,
"status": "pending",
"code": "settlement_pending",
"message": "string",
"retryable": true
}X402MarketplacePayoutRequest
objectidempotency_keystringrequiredposting_idstringrequiredclaim_idstringrequiredworker_principal_idstringrequiredrailstringrequiredpayout_identity_hashstringrequiredpayee_refstringrequiredpayer_refstringcurrencystringrequiredamount_centsinteger>= 1requiredsource_funding_intent_idstringrequiredpayout_basis_refstringsettled_atstring<date-time>required{
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"worker_principal_id": "string",
"rail": "string",
"payout_identity_hash": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"payout_basis_ref": "string",
"settled_at": "2024-01-15T09:30:00Z"
}X402MarketplaceFloatPayoutRequest
objectidempotency_keystringrequiredposting_idstringrequiredclaim_idstringrequiredworker_principal_idstringrequiredrailstringrequiredpayout_identity_hashstringrequiredpayee_refstringrequiredpayer_refstringcurrencystringrequiredamount_centsinteger>= 1requiredsource_funding_intent_idstringpayout_basis_refstringsettled_atstring<date-time>required{
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"worker_principal_id": "string",
"rail": "string",
"payout_identity_hash": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"payout_basis_ref": "string",
"settled_at": "2024-01-15T09:30:00Z"
}X402WorkerWalletRequest
objectworker_principal_idstringrequiredrailstringrequiredaddressstringrequired{
"worker_principal_id": "string",
"rail": "string",
"address": "string"
}MarketplacePayoutRequest
objectprincipal_idstringidempotency_keystringrequiredposting_idstringrequiredclaim_idstringrequireddestination_account_idstringrequiredpayee_refstringrequiredpayer_refstringcurrencystringrequiredamount_centsinteger>= 1requiredsource_funding_intent_idstringrequiredsettled_atstring<date-time>required{
"principal_id": "string",
"idempotency_key": "string",
"posting_id": "string",
"claim_id": "string",
"destination_account_id": "string",
"payee_ref": "string",
"payer_ref": "string",
"currency": "string",
"amount_cents": 1,
"source_funding_intent_id": "string",
"settled_at": "2024-01-15T09:30:00Z"
}PayPalMarketplaceRefundRequest
objectfunding_receipt_idstringrequiredidempotency_keystringrequiredamount_centsinteger>= 1requiredrefund_basisstringrequiredreasonstringrequiredworker_slots_refundedinteger>= 0requiredworker_refunded_centsinteger>= 0requiredfee_refunded_centsinteger>= 0requiredpolicy_decision_refstring{
"funding_receipt_id": "string",
"idempotency_key": "string",
"amount_cents": 1,
"refund_basis": "string",
"reason": "string",
"worker_slots_refunded": 0,
"worker_refunded_cents": 0,
"fee_refunded_cents": 0,
"policy_decision_ref": "string"
}MarketplaceReceiptEnvelope
objectokanyrequiredreceiptobjectrequiredidempotent_replaybooleanrequired{
"ok": true,
"receipt": {},
"idempotent_replay": true
}X402MarketplaceQuoteRequest
objectresourcestringrequireddescriptionstringprice_centsinteger>= 1requiredfee_centsinteger>= 0requiredfunded_claim_slotsinteger>= 1requiredmax_timeout_secondsinteger>= 1{
"resource": "string",
"description": "string",
"price_cents": 1,
"fee_cents": 0,
"funded_claim_slots": 1,
"max_timeout_seconds": 1
}X402SettlementTarget
objectnetworkstringbase-sepoliabaserequiredassetstringrequiredpay_tostringrequiredasset_decimalsinteger>= 0requiredeip712_domainobjectPresent on readback: the asset's EIP-712 domain a buyer signs its transfer authorization against, derived from the asset and never configured. Ignored on write.
recommendedboolean{
"network": "base-sepolia",
"asset": "string",
"pay_to": "string",
"asset_decimals": 0,
"eip712_domain": {
"name": "string",
"version": "string"
},
"recommended": true
}X402SettlementTargetsRequest
objecttargetsArray<X402SettlementTarget>required{
"targets": [
{
"network": "base-sepolia",
"asset": "string",
"pay_to": "string",
"asset_decimals": 0,
"eip712_domain": {
"name": "string",
"version": "string"
},
"recommended": true
}
]
}X402SettlementTargetsEnvelope
objectokanyrequiredgrant_idstringoutbound_configuredbooleanrequiredtargetsArray<X402SettlementTarget>required{
"ok": true,
"grant_id": "string",
"outbound_configured": true,
"targets": [
{
"network": "base-sepolia",
"asset": "string",
"pay_to": "string",
"asset_decimals": 0,
"eip712_domain": {
"name": "string",
"version": "string"
},
"recommended": true
}
]
}X402QuoteEnvelope
objectokanyrequiredacceptsArray<X402V2PaymentRequirements>requiredpayment_requirementsX402V2PaymentRequirementsrequired{
"ok": true,
"accepts": [
{
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
}
],
"payment_requirements": {
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
}
}RunxReference
objectlabelstringlocatorstringobserved_atstringproof_kindstringeffect_evidenceeffect_finalitycredential_resolutionproviderstringtypetypethreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequiredWhat a reference points at. External kinds never name a provider: the reference's provider and locator say where, and connectors declare which of their locators are which kind.
uristringrequired{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}RunxPaidSkillListing
objectImmutable marketplace identity and commercial terms for paid runners in one published skill version. Seller identity is resolved by the authenticated registry boundary and is never accepted from run.yaml.
bundle_digeststringrequiredThe registry's digest of the published bundle's files.
offersobjectrequiredprofile_digeststringrequiredseller_refobjectrequiredskill_digeststringrequiredskill_idstringrequiredversionstringrequired{
"bundle_digest": "string",
"offers": {},
"profile_digest": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"skill_digest": "string",
"skill_id": "string",
"version": "string"
}RunxOfferVersionBinding
objectinput_schema_digeststringrequiredoffer_idstringrequiredoutput_schema_digeststringrequiredprofile_digeststringrequiredThe digest of the profile that declares the offer at that version.
versionstringrequiredThe package version the offer is sold at.
{
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
}RunxPurchase
objectaccepted_settlement_familiesArray<string>requiredact_refobjectThe purchase's act, fixed before any run: what the seller's run performs and capacity reserves.
amount_minoramount_minor[1, 9007199254740991]requiredbuyer_keystringThe key the buyer claims with; runx's purchase receipt binds it.
buyer_refobjectrequiredThe buyer: the principal that pays.
canonicalizer_versionstringrunx.receipt.c14n.v1requiredThe sole V1 canonicalization identifier for digest-bound inputs.
created_atcreated_atrequiredcurrencycurrencyrequiredexecution_stateexecution_stateunstartedqueuedrunningwaiting_externalcancellingsucceededfailedcancelledrequiredexpires_atstringrequiredexternal_job_refobjectidempotencyobjectrequiredinput_digestinput_digestrequiredoffer_versionoffer_versionrequiredoutcome_gateoutcome_gateopenfulfilment_wonrefund_wonrequiredpackage_digestpackage_digestrequiredThe execution package digest the purchase runs (runx.skill-package.v1 over the files a run loads), not the registry's digest of the published package files that a listing binds.
payment_refobjectpayment_statepayment_stateunpaidsettlingsettledrefundedrequiredpurchase_idpurchase_idrequiredseller_refobjectrequiredThe seller: the publisher's principal enrolled to sell the skill.
settlement_familysettlement_familyskill_refobjectrequiredWhat is bought: the skill runner binding the seller's run performs.
updated_atupdated_atrequired{
"accepted_settlement_families": [
"string"
],
"act_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"amount_minor": 1,
"buyer_key": "string",
"buyer_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"canonicalizer_version": "runx.receipt.c14n.v1",
"created_at": "string",
"currency": "string",
"execution_state": "unstarted",
"expires_at": "string",
"external_job_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"input_digest": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"outcome_gate": "open",
"package_digest": "string",
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"payment_state": "unpaid",
"purchase_id": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"settlement_family": "string",
"skill_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"updated_at": "string"
}RunxQuotePurchaseResult
objectstatusstringrequiredvalueobjectrequiredcodestringoffer_unavailablequote_expiredterms_changedreplay_conflictpayment_not_authorizedcapacity_unavailablenot_foundcancellation_not_availablerequiredreasonstringrequiredstatusstringrequired{
"status": "admitted",
"value": {
"payment_options": [
{
"media_type": "string",
"payload_digest": "string",
"payment_method": {
"asset": "string",
"method": "string",
"network": "string",
"pay_to": "string"
},
"protocol_version": "string",
"quote_expires_at": "string",
"quote_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"settlement_family": "string"
}
],
"purchase": {
"accepted_settlement_families": [
"string"
],
"act_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"amount_minor": 1,
"buyer_key": "string",
"buyer_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"canonicalizer_version": "runx.receipt.c14n.v1",
"created_at": "string",
"currency": "string",
"execution_state": "unstarted",
"expires_at": "string",
"external_job_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"input_digest": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"outcome_gate": "open",
"package_digest": "string",
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"payment_state": "unpaid",
"purchase_id": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"settlement_family": "string",
"skill_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"updated_at": "string"
}
}
}RunxExecutePurchaseRequest
objectidempotencyobjectrequiredpayment_refobjectrequiredpurchase_idstringrequiredsettlement_familystringrequired{
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"purchase_id": "string",
"settlement_family": "string"
}RunxExecutePurchaseResult
objectstatusstringrequiredvalueobjectrequiredcodestringoffer_unavailablequote_expiredterms_changedreplay_conflictpayment_not_authorizedcapacity_unavailablenot_foundcancellation_not_availablerequiredreasonstringrequiredstatusstringrequired{
"status": "admitted",
"value": {
"purchase": {
"accepted_settlement_families": [
"string"
],
"act_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"amount_minor": 1,
"buyer_key": "string",
"buyer_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"canonicalizer_version": "runx.receipt.c14n.v1",
"created_at": "string",
"currency": "string",
"execution_state": "unstarted",
"expires_at": "string",
"external_job_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"input_digest": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"outcome_gate": "open",
"package_digest": "string",
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"payment_state": "unpaid",
"purchase_id": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"settlement_family": "string",
"skill_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"updated_at": "string"
}
}
}RunxGetPurchaseResult
objectstatusstringrequiredvalueobjectrequiredcodestringoffer_unavailablequote_expiredterms_changedreplay_conflictpayment_not_authorizedcapacity_unavailablenot_foundcancellation_not_availablerequiredreasonstringrequiredstatusstringrequired{
"status": "admitted",
"value": {
"failure": {
"code": "string",
"message": "string"
},
"purchase": {
"accepted_settlement_families": [
"string"
],
"act_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"amount_minor": 1,
"buyer_key": "string",
"buyer_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"canonicalizer_version": "runx.receipt.c14n.v1",
"created_at": "string",
"currency": "string",
"execution_state": "unstarted",
"expires_at": "string",
"external_job_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"input_digest": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"outcome_gate": "open",
"package_digest": "string",
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"payment_state": "unpaid",
"purchase_id": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"settlement_family": "string",
"skill_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"updated_at": "string"
},
"receipt_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"result_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"run_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "act",
"uri": "string"
}
}
}RunxPurchaseRead
objectWhat a buyer reads of its purchase: the purchase, its receipt once sealed, the runner's public result once fulfilment won, and what runx holds for it. Never the seller's run, step outputs or grants, and never a held value.
balance_microinteger>= 0What the reading account's runx balance holds, in micro-USD, while the purchase can still be paid from it. Never shown to a buyer key.
failureobjectWhy a refund won. Present only after refund won.
holdsArray<object>Each resource runx holds for the purchase's buyer, once fulfilment won.
purchaseobjectrequiredreceiptobjectrunx's signed purchase receipt, once sealed: what a claim presents.
resultany{
"balance_micro": 0,
"failure": {
"code": "string",
"message": "string"
},
"holds": [
{
"connector": "string",
"credential": "string",
"expires_at": "string",
"target": "string",
"value_digest": "string"
}
],
"purchase": {
"accepted_settlement_families": [
"string"
],
"act_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"amount_minor": 1,
"buyer_key": "string",
"buyer_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"canonicalizer_version": "runx.receipt.c14n.v1",
"created_at": "string",
"currency": "string",
"execution_state": "unstarted",
"expires_at": "string",
"external_job_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"input_digest": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"outcome_gate": "open",
"package_digest": "string",
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"payment_state": "unpaid",
"purchase_id": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"settlement_family": "string",
"skill_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"updated_at": "string"
},
"receipt": {}
}RunxPurchaseClaim
objectWhat a buyer sends runx's claim route for a held value (runx.payment.purchase_claim.v1).
claim_urlstringrequiredThe endpoint this claim is sent to: a claim is good for one endpoint.
issued_atstringrequiredWhen the buyer signed; runx refuses a stale claim.
receipt_digeststringrequiredThe digest of runx's receipt for the fulfilled purchase, as the purchase gave it: a purchase has none until it is fulfilled.
signaturestringrequiredThe buyer's signature over the claim schema, the endpoint, the time and the receipt digest, as stable JSON.
{
"claim_url": "string",
"issued_at": "string",
"receipt_digest": "string",
"signature": "string"
}RunxCancelPurchaseRequest
objectidempotencyobjectrequiredpurchase_idstringrequired{
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"purchase_id": "string"
}RunxCancelPurchaseResult
objectstatusstringrequiredvalueobjectrequiredcodestringoffer_unavailablequote_expiredterms_changedreplay_conflictpayment_not_authorizedcapacity_unavailablenot_foundcancellation_not_availablerequiredreasonstringrequiredstatusstringrequired{
"status": "admitted",
"value": {
"purchase": {
"accepted_settlement_families": [
"string"
],
"act_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"amount_minor": 1,
"buyer_key": "string",
"buyer_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"canonicalizer_version": "runx.receipt.c14n.v1",
"created_at": "string",
"currency": "string",
"execution_state": "unstarted",
"expires_at": "string",
"external_job_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"idempotency": {
"binding_digest": "string",
"key": "string"
},
"input_digest": "string",
"offer_version": {
"input_schema_digest": "string",
"offer_id": "string",
"output_schema_digest": "string",
"profile_digest": "string",
"version": "string"
},
"outcome_gate": "open",
"package_digest": "string",
"payment_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"payment_state": "unpaid",
"purchase_id": "string",
"seller_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "principal",
"uri": "string"
},
"settlement_family": "string",
"skill_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"updated_at": "string"
}
}
}RunxSignal
objectauthenticityobjectbody_previewstringdigestobjectA content digest with how it was taken and what it was taken over.
evidence_refsArray<object>extensionsobjectlinksobjectobserved_atstringrequiredschemastringrunx.signal.v1requiredsignal_idstringrequiredsignal_typestringrequiredOpen signal type identifier (e.g. issue_opened). Adapters can publish their own identifier without a contract edit.
source_refobjectrequiredtitlestringrequired{
"authenticity": {
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"host_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"principal_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"signature_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"trust_level": "unverified",
"verified_at": "string",
"verified_by_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
},
"body_preview": "string",
"digest": {
"algorithm": "sha256",
"canonicalization": "string",
"derived_from": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"value": "string"
},
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"extensions": {},
"links": {
"duplicate_candidates": [
{
"candidate_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"confidence": 0,
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"observed_at": "string",
"reviewer_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
}
],
"duplicate_of": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"related": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"superseded_by": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"supersedes": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
},
"observed_at": "string",
"schema": "runx.signal.v1",
"signal_id": "string",
"signal_type": "string",
"source_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"title": "string"
}RunxReceipt
objectThe single signed governance receipt: runx.receipt.v1.
decisions[] (each choice and the act it selects) and acts[] (intent, the caller's reason, the checks bound to each act) are inline. Every field is signed; display identity comes from subject.kind, subject.ref, issuer and authority.actor_ref.
actsArray<object>requiredauthorityobjectrequiredcanonicalizationstringrunx.receipt.c14n.v1requiredThe canonicalization byte contract a receipt's id and digest commit under. v1 has one.
created_atstringrequireddecisionsArray<object>requireddigeststringrequiredidstringrequiredissuerobjectrequiredlineageobjectrequiredWhat runx committed of a receipt's place among others.
schemastringrunx.receipt.v1requiredsealobjectrequiredExactly one seal. deferred expresses a suspended (waiting/delegated) run. It closes when the receipt is created, so the receipt's created_at is its one time.
signatureobjectrequiredsubjectobjectrequired{
"acts": [
{
"artifact_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"context_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"criterion_bindings": [
{
"criterion_id": "step_outcome",
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"status": "verified",
"verification_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
}
],
"form": "observation",
"id": "string",
"intent": {
"legitimacy": "string",
"purpose": "string"
},
"operation": {
"act_digest": "string",
"amount": {
"unit": "string",
"units": 0
},
"approval_digest": "string",
"connector": "string",
"connector_digest": "string",
"instance_id": "string",
"manifest_digest": "string",
"operation": "string",
"operation_digest": "string",
"payload_digest": "string",
"request_key_digest": "string",
"target": "string"
},
"previous": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"reason": "string",
"target_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
}
],
"authority": {
"actor_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"derivations": [
{
"derived_at": "string",
"evidence": [
{
"kind": "capability",
"reference": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"term": {
"approvals": [
{
"approval_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"approved_at": "string",
"approved_by_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
}
],
"bounds": {
"operations": [
"string"
],
"scopes": [
"string"
],
"targets": [
"string"
],
"uses": {
"per_day": 0,
"total": 0
}
},
"credential_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"expires_at": "string",
"issued_by_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"principal_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"resource_family": "connector",
"resource_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"term_id": "string",
"verbs": [
"read"
]
}
}
],
"intent_digest": "string",
"proofs": [
{
"checked_at": "string",
"compared_terms": [
{
"child_term_id": "string",
"parent_term_id": "string",
"relation": "equal"
}
],
"comparison_algorithm": "string",
"parent_authority_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"proof_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"result": "subset"
}
],
"term_id": "string"
}
],
"enforcement": {
"execution_boundary": {
"kind": "trusted_host_process"
}
},
"grant_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"mandate_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"scope_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"terms": [
{
"approvals": [
{
"approval_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"approved_at": "string",
"approved_by_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
}
],
"bounds": {
"operations": [
"string"
],
"scopes": [
"string"
],
"targets": [
"string"
],
"uses": {
"per_day": 0,
"total": 0
}
},
"credential_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"expires_at": "string",
"issued_by_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"principal_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"resource_family": "connector",
"resource_ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
},
"term_id": "string",
"verbs": [
"read"
]
}
]
},
"canonicalization": "runx.receipt.c14n.v1",
"created_at": "string",
"decisions": [
{
"choice": "continue",
"decision_id": "string",
"selected_act_id": "string"
}
],
"digest": "string",
"id": "string",
"issuer": {
"kid": "string",
"public_key_digest": "string",
"runx_version": "string",
"type": "local"
},
"lineage": {
"children": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
},
"schema": "runx.receipt.v1",
"seal": {
"criteria": [
{
"criterion_id": "step_outcome",
"evidence_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
],
"status": "verified",
"verification_refs": [
{
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
]
}
],
"outcome": "completed",
"reason": "preflight_refused"
},
"signature": {
"alg": "Ed25519",
"value": "string"
},
"subject": {
"kind": "step",
"outcome_digest": "string",
"ref": {
"label": "string",
"locator": "string",
"observed_at": "string",
"proof_kind": "effect_evidence",
"provider": "string",
"type": "thread",
"uri": "string"
}
}
}X402V2ResourceInfo
objectdescriptionstring | nulliconUrlstring | nullmimeTypestring | nullserviceNamestring | nulltagsArray<string> | nullurlstringrequired{
"description": "string",
"iconUrl": "string",
"mimeType": "string",
"serviceName": "string",
"tags": [
"string"
],
"url": "string"
}X402V2PaymentRequirements
objectamountstringrequiredassetstringrequiredextraobject | nullmaxTimeoutSecondsnumberrequirednetworkstringrequiredpayTostringrequiredschemestringrequired{
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
}X402V2PaymentRequired
objectacceptsArray<object>requirederrorstring | nullextensionsobject | nullresourceobjectrequiredx402Versionintegerrequired{
"accepts": [
{
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
}
],
"error": "string",
"extensions": {},
"resource": {
"description": "string",
"iconUrl": "string",
"mimeType": "string",
"serviceName": "string",
"tags": [
"string"
],
"url": "string"
},
"x402Version": 2
}X402V2PaymentPayload
objectacceptedobjectrequiredextensionsobject | nullpayloadobjectrequiredresourceobject | nullx402Versionintegerrequired{
"accepted": {
"amount": "string",
"asset": "string",
"extra": {},
"maxTimeoutSeconds": 0,
"network": "string",
"payTo": "string",
"scheme": "string"
},
"extensions": {},
"payload": {},
"resource": {
"description": "string",
"iconUrl": "string",
"mimeType": "string",
"serviceName": "string",
"tags": [
"string"
],
"url": "string"
},
"x402Version": 2
}X402V2SettleResponse
objectamountstring | nullerrorMessagestring | nullerrorReasonstring | nullextensionsobject | nullextraobject | nullnetworkstringrequiredpayerstring | nullsuccessbooleanrequiredtransactionstringrequired{
"amount": "string",
"errorMessage": "string",
"errorReason": "string",
"extensions": {},
"extra": {},
"network": "string",
"payer": "string",
"success": true,
"transaction": "string"
}