Home

runx Hosted API

v0.1.0

Governed hosted API for run submission, connect, grants, approvals, and inspection.

Base URLs
https://api.runx.aiHosted API surface
https://connect.runx.aiHosted Connect surface
https://runx.aiHosted app surface

Hosted API contract for run submission, connect, grants, approvals, webhook ingress, and inspection.

Authentication

BearerAuthhttp

Scheme: bearer (token)

BuyerKeyapiKey

The 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

GET
https://api.runx.ai/healthz

Response

200OKStatusEnvelope

Health status.

Health check
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()
200
{
  "status": "string"
}

Readiness check

GET
https://api.runx.ai/readyz

Response

200OKHostedReadinessEnvelope

Readiness status.

503Service UnavailableHostedReadinessErrorEnvelope

Dependencies are not ready.

Readiness check
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

GET
https://api.runx.ai/openapi.json

Response

200OKobject

OpenAPI document.

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()
200
{}

Inspect hosted API request metrics

GET
https://api.runx.ai/v1/system/metrics

Response

200OKHostedApiMetricsEnvelope

Hosted API request metrics.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

Authorization

BearerAuthhttp (bearer)
Inspect hosted API request metrics
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

GET
https://api.runx.ai/v1/system/status

Response

200OKPublicSystemStatus

Public system status.

503Service UnavailablePublicSystemStatus

Public system status degraded.

Inspect public system status
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

GET
https://api.runx.ai/v1/feed

Parameters

limitstringquery

Maximum number of feed items to return.

Response

200OKPublicFeedResponse

Public live feed.

List the 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()
200
{
  "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

GET
https://api.runx.ai/v1/connectors

Parameters

qstringquery

Text matched against connector name, display name, description and category, ignoring case (at most 100 characters).

categorystringquery

Category id.

placementstringquery

Only connectors whose placement is ready: hosted or local.

publisherstringquery

Publisher namespace.

limitstringquery

Page size, 1 to 100 (default 48).

cursorstringquery

The next_cursor of the previous page.

Response

200OKPublicConnectorsResponse

Connector catalog.

400Bad RequestErrorEnvelope

Invalid query.

503Service UnavailableErrorEnvelope

Connector catalog unavailable.

List published connectors, one page at a time, with public readiness per placement
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

POST
https://api.runx.ai/v1/connectors

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

application/json

Connector package.

versionstring
filesArray<PublicPackageFile>required
Show child attributes
pathstringrequired
contentstringrequired

Response

200OKPublicConnectorPublishResponse

These files were already published under this version.

201CreatedPublicConnectorPublishResponse

Published connector version.

400Bad RequestErrorEnvelope

Invalid connector package.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing connectors:write, a namespace the principal may not publish in, or a name that does not fit its namespace.

409ConflictErrorEnvelope

The version exists with other files.

413Payload Too LargeErrorEnvelope

The package is too large.

503Service UnavailableErrorEnvelope

Hosted registry unavailable.

Authorization

BearerAuthhttp (bearer)
Publish a connector to the hosted registry
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/connectors/{namespace}

Parameters

namespacestringrequiredpath

The connector's namespace: its whole name when it has one segment.

Response

200OKPublicConnectorResponse

Connector detail.

404Not FoundErrorEnvelope

Connector not found.

503Service UnavailableErrorEnvelope

Connector catalog unavailable.

Inspect one published connector at its current version: its public manifest, digests, readiness and setup
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

GET
https://api.runx.ai/v1/connectors/{namespace}/{surface}

Parameters

namespacestringrequiredpath

The connector's namespace: its whole name when it has one segment.

surfacestringrequiredpath

The surface under the namespace.

Response

200OKPublicConnectorResponse

Connector detail.

404Not FoundErrorEnvelope

Connector not found.

503Service UnavailableErrorEnvelope

Connector catalog unavailable.

Inspect one published connector at its current version: its public manifest, digests, readiness and setup
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

GET
https://api.runx.ai/v1/connectors/{namespace}/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

namespacestringrequiredpath

The connector's namespace: its whole name when it has one segment.

limitstringquery

Page size: default 20, at most 100.

cursorstringquery

Opaque cursor from the previous page's next_cursor.

Response

200OKPublicConnectorVersionsResponse

Connector version history.

400Bad RequestErrorEnvelope

Invalid limit or cursor.

404Not FoundErrorEnvelope

Connector not found.

503Service UnavailableErrorEnvelope

Connector catalog unavailable.

List a connector's published versions
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

GET
https://api.runx.ai/v1/connectors/{namespace}/{surface}/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

namespacestringrequiredpath

The connector's namespace: its whole name when it has one segment.

surfacestringrequiredpath

The surface under the namespace.

limitstringquery

Page size: default 20, at most 100.

cursorstringquery

Opaque cursor from the previous page's next_cursor.

Response

200OKPublicConnectorVersionsResponse

Connector version history.

400Bad RequestErrorEnvelope

Invalid limit or cursor.

404Not FoundErrorEnvelope

Connector not found.

503Service UnavailableErrorEnvelope

Connector catalog unavailable.

List a connector's published versions
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

GET
https://api.runx.ai/v1/connectors/{namespace}/versions/{version}

Parameters

namespacestringrequiredpath

The connector's namespace: its whole name when it has one segment.

versionstringrequiredpath

Registry version label.

Response

200OKPublicConnectorResponse

Connector version detail.

404Not FoundErrorEnvelope

Connector version not found.

503Service UnavailableErrorEnvelope

Connector catalog unavailable.

Inspect one exact published connector version
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

GET
https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}

Parameters

namespacestringrequiredpath

The connector's namespace: its whole name when it has one segment.

surfacestringrequiredpath

The surface under the namespace.

versionstringrequiredpath

Registry version label.

Response

200OKPublicConnectorResponse

Connector version detail.

404Not FoundErrorEnvelope

Connector version not found.

503Service UnavailableErrorEnvelope

Connector catalog unavailable.

Inspect one exact published connector version
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

GET
https://api.runx.ai/v1/marks/{file}

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

200OKstring

The mark.

404Not FoundErrorEnvelope

Nothing public shows that mark.

Serve a mark at the SHA-256 of its bytes
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

GET
https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/package

A withdrawn version answers with its stored files, signed over its preserved name, and withdrawn_at; nothing installs it.

Parameters

namespacestringrequiredpath

The connector's namespace: its whole name when it has one segment.

versionstringrequiredpath

Registry version label.

Response

200OKPublicConnectorPackageResponse

Connector package.

404Not FoundErrorEnvelope

Connector version not found.

503Service UnavailableErrorEnvelope

Hosted registry unavailable.

Read one connector version's files and signed manifest, as install verifies them
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

GET
https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/package

A withdrawn version answers with its stored files, signed over its preserved name, and withdrawn_at; nothing installs it.

Parameters

namespacestringrequiredpath

The connector's namespace: its whole name when it has one segment.

surfacestringrequiredpath

The surface under the namespace.

versionstringrequiredpath

Registry version label.

Response

200OKPublicConnectorPackageResponse

Connector package.

404Not FoundErrorEnvelope

Connector version not found.

503Service UnavailableErrorEnvelope

Hosted registry unavailable.

Read one connector version's files and signed manifest, as install verifies them
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

GET
https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/connector.yaml

The stored bytes, withdrawn or not; the ETag is their SHA-256, not the native manifest digest of the parsed manifest.

Parameters

namespacestringrequiredpath

The connector's namespace: its whole name when it has one segment.

versionstringrequiredpath

Registry version label.

Response

200OKstring

Connector manifest source.

404Not FoundErrorEnvelope

Connector version not found.

503Service UnavailableErrorEnvelope

Hosted registry unavailable.

Download one connector version's manifest bytes
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

GET
https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/connector.yaml

The stored bytes, withdrawn or not; the ETag is their SHA-256, not the native manifest digest of the parsed manifest.

Parameters

namespacestringrequiredpath

The connector's namespace: its whole name when it has one segment.

surfacestringrequiredpath

The surface under the namespace.

versionstringrequiredpath

Registry version label.

Response

200OKstring

Connector manifest source.

404Not FoundErrorEnvelope

Connector version not found.

503Service UnavailableErrorEnvelope

Hosted registry unavailable.

Download one connector version's manifest bytes
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

GET
https://api.runx.ai/v1/trust/keys

Returns the public key set used to verify hosted receipt signatures and payment-admission proofs.

Response

200OKPublicTrustRoot

Public trust-root document.

Fetch public trust-root keys
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()
200
{
  "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

GET
https://api.runx.ai/v1/projections/receipts

Returns monotonic public receipt publication and tombstone projections after the supplied cursor.

Parameters

cursorstringquery

Last consumed projection sequence. Omit or pass 0 to read from the beginning.

limitstringquery

Maximum projections to return, between 1 and 500.

Response

200OKPublicReceiptProjectionFeedEnvelope

Public receipt projection page.

400Bad RequestErrorEnvelope

Invalid cursor or limit.

503Service UnavailableErrorEnvelope

Receipt projection feed unavailable.

List the public receipt projection feed
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

GET
https://api.runx.ai/v1/receipts/notarizations/{digest}

Parameters

digeststringrequiredpath

The receipt's digest: its hex, as its link carries it, or with the sha256: prefix.

Response

200OKPublicReceiptNotarization

Public receipt notarization projection.

404Not FoundErrorEnvelope

Receipt not found or unpublished.

503Service UnavailableErrorEnvelope

Receipt notary unavailable.

Inspect one public receipt notarization projection
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

GET
https://api.runx.ai/v1/skills

Parameters

qstringquery

Text 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.

publisherstringquery

Publisher namespace filter.

tagstringquery

Tag filter.

kindstringquery

Catalog kind filter: skill or graph.

categorystringquery

Registry category filter: code, research, ops, growth, content, data, security, payments, or authoring.

profile_modestringquery

Runner mode filter: profiled or portable.

featuredstringquery

When true, return only the editorial selection's featured skills, in its order.

includestringquery

When set to unverified, include zero-install community skills in broad discovery.

trust_tierstringquery

Trust tier filter: first_party, verified, or community.

idsstringquery

Up 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.

connectorstringquery

Only skills whose current version declares this connector id.

sortstringquery

Sort order: relevance (the default with q), recommended (the default without), newest, most-installed, or a-z.

limitstringquery

Maximum number of skills to return, 1 to 100 (default 24).

cursorstringquery

Continues the query that returned it as next_cursor; a cursor from another query is rejected.

countstringquery

When 1, add the total listed skills the query matches, when it can be computed within budget.

facetsstringquery

When 1, add facet counts for the query, when they can be computed within budget.

Response

200OKPublicSkillsResponse

Public registry listing.

List public registry skills with search and filters
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()
200
{
  "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

POST
https://api.runx.ai/v1/skills

Publishes one governed skill markdown document under a publisher the signed-in principal is authorized for. The caller cannot set the trust tier.

Body

application/json

Hosted skill publish payload.

markdownstringrequired

Complete SKILL.md document, including frontmatter.

profile_documentstring

Optional run.yaml profile document published with the skill.

versionstring

Optional version or content ref. If omitted, the registry derives one from content.

publisherstring

The 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.

Show child attributes
pathstringrequired

Relative allowlisted package path. Root SKILL.md and run.yaml use their dedicated fields.

contentstringrequired

UTF-8 file content.

Response

200OKHostedSkillPublishEnvelope

Published hosted skill.

400Bad RequestErrorEnvelope

Invalid skill package.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing publish scope.

409ConflictErrorEnvelope

Skill version conflict.

503Service UnavailableErrorEnvelope

Hosted registry unavailable.

Authorization

BearerAuthhttp (bearer)
Publish a skill to the hosted registry
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/publishers/{slug}

Parameters

slugstringrequiredpath

Publisher slug.

Response

200OKPublicPublisherProfileResponse

Public publisher profile.

404Not FoundErrorEnvelope

Publisher not found.

Inspect one public publisher profile
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

PATCH
https://api.runx.ai/v1/publishers/{slug}

A principal authorized to publish for the namespace changes its display name, description and links. Verification is the verification authority's alone.

Body

application/json

The profile fields to change.

display_namestring
descriptionstring | null
linksArray<PublicPublisherProfileLink>
Show child attributes
labelstringrequired
urlstring<uri>required

Parameters

slugstringrequiredpath

Publisher namespace.

Response

200OKAdminRegistryPublisherResponse

The changed publisher.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing a publishing scope.

404Not FoundErrorEnvelope

No publisher this principal publishes for.

503Service UnavailableErrorEnvelope

Registry publishers unavailable.

Authorization

BearerAuthhttp (bearer)
Change your publisher's profile
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/skills/{root}

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

rootstringrequiredpath

Root name or root@version.

Response

200OKPublicSkillDetailResponse

Public skill detail.

404Not FoundErrorEnvelope

No listed skill holds that root name.

Inspect the verified skill a root name addresses
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

GET
https://api.runx.ai/v1/skills/{publisher}/{name}

Parameters

publisherstringrequiredpath

Publisher namespace.

namestringrequiredpath

Skill name or name@version.

refstringquery

Optional rolling ref selector such as main.

Response

200OKPublicSkillDetailResponse

Public skill detail.

404Not FoundErrorEnvelope

Skill not found.

Inspect one public registry skill
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

GET
https://api.runx.ai/v1/skills/{publisher}/{name}/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

publisherstringrequiredpath

Publisher namespace.

namestringrequiredpath

Skill name.

limitstringquery

Page size: default 20, at most 100.

cursorstringquery

Opaque cursor from the previous page's next_cursor.

Response

200OKPublicSkillVersionsResponse

Public version history.

400Bad RequestErrorEnvelope

Invalid limit or cursor.

404Not FoundErrorEnvelope

Skill not found.

List a public skill's published versions
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

GET
https://api.runx.ai/v1/skills/{publisher}/{name}/versions/{version}/files/{path}

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

publisherstringrequiredpath

Publisher namespace.

namestringrequiredpath

Skill name.

versionstringrequiredpath

Exact published version.

pathstringrequiredpath

Package-relative file path.

Response

200OKstring

The file's exact bytes.

400Bad RequestErrorEnvelope

Invalid path.

404Not FoundErrorEnvelope

Version or file not found.

Read one public file of an exact skill version
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()
string
string
{
  "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

POST
https://api.runx.ai/v1/skills/{publisher}/{name}/acquire

Body

application/json

Registry skill acquisition request.

installation_idstringrequired
versionstring
channelstring

Parameters

publisherstringrequiredpath

Publisher namespace.

namestringrequiredpath

Skill name or name@version.

Response

200OKAcquireSkillResponse

Registry skill acquisition payload.

400Bad RequestErrorEnvelope

Validation error.

404Not FoundErrorEnvelope

Skill not found.

503Service UnavailableErrorEnvelope

Registry store unavailable.

Acquire a pinned public registry skill for one installation
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/skills/{publisher}/{name}/versions/{version}/record

Parameters

publisherstringrequiredpath

Publisher namespace.

namestringrequiredpath

Skill name.

versionstringrequiredpath

Published version.

Response

200OKSkillVersionRecordEnvelope

The signed version record.

404Not FoundErrorEnvelope

No executable public version.

503Service UnavailableErrorEnvelope

Registry store unavailable.

Read one executable public version's signed record, as a registry closure holds it
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

POST
https://api.runx.ai/v1/skills/{publisher}/{name}/report

Records one authenticated report against a resolved skill version. Reports inform moderation; they are not trust evidence.

Body

application/json

Public skill report payload.

versionstring

Optional skill version to report. If omitted, the latest public version is reported.

reasonstringspammalwareunsafe_authoritymisleadingrightsotherrequired
detailstring

Optional reporter detail. Stored for moderation review, never used as trust evidence.

Parameters

publisherstringrequiredpath

Publisher namespace.

namestringrequiredpath

Skill name or name@version.

Response

200OKHostedSkillReportEnvelope

Duplicate report already recorded.

201CreatedHostedSkillReportEnvelope

Skill report recorded.

400Bad RequestErrorEnvelope

Invalid report payload.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing report scope.

404Not FoundErrorEnvelope

Skill not found.

429Too Many RequestsErrorEnvelope

Report rate limit exceeded.

503Service UnavailableErrorEnvelope

Hosted registry unavailable.

Authorization

BearerAuthhttp (bearer)
Report a public registry skill for moderation review
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/skills/{publisher}/{name}/harness

Parameters

publisherstringrequiredpath

Publisher namespace.

namestringrequiredpath

Skill name or name@version.

refstringquery

Optional rolling ref selector such as main.

Response

200OKPublicSkillHarnessResponse

Public harness detail.

404Not FoundErrorEnvelope

Skill not found.

Inspect public harness evidence for one registry skill
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

POST
https://api.runx.ai/v1/admin/public/evidence

Body

application/json

Public evidence ingestion request.

eventsArray<PublicEvidenceInput>required
Show child attributes
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
idstring

Response

202AcceptedPublicEvidenceIngestEnvelope

Stored public evidence events.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

503Service UnavailableErrorEnvelope

Public evidence store unavailable.

Authorization

BearerAuthhttp (bearer)
Append public website evidence events
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/me

Response

200OKPrincipalEnvelope

Authenticated principal.

401UnauthorizedErrorEnvelope

Unauthorized.

Authorization

BearerAuthhttp (bearer)
Inspect the authenticated principal
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

POST
https://api.runx.ai/v1/accounts

Body

application/json

Optional account display metadata.

display_namestring

Response

201CreatedAccountCreatedEnvelope

Created principal and one-time credential.

503Service UnavailableErrorEnvelope

Self-serve identity is not configured.

Create a self-serve hosted principal and credential
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/service/token/exchange

Body

application/json

OIDC-backed service token exchange request.

Canonical prerelease v1 schema for exchanging an external OIDC token for a runx service access token.

service_principal_idstringrequired
oidc_tokenstringrequired

Response

200OKServiceTokenExchangeEnvelope

Issued service access token.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

OIDC token not accepted.

404Not FoundErrorEnvelope

Service principal not found.

503Service UnavailableErrorEnvelope

Service token exchange unavailable.

Exchange an OIDC token for a short-lived service access token
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/artifact-operations

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

application/json

Hosted artifact operation request.

One of
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
idempotency_keystringrequired
data_base64stringrequired
content_digeststringrequired
media_typestringrequired
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
artifact_uristringrequired
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
source_artifact_uristringrequired
target_principal_idstringrequired
idempotency_keystringrequired
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
artifact_uristringrequired
maximum_bytesinteger>= 1
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
artifact_uristringrequired
expires_in_secondsinteger[1, 300]

Response

200OKany | any | any | any | any

Verified artifact operation evidence.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing artifact operation scope.

404Not FoundErrorEnvelope

Artifact not found.

409ConflictErrorEnvelope

Artifact operation conflict.

413Payload Too LargeErrorEnvelope

Artifact request is too large.

429Too Many RequestsErrorEnvelope

Artifact operation rate limit exceeded.

502Bad GatewayErrorEnvelope

Artifact storage returned an invalid result.

503Service UnavailableErrorEnvelope

Artifact operation is unavailable.

Authorization

BearerAuthhttp (bearer)
Allocate, inspect, or hand off a tenant-owned artifact
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/skills/{publisher}/{name}/run

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

application/json

A purchase of an offered runner.

runnerstring
inputsobject
idempotency_keystring
paymentRunxExecutePurchaseRequest
Show child attributes
idempotencyobjectrequired
Show child attributes
binding_digeststringrequired
keystringrequired
payment_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
purchase_idstringrequired
settlement_familystringrequired
account_paymentobject | object

An account purchase: the quoted purchase its buyer decided on, paid from the account's runx balance or with one of its payment grants.

versionstring

The listing version the buyer priced; a purchase of another is refused.

buyer_keystring

The Ed25519 key that owns the purchase: it signs the purchase's reads and claims.

Parameters

publisherstringrequiredpath

Skill publisher.

namestringrequiredpath

Skill name.

Idempotency-Keystringheader

Stable run and purchase retry key.

Acceptstringheader

Use 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-SIGNATUREstringheader

Optional standard x402 v2 payment payload using bounded standard base64.

Payment-Authorizationstringheader

Optional MPP credential answering one exact quoted WWW-Authenticate challenge. Authorization remains the account bearer token.

X-Runx-Buyer-Signaturestringheader

The 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-Atstringheader

When the request was signed; runx refuses one outside five minutes of its clock.

Response

201CreatedRunxPurchaseRead

The purchase its buyer reads.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

402Payment RequiredX402V2PaymentRequired | object | object & object | ErrorEnvelope

Payment challenge or rail-neutral refusal.

409ConflictErrorEnvelope

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 header

The 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.

Buy a run of a skill runner a seller offers
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/runs

Parameters

qstringquery

Case-insensitive search over run id, skill, actors, and artifact types.

skillstringquery

Exact skill filter.

statusstringquery

Exact hosted lifecycle status filter.

actorstringquery

Exact actor filter derived from submitted resolutions.

artifact_typestringquery

Exact artifact type filter derived from hosted ledger entries.

sincestringquery

Inclusive ISO-8601 lower bound for run creation time.

untilstringquery

Inclusive ISO-8601 upper bound for run creation time.

limitstringquery

Maximum number of runs to return: integer 1–100, default 50.

cursorstringquery

Optional opaque cursor returned by the previous run-list page.

Response

200OKRunListEnvelope

Run list.

400Bad RequestErrorEnvelope

Invalid cursor, limit, or date filter.

401UnauthorizedErrorEnvelope

Unauthorized.

Authorization

BearerAuthhttp (bearer)
List runs for the authenticated principal
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

GET
https://api.runx.ai/v1/runs/diff

Parameters

leftstringquery

Left run id.

rightstringquery

Right run id.

Response

200OKRunDiffEnvelope

Run diff.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Run not found.

Authorization

BearerAuthhttp (bearer)
Diff two hosted runs
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

GET
https://api.runx.ai/v1/purchases/{id}

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

idstringrequiredpath

Purchase id: the purchase id.

X-Runx-Buyer-Signaturestringheader

The 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-Atstringheader

When the request was signed; runx refuses one outside five minutes of its clock.

Response

200OKRunxPurchaseRead

Purchase.

401UnauthorizedErrorEnvelope

Unauthorized, or a signature that is not the key's, here and now.

404Not FoundErrorEnvelope

Purchase not found.

Authorization

BearerAuthhttp (bearer)
BuyerKeyapiKey in header

The 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.

Read one purchase as its buyer: never the seller's run
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

POST
https://api.runx.ai/v1/purchases/{id}/claim

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

application/json

The buyer key's signed claim.

What a buyer sends runx's claim route for a held value (runx.payment.purchase_claim.v1).

claim_urlstringrequired

The endpoint this claim is sent to: a claim is good for one endpoint.

issued_atstringrequired

When the buyer signed; runx refuses a stale claim.

receipt_digeststringrequired

The digest of runx's receipt for the fulfilled purchase, as the purchase gave it: a purchase has none until it is fulfilled.

signaturestringrequired

The buyer's signature over the claim schema, the endpoint, the time and the receipt digest, as stable JSON.

Parameters

idstringrequiredpath

Purchase id: the purchase id.

Response

200OKPurchaseClaimed

What the purchase holds now, with its fields.

400Bad RequestErrorEnvelope

The claim is not shaped as one.

401UnauthorizedErrorEnvelope

The claim is not signed by this purchase's key, here and now.

404Not FoundErrorEnvelope

Purchase not found.

409ConflictErrorEnvelope

The purchase is not key-owned or not fulfilled.

Authorization

BearerAuthhttp (bearer)
BuyerKeyapiKey in header

The 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.

Claim what a purchase a buyer key owns holds
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/purchases/{id}/artifacts/{artifact_uri}

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

idstringrequiredpath

Purchase id: the purchase id.

artifact_uristringrequiredpath

The artifact reference the purchase's result names.

Response

200OKHostedArtifactAccessEvidence

A short-lived read of the artifact.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing artifacts:read scope.

404Not FoundErrorEnvelope

The purchase delivered no such artifact.

Authorization

BearerAuthhttp (bearer)
Read one artifact a fulfilled purchase delivered
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

GET
https://api.runx.ai/v1/runs/{id}

Parameters

idstringrequiredpath

Run id.

Response

200OKRunDetailEnvelope

Run detail.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Run not found.

Authorization

BearerAuthhttp (bearer)
Inspect one run
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

GET
https://api.runx.ai/v1/runs/{id}/requests

Parameters

idstringrequiredpath

Run id.

Response

200OKRunRequestsEnvelope

Run requests.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Run not found.

Authorization

BearerAuthhttp (bearer)
List outstanding requests for a run
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

POST
https://api.runx.ai/v1/runs/{id}/requests/{requestId}/responses

Body

application/json

Run request response.

Canonical prerelease v1 schema for hosted request-response submissions.

One of
approvedbooleanrequired
request_digeststringrequired

The digest runx reported for the request this answers. An answer to a request that has changed since is refused.

payloadanyrequired
request_digeststringrequired

The digest runx reported for the request this answers. An answer to a request that has changed since is refused.

Parameters

idstringrequiredpath

Run id.

requestIdstringrequiredpath

Run request id.

Response

200OKRunRecordedEnvelope

Recorded response.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Run not found.

409ConflictErrorEnvelope

Run conflict.

Authorization

BearerAuthhttp (bearer)
Submit a response to a run request
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/receipts

Requires receipts:read. Pages are ordered by creation time and receipt identity, ascending.

Parameters

cursorstringquery

Opaque next_cursor from the previous page.

limitstringquery

Maximum results: 1–100, default 50.

Response

200OKTenantReceiptSummaryList

Tenant receipt summaries.

400Bad RequestErrorEnvelope

Invalid cursor or limit.

Authorization

BearerAuthhttp (bearer)
List private execution receipt summaries
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

GET
https://api.runx.ai/v1/receipts/{id}

Parameters

idstringrequiredpath

Execution receipt identity.

Response

200OKTenantReceiptSummaryEnvelope

Tenant receipt summary.

404Not FoundErrorEnvelope

Receipt not found for this principal.

Authorization

BearerAuthhttp (bearer)
Read a private execution receipt summary
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

GET
https://api.runx.ai/v1/trust/keys

Returns the public key set used to verify hosted receipt signatures and payment-admission proofs.

Response

200OKPublicTrustRoot

Public trust-root document.

Fetch public trust-root keys
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()
200
{
  "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

GET
https://api.runx.ai/v1/projections/receipts

Returns monotonic public receipt publication and tombstone projections after the supplied cursor.

Parameters

cursorstringquery

Last consumed projection sequence. Omit or pass 0 to read from the beginning.

limitstringquery

Maximum projections to return, between 1 and 500.

Response

200OKPublicReceiptProjectionFeedEnvelope

Public receipt projection page.

400Bad RequestErrorEnvelope

Invalid cursor or limit.

503Service UnavailableErrorEnvelope

Receipt projection feed unavailable.

List the public receipt projection feed
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

GET
https://api.runx.ai/v1/receipts/notarizations/{digest}

Parameters

digeststringrequiredpath

The receipt's digest: its hex, as its link carries it, or with the sha256: prefix.

Response

200OKPublicReceiptNotarization

Public receipt notarization projection.

404Not FoundErrorEnvelope

Receipt not found or unpublished.

503Service UnavailableErrorEnvelope

Receipt notary unavailable.

Inspect one public receipt notarization projection
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

POST
https://api.runx.ai/v1/receipts/notarize

Requires a bearer principal with receipts:write scope.

Body

application/json

Full receipt or digest-only notarization request.

One of
publishboolean
public_claimReceiptPublicClaim
Show child attributes
schemastringrequired
kindstringpayoutfundingjudgmentprofile_updatedeliverysignuprequired
titlestringrequired
venueobjectrequired
Show child attributes
idstringrequired
namestring
urlstring<uri>
subjectobject
Show child attributes
typestringrequired
idstringrequired
labelstring
amountobject
Show child attributes
centsinteger>= 0required
currencystringrequired
source_urlstring<uri>
occurred_atstring<date-time>required
receiptobjectrequired
publishboolean
public_claimReceiptPublicClaim
Show child attributes
schemastringrequired
kindstringpayoutfundingjudgmentprofile_updatedeliverysignuprequired
titlestringrequired
venueobjectrequired
Show child attributes
idstringrequired
namestring
urlstring<uri>
subjectobject
Show child attributes
typestringrequired
idstringrequired
labelstring
amountobject
Show child attributes
centsinteger>= 0required
currencystringrequired
source_urlstring<uri>
occurred_atstring<date-time>required
receipt_rawstringrequired
modestringrequired
publishboolean
public_claimReceiptPublicClaim
Show child attributes
schemastringrequired
kindstringpayoutfundingjudgmentprofile_updatedeliverysignuprequired
titlestringrequired
venueobjectrequired
Show child attributes
idstringrequired
namestring
urlstring<uri>
subjectobject
Show child attributes
typestringrequired
idstringrequired
labelstring
amountobject
Show child attributes
centsinteger>= 0required
currencystringrequired
source_urlstring<uri>
occurred_atstring<date-time>required
digeststringrequired
receipt_idstring

Response

201CreatedReceiptNotaryEnvelope

Receipt notarized.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

413Payload Too LargeErrorEnvelope

Receipt request too large.

422Unprocessable EntityReceiptVerificationFailedEnvelope

Receipt verification failed.

429Too Many RequestsErrorEnvelope

Rate limited.

503Service UnavailableErrorEnvelope

Receipt notary unavailable.

Authorization

BearerAuthhttp (bearer)
Notarize one edge receipt or declared receipt digest
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/receipts/{digest}/unpublish

Parameters

digeststringrequiredpath

Receipt digest, with or without sha256: prefix.

Response

200OKReceiptNotaryEnvelope

Receipt notarization unpublished.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

404Not FoundErrorEnvelope

Receipt not found.

503Service UnavailableErrorEnvelope

Receipt notary unavailable.

Authorization

BearerAuthhttp (bearer)
Hide one public receipt notarization page
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

GET
https://api.runx.ai/v1/signals

Requires signals:read. Returns an ascending page ordered by admission time and observation identity.

Parameters

cursorstringquery

Opaque next_cursor from the previous page.

limitstringquery

Maximum results: 1–100, default 50.

Response

200OKSourceObservationPage

Observation page.

400Bad RequestErrorEnvelope

Invalid page query.

Authorization

BearerAuthhttp (bearer)
Read a tenant's source observations
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

POST
https://api.runx.ai/v1/signals

Requires signals:write. Stores normalized source evidence without execution, triage, or a receipt signature.

Body

application/json

Source event and locator admission policy.

source_eventobjectrequired
Show child attributes
providerstringrequired
source_locatorstringrequired
source_policySourceAdmissionPolicyrequired
Show child attributes
enabledboolean
allowed_providersArray<string>
allowed_sourcesArray<string>
allowed_event_kindsArray<string>

Response

200OKSourceObservationEnvelope

Duplicate delivery.

202AcceptedSourceObservationEnvelope

Observation admitted.

400Bad RequestErrorEnvelope

Invalid request or operator policy fields.

403ForbiddenErrorEnvelope

Source not admitted.

409ConflictErrorEnvelope

Same event identity with changed content.

Authorization

BearerAuthhttp (bearer)
Admit a source observation
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()
Request Body
{
  "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

POST
https://api.runx.ai/webhooks/signals/{provider}

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

providerstringrequiredpath

Configured webhook provider.

Response

200OKSourceObservationEnvelope

Duplicate delivery or Slack challenge.

202AcceptedSourceObservationEnvelope

Observation admitted.

401UnauthorizedErrorEnvelope

Invalid provider signature.

409ConflictErrorEnvelope

Conflicting delivery identity.

Receive an authenticated source webhook
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

POST
https://api.runx.ai/v1/purchases/overview

Response

200OKSellerPurchaseOverviewContract

Typed purchase result.

400Bad RequestErrorEnvelope

Invalid current-V1 request envelope.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing scope, or the purchase is another party's.

429Too Many RequestsErrorEnvelope

Purchase request rate limited.

503Service UnavailableErrorEnvelope

Purchase service unavailable.

Authorization

BearerAuthhttp (bearer)
Summarize purchases sold by the authenticated seller
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

POST
https://api.runx.ai/v1/purchases/list

Body

application/json

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.

cursorstring
limitinteger[1, 100]50

Response

200OKSellerPurchaseList

Typed purchase result.

400Bad RequestErrorEnvelope

Invalid current-V1 request envelope.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing scope, or the purchase is another party's.

429Too Many RequestsErrorEnvelope

Purchase request rate limited.

503Service UnavailableErrorEnvelope

Purchase service unavailable.

Authorization

BearerAuthhttp (bearer)
List purchases sold by the authenticated seller
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/purchases/get

Body

application/json

Current-V1 purchase read request.

purchase_idstringrequired

Response

200OKobject | object

Typed purchase result.

400Bad RequestErrorEnvelope

Invalid current-V1 request envelope.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing scope, or the purchase is another party's.

429Too Many RequestsErrorEnvelope

Purchase request rate limited.

503Service UnavailableErrorEnvelope

Purchase service unavailable.

Authorization

BearerAuthhttp (bearer)
Read an owned purchase
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/purchases/cancel

Body

application/json

Current-V1 purchase cancellation request.

idempotencyobjectrequired
Show child attributes
binding_digeststringrequired
keystringrequired
purchase_idstringrequired

Response

200OKobject | object

Typed purchase result.

400Bad RequestErrorEnvelope

Invalid current-V1 request envelope.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing scope, or the purchase is another party's.

429Too Many RequestsErrorEnvelope

Purchase request rate limited.

503Service UnavailableErrorEnvelope

Purchase service unavailable.

Authorization

BearerAuthhttp (bearer)
Cancel an owned purchase
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/accounts

Body

application/json

Optional account display metadata.

display_namestring

Response

201CreatedAccountCreatedEnvelope

Created principal and one-time credential.

503Service UnavailableErrorEnvelope

Self-serve identity is not configured.

Create a self-serve hosted principal and credential
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/billing/stripe/setup-intents

Body

application/json

Stripe setup idempotency request.

idempotency_keystring

Response

201CreatedStripeSetupIntentEnvelope

Stripe setup intent.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

503Service UnavailableErrorEnvelope

Stripe setup is not configured.

Authorization

BearerAuthhttp (bearer)
Create a Stripe SetupIntent for self-serve hosted topup
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/billing/stripe/setup-intents/{id}/confirm

Parameters

idstringrequiredpath

Stripe SetupIntent id.

Response

200OKStripePaymentMethodEnvelope

Verified Stripe payment method.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Setup intent does not belong to this principal.

409ConflictErrorEnvelope

Setup intent is not complete.

503Service UnavailableErrorEnvelope

Stripe setup is not configured.

Authorization

BearerAuthhttp (bearer)
Verify a completed Stripe SetupIntent and store the payment method
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

POST
https://api.runx.ai/v1/billing/topup

Body

application/json

Credit topup request.

amountinteger>= 1required
idempotency_keystring

Response

200OKBillingTopupEnvelope

Idempotent topup replay.

201CreatedBillingTopupEnvelope

Topup applied.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

402Payment RequiredErrorEnvelope

Stripe charge refused.

503Service UnavailableErrorEnvelope

Topup is not configured.

Authorization

BearerAuthhttp (bearer)
Top up hosted credits through the configured Stripe rail
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/billing/balance

Response

200OKBillingBalanceEnvelope

Projected credit balance.

401UnauthorizedErrorEnvelope

Unauthorized.

503Service UnavailableErrorEnvelope

Billing is not configured.

Authorization

BearerAuthhttp (bearer)
Project hosted credit balance from sealed receipts
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

GET
https://api.runx.ai/v1/billing/entitlements

Response

200OKEntitlementListEnvelope

Entitlement records.

401UnauthorizedErrorEnvelope

Unauthorized.

503Service UnavailableErrorEnvelope

Entitlements are not configured.

Authorization

BearerAuthhttp (bearer)
List flat entitlement add-on records for the current principal
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

PUT
https://api.runx.ai/v1/billing/entitlements/{addon}

Body

application/json

Entitlement subscription reference.

principal_idstring
subscription_referencestringrequired

Parameters

addonstringrequiredpath

Entitlement add-on id.

Response

201CreatedEntitlementEnvelope

Entitlement record.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

503Service UnavailableErrorEnvelope

Entitlements are not configured.

Authorization

BearerAuthhttp (bearer)
Create or update one flat entitlement add-on record
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/payments/connect/onboarding/start

Body

application/json

Seller onboarding link request.

refresh_urlstring<uri>required
return_urlstring<uri>required
seller_principal_idstring
emailstring
countrystring

Response

200OKStripeConnectOnboardingStartEnvelope

Stripe Connect onboarding URL.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

503Service UnavailableErrorEnvelope

Stripe Connect onboarding is not configured.

Authorization

BearerAuthhttp (bearer)
Start Stripe Connect seller onboarding for the authenticated tenant
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/payments/connect/onboarding/status

Response

200OKStripeConnectOnboardingStatusEnvelope

Stripe Connect seller status.

401UnauthorizedErrorEnvelope

Unauthorized.

503Service UnavailableErrorEnvelope

Stripe Connect onboarding is not configured.

Authorization

BearerAuthhttp (bearer)
Read Stripe Connect seller onboarding status for the authenticated tenant
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

POST
https://api.runx.ai/v1/payments/connect/fund

Body

application/json

Marketplace posting funding request.

principal_idstring
idempotency_keystringrequired
posting_idstringrequired
payer_refstringrequired
payee_refstringrequired
currencystringrequired
price_centsinteger>= 1required
fee_centsinteger>= 0required
claim_limitinteger>= 1required
funded_claim_slotsinteger>= 1required
quote_digeststring
quote_expires_atstring<date-time>
refund_policy_refstring

Response

200OKMarketplaceReceiptEnvelope

Sealed marketplace funding receipt.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

409ConflictErrorEnvelope

Refund or settlement policy refusal.

503Service UnavailableErrorEnvelope

Stripe Connect marketplace is not configured.

Authorization

BearerAuthhttp (bearer)
Fund a marketplace posting through tenant Stripe Connect
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/payments/connect/payout

Body

application/json

Marketplace claim payout request.

principal_idstring
idempotency_keystringrequired
posting_idstringrequired
claim_idstringrequired
destination_account_idstringrequired
payee_refstringrequired
payer_refstring
currencystringrequired
amount_centsinteger>= 1required
source_funding_intent_idstringrequired
settled_atstring<date-time>required

Response

200OKMarketplaceReceiptEnvelope

Sealed marketplace payout receipt.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

409ConflictErrorEnvelope

Settlement policy refusal.

503Service UnavailableErrorEnvelope

Stripe Connect marketplace is not configured.

Authorization

BearerAuthhttp (bearer)
Pay a marketplace claim through tenant Stripe Connect
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/payments/connect/refund

Body

application/json

Marketplace funding refund or payout reversal request.

One of
any
any

Response

200OKMarketplaceReceiptEnvelope

Sealed marketplace refund receipt.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Receipt not found.

409ConflictErrorEnvelope

Refund policy refusal.

503Service UnavailableErrorEnvelope

Stripe Connect marketplace is not configured.

Authorization

BearerAuthhttp (bearer)
Refund marketplace funding or reverse a marketplace payout through tenant Stripe Connect
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

POST
https://api.runx.ai/v1/payments/paypal/orders

Body

application/json

Marketplace funding terms plus optional return URLs.

principal_idstring
idempotency_keystringrequired
posting_idstringrequired
payer_refstringrequired
payee_refstringrequired
currencystringrequired
price_centsinteger>= 1required
fee_centsinteger>= 0required
claim_limitinteger>= 1required
funded_claim_slotsinteger>= 1required
quote_digeststring
quote_expires_atstring<date-time>
refund_policy_refstring
return_urlstring<uri>
cancel_urlstring<uri>

Response

200OKPayPalOrderEnvelope

PayPal order and approval URL.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

502Bad GatewayErrorEnvelope

PayPal order creation failed.

503Service UnavailableErrorEnvelope

PayPal marketplace funding is not configured.

Authorization

BearerAuthhttp (bearer)
Create a hosted PayPal checkout order for marketplace funding
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/payments/paypal/capture

Body

application/json

Marketplace funding terms plus approved PayPal order id.

principal_idstring
idempotency_keystringrequired
posting_idstringrequired
payer_refstringrequired
payee_refstringrequired
currencystringrequired
price_centsinteger>= 1required
fee_centsinteger>= 0required
claim_limitinteger>= 1required
funded_claim_slotsinteger>= 1required
quote_digeststring
quote_expires_atstring<date-time>
refund_policy_refstring
order_idstringrequired

Response

200OKMarketplaceReceiptEnvelope

Sealed marketplace funding receipt.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

409ConflictErrorEnvelope

Settlement policy refusal.

502Bad GatewayErrorEnvelope

PayPal capture failed.

503Service UnavailableErrorEnvelope

PayPal marketplace funding is not configured.

Authorization

BearerAuthhttp (bearer)
Capture a hosted PayPal order and seal a marketplace funding receipt
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/payments/paypal/refund

Body

application/json

Marketplace PayPal funding refund request.

funding_receipt_idstringrequired
idempotency_keystringrequired
amount_centsinteger>= 1required
refund_basisstringrequired
reasonstringrequired
worker_slots_refundedinteger>= 0required
worker_refunded_centsinteger>= 0required
fee_refunded_centsinteger>= 0required
policy_decision_refstring

Response

200OKMarketplaceReceiptEnvelope

Sealed marketplace refund receipt.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Receipt not found.

409ConflictErrorEnvelope

Refund policy refusal.

502Bad GatewayErrorEnvelope

PayPal refund failed.

503Service UnavailableErrorEnvelope

PayPal marketplace funding is not configured.

Authorization

BearerAuthhttp (bearer)
Refund PayPal marketplace funding and seal a refund receipt
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/payments/x402/quote

Body

application/json

x402 marketplace posting quote request.

resourcestringrequired
descriptionstring
price_centsinteger>= 1required
fee_centsinteger>= 0required
funded_claim_slotsinteger>= 1required
max_timeout_secondsinteger>= 1

Response

200OKX402QuoteEnvelope

Canonical x402 payment requirements.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

503Service UnavailableErrorEnvelope

Tenant x402 marketplace rail is not configured.

Authorization

BearerAuthhttp (bearer)
Quote a marketplace posting's x402 payment requirements
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/payments/x402/targets

Response

200OKX402SettlementTargetsEnvelope

Configured x402 settlement targets.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

404Not FoundErrorEnvelope

Tenant x402 credential is not configured.

503Service UnavailableErrorEnvelope

x402 target management is not configured.

Authorization

BearerAuthhttp (bearer)
Read tenant x402 settlement targets
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

PUT
https://api.runx.ai/v1/payments/x402/targets

Body

application/json

x402 settlement target replacement.

targetsArray<X402SettlementTarget>required
Show child attributes
networkstringbase-sepoliabaserequired
assetstringrequired
pay_tostringrequired
asset_decimalsinteger>= 0required
eip712_domainobject

Present 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.

Show child attributes
namestringrequired
versionstringrequired
recommendedboolean

Response

200OKX402SettlementTargetsEnvelope

Configured x402 settlement targets.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

404Not FoundErrorEnvelope

Tenant x402 credential is not configured.

409ConflictErrorEnvelope

Tenant credential is not BYO Coinbase CDP.

503Service UnavailableErrorEnvelope

x402 target management is not configured.

Authorization

BearerAuthhttp (bearer)
Replace tenant x402 settlement targets without rotating CDP secrets
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/payments/x402/fund

Body

application/json

x402 marketplace posting funding request.

principal_idstring
idempotency_keystringrequired
posting_idstringrequired
payer_refstringrequired
payee_refstringrequired
currencystringrequired
price_centsinteger>= 1required
fee_centsinteger>= 0required
claim_limitinteger>= 1required
funded_claim_slotsinteger>= 1required
quote_digeststring
quote_expires_atstring<date-time>
refund_policy_refstring
payment_payloadX402V2PaymentPayloadrequired
Show child attributes
acceptedobjectrequired
Show child attributes
amountstringrequired
assetstringrequired
extraobject | null
maxTimeoutSecondsnumberrequired
networkstringrequired
payTostringrequired
schemestringrequired
extensionsobject | null
payloadobjectrequired
resourceobject | null
x402Versionintegerrequired
payment_requirementsX402V2PaymentRequirementsrequired
Show child attributes
amountstringrequired
assetstringrequired
extraobject | null
maxTimeoutSecondsnumberrequired
networkstringrequired
payTostringrequired
schemestringrequired

Response

200OKMarketplaceReceiptEnvelope

Sealed marketplace funding receipt.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

402Payment RequiredErrorEnvelope

x402 payment verification failed.

503Service UnavailableErrorEnvelope

Tenant x402 marketplace rail is not configured.

Authorization

BearerAuthhttp (bearer)
Fund a marketplace posting through tenant Coinbase CDP x402
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/payments/x402/refund

Body

application/json

Linked x402 marketplace funding refund request.

funding_receipt_idstringrequired
idempotency_keystringrequired
amount_centsinteger>= 1required
refund_basisstringrequired
reasonstringrequired
worker_slots_refundedinteger>= 0required
worker_refunded_centsinteger>= 0required
fee_refunded_centsinteger>= 0required
policy_decision_refstring

Response

200OKMarketplaceReceiptEnvelope

Sealed x402 marketplace refund receipt.

202AcceptedX402SettlementPendingEnvelope

x402 refund is reserved and still settling.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Funding receipt not found.

409ConflictErrorEnvelope

Refund policy or provider-evidence refusal.

503Service UnavailableErrorEnvelope

x402 refund rail is unavailable.

Authorization

BearerAuthhttp (bearer)
Refund x402 marketplace funding to its verified payer
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/payments/x402/payout

Body

application/json

x402 marketplace claim payout request.

idempotency_keystringrequired
posting_idstringrequired
claim_idstringrequired
worker_principal_idstringrequired
railstringrequired
payout_identity_hashstringrequired
payee_refstringrequired
payer_refstring
currencystringrequired
amount_centsinteger>= 1required
source_funding_intent_idstringrequired
payout_basis_refstring
settled_atstring<date-time>required

Response

200OKMarketplaceReceiptEnvelope

Sealed marketplace payout receipt.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

409ConflictErrorEnvelope

Settlement policy refusal.

503Service UnavailableErrorEnvelope

Tenant x402 payout rail is not configured.

Authorization

BearerAuthhttp (bearer)
Pay a marketplace claim through tenant Coinbase CDP x402
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/payments/x402/float-payout

Body

application/json

x402 tenant-float payout request.

idempotency_keystringrequired
posting_idstringrequired
claim_idstringrequired
worker_principal_idstringrequired
railstringrequired
payout_identity_hashstringrequired
payee_refstringrequired
payer_refstring
currencystringrequired
amount_centsinteger>= 1required
source_funding_intent_idstring
payout_basis_refstring
settled_atstring<date-time>required

Response

200OKMarketplaceReceiptEnvelope

Sealed marketplace payout receipt.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

409ConflictErrorEnvelope

Settlement policy refusal.

503Service UnavailableErrorEnvelope

Tenant x402 payout rail is not configured.

Authorization

BearerAuthhttp (bearer)
Pay a marketplace claim from tenant x402 float
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/payments/x402/worker-wallet

Body

application/json

Worker x402 payout wallet registration.

worker_principal_idstringrequired
railstringrequired
addressstringrequired

Response

200OKX402WorkerWalletEnvelope

Registered x402 worker wallet.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Payment write scope is required.

409ConflictErrorEnvelope

Payout wallet is registered to another worker.

503Service UnavailableErrorEnvelope

x402 worker-wallet registry is not configured.

Authorization

BearerAuthhttp (bearer)
Register a worker payout wallet for x402 marketplace settlement
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/purchases/overview

Response

200OKSellerPurchaseOverviewContract

Typed purchase result.

400Bad RequestErrorEnvelope

Invalid current-V1 request envelope.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing scope, or the purchase is another party's.

429Too Many RequestsErrorEnvelope

Purchase request rate limited.

503Service UnavailableErrorEnvelope

Purchase service unavailable.

Authorization

BearerAuthhttp (bearer)
Summarize purchases sold by the authenticated seller
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

POST
https://api.runx.ai/v1/purchases/list

Body

application/json

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.

cursorstring
limitinteger[1, 100]50

Response

200OKSellerPurchaseList

Typed purchase result.

400Bad RequestErrorEnvelope

Invalid current-V1 request envelope.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing scope, or the purchase is another party's.

429Too Many RequestsErrorEnvelope

Purchase request rate limited.

503Service UnavailableErrorEnvelope

Purchase service unavailable.

Authorization

BearerAuthhttp (bearer)
List purchases sold by the authenticated seller
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/purchases/get

Body

application/json

Current-V1 purchase read request.

purchase_idstringrequired

Response

200OKobject | object

Typed purchase result.

400Bad RequestErrorEnvelope

Invalid current-V1 request envelope.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing scope, or the purchase is another party's.

429Too Many RequestsErrorEnvelope

Purchase request rate limited.

503Service UnavailableErrorEnvelope

Purchase service unavailable.

Authorization

BearerAuthhttp (bearer)
Read an owned purchase
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/purchases/cancel

Body

application/json

Current-V1 purchase cancellation request.

idempotencyobjectrequired
Show child attributes
binding_digeststringrequired
keystringrequired
purchase_idstringrequired

Response

200OKobject | object

Typed purchase result.

400Bad RequestErrorEnvelope

Invalid current-V1 request envelope.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing scope, or the purchase is another party's.

429Too Many RequestsErrorEnvelope

Purchase request rate limited.

503Service UnavailableErrorEnvelope

Purchase service unavailable.

Authorization

BearerAuthhttp (bearer)
Cancel an owned purchase
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/purchases/{id}

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

idstringrequiredpath

Purchase id: the purchase id.

X-Runx-Buyer-Signaturestringheader

The 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-Atstringheader

When the request was signed; runx refuses one outside five minutes of its clock.

Response

200OKRunxPurchaseRead

Purchase.

401UnauthorizedErrorEnvelope

Unauthorized, or a signature that is not the key's, here and now.

404Not FoundErrorEnvelope

Purchase not found.

Authorization

BearerAuthhttp (bearer)
BuyerKeyapiKey in header

The 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.

Read one purchase as its buyer: never the seller's run
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

POST
https://api.runx.ai/v1/purchases/{id}/claim

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

application/json

The buyer key's signed claim.

What a buyer sends runx's claim route for a held value (runx.payment.purchase_claim.v1).

claim_urlstringrequired

The endpoint this claim is sent to: a claim is good for one endpoint.

issued_atstringrequired

When the buyer signed; runx refuses a stale claim.

receipt_digeststringrequired

The digest of runx's receipt for the fulfilled purchase, as the purchase gave it: a purchase has none until it is fulfilled.

signaturestringrequired

The buyer's signature over the claim schema, the endpoint, the time and the receipt digest, as stable JSON.

Parameters

idstringrequiredpath

Purchase id: the purchase id.

Response

200OKPurchaseClaimed

What the purchase holds now, with its fields.

400Bad RequestErrorEnvelope

The claim is not shaped as one.

401UnauthorizedErrorEnvelope

The claim is not signed by this purchase's key, here and now.

404Not FoundErrorEnvelope

Purchase not found.

409ConflictErrorEnvelope

The purchase is not key-owned or not fulfilled.

Authorization

BearerAuthhttp (bearer)
BuyerKeyapiKey in header

The 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.

Claim what a purchase a buyer key owns holds
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/purchases/{id}/artifacts/{artifact_uri}

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

idstringrequiredpath

Purchase id: the purchase id.

artifact_uristringrequiredpath

The artifact reference the purchase's result names.

Response

200OKHostedArtifactAccessEvidence

A short-lived read of the artifact.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing artifacts:read scope.

404Not FoundErrorEnvelope

The purchase delivered no such artifact.

Authorization

BearerAuthhttp (bearer)
Read one artifact a fulfilled purchase delivered
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

POST
https://api.runx.ai/v1/connect/tickets

Body

application/json

Connect ticket request.

providerstringrequired
scopesArray<string>
scope_familystring
authority_kindstringread_onlyconstructivedestructive
target_repostring
target_locatorstring
return_tostring<uri>required

Response

200OKConnectTicketEnvelope

Created connect ticket.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

Authorization

BearerAuthhttp (bearer)
Create a signed connect ticket
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/grants

Response

200OKGrantListEnvelope

Grants.

401UnauthorizedErrorEnvelope

Unauthorized.

Authorization

BearerAuthhttp (bearer)
List grants
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

DELETE
https://api.runx.ai/v1/grants/{id}

Parameters

idstringrequiredpath

Grant id.

Response

200OKGrantRevokedEnvelope

Revoked grant.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Grant not found.

Authorization

BearerAuthhttp (bearer)
Revoke one grant
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

POST
https://api.runx.ai/v1/provider-operations

Body

application/json

Grant and fixed provider operation input.

connector_bindingConnectorBindingrequired

An 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.

Show child attributes
connectorstringrequired
manifest_digeststringrequired
connector_digeststringrequired
grant_idstringrequired
operationstringrequired
operation_digeststringrequired

The digest of the connector operation the caller admitted. Cloud refuses one that is not its manifest's with operation_contract_mismatch.

targetstringrequired

Exact 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.

inputobject
accessstringreadmutate

Optional caller assertion checked against the connector manifest's operation before dispatch.

Response

200OKProviderOperationResultEnvelope

Provider operation result.

400Bad RequestErrorEnvelope

Invalid or unsupported operation request.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Grant or binding does not authorize the operation.

404Not FoundErrorEnvelope

Grant not found.

409ConflictErrorEnvelope

Operation unavailable, or admitted under another contract.

Authorization

BearerAuthhttp (bearer)
Invoke one grant-bound governed provider operation
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/provider-requests

Body

application/json

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_bindingConnectorBindingrequired

An 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.

Show child attributes
connectorstringrequired
manifest_digeststringrequired
connector_digeststringrequired
grant_idstringrequired
operationstringrequired
operation_digeststringrequired
implementation_digeststringrequired
inputobjectrequired
idempotency_keystring
requeststringrequired
iteminteger>= 0

The element of a repeated request, by position.

responsesobject

The write's decoded answer, by request id, for a checking read whose request binds it. Accepted only for checking reads.

Response

200OKProviderRequestAnswer

The provider's answer, whole.

400Bad RequestErrorEnvelope

Invalid request or input; nothing was sent.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Grant or binding does not authorize the operation; nothing was sent.

404Not FoundErrorEnvelope

Grant not found.

409ConflictErrorEnvelope

Operation admitted under another contract; nothing was sent.

503Service UnavailableErrorEnvelope

The request may have been sent; the outcome is unknown.

Authorization

BearerAuthhttp (bearer)
Send one declared request of a grant-bound connector operation
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/connect/sessions

Body

application/json

Connect session request.

providerstringrequired
scopesArray<string>
scope_familystring
authority_kindstringread_onlyconstructivedestructive
target_repostring
target_locatorstring
credential_grant_idstring

An active verified BYO grant whose retained credential material will be reused for this new, independently scoped grant. Mutually exclusive with binding_id.

Response

200OKConnectSessionCompleteEnvelope

Existing grant reused.

201CreatedConnectSessionPendingEnvelope

OAuth required.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

409ConflictConnectSessionUnavailableEnvelope

This deployment opens no hosted session for the requested provider.

503Service UnavailableConnectSessionUnavailableEnvelope

Hosted credential sessions need the credential store, which is not configured.

Authorization

BearerAuthhttp (bearer)
Create a connect session
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/connect/sessions/{id}

Parameters

idstringrequiredpath

Session id.

Response

200OKobject | object | object | object

Connect session.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Flow not found.

Authorization

BearerAuthhttp (bearer)
Inspect one connect session
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

GET
https://api.runx.ai/v1/provider-references

Response

200OKProviderReferenceListEnvelope

Provider references.

401UnauthorizedErrorEnvelope

Unauthorized.

Authorization

BearerAuthhttp (bearer)
List active provider credential references
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

DELETE
https://api.runx.ai/v1/provider-references/{provider_reference}

Parameters

provider_referencestringrequiredpath

Provider reference.

Response

200OKProviderReferenceRevokedEnvelope

Revoked provider reference.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Provider reference not found.

Authorization

BearerAuthhttp (bearer)
Revoke one provider credential reference
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

GET
https://api.runx.ai/v1/system/metrics

Response

200OKHostedApiMetricsEnvelope

Hosted API request metrics.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

Authorization

BearerAuthhttp (bearer)
Inspect hosted API request metrics
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

PUT
https://api.runx.ai/v1/billing/entitlements/{addon}

Body

application/json

Entitlement subscription reference.

principal_idstring
subscription_referencestringrequired

Parameters

addonstringrequiredpath

Entitlement add-on id.

Response

201CreatedEntitlementEnvelope

Entitlement record.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

503Service UnavailableErrorEnvelope

Entitlements are not configured.

Authorization

BearerAuthhttp (bearer)
Create or update one flat entitlement add-on record
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/admin/registry/publish

Body

application/json

Registry publish request.

publisherstringrequired

An existing publisher's namespace; administrative publication never creates one.

versionstring
markdownstringrequired
profile_documentstring
package_filesArray<HostedSkillPackageFile>
Show child attributes
pathstringrequired

Relative allowlisted package path. Root SKILL.md and run.yaml use their dedicated fields.

contentstringrequired

UTF-8 file content.

trust_tierstringfirst_partyverifiedcommunity

The verification authority's admission for this version; community when absent.

harnessHarnessPublishSummaryrequired
Show child attributes
statusstringpassedfailednot_declaredrequired
case_countintegerrequired
assertion_error_countintegerrequired
assertion_errorsArray<string>required
case_namesArray<string>required
receipt_idsArray<string>required
graph_case_countinteger
evidence_idstring
evidence_urlstring<uri>

Response

200OKAdminRegistryPublishEnvelope

Published registry skill.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

503Service UnavailableErrorEnvelope

Registry store unavailable.

Authorization

BearerAuthhttp (bearer)
Publish a registry skill through the hosted admin surface
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/admin/registry/publishers

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

application/json

Publisher to provision.

slugstringrequired
kindstringorguserteamrequired
display_namestringrequired
verifiedboolean
principalsArray<string>required

Response

201CreatedAdminRegistryPublisherResponse

Provisioned publisher.

400Bad RequestErrorEnvelope

Validation error, or the slug is taken.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

503Service UnavailableErrorEnvelope

Registry publishers unavailable.

Authorization

BearerAuthhttp (bearer)
Provision a publisher namespace and authorize its principals
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/admin/registry/publishers/{slug}/principals

Body

application/json

Principal to authorize.

principal_idstringrequired

Parameters

slugstringrequiredpath

Publisher namespace.

Response

200OKAdminRegistryPublisherPrincipalResponse

Authorized principal.

400Bad RequestErrorEnvelope

Validation error, or no such publisher.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

503Service UnavailableErrorEnvelope

Registry publishers unavailable.

Authorization

BearerAuthhttp (bearer)
Authorize one more principal to publish for a publisher
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()
Request Body
{
  "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

PUT
https://api.runx.ai/v1/admin/registry/publishers/{slug}/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

application/json

The mark's SHA-256.

mark_digeststringrequired

Parameters

slugstringrequiredpath

Publisher namespace.

Response

200OKAdminRegistryPublisherResponse

The publisher, showing the image.

400Bad RequestErrorEnvelope

The request names no mark.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

404Not FoundErrorEnvelope

No such publisher, or no public version ships that mark.

503Service UnavailableErrorEnvelope

Registry publishers unavailable.

Authorization

BearerAuthhttp (bearer)
Show a published mark as a publisher's image
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()
Request Body
{
  "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

DELETE
https://api.runx.ai/v1/admin/registry/publishers/{slug}/image

Parameters

slugstringrequiredpath

Publisher namespace.

Response

200OKAdminRegistryPublisherResponse

The publisher, without an image.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

404Not FoundErrorEnvelope

No such publisher.

503Service UnavailableErrorEnvelope

Registry publishers unavailable.

Authorization

BearerAuthhttp (bearer)
Clear a publisher's image
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

PATCH
https://api.runx.ai/v1/admin/registry/publishers/{slug}

The verification authority's profile route: display name, description, links and verified. A field the request omits is kept.

Body

application/json

The profile fields to change.

display_namestring
descriptionstring | null
linksArray<PublicPublisherProfileLink>
Show child attributes
labelstringrequired
urlstring<uri>required
verifiedboolean

Parameters

slugstringrequiredpath

Publisher namespace.

Response

200OKAdminRegistryPublisherResponse

The changed publisher.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

404Not FoundErrorEnvelope

No such publisher.

503Service UnavailableErrorEnvelope

Registry publishers unavailable.

Authorization

BearerAuthhttp (bearer)
Change a publisher's profile and verification
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/admin/approvals

Parameters

principal_idstringquery

Optional principal id filter.

skillstringquery

Optional skill filter.

routestringquery

Optional approval route id filter.

limitstringquery

Approval rows per page: integer from 1 to 200, default 50.

cursorstringquery

Opaque 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

200OKApprovalInboxEnvelope

Approval inbox.

400Bad RequestErrorEnvelope

Invalid page limit or approval cursor.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

Authorization

BearerAuthhttp (bearer)
Inspect the hosted approval inbox across principals
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

POST
https://api.runx.ai/v1/admin/public/evidence

Body

application/json

Public evidence ingestion request.

eventsArray<PublicEvidenceInput>required
Show child attributes
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
idstring

Response

202AcceptedPublicEvidenceIngestEnvelope

Stored public evidence events.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

503Service UnavailableErrorEnvelope

Public evidence store unavailable.

Authorization

BearerAuthhttp (bearer)
Append public website evidence events
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/admin/runs

Parameters

principal_idstringquery

Filter by principal id.

qstringquery

Case-insensitive search over run id, skill, actors, and artifact types.

skillstringquery

Exact skill filter.

statusstringquery

Exact hosted lifecycle status filter.

actorstringquery

Exact actor filter derived from submitted resolutions.

artifact_typestringquery

Exact artifact type filter derived from hosted ledger entries.

sincestringquery

Inclusive ISO-8601 lower bound for run creation time.

untilstringquery

Inclusive ISO-8601 upper bound for run creation time.

limitstringquery

Maximum number of runs to return: integer 1–100, default 50.

cursorstringquery

Optional opaque cursor returned by the previous run-list page.

Response

200OKRunListEnvelope

Run list.

400Bad RequestErrorEnvelope

Invalid cursor, limit, or date filter.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

Authorization

BearerAuthhttp (bearer)
List runs across principals
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

GET
https://api.runx.ai/v1/admin/runs/{id}

Parameters

idstringrequiredpath

Run id.

Response

200OKRunDetailEnvelope

Run detail.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

404Not FoundErrorEnvelope

Run not found.

Authorization

BearerAuthhttp (bearer)
Inspect one run across principals
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

POST
https://api.runx.ai/v1/connectors

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

application/json

Connector package.

versionstring
filesArray<PublicPackageFile>required
Show child attributes
pathstringrequired
contentstringrequired

Response

200OKPublicConnectorPublishResponse

These files were already published under this version.

201CreatedPublicConnectorPublishResponse

Published connector version.

400Bad RequestErrorEnvelope

Invalid connector package.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing connectors:write, a namespace the principal may not publish in, or a name that does not fit its namespace.

409ConflictErrorEnvelope

The version exists with other files.

413Payload Too LargeErrorEnvelope

The package is too large.

503Service UnavailableErrorEnvelope

Hosted registry unavailable.

Authorization

BearerAuthhttp (bearer)
Publish a connector to the hosted registry
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/package

A withdrawn version answers with its stored files, signed over its preserved name, and withdrawn_at; nothing installs it.

Parameters

namespacestringrequiredpath

The connector's namespace: its whole name when it has one segment.

versionstringrequiredpath

Registry version label.

Response

200OKPublicConnectorPackageResponse

Connector package.

404Not FoundErrorEnvelope

Connector version not found.

503Service UnavailableErrorEnvelope

Hosted registry unavailable.

Read one connector version's files and signed manifest, as install verifies them
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

GET
https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/package

A withdrawn version answers with its stored files, signed over its preserved name, and withdrawn_at; nothing installs it.

Parameters

namespacestringrequiredpath

The connector's namespace: its whole name when it has one segment.

surfacestringrequiredpath

The surface under the namespace.

versionstringrequiredpath

Registry version label.

Response

200OKPublicConnectorPackageResponse

Connector package.

404Not FoundErrorEnvelope

Connector version not found.

503Service UnavailableErrorEnvelope

Hosted registry unavailable.

Read one connector version's files and signed manifest, as install verifies them
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

GET
https://api.runx.ai/v1/connectors/{namespace}/versions/{version}/connector.yaml

The stored bytes, withdrawn or not; the ETag is their SHA-256, not the native manifest digest of the parsed manifest.

Parameters

namespacestringrequiredpath

The connector's namespace: its whole name when it has one segment.

versionstringrequiredpath

Registry version label.

Response

200OKstring

Connector manifest source.

404Not FoundErrorEnvelope

Connector version not found.

503Service UnavailableErrorEnvelope

Hosted registry unavailable.

Download one connector version's manifest bytes
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

GET
https://api.runx.ai/v1/connectors/{namespace}/{surface}/versions/{version}/connector.yaml

The stored bytes, withdrawn or not; the ETag is their SHA-256, not the native manifest digest of the parsed manifest.

Parameters

namespacestringrequiredpath

The connector's namespace: its whole name when it has one segment.

surfacestringrequiredpath

The surface under the namespace.

versionstringrequiredpath

Registry version label.

Response

200OKstring

Connector manifest source.

404Not FoundErrorEnvelope

Connector version not found.

503Service UnavailableErrorEnvelope

Hosted registry unavailable.

Download one connector version's manifest bytes
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

POST
https://api.runx.ai/v1/skills

Publishes one governed skill markdown document under a publisher the signed-in principal is authorized for. The caller cannot set the trust tier.

Body

application/json

Hosted skill publish payload.

markdownstringrequired

Complete SKILL.md document, including frontmatter.

profile_documentstring

Optional run.yaml profile document published with the skill.

versionstring

Optional version or content ref. If omitted, the registry derives one from content.

publisherstring

The 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.

Show child attributes
pathstringrequired

Relative allowlisted package path. Root SKILL.md and run.yaml use their dedicated fields.

contentstringrequired

UTF-8 file content.

Response

200OKHostedSkillPublishEnvelope

Published hosted skill.

400Bad RequestErrorEnvelope

Invalid skill package.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing publish scope.

409ConflictErrorEnvelope

Skill version conflict.

503Service UnavailableErrorEnvelope

Hosted registry unavailable.

Authorization

BearerAuthhttp (bearer)
Publish a skill to the hosted registry
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()
Request Body
{
  "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

PATCH
https://api.runx.ai/v1/publishers/{slug}

A principal authorized to publish for the namespace changes its display name, description and links. Verification is the verification authority's alone.

Body

application/json

The profile fields to change.

display_namestring
descriptionstring | null
linksArray<PublicPublisherProfileLink>
Show child attributes
labelstringrequired
urlstring<uri>required

Parameters

slugstringrequiredpath

Publisher namespace.

Response

200OKAdminRegistryPublisherResponse

The changed publisher.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing a publishing scope.

404Not FoundErrorEnvelope

No publisher this principal publishes for.

503Service UnavailableErrorEnvelope

Registry publishers unavailable.

Authorization

BearerAuthhttp (bearer)
Change your publisher's profile
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/skills/{publisher}/{name}/report

Records one authenticated report against a resolved skill version. Reports inform moderation; they are not trust evidence.

Body

application/json

Public skill report payload.

versionstring

Optional skill version to report. If omitted, the latest public version is reported.

reasonstringspammalwareunsafe_authoritymisleadingrightsotherrequired
detailstring

Optional reporter detail. Stored for moderation review, never used as trust evidence.

Parameters

publisherstringrequiredpath

Publisher namespace.

namestringrequiredpath

Skill name or name@version.

Response

200OKHostedSkillReportEnvelope

Duplicate report already recorded.

201CreatedHostedSkillReportEnvelope

Skill report recorded.

400Bad RequestErrorEnvelope

Invalid report payload.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing report scope.

404Not FoundErrorEnvelope

Skill not found.

429Too Many RequestsErrorEnvelope

Report rate limit exceeded.

503Service UnavailableErrorEnvelope

Hosted registry unavailable.

Authorization

BearerAuthhttp (bearer)
Report a public registry skill for moderation review
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()
Request Body
{
  "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

POST
https://api.runx.ai/v1/artifact-operations

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

application/json

Hosted artifact operation request.

One of
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
idempotency_keystringrequired
data_base64stringrequired
content_digeststringrequired
media_typestringrequired
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
artifact_uristringrequired
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
source_artifact_uristringrequired
target_principal_idstringrequired
idempotency_keystringrequired
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
artifact_uristringrequired
maximum_bytesinteger>= 1
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
artifact_uristringrequired
expires_in_secondsinteger[1, 300]

Response

200OKany | any | any | any | any

Verified artifact operation evidence.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing artifact operation scope.

404Not FoundErrorEnvelope

Artifact not found.

409ConflictErrorEnvelope

Artifact operation conflict.

413Payload Too LargeErrorEnvelope

Artifact request is too large.

429Too Many RequestsErrorEnvelope

Artifact operation rate limit exceeded.

502Bad GatewayErrorEnvelope

Artifact storage returned an invalid result.

503Service UnavailableErrorEnvelope

Artifact operation is unavailable.

Authorization

BearerAuthhttp (bearer)
Allocate, inspect, or hand off a tenant-owned artifact
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/purchases/{id}/artifacts/{artifact_uri}

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

idstringrequiredpath

Purchase id: the purchase id.

artifact_uristringrequiredpath

The artifact reference the purchase's result names.

Response

200OKHostedArtifactAccessEvidence

A short-lived read of the artifact.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Missing artifacts:read scope.

404Not FoundErrorEnvelope

The purchase delivered no such artifact.

Authorization

BearerAuthhttp (bearer)
Read one artifact a fulfilled purchase delivered
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

POST
https://api.runx.ai/v1/skills/{publisher}/{name}/run

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

application/json

A purchase of an offered runner.

runnerstring
inputsobject
idempotency_keystring
paymentRunxExecutePurchaseRequest
Show child attributes
idempotencyobjectrequired
Show child attributes
binding_digeststringrequired
keystringrequired
payment_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
purchase_idstringrequired
settlement_familystringrequired
account_paymentobject | object

An account purchase: the quoted purchase its buyer decided on, paid from the account's runx balance or with one of its payment grants.

versionstring

The listing version the buyer priced; a purchase of another is refused.

buyer_keystring

The Ed25519 key that owns the purchase: it signs the purchase's reads and claims.

Parameters

publisherstringrequiredpath

Skill publisher.

namestringrequiredpath

Skill name.

Idempotency-Keystringheader

Stable run and purchase retry key.

Acceptstringheader

Use 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-SIGNATUREstringheader

Optional standard x402 v2 payment payload using bounded standard base64.

Payment-Authorizationstringheader

Optional MPP credential answering one exact quoted WWW-Authenticate challenge. Authorization remains the account bearer token.

X-Runx-Buyer-Signaturestringheader

The 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-Atstringheader

When the request was signed; runx refuses one outside five minutes of its clock.

Response

201CreatedRunxPurchaseRead

The purchase its buyer reads.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

402Payment RequiredX402V2PaymentRequired | object | object & object | ErrorEnvelope

Payment challenge or rail-neutral refusal.

409ConflictErrorEnvelope

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 header

The 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.

Buy a run of a skill runner a seller offers
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/policy/bundles

Response

200OKPolicyBundleListEnvelope

Policy bundles.

401UnauthorizedErrorEnvelope

Unauthorized.

Authorization

BearerAuthhttp (bearer)
List policy bundle versions for the authenticated principal
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

GET
https://api.runx.ai/v1/policy/bundles/{bundleId}/versions/{version}

Parameters

bundleIdstringrequiredpath

Policy bundle id.

versionstringrequiredpath

Policy bundle version.

Response

200OKPolicyBundleEnvelope

Policy bundle.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Policy bundle not found.

Authorization

BearerAuthhttp (bearer)
Inspect one policy bundle version
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

PUT
https://api.runx.ai/v1/policy/bundles/{bundleId}/versions/{version}

Body

application/json

Policy bundle definition.

titlestring
summarystring
workspace_policyPolicyBundleWorkspacePolicy
Show child attributes
strict_process_tool_inline_codeboolean
approval_routingPolicyBundleRouting
Show child attributes
default_route_idstring
rulesArray<PolicyBundleRoutingRule>required
Show child attributes
idstringrequired
route_idstringrequired
skillstring
gate_typestring
gate_idstring

Parameters

bundleIdstringrequiredpath

Policy bundle id.

versionstringrequiredpath

Policy bundle version.

Response

200OKPolicyBundleEnvelope

Stored policy bundle.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

Authorization

BearerAuthhttp (bearer)
Create one immutable policy bundle version
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()
Request Body
{
  "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

GET
https://api.runx.ai/v1/policy/attachments

Response

200OKPolicyAttachmentListEnvelope

Policy attachments.

401UnauthorizedErrorEnvelope

Unauthorized.

Authorization

BearerAuthhttp (bearer)
List policy attachments for the authenticated principal
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

PUT
https://api.runx.ai/v1/policy/attachments/workspace

Body

application/json

Policy attachment.

bundle_idstringrequired
bundle_versionstringrequired

Parameters

If-Matchstringheader

Required when replacing an existing attachment. Use the current attachment updated_at timestamp.

Response

200OKPolicyAttachmentEnvelope

Stored policy attachment.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Referenced policy bundle not found.

412Precondition FailedErrorEnvelope

Revision precondition failed.

428ErrorEnvelope

Revision precondition required.

Authorization

BearerAuthhttp (bearer)
Attach one policy bundle version to the principal default workspace scope
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()
Request Body
{
  "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

DELETE
https://api.runx.ai/v1/policy/attachments/workspace

Parameters

If-Matchstringheader

Required when deleting an existing attachment. Use the current attachment updated_at timestamp.

Response

200OKPolicyAttachmentEnvelope

Deleted policy attachment.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Policy attachment not found.

412Precondition FailedErrorEnvelope

Revision precondition failed.

428ErrorEnvelope

Revision precondition required.

Authorization

BearerAuthhttp (bearer)
Delete the principal default policy attachment
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

PUT
https://api.runx.ai/v1/policy/attachments/skills/{skill}

Body

application/json

Policy attachment.

bundle_idstringrequired
bundle_versionstringrequired

Parameters

skillstringrequiredpath

Skill id or skill name.

If-Matchstringheader

Required when replacing an existing attachment. Use the current attachment updated_at timestamp.

Response

200OKPolicyAttachmentEnvelope

Stored policy attachment.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Referenced policy bundle not found.

412Precondition FailedErrorEnvelope

Revision precondition failed.

428ErrorEnvelope

Revision precondition required.

Authorization

BearerAuthhttp (bearer)
Attach one policy bundle version to a skill override scope
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()
Request Body
{
  "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

DELETE
https://api.runx.ai/v1/policy/attachments/skills/{skill}

Parameters

skillstringrequiredpath

Skill id or skill name.

If-Matchstringheader

Required when deleting an existing attachment. Use the current attachment updated_at timestamp.

Response

200OKPolicyAttachmentEnvelope

Deleted policy attachment.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Policy attachment not found.

412Precondition FailedErrorEnvelope

Revision precondition failed.

428ErrorEnvelope

Revision precondition required.

Authorization

BearerAuthhttp (bearer)
Delete one skill-specific policy attachment
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

GET
https://api.runx.ai/v1/approval-routes

Response

200OKApprovalRouteListEnvelope

Approval routes.

401UnauthorizedErrorEnvelope

Unauthorized.

Authorization

BearerAuthhttp (bearer)
List approval routes for the authenticated principal
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

GET
https://api.runx.ai/v1/approval-routes/{routeId}

Parameters

routeIdstringrequiredpath

Approval route id.

Response

200OKApprovalRouteEnvelope

Approval route.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Approval route not found.

Authorization

BearerAuthhttp (bearer)
Inspect one approval route
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

PUT
https://api.runx.ai/v1/approval-routes/{routeId}

Body

application/json

Approval route definition.

titlestring
summarystring
recipientsArray<PolicyApprovalRouteRecipient>required
Show child attributes
kindstringprincipalemailslack_channelwebhookrequired
valuestringrequired
labelstring

Parameters

routeIdstringrequiredpath

Approval route id.

If-Matchstringheader

Required when replacing an existing approval route. Use the current route updated_at timestamp.

Response

200OKApprovalRouteEnvelope

Stored approval route.

400Bad RequestErrorEnvelope

Validation error.

401UnauthorizedErrorEnvelope

Unauthorized.

412Precondition FailedErrorEnvelope

Revision precondition failed.

428ErrorEnvelope

Revision precondition required.

Authorization

BearerAuthhttp (bearer)
Create or update one approval route
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()
Request Body
{
  "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

DELETE
https://api.runx.ai/v1/approval-routes/{routeId}

Parameters

routeIdstringrequiredpath

Approval route id.

If-Matchstringheader

Required when deleting an existing approval route. Use the current route updated_at timestamp.

Response

200OKApprovalRouteEnvelope

Deleted approval route.

401UnauthorizedErrorEnvelope

Unauthorized.

404Not FoundErrorEnvelope

Approval route not found.

412Precondition FailedErrorEnvelope

Revision precondition failed.

428ErrorEnvelope

Revision precondition required.

Authorization

BearerAuthhttp (bearer)
Delete one approval route
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

GET
https://api.runx.ai/v1/admin/approvals

Parameters

principal_idstringquery

Optional principal id filter.

skillstringquery

Optional skill filter.

routestringquery

Optional approval route id filter.

limitstringquery

Approval rows per page: integer from 1 to 200, default 50.

cursorstringquery

Opaque 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

200OKApprovalInboxEnvelope

Approval inbox.

400Bad RequestErrorEnvelope

Invalid page limit or approval cursor.

401UnauthorizedErrorEnvelope

Unauthorized.

403ForbiddenErrorEnvelope

Forbidden.

Authorization

BearerAuthhttp (bearer)
Inspect the hosted approval inbox across principals
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

StatusEnvelope

object
statusstringrequired
Example
{
  "status": "string"
}

ErrorEnvelope

object

Every 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.

codestringrequired
errorstringrequired
retry_after_secondsinteger>= 1
Example
{
  "code": "string",
  "error": "string",
  "retry_after_seconds": 1
}

HostedReadinessCheck

object
statusstringoknot_readydisabledrequired
errorstring
Example
{
  "status": "ok",
  "error": "string"
}

HostedReadinessEnvelope

object
statusstringrequired
checksobjectrequired
Example
{
  "status": "ok",
  "checks": {}
}

HostedReadinessErrorEnvelope

object
statusstringrequired
errorstringrequired
checksobjectrequired
Example
{
  "status": "not_ready",
  "error": "string",
  "checks": {}
}

HostedApiLatencyBucketCounts

object
le_50msinteger>= 0required
le_100msinteger>= 0required
le_250msinteger>= 0required
le_500msinteger>= 0required
le_1000msinteger>= 0required
gt_1000msinteger>= 0required
Example
{
  "le_50ms": 0,
  "le_100ms": 0,
  "le_250ms": 0,
  "le_500ms": 0,
  "le_1000ms": 0,
  "gt_1000ms": 0
}

HostedApiLatencyMetrics

object
totalnumber>= 0required
averagenumber>= 0required
maxnumber>= 0required
bucketsHostedApiLatencyBucketCountsrequired
Show child attributes
le_50msinteger>= 0required
le_100msinteger>= 0required
le_250msinteger>= 0required
le_500msinteger>= 0required
le_1000msinteger>= 0required
gt_1000msinteger>= 0required
Example
{
  "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

object
methodstringrequired
routestringrequired
requests_totalinteger>= 0required
error_responses_totalinteger>= 0required
client_error_responses_totalinteger>= 0required
server_error_responses_totalinteger>= 0required
latency_msHostedApiLatencyMetricsrequired
Show child attributes
totalnumber>= 0required
averagenumber>= 0required
maxnumber>= 0required
bucketsHostedApiLatencyBucketCountsrequired
Show child attributes
le_50msinteger>= 0required
le_100msinteger>= 0required
le_250msinteger>= 0required
le_500msinteger>= 0required
le_1000msinteger>= 0required
gt_1000msinteger>= 0required
status_countsobjectrequired
Example
{
  "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

object
started_atstring<date-time>required
updated_atstring<date-time>required
in_flight_requestsinteger>= 0required
requests_totalinteger>= 0required
error_responses_totalinteger>= 0required
client_error_responses_totalinteger>= 0required
server_error_responses_totalinteger>= 0required
latency_msHostedApiLatencyMetricsrequired
Show child attributes
totalnumber>= 0required
averagenumber>= 0required
maxnumber>= 0required
bucketsHostedApiLatencyBucketCountsrequired
Show child attributes
le_50msinteger>= 0required
le_100msinteger>= 0required
le_250msinteger>= 0required
le_500msinteger>= 0required
le_1000msinteger>= 0required
gt_1000msinteger>= 0required
status_countsobjectrequired
routesArray<HostedApiRouteMetrics>required
Show child attributes
methodstringrequired
routestringrequired
requests_totalinteger>= 0required
error_responses_totalinteger>= 0required
client_error_responses_totalinteger>= 0required
server_error_responses_totalinteger>= 0required
latency_msHostedApiLatencyMetricsrequired
Show child attributes
totalnumber>= 0required
averagenumber>= 0required
maxnumber>= 0required
bucketsHostedApiLatencyBucketCountsrequired
Show child attributes
le_50msinteger>= 0required
le_100msinteger>= 0required
le_250msinteger>= 0required
le_500msinteger>= 0required
le_1000msinteger>= 0required
gt_1000msinteger>= 0required
status_countsobjectrequired
Example
{
  "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

object
statusstringrequired
metricsHostedApiMetricsrequired
Show child attributes
started_atstring<date-time>required
updated_atstring<date-time>required
in_flight_requestsinteger>= 0required
requests_totalinteger>= 0required
error_responses_totalinteger>= 0required
client_error_responses_totalinteger>= 0required
server_error_responses_totalinteger>= 0required
latency_msHostedApiLatencyMetricsrequired
Show child attributes
totalnumber>= 0required
averagenumber>= 0required
maxnumber>= 0required
bucketsHostedApiLatencyBucketCountsrequired
Show child attributes
le_50msinteger>= 0required
le_100msinteger>= 0required
le_250msinteger>= 0required
le_500msinteger>= 0required
le_1000msinteger>= 0required
gt_1000msinteger>= 0required
status_countsobjectrequired
routesArray<HostedApiRouteMetrics>required
Show child attributes
methodstringrequired
routestringrequired
requests_totalinteger>= 0required
error_responses_totalinteger>= 0required
client_error_responses_totalinteger>= 0required
server_error_responses_totalinteger>= 0required
latency_msHostedApiLatencyMetricsrequired
Show child attributes
totalnumber>= 0required
averagenumber>= 0required
maxnumber>= 0required
bucketsHostedApiLatencyBucketCountsrequired
Show child attributes
le_50msinteger>= 0required
le_100msinteger>= 0required
le_250msinteger>= 0required
le_500msinteger>= 0required
le_1000msinteger>= 0required
gt_1000msinteger>= 0required
status_countsobjectrequired
Example
{
  "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

object
principal_idstringrequired
rolestringuseradminservicerequired
display_namestring
scopesArray<string>
namespace_prefixesArray<string>
Example
{
  "principal_id": "string",
  "role": "user",
  "display_name": "string",
  "scopes": [
    "string"
  ],
  "namespace_prefixes": [
    "string"
  ]
}

PrincipalEnvelope

object
statusstringrequired
principalPrincipalSummaryrequired
Show child attributes
principal_idstringrequired
rolestringuseradminservicerequired
display_namestring
scopesArray<string>
namespace_prefixesArray<string>
Example
{
  "status": "success",
  "principal": {
    "principal_id": "string",
    "role": "user",
    "display_name": "string",
    "scopes": [
      "string"
    ],
    "namespace_prefixes": [
      "string"
    ]
  }
}

ServiceTokenExchangeEnvelope

object
statusstringrequired
access_tokenstringrequired
expires_atstring<date-time>required
principalPrincipalSummaryrequired
Show child attributes
principal_idstringrequired
rolestringuseradminservicerequired
display_namestring
scopesArray<string>
namespace_prefixesArray<string>
Example
{
  "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"
    ]
  }
}

DeletedEnvelope

object
statusstringrequired
Example
{
  "status": "deleted"
}

HostedRunSummary

object

Canonical prerelease v1 schema for summarized hosted run state returned by the hosted API.

idstringrequired
skillstringrequired
runnerstring
package_digeststring
execution_closure_digeststring
statusstringpendingrunningwaiting_resolutionsuccessfailuredeniedrequired
host_statusstringrunningpausedcompletedfaileddeniedrequired
trace_idstring
policy_bindingobject
Show child attributes
bundle_idstringrequired
bundle_versionstringrequired
scope_kindstringworkspace_defaultskillrequired
scope_refstring
completed_atstring<date-time>
actorsArray<string>
artifact_typesArray<string>
lineageobject
Show child attributes
kindanyrequired
source_run_idstringrequired
source_receipt_idstring
receipt_idstring
receipt_kindstring
kernel_run_idstring
errorstring
updated_atstring<date-time>required
created_atstring<date-time>required
Example
{
  "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

object
runnerstring
inputsobject
idempotency_keystring
paymentRunxExecutePurchaseRequest
Show child attributes
idempotencyobjectrequired
Show child attributes
binding_digeststringrequired
keystringrequired
payment_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
purchase_idstringrequired
settlement_familystringrequired
account_paymentobject | object

An account purchase: the quoted purchase its buyer decided on, paid from the account's runx balance or with one of its payment grants.

versionstring

The listing version the buyer priced; a purchase of another is refused.

buyer_keystring

The Ed25519 key that owns the purchase: it signs the purchase's reads and claims.

Example
{
  "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

object
statusstringrequired
holdsArray<object>required
Show child attributes
connectorstringrequired
credentialstringrequired
targetstringrequired
expires_atstring<date-time>required
value_digeststringrequired
fieldsobjectrequired
Example
{
  "status": "claimed",
  "holds": [
    {
      "connector": "string",
      "credential": "string",
      "target": "string",
      "expires_at": "2024-01-15T09:30:00Z",
      "value_digest": "string",
      "fields": {}
    }
  ]
}

PaidSkillRunPaymentResponse

object
One of
acceptsArray<object>required
Show child attributes
amountstringrequired
assetstringrequired
extraobject | null
maxTimeoutSecondsnumberrequired
networkstringrequired
payTostringrequired
schemestringrequired
errorstring | null
extensionsobject | null
resourceobjectrequired
Show child attributes
descriptionstring | null
iconUrlstring | null
mimeTypestring | null
serviceNamestring | null
tagsArray<string> | null
urlstringrequired
x402Versionintegerrequired
Any of
statusstringrequired
valueobjectrequired
Show child attributes
payment_optionsArray<PurchasePaymentChallenge>required
Show child attributes
media_typestringrequired
payloadanyrequired
payload_digeststringrequired
payment_methodobject

Protocol-owned discovery and display terms. These do not authorize a payment: the settlement executor verifies the complete challenge itself.

Show child attributes
assetstring
methodstringrequired
networkstring
pay_tostring
protocol_versionstring

Present only when the payment protocol carries a version.

quote_expires_atstringrequired
quote_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
settlement_familystringrequired
purchaseobjectrequired
Show child attributes
accepted_settlement_familiesArray<string>required
act_refobject

The purchase's act, fixed before any run: what the seller's run performs and capacity reserves.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
amount_minorinteger[1, 9007199254740991]required
buyer_keystring

The key the buyer claims with; runx's purchase receipt binds it.

buyer_refobjectrequired

The buyer: the principal that pays.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
canonicalizer_versionstringrunx.receipt.c14n.v1required

The sole V1 canonicalization identifier for digest-bound inputs.

created_atstringrequired
currencystringrequired
execution_statestringunstartedqueuedrunningwaiting_externalcancellingsucceededfailedcancelledrequired
expires_atstringrequired
external_job_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
idempotencyobjectrequired
Show child attributes
binding_digeststringrequired
keystringrequired
input_digeststringrequired
offer_versionobjectrequired
Show child attributes
input_schema_digeststringrequired
offer_idstringrequired
output_schema_digeststringrequired
profile_digeststringrequired

The digest of the profile that declares the offer at that version.

versionstringrequired

The package version the offer is sold at.

outcome_gatestringopenfulfilment_wonrefund_wonrequired
package_digeststringrequired

The 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_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
payment_statestringunpaidsettlingsettledrefundedrequired
purchase_idstringrequired
seller_refobjectrequired

The seller: the publisher's principal enrolled to sell the skill.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
settlement_familystring
skill_refobjectrequired

What is bought: the skill runner binding the seller's run performs.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
updated_atstringrequired
codestringoffer_unavailablequote_expiredterms_changedreplay_conflictpayment_not_authorizedcapacity_unavailablenot_foundcancellation_not_availablerequired
reasonstringrequired
statusstringrequired
statusanyrequired
codestringrequired
errorstringrequired
retry_after_secondsinteger>= 1
Example
{
  "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

object

Canonical prerelease v1 schema for exchanging an external OIDC token for a runx service access token.

service_principal_idstringrequired
oidc_tokenstringrequired
Example
{
  "service_principal_id": "string",
  "oidc_token": "string"
}

CreateRunResponse

object

Canonical prerelease v1 schema for hosted run creation responses.

statusanyrequired
run_idstringrequired
inspect_urlstring
app_urlstring
requests_urlstring
linksobject
Show child attributes
apistring
appstring
requestsstring
Example
{
  "status": "accepted",
  "run_id": "string",
  "inspect_url": "string",
  "app_url": "string",
  "requests_url": "string",
  "links": {
    "api": "string",
    "app": "string",
    "requests": "string"
  }
}

RunListEnvelope

object
statusstringrequired
runsArray<HostedRunSummary>required
Show child attributes
idstringrequired
skillstringrequired
runnerstring
package_digeststring
execution_closure_digeststring
statusstringpendingrunningwaiting_resolutionsuccessfailuredeniedrequired
host_statusstringrunningpausedcompletedfaileddeniedrequired
trace_idstring
policy_bindingobject
Show child attributes
bundle_idstringrequired
bundle_versionstringrequired
scope_kindstringworkspace_defaultskillrequired
scope_refstring
completed_atstring<date-time>
actorsArray<string>
artifact_typesArray<string>
lineageobject
Show child attributes
kindanyrequired
source_run_idstringrequired
source_receipt_idstring
receipt_idstring
receipt_kindstring
kernel_run_idstring
errorstring
updated_atstring<date-time>required
created_atstring<date-time>required
next_cursorstring
Example
{
  "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

object

Canonical prerelease v1 schema for hosted run inspection responses.

statusanyrequired
runHostedRunSummaryrequired

Canonical prerelease v1 schema for summarized hosted run state returned by the hosted API.

Show child attributes
idstringrequired
skillstringrequired
runnerstring
package_digeststring
execution_closure_digeststring
statusstringpendingrunningwaiting_resolutionsuccessfailuredeniedrequired
host_statusstringrunningpausedcompletedfaileddeniedrequired
trace_idstring
policy_bindingobject
Show child attributes
bundle_idstringrequired
bundle_versionstringrequired
scope_kindstringworkspace_defaultskillrequired
scope_refstring
completed_atstring<date-time>
actorsArray<string>
artifact_typesArray<string>
lineageobject
Show child attributes
kindanyrequired
source_run_idstringrequired
source_receipt_idstring
receipt_idstring
receipt_kindstring
kernel_run_idstring
errorstring
updated_atstring<date-time>required
created_atstring<date-time>required
resultobject
Show child attributes
stateanyrequired
outputanyrequired
resolution_requestsArray<resolution-request.schema.json>required
Show child attributes
Any of
idstringrequired
kindstringrequired
questionsArray<object>required
Show child attributes
descriptionstring
free_textboolean

Whether the person may answer in their own words.

idstringrequired
optionsArray<object>

What the person may choose, the recommended first.

Show child attributes
detailstring
labelstringrequired
promptstringrequired
requiredbooleanrequired
typestringrequired

choice when it offers options, text otherwise.

gateobjectrequired

The gate an approval request asks a person to pass, and why.

Show child attributes
idstringrequired
payloadany

What executes once the gate is approved, when it is at most 64 KiB. A host recomputes summary.payload_digest over it before it offers Approve; the request's digest binds it with the rest of the gate.

payload_artifactobject

What executes, when it is larger: a project artifact whose bytes are its canonical JSON.

Show child attributes
bytesinteger>= 0required
digeststringrequired
media_typestringrequired
pathstringrequired
schemastringrunx.project_artifact.v1required
uristringrequired

runx:project-artifact: and the artifact's digest.

reasonstringrequired
summaryobject

Shallow summary payload. payload_digest in it is the stable digest (runx.stable-json.v1) of what executes once the gate is approved.

typestring
idstringrequired
kindstringrequired
idstringrequired
invocationobjectrequired
Show child attributes
allowanceobjectrequired

What the agent may call while its turn is open.

Show child attributes
asksboolean

Whether the turn may ask the human.

operationsArray<object>
Show child attributes
operationstringrequired
requirementstringrequired
skillsArray<string | object>

Child skills by ref, and the catalog rules a load is admitted under.

Show child attributes

One entry of an allowance's skills: a child skill by name, or a catalog rule, which admits the skills and connectors a load call finds.

Any of
string
catalogobject
Show child attributes
truststringfirst_partyverifiedcommunityrequired

The lowest tier a load admits on its own; a package below it waits on the person's trust.

projectboolean
toolsArray<string>

Catalog tool names.

envelopeobjectrequired
Show child attributes
actobject

The act its run's invoker stated: why the run exists, as the run's steps read $act.

Show child attributes
decisionstringcontinueescalatedeferclosedeclinemonitor

The decision the call carries out.

formstringreplyreview

What kind of act the call is.

previousstring

The receipt of the act this one follows.

purposestringrequired

Why the call is made.

reasonstring

What a reader is told about this particular call.

targetstring

The locator of what the act is about.

contextobject

The optional conventions and project instructions context block.

Show child attributes
conventionsobject

A resolved profile sourced from a workspace file (memory, conventions, voice).

Show child attributes
contentstringrequired
digeststringrequired
pathstringrequired
root_pathstringrequired
sharingstringlocal_onlyconfigured_modelrequired
instructionsArray<object>

The project's instructions: each AGENTS.md and CLAUDE.md from the repository root that contains the workspace down to the workspace, in that order, each path relative to the repository root.

Show child attributes
contentstringrequired
digeststringrequired
pathstringrequired
root_pathstringrequired
sharingstringlocal_onlyconfigured_modelrequired
memoryobject

The workspace's MEMORY.md, in envelopes recorded before hosts carried memory themselves. runx writes none: memory a host supplies travels as admitted context entries.

Show child attributes
contentstringrequired
digeststringrequired
pathstringrequired
root_pathstringrequired
sharingstringlocal_onlyconfigured_modelrequired
current_contextArray<object>required
Show child attributes
dataobjectrequired
metaobjectrequired

Metadata for a context artifact. step_id, parent_artifact_id, and receipt_id are required-but-nullable (present on the wire, possibly null).

Show child attributes
artifact_idstringrequired
created_atstringrequired
digeststringrequired
parent_artifact_idstring | nullrequired
producerobjectrequired

The producer of a context artifact.

Show child attributes
runnerstringrequired
skillstringrequired
receipt_idstring | nullrequired
redactedbooleanrequired
run_idstringrequired
size_bytesinteger>= 0required
step_idstring | nullrequired
scopeobjectrequired

Declares how context may be interpreted and where it may be shared. These labels never grant execution authority or manufacture a human decision.

Show child attributes
goal_idstring | nullrequired
purposestringproceduremandateconfirmed_memoryobservationwork_continuityretrieved_historyhypothesisrequired
sharingstringlocal_onlyconfigured_modelrequired
source_uristring | nullrequired
truststringoperator_confirmedskill_instructionsuntrusted_evidencerequired
summarystring

What the entry is, in a line, as its producer declares it: what a model reads in an index to choose whether to read the entry's data.

typestring | nullrequired
versionstring1required

The artifact context entry version. Committed as const: "1".

execution_locationobject

Where the skill executes from on disk.

Show child attributes
skill_directorystringrequired
tool_rootsArray<string>
historical_contextArray<object>required
Show child attributes
dataobjectrequired
metaobjectrequired

Metadata for a context artifact. step_id, parent_artifact_id, and receipt_id are required-but-nullable (present on the wire, possibly null).

Show child attributes
artifact_idstringrequired
created_atstringrequired
digeststringrequired
parent_artifact_idstring | nullrequired
producerobjectrequired

The producer of a context artifact.

Show child attributes
runnerstringrequired
skillstringrequired
receipt_idstring | nullrequired
redactedbooleanrequired
run_idstringrequired
size_bytesinteger>= 0required
step_idstring | nullrequired
scopeobjectrequired

Declares how context may be interpreted and where it may be shared. These labels never grant execution authority or manufacture a human decision.

Show child attributes
goal_idstring | nullrequired
purposestringproceduremandateconfirmed_memoryobservationwork_continuityretrieved_historyhypothesisrequired
sharingstringlocal_onlyconfigured_modelrequired
source_uristring | nullrequired
truststringoperator_confirmedskill_instructionsuntrusted_evidencerequired
summarystring

What the entry is, in a line, as its producer declares it: what a model reads in an index to choose whether to read the entry's data.

typestring | nullrequired
versionstring1required

The artifact context entry version. Committed as const: "1".

inputsobjectrequired
instructionsstringrequired
instructions_digeststringrequired

Digest of the exact owning SKILL.md bytes carried in instructions.

outputobject
output_schemaany

Exact root JSON Schema for the final result, including any declared packet contract. output remains the concise field index used by hosts; this schema is the validator offered to managed agents.

provenanceArray<object>required
Show child attributes
artifact_idstring
from_stepstring
inputstringrequired
outputstringrequired
receipt_idstring
requirementsobjectrequired

Exact non-secret execution requirements selected from the owning manifest, plus environment-name availability. Secret values never enter the agent context.

Show child attributes
declarationobjectrequired

Parser-owned projection of all execution requirements for one act.

Show child attributes
environmentobject

Environment names consumed by an executable act. Values are resolved only at execution time and never enter this declaration.

Show child attributes
optionalArray<string>
requiredArray<string>
scopesArray<string>
environmentArray<object>
Show child attributes
availablebooleanrequired
namestringrequired
requiredbooleanrequired
execution_boundaryobjectrequired
Show child attributes
kindstringtrusted_host_processdeterministic_workernative_capabilityremote_providerrequired
run_idstringrequired
skillstringrequired
step_idstring
trust_boundarystringrequired
voice_profileobject

A resolved profile sourced from a workspace file (memory, conventions, voice).

Show child attributes
contentstringrequired
digeststringrequired
pathstringrequired
root_pathstringrequired
sharingstringlocal_onlyconfigured_modelrequired
idstringrequired
rolestringrequired

The kind of agent the step asks for.

taskstringrequired

The act it performs.

kindstringrequired
idstringrequired
kindstringrequired
reasonstringrequired
resendstringunsafe

Whether a claimed call can be sent again with the same input: its provider deduplicates it, or it only reads. One that cannot is never resent; its run can only be closed with the call unconfirmed.

retry_after_secondsinteger>= 0required
idstringrequired
kindstringrequired
purchaseobjectrequired

What a person decides when a call reaches a paid runner: one quote's exact offer version, seller and price, and each payment method that can pay it. The request's digest binds all of it, so an answer pays only this quote, before it expires.

Show child attributes
amount_minorinteger[1, 9007199254740991]required
currencystringrequired
input_digeststringrequired
methodsArray<object | object>required

Never empty: a call no method can pay fails instead of asking.

Show child attributes

One way the buyer can pay. An answer's choice names it: the balance by runx:balance, a payment grant by the choice binding its instance and quoted option.

Any of
available_microinteger>= 0required
kindstringrequired
total_minorinteger[1, 9007199254740991]required
choicestringrequired
connectorstringrequired
instance_idstringrequired
kindstringrequired
optionobjectrequired

One exact quoted option. Its provider attempt retains this binding through settlement and recovery; this is not another payment or purchase identity.

Show child attributes
payload_digeststringrequired
settlement_familystringrequired
total_minorinteger[1, 9007199254740991]required
offer_versionobjectrequired
Show child attributes
input_schema_digeststringrequired
offer_idstringrequired
output_schema_digeststringrequired
profile_digeststringrequired

The digest of the profile that declares the offer at that version.

versionstringrequired

The package version the offer is sold at.

package_digeststringrequired

The 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.

quoteobjectrequired

The quote decided on, including its protocol-owned display terms and the exact challenge binding. An absent network is not an EVM network default.

Show child attributes
expires_atstringrequired
payment_optionsArray<object>required
Show child attributes
expires_atstringrequired
optionobjectrequired

One exact quoted option. Its provider attempt retains this binding through settlement and recovery; this is not another payment or purchase identity.

Show child attributes
payload_digeststringrequired
settlement_familystringrequired
payment_methodobject

Protocol-owned discovery and display terms. These do not authorize a payment: the settlement executor verifies the complete challenge itself.

Show child attributes
assetstring
methodstringrequired
networkstring
pay_tostring
quote_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
purchase_idstringrequired
runnerstringrequired
seller_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
skillstringrequired
submitted_resolutionsArray<storedResolution>required
Show child attributes
request_idstringrequired
request_digeststringrequired

The digest runx reported for the request this answers; the resume binds to it.

request_kindstringinputapprovalagent_actrequired
actorstringhumanagentrequired
payloadanyrequired
submitted_atstring<date-time>required
request_routesArray<requestRoute>
Show child attributes
request_idstringrequired
routeobject
Show child attributes
route_idstringrequired
missingboolean
titlestring
summarystring
recipientsArray<recipient>required
Show child attributes
kindstringprincipalemailslack_channelwebhookrequired
valuestringrequired
labelstring
matched_byobjectrequired
Show child attributes
kindstringnonedefaultrulerequired
rule_idstring
skillstring
gate_typestring
gate_idstring
Example
{
  "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

object

Canonical prerelease v1 schema for hosted run summary diffs.

statusanyrequired
diffobjectrequired
Show child attributes
leftHostedRunSummaryrequired

Canonical prerelease v1 schema for summarized hosted run state returned by the hosted API.

Show child attributes
idstringrequired
skillstringrequired
runnerstring
package_digeststring
execution_closure_digeststring
statusstringpendingrunningwaiting_resolutionsuccessfailuredeniedrequired
host_statusstringrunningpausedcompletedfaileddeniedrequired
trace_idstring
policy_bindingobject
Show child attributes
bundle_idstringrequired
bundle_versionstringrequired
scope_kindstringworkspace_defaultskillrequired
scope_refstring
completed_atstring<date-time>
actorsArray<string>
artifact_typesArray<string>
lineageobject
Show child attributes
kindanyrequired
source_run_idstringrequired
source_receipt_idstring
receipt_idstring
receipt_kindstring
kernel_run_idstring
errorstring
updated_atstring<date-time>required
created_atstring<date-time>required
rightHostedRunSummaryrequired

Canonical prerelease v1 schema for summarized hosted run state returned by the hosted API.

Show child attributes
idstringrequired
skillstringrequired
runnerstring
package_digeststring
execution_closure_digeststring
statusstringpendingrunningwaiting_resolutionsuccessfailuredeniedrequired
host_statusstringrunningpausedcompletedfaileddeniedrequired
trace_idstring
policy_bindingobject
Show child attributes
bundle_idstringrequired
bundle_versionstringrequired
scope_kindstringworkspace_defaultskillrequired
scope_refstring
completed_atstring<date-time>
actorsArray<string>
artifact_typesArray<string>
lineageobject
Show child attributes
kindanyrequired
source_run_idstringrequired
source_receipt_idstring
receipt_idstring
receipt_kindstring
kernel_run_idstring
errorstring
updated_atstring<date-time>required
created_atstring<date-time>required
changedbooleanrequired
fieldsobjectrequired
actorscollectionDeltarequired
Show child attributes
addedArray<string>required
removedArray<string>required
artifactTypescollectionDeltarequired
Show child attributes
addedArray<string>required
removedArray<string>required
Example
{
  "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

object

Hosted v1 resolution request with an optional recorded response. Request payloads reference the canonical OSS contracts.

One of
idstringrequired
kindanyrequired
questionsArray<question.schema.json>required
Show child attributes
descriptionstring
free_textboolean

Whether the person may answer in their own words.

idstringrequired
optionsArray<object>

What the person may choose, the recommended first.

Show child attributes
detailstring
labelstringrequired
promptstringrequired
requiredbooleanrequired
typestringrequired

choice when it offers options, text otherwise.

request_digeststringrequired

The digest runx reported for the request; an answer to it names this digest.

submitted_resolutionstoredResolution
Show child attributes
request_idstringrequired
request_digeststringrequired

The digest runx reported for the request this answers; the resume binds to it.

request_kindstringinputapprovalagent_actrequired
actorstringhumanagentrequired
payloadanyrequired
submitted_atstring<date-time>required
idstringrequired
kindanyrequired
gateapproval-gate.schema.jsonrequired

The gate an approval request asks a person to pass, and why.

Show child attributes
idstringrequired
payloadany

What executes once the gate is approved, when it is at most 64 KiB. A host recomputes summary.payload_digest over it before it offers Approve; the request's digest binds it with the rest of the gate.

payload_artifactobject

What executes, when it is larger: a project artifact whose bytes are its canonical JSON.

Show child attributes
bytesinteger>= 0required
digeststringrequired
media_typestringrequired
pathstringrequired
schemastringrunx.project_artifact.v1required
uristringrequired

runx:project-artifact: and the artifact's digest.

reasonstringrequired
summaryobject

Shallow summary payload. payload_digest in it is the stable digest (runx.stable-json.v1) of what executes once the gate is approved.

typestring
request_digeststringrequired

The digest runx reported for the request; an answer to it names this digest.

submitted_resolutionstoredResolution
Show child attributes
request_idstringrequired
request_digeststringrequired

The digest runx reported for the request this answers; the resume binds to it.

request_kindstringinputapprovalagent_actrequired
actorstringhumanagentrequired
payloadanyrequired
submitted_atstring<date-time>required
idstringrequired
kindanyrequired
invocationagent-act-invocation.schema.jsonrequired
Show child attributes
allowanceobjectrequired

What the agent may call while its turn is open.

Show child attributes
asksboolean

Whether the turn may ask the human.

operationsArray<object>
Show child attributes
operationstringrequired
requirementstringrequired
skillsArray<string | object>

Child skills by ref, and the catalog rules a load is admitted under.

Show child attributes

One entry of an allowance's skills: a child skill by name, or a catalog rule, which admits the skills and connectors a load call finds.

Any of
string
catalogobject
Show child attributes
truststringfirst_partyverifiedcommunityrequired

The lowest tier a load admits on its own; a package below it waits on the person's trust.

projectboolean
toolsArray<string>

Catalog tool names.

envelopeobjectrequired
Show child attributes
actobject

The act its run's invoker stated: why the run exists, as the run's steps read $act.

Show child attributes
decisionstringcontinueescalatedeferclosedeclinemonitor

The decision the call carries out.

formstringreplyreview

What kind of act the call is.

previousstring

The receipt of the act this one follows.

purposestringrequired

Why the call is made.

reasonstring

What a reader is told about this particular call.

targetstring

The locator of what the act is about.

contextobject

The optional conventions and project instructions context block.

Show child attributes
conventionsobject

A resolved profile sourced from a workspace file (memory, conventions, voice).

Show child attributes
contentstringrequired
digeststringrequired
pathstringrequired
root_pathstringrequired
sharingstringlocal_onlyconfigured_modelrequired
instructionsArray<object>

The project's instructions: each AGENTS.md and CLAUDE.md from the repository root that contains the workspace down to the workspace, in that order, each path relative to the repository root.

Show child attributes
contentstringrequired
digeststringrequired
pathstringrequired
root_pathstringrequired
sharingstringlocal_onlyconfigured_modelrequired
memoryobject

The workspace's MEMORY.md, in envelopes recorded before hosts carried memory themselves. runx writes none: memory a host supplies travels as admitted context entries.

Show child attributes
contentstringrequired
digeststringrequired
pathstringrequired
root_pathstringrequired
sharingstringlocal_onlyconfigured_modelrequired
current_contextArray<object>required
Show child attributes
dataobjectrequired
metaobjectrequired

Metadata for a context artifact. step_id, parent_artifact_id, and receipt_id are required-but-nullable (present on the wire, possibly null).

Show child attributes
artifact_idstringrequired
created_atstringrequired
digeststringrequired
parent_artifact_idstring | nullrequired
producerobjectrequired

The producer of a context artifact.

Show child attributes
runnerstringrequired
skillstringrequired
receipt_idstring | nullrequired
redactedbooleanrequired
run_idstringrequired
size_bytesinteger>= 0required
step_idstring | nullrequired
scopeobjectrequired

Declares how context may be interpreted and where it may be shared. These labels never grant execution authority or manufacture a human decision.

Show child attributes
goal_idstring | nullrequired
purposestringproceduremandateconfirmed_memoryobservationwork_continuityretrieved_historyhypothesisrequired
sharingstringlocal_onlyconfigured_modelrequired
source_uristring | nullrequired
truststringoperator_confirmedskill_instructionsuntrusted_evidencerequired
summarystring

What the entry is, in a line, as its producer declares it: what a model reads in an index to choose whether to read the entry's data.

typestring | nullrequired
versionstring1required

The artifact context entry version. Committed as const: "1".

execution_locationobject

Where the skill executes from on disk.

Show child attributes
skill_directorystringrequired
tool_rootsArray<string>
historical_contextArray<object>required
Show child attributes
dataobjectrequired
metaobjectrequired

Metadata for a context artifact. step_id, parent_artifact_id, and receipt_id are required-but-nullable (present on the wire, possibly null).

Show child attributes
artifact_idstringrequired
created_atstringrequired
digeststringrequired
parent_artifact_idstring | nullrequired
producerobjectrequired

The producer of a context artifact.

Show child attributes
runnerstringrequired
skillstringrequired
receipt_idstring | nullrequired
redactedbooleanrequired
run_idstringrequired
size_bytesinteger>= 0required
step_idstring | nullrequired
scopeobjectrequired

Declares how context may be interpreted and where it may be shared. These labels never grant execution authority or manufacture a human decision.

Show child attributes
goal_idstring | nullrequired
purposestringproceduremandateconfirmed_memoryobservationwork_continuityretrieved_historyhypothesisrequired
sharingstringlocal_onlyconfigured_modelrequired
source_uristring | nullrequired
truststringoperator_confirmedskill_instructionsuntrusted_evidencerequired
summarystring

What the entry is, in a line, as its producer declares it: what a model reads in an index to choose whether to read the entry's data.

typestring | nullrequired
versionstring1required

The artifact context entry version. Committed as const: "1".

inputsobjectrequired
instructionsstringrequired
instructions_digeststringrequired

Digest of the exact owning SKILL.md bytes carried in instructions.

outputobject
output_schemaany

Exact root JSON Schema for the final result, including any declared packet contract. output remains the concise field index used by hosts; this schema is the validator offered to managed agents.

provenanceArray<object>required
Show child attributes
artifact_idstring
from_stepstring
inputstringrequired
outputstringrequired
receipt_idstring
requirementsobjectrequired

Exact non-secret execution requirements selected from the owning manifest, plus environment-name availability. Secret values never enter the agent context.

Show child attributes
declarationobjectrequired

Parser-owned projection of all execution requirements for one act.

Show child attributes
environmentobject

Environment names consumed by an executable act. Values are resolved only at execution time and never enter this declaration.

Show child attributes
optionalArray<string>
requiredArray<string>
scopesArray<string>
environmentArray<object>
Show child attributes
availablebooleanrequired
namestringrequired
requiredbooleanrequired
execution_boundaryobjectrequired
Show child attributes
kindstringtrusted_host_processdeterministic_workernative_capabilityremote_providerrequired
run_idstringrequired
skillstringrequired
step_idstring
trust_boundarystringrequired
voice_profileobject

A resolved profile sourced from a workspace file (memory, conventions, voice).

Show child attributes
contentstringrequired
digeststringrequired
pathstringrequired
root_pathstringrequired
sharingstringlocal_onlyconfigured_modelrequired
idstringrequired
rolestringrequired

The kind of agent the step asks for.

taskstringrequired

The act it performs.

request_digeststringrequired

The digest runx reported for the request; an answer to it names this digest.

submitted_resolutionstoredResolution
Show child attributes
request_idstringrequired
request_digeststringrequired

The digest runx reported for the request this answers; the resume binds to it.

request_kindstringinputapprovalagent_actrequired
actorstringhumanagentrequired
payloadanyrequired
submitted_atstring<date-time>required
Example
{
  "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

object

Canonical prerelease v1 schema for listing queued hosted resolution requests.

statusanyrequired
run_idstringrequired
requestsArray<run-request-summary.schema.json>required
Show child attributes

Hosted v1 resolution request with an optional recorded response. Request payloads reference the canonical OSS contracts.

One of
idstringrequired
kindanyrequired
questionsArray<question.schema.json>required
Show child attributes
descriptionstring
free_textboolean

Whether the person may answer in their own words.

idstringrequired
optionsArray<object>

What the person may choose, the recommended first.

Show child attributes
detailstring
labelstringrequired
promptstringrequired
requiredbooleanrequired
typestringrequired

choice when it offers options, text otherwise.

request_digeststringrequired

The digest runx reported for the request; an answer to it names this digest.

submitted_resolutionstoredResolution
Show child attributes
request_idstringrequired
request_digeststringrequired

The digest runx reported for the request this answers; the resume binds to it.

request_kindstringinputapprovalagent_actrequired
actorstringhumanagentrequired
payloadanyrequired
submitted_atstring<date-time>required
idstringrequired
kindanyrequired
gateapproval-gate.schema.jsonrequired

The gate an approval request asks a person to pass, and why.

Show child attributes
idstringrequired
payloadany

What executes once the gate is approved, when it is at most 64 KiB. A host recomputes summary.payload_digest over it before it offers Approve; the request's digest binds it with the rest of the gate.

payload_artifactobject

What executes, when it is larger: a project artifact whose bytes are its canonical JSON.

Show child attributes
bytesinteger>= 0required
digeststringrequired
media_typestringrequired
pathstringrequired
schemastringrunx.project_artifact.v1required
uristringrequired

runx:project-artifact: and the artifact's digest.

reasonstringrequired
summaryobject

Shallow summary payload. payload_digest in it is the stable digest (runx.stable-json.v1) of what executes once the gate is approved.

typestring
request_digeststringrequired

The digest runx reported for the request; an answer to it names this digest.

submitted_resolutionstoredResolution
Show child attributes
request_idstringrequired
request_digeststringrequired

The digest runx reported for the request this answers; the resume binds to it.

request_kindstringinputapprovalagent_actrequired
actorstringhumanagentrequired
payloadanyrequired
submitted_atstring<date-time>required
idstringrequired
kindanyrequired
invocationagent-act-invocation.schema.jsonrequired
Show child attributes
allowanceobjectrequired

What the agent may call while its turn is open.

Show child attributes
asksboolean

Whether the turn may ask the human.

operationsArray<object>
Show child attributes
operationstringrequired
requirementstringrequired
skillsArray<string | object>

Child skills by ref, and the catalog rules a load is admitted under.

Show child attributes

One entry of an allowance's skills: a child skill by name, or a catalog rule, which admits the skills and connectors a load call finds.

Any of
string
catalogobject
Show child attributes
truststringfirst_partyverifiedcommunityrequired

The lowest tier a load admits on its own; a package below it waits on the person's trust.

projectboolean
toolsArray<string>

Catalog tool names.

envelopeobjectrequired
Show child attributes
actobject

The act its run's invoker stated: why the run exists, as the run's steps read $act.

Show child attributes
decisionstringcontinueescalatedeferclosedeclinemonitor

The decision the call carries out.

formstringreplyreview

What kind of act the call is.

previousstring

The receipt of the act this one follows.

purposestringrequired

Why the call is made.

reasonstring

What a reader is told about this particular call.

targetstring

The locator of what the act is about.

contextobject

The optional conventions and project instructions context block.

Show child attributes
conventionsobject

A resolved profile sourced from a workspace file (memory, conventions, voice).

Show child attributes
contentstringrequired
digeststringrequired
pathstringrequired
root_pathstringrequired
sharingstringlocal_onlyconfigured_modelrequired
instructionsArray<object>

The project's instructions: each AGENTS.md and CLAUDE.md from the repository root that contains the workspace down to the workspace, in that order, each path relative to the repository root.

Show child attributes
contentstringrequired
digeststringrequired
pathstringrequired
root_pathstringrequired
sharingstringlocal_onlyconfigured_modelrequired
memoryobject

The workspace's MEMORY.md, in envelopes recorded before hosts carried memory themselves. runx writes none: memory a host supplies travels as admitted context entries.

Show child attributes
contentstringrequired
digeststringrequired
pathstringrequired
root_pathstringrequired
sharingstringlocal_onlyconfigured_modelrequired
current_contextArray<object>required
Show child attributes
dataobjectrequired
metaobjectrequired

Metadata for a context artifact. step_id, parent_artifact_id, and receipt_id are required-but-nullable (present on the wire, possibly null).

Show child attributes
artifact_idstringrequired
created_atstringrequired
digeststringrequired
parent_artifact_idstring | nullrequired
producerobjectrequired

The producer of a context artifact.

Show child attributes
runnerstringrequired
skillstringrequired
receipt_idstring | nullrequired
redactedbooleanrequired
run_idstringrequired
size_bytesinteger>= 0required
step_idstring | nullrequired
scopeobjectrequired

Declares how context may be interpreted and where it may be shared. These labels never grant execution authority or manufacture a human decision.

Show child attributes
goal_idstring | nullrequired
purposestringproceduremandateconfirmed_memoryobservationwork_continuityretrieved_historyhypothesisrequired
sharingstringlocal_onlyconfigured_modelrequired
source_uristring | nullrequired
truststringoperator_confirmedskill_instructionsuntrusted_evidencerequired
summarystring

What the entry is, in a line, as its producer declares it: what a model reads in an index to choose whether to read the entry's data.

typestring | nullrequired
versionstring1required

The artifact context entry version. Committed as const: "1".

execution_locationobject

Where the skill executes from on disk.

Show child attributes
skill_directorystringrequired
tool_rootsArray<string>
historical_contextArray<object>required
Show child attributes
dataobjectrequired
metaobjectrequired

Metadata for a context artifact. step_id, parent_artifact_id, and receipt_id are required-but-nullable (present on the wire, possibly null).

Show child attributes
artifact_idstringrequired
created_atstringrequired
digeststringrequired
parent_artifact_idstring | nullrequired
producerobjectrequired

The producer of a context artifact.

Show child attributes
runnerstringrequired
skillstringrequired
receipt_idstring | nullrequired
redactedbooleanrequired
run_idstringrequired
size_bytesinteger>= 0required
step_idstring | nullrequired
scopeobjectrequired

Declares how context may be interpreted and where it may be shared. These labels never grant execution authority or manufacture a human decision.

Show child attributes
goal_idstring | nullrequired
purposestringproceduremandateconfirmed_memoryobservationwork_continuityretrieved_historyhypothesisrequired
sharingstringlocal_onlyconfigured_modelrequired
source_uristring | nullrequired
truststringoperator_confirmedskill_instructionsuntrusted_evidencerequired
summarystring

What the entry is, in a line, as its producer declares it: what a model reads in an index to choose whether to read the entry's data.

typestring | nullrequired
versionstring1required

The artifact context entry version. Committed as const: "1".

inputsobjectrequired
instructionsstringrequired
instructions_digeststringrequired

Digest of the exact owning SKILL.md bytes carried in instructions.

outputobject
output_schemaany

Exact root JSON Schema for the final result, including any declared packet contract. output remains the concise field index used by hosts; this schema is the validator offered to managed agents.

provenanceArray<object>required
Show child attributes
artifact_idstring
from_stepstring
inputstringrequired
outputstringrequired
receipt_idstring
requirementsobjectrequired

Exact non-secret execution requirements selected from the owning manifest, plus environment-name availability. Secret values never enter the agent context.

Show child attributes
declarationobjectrequired

Parser-owned projection of all execution requirements for one act.

Show child attributes
environmentobject

Environment names consumed by an executable act. Values are resolved only at execution time and never enter this declaration.

Show child attributes
optionalArray<string>
requiredArray<string>
scopesArray<string>
environmentArray<object>
Show child attributes
availablebooleanrequired
namestringrequired
requiredbooleanrequired
execution_boundaryobjectrequired
Show child attributes
kindstringtrusted_host_processdeterministic_workernative_capabilityremote_providerrequired
run_idstringrequired
skillstringrequired
step_idstring
trust_boundarystringrequired
voice_profileobject

A resolved profile sourced from a workspace file (memory, conventions, voice).

Show child attributes
contentstringrequired
digeststringrequired
pathstringrequired
root_pathstringrequired
sharingstringlocal_onlyconfigured_modelrequired
idstringrequired
rolestringrequired

The kind of agent the step asks for.

taskstringrequired

The act it performs.

request_digeststringrequired

The digest runx reported for the request; an answer to it names this digest.

submitted_resolutionstoredResolution
Show child attributes
request_idstringrequired
request_digeststringrequired

The digest runx reported for the request this answers; the resume binds to it.

request_kindstringinputapprovalagent_actrequired
actorstringhumanagentrequired
payloadanyrequired
submitted_atstring<date-time>required
Example
{
  "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

object

Canonical prerelease v1 schema for hosted request-response submissions.

One of
approvedbooleanrequired
request_digeststringrequired

The digest runx reported for the request this answers. An answer to a request that has changed since is refused.

payloadanyrequired
request_digeststringrequired

The digest runx reported for the request this answers. An answer to a request that has changed since is refused.

Example
{
  "approved": true,
  "request_digest": "string"
}

RunRecordedEnvelope

object
statusstringrequired
runHostedRunSummaryrequired

Canonical prerelease v1 schema for summarized hosted run state returned by the hosted API.

Show child attributes
idstringrequired
skillstringrequired
runnerstring
package_digeststring
execution_closure_digeststring
statusstringpendingrunningwaiting_resolutionsuccessfailuredeniedrequired
host_statusstringrunningpausedcompletedfaileddeniedrequired
trace_idstring
policy_bindingobject
Show child attributes
bundle_idstringrequired
bundle_versionstringrequired
scope_kindstringworkspace_defaultskillrequired
scope_refstring
completed_atstring<date-time>
actorsArray<string>
artifact_typesArray<string>
lineageobject
Show child attributes
kindanyrequired
source_run_idstringrequired
source_receipt_idstring
receipt_idstring
receipt_kindstring
kernel_run_idstring
errorstring
updated_atstring<date-time>required
created_atstring<date-time>required
Example
{
  "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

object
kindstringprincipalemailslack_channelwebhookrequired
valuestringrequired
labelstring
Example
{
  "kind": "principal",
  "value": "string",
  "label": "string"
}

PolicyApprovalRouteSummary

object
principal_idstringrequired
route_idstringrequired
titlestring
summarystring
recipientsArray<PolicyApprovalRouteRecipient>required
Show child attributes
kindstringprincipalemailslack_channelwebhookrequired
valuestringrequired
labelstring
created_atstring<date-time>required
updated_atstring<date-time>required
Example
{
  "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

object
route_idstringrequired
missingboolean
titlestring
summarystring
recipientsArray<PolicyApprovalRouteRecipient>required
Show child attributes
kindstringprincipalemailslack_channelwebhookrequired
valuestringrequired
labelstring
Example
{
  "route_id": "string",
  "missing": true,
  "title": "string",
  "summary": "string",
  "recipients": [
    {
      "kind": "principal",
      "value": "string",
      "label": "string"
    }
  ]
}

PutApprovalRouteRequest

object
titlestring
summarystring
recipientsArray<PolicyApprovalRouteRecipient>required
Show child attributes
kindstringprincipalemailslack_channelwebhookrequired
valuestringrequired
labelstring
Example
{
  "title": "string",
  "summary": "string",
  "recipients": [
    {
      "kind": "principal",
      "value": "string",
      "label": "string"
    }
  ]
}

ApprovalRouteEnvelope

object
statusstringrequired
routePolicyApprovalRouteSummaryrequired
Show child attributes
principal_idstringrequired
route_idstringrequired
titlestring
summarystring
recipientsArray<PolicyApprovalRouteRecipient>required
Show child attributes
kindstringprincipalemailslack_channelwebhookrequired
valuestringrequired
labelstring
created_atstring<date-time>required
updated_atstring<date-time>required
Example
{
  "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

object
statusstringrequired
routesArray<PolicyApprovalRouteSummary>required
Show child attributes
principal_idstringrequired
route_idstringrequired
titlestring
summarystring
recipientsArray<PolicyApprovalRouteRecipient>required
Show child attributes
kindstringprincipalemailslack_channelwebhookrequired
valuestringrequired
labelstring
created_atstring<date-time>required
updated_atstring<date-time>required
Example
{
  "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

object
idstringrequired
route_idstringrequired
skillstring
gate_typestring
gate_idstring
Example
{
  "id": "string",
  "route_id": "string",
  "skill": "string",
  "gate_type": "string",
  "gate_id": "string"
}

PolicyBundleRouting

object
default_route_idstring
rulesArray<PolicyBundleRoutingRule>required
Show child attributes
idstringrequired
route_idstringrequired
skillstring
gate_typestring
gate_idstring
Example
{
  "default_route_id": "string",
  "rules": [
    {
      "id": "string",
      "route_id": "string",
      "skill": "string",
      "gate_type": "string",
      "gate_id": "string"
    }
  ]
}

PolicyBundleWorkspacePolicy

object
strict_process_tool_inline_codeboolean
Example
{
  "strict_process_tool_inline_code": true
}

PolicyBundleSummary

object
principal_idstringrequired
bundle_idstringrequired
versionstringrequired
titlestring
summarystring
workspace_policyPolicyBundleWorkspacePolicyrequired
Show child attributes
strict_process_tool_inline_codeboolean
approval_routingPolicyBundleRoutingrequired
Show child attributes
default_route_idstring
rulesArray<PolicyBundleRoutingRule>required
Show child attributes
idstringrequired
route_idstringrequired
skillstring
gate_typestring
gate_idstring
created_atstring<date-time>required
Example
{
  "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

object
titlestring
summarystring
workspace_policyPolicyBundleWorkspacePolicy
Show child attributes
strict_process_tool_inline_codeboolean
approval_routingPolicyBundleRouting
Show child attributes
default_route_idstring
rulesArray<PolicyBundleRoutingRule>required
Show child attributes
idstringrequired
route_idstringrequired
skillstring
gate_typestring
gate_idstring
Example
{
  "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

object
statusstringrequired
bundlePolicyBundleSummaryrequired
Show child attributes
principal_idstringrequired
bundle_idstringrequired
versionstringrequired
titlestring
summarystring
workspace_policyPolicyBundleWorkspacePolicyrequired
Show child attributes
strict_process_tool_inline_codeboolean
approval_routingPolicyBundleRoutingrequired
Show child attributes
default_route_idstring
rulesArray<PolicyBundleRoutingRule>required
Show child attributes
idstringrequired
route_idstringrequired
skillstring
gate_typestring
gate_idstring
created_atstring<date-time>required
Example
{
  "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

object
statusstringrequired
bundlesArray<PolicyBundleSummary>required
Show child attributes
principal_idstringrequired
bundle_idstringrequired
versionstringrequired
titlestring
summarystring
workspace_policyPolicyBundleWorkspacePolicyrequired
Show child attributes
strict_process_tool_inline_codeboolean
approval_routingPolicyBundleRoutingrequired
Show child attributes
default_route_idstring
rulesArray<PolicyBundleRoutingRule>required
Show child attributes
idstringrequired
route_idstringrequired
skillstring
gate_typestring
gate_idstring
created_atstring<date-time>required
Example
{
  "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

object
principal_idstringrequired
scope_kindstringworkspace_defaultskillrequired
scope_refstring
bundle_idstringrequired
bundle_versionstringrequired
created_atstring<date-time>required
updated_atstring<date-time>required
Example
{
  "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

object
bundle_idstringrequired
bundle_versionstringrequired
Example
{
  "bundle_id": "string",
  "bundle_version": "string"
}

PolicyAttachmentEnvelope

object
statusstringsuccessdeletedrequired
attachmentPolicyAttachmentSummaryrequired
Show child attributes
principal_idstringrequired
scope_kindstringworkspace_defaultskillrequired
scope_refstring
bundle_idstringrequired
bundle_versionstringrequired
created_atstring<date-time>required
updated_atstring<date-time>required
Example
{
  "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

object
statusstringrequired
attachmentsArray<PolicyAttachmentSummary>required
Show child attributes
principal_idstringrequired
scope_kindstringworkspace_defaultskillrequired
scope_refstring
bundle_idstringrequired
bundle_versionstringrequired
created_atstring<date-time>required
updated_atstring<date-time>required
Example
{
  "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

object
idstringrequired
typestring
reasonstringrequired
summaryobject
Example
{
  "id": "string",
  "type": "string",
  "reason": "string",
  "summary": {}
}

ApprovalInboxItem

object
run_idstringrequired
principal_idstringrequired
skillstringrequired
created_atstring<date-time>required
updated_atstring<date-time>required
policy_bindingobject
Show child attributes
bundle_idstringrequired
bundle_versionstringrequired
scope_kindstringworkspace_defaultskillrequired
scope_refstring
request_idstringrequired
request_digeststringrequired
gateHostedApprovalGaterequired
Show child attributes
idstringrequired
typestring
reasonstringrequired
summaryobject
routeApprovalRouteSnapshot
Show child attributes
route_idstringrequired
missingboolean
titlestring
summarystring
recipientsArray<PolicyApprovalRouteRecipient>required
Show child attributes
kindstringprincipalemailslack_channelwebhookrequired
valuestringrequired
labelstring
matched_byobjectrequired
Show child attributes
kindstringnonedefaultrulerequired
rule_idstring
skillstring
gate_typestring
gate_idstring
Example
{
  "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

object
statusstringrequired
approvalsArray<ApprovalInboxItem>required
Show child attributes
run_idstringrequired
principal_idstringrequired
skillstringrequired
created_atstring<date-time>required
updated_atstring<date-time>required
policy_bindingobject
Show child attributes
bundle_idstringrequired
bundle_versionstringrequired
scope_kindstringworkspace_defaultskillrequired
scope_refstring
request_idstringrequired
request_digeststringrequired
gateHostedApprovalGaterequired
Show child attributes
idstringrequired
typestring
reasonstringrequired
summaryobject
routeApprovalRouteSnapshot
Show child attributes
route_idstringrequired
missingboolean
titlestring
summarystring
recipientsArray<PolicyApprovalRouteRecipient>required
Show child attributes
kindstringprincipalemailslack_channelwebhookrequired
valuestringrequired
labelstring
matched_byobjectrequired
Show child attributes
kindstringnonedefaultrulerequired
rule_idstring
skillstring
gate_typestring
gate_idstring
next_cursorstring
Example
{
  "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

object
statusstringrequired
connectobjectrequired
Example
{
  "status": "success",
  "connect": {}
}

CreateConnectTicketRequest

object
providerstringrequired
scopesArray<string>
scope_familystring
authority_kindstringread_onlyconstructivedestructive
target_repostring
target_locatorstring
return_tostring<uri>required
Example
{
  "provider": "string",
  "scopes": [
    "string"
  ],
  "scope_family": "string",
  "authority_kind": "read_only",
  "target_repo": "string",
  "target_locator": "string",
  "return_to": "https://example.com"
}

HostedProviderReference

object
provider_referencestringrequired
principal_idstringrequired
providerstringrequired
scopesArray<string>required
statusstringactiverevokedrequired
created_atstring<date-time>required
Example
{
  "provider_reference": "string",
  "principal_id": "string",
  "provider": "string",
  "scopes": [
    "string"
  ],
  "status": "active",
  "created_at": "2024-01-15T09:30:00Z"
}

ProviderReferenceListEnvelope

object
statusstringrequired
provider_referencesArray<HostedProviderReference>required
Show child attributes
provider_referencestringrequired
principal_idstringrequired
providerstringrequired
scopesArray<string>required
statusstringactiverevokedrequired
created_atstring<date-time>required
Example
{
  "status": "success",
  "provider_references": [
    {
      "provider_reference": "string",
      "principal_id": "string",
      "provider": "string",
      "scopes": [
        "string"
      ],
      "status": "active",
      "created_at": "2024-01-15T09:30:00Z"
    }
  ]
}

ProviderReferenceRevokedEnvelope

object
statusstringrequired
provider_referenceHostedProviderReferencerequired
Show child attributes
provider_referencestringrequired
principal_idstringrequired
providerstringrequired
scopesArray<string>required
statusstringactiverevokedrequired
created_atstring<date-time>required
Example
{
  "status": "revoked",
  "provider_reference": {
    "provider_reference": "string",
    "principal_id": "string",
    "provider": "string",
    "scopes": [
      "string"
    ],
    "status": "active",
    "created_at": "2024-01-15T09:30:00Z"
  }
}

ConnectorBinding

object

An 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.

connectorstringrequired
manifest_digeststringrequired
connector_digeststringrequired
Example
{
  "connector": "string",
  "manifest_digest": "string",
  "connector_digest": "string"
}

ConnectGrant

object
grant_idstringrequired
principal_idstringrequired
providerstringrequired

The provider namespace the grant and its authorization are keyed by, or a payment rail.

accountstring

The delegated account the grant holds, by name, when Connect recorded one.

connector_bindingConnectorBinding

An 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.

Show child attributes
connectorstringrequired
manifest_digeststringrequired
connector_digeststringrequired
scopesArray<string>required
scope_familystring
authority_kindstringread_onlyconstructivedestructive
target_repostring
target_locatorstring
auth_modestringoauthbyorequired
material_kindstringprovider_credentialbyo_credentialrequired
credential_material_boundbooleanrequired
verification_statusstringpendingverifiedfailed
verified_atstring<date-time>
expires_atstring<date-time>
grant_referenceobject
Show child attributes
grant_idstringrequired
scope_familystringrequired
authority_kindstringread_onlyconstructivedestructiverequired
target_repostring
target_locatorstring
statusstringactiveexpiredrevokedrequired
created_atstring<date-time>required
Example
{
  "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

object
statusstringrequired
grantsArray<ConnectGrant>required
Show child attributes
grant_idstringrequired
principal_idstringrequired
providerstringrequired

The provider namespace the grant and its authorization are keyed by, or a payment rail.

accountstring

The delegated account the grant holds, by name, when Connect recorded one.

connector_bindingConnectorBinding

An 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.

Show child attributes
connectorstringrequired
manifest_digeststringrequired
connector_digeststringrequired
scopesArray<string>required
scope_familystring
authority_kindstringread_onlyconstructivedestructive
target_repostring
target_locatorstring
auth_modestringoauthbyorequired
material_kindstringprovider_credentialbyo_credentialrequired
credential_material_boundbooleanrequired
verification_statusstringpendingverifiedfailed
verified_atstring<date-time>
expires_atstring<date-time>
grant_referenceobject
Show child attributes
grant_idstringrequired
scope_familystringrequired
authority_kindstringread_onlyconstructivedestructiverequired
target_repostring
target_locatorstring
statusstringactiveexpiredrevokedrequired
created_atstring<date-time>required
Example
{
  "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

object
statusstringrequired
grantConnectGrantrequired
Show child attributes
grant_idstringrequired
principal_idstringrequired
providerstringrequired

The provider namespace the grant and its authorization are keyed by, or a payment rail.

accountstring

The delegated account the grant holds, by name, when Connect recorded one.

connector_bindingConnectorBinding

An 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.

Show child attributes
connectorstringrequired
manifest_digeststringrequired
connector_digeststringrequired
scopesArray<string>required
scope_familystring
authority_kindstringread_onlyconstructivedestructive
target_repostring
target_locatorstring
auth_modestringoauthbyorequired
material_kindstringprovider_credentialbyo_credentialrequired
credential_material_boundbooleanrequired
verification_statusstringpendingverifiedfailed
verified_atstring<date-time>
expires_atstring<date-time>
grant_referenceobject
Show child attributes
grant_idstringrequired
scope_familystringrequired
authority_kindstringread_onlyconstructivedestructiverequired
target_repostring
target_locatorstring
statusstringactiveexpiredrevokedrequired
created_atstring<date-time>required
Example
{
  "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

object
connector_bindingConnectorBindingrequired

An 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.

Show child attributes
connectorstringrequired
manifest_digeststringrequired
connector_digeststringrequired
grant_idstringrequired
operationstringrequired
operation_digeststringrequired

The digest of the connector operation the caller admitted. Cloud refuses one that is not its manifest's with operation_contract_mismatch.

targetstringrequired

Exact 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.

inputobject
accessstringreadmutate

Optional caller assertion checked against the connector manifest's operation before dispatch.

Example
{
  "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

object

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_bindingConnectorBindingrequired

An 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.

Show child attributes
connectorstringrequired
manifest_digeststringrequired
connector_digeststringrequired
grant_idstringrequired
operationstringrequired
operation_digeststringrequired
implementation_digeststringrequired
inputobjectrequired
idempotency_keystring
requeststringrequired
iteminteger>= 0

The element of a repeated request, by position.

responsesobject

The write's decoded answer, by request id, for a checking read whose request binds it. Accepted only for checking reads.

Example
{
  "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

object

The provider's answer, whole: provider errors are answers, never clipped.

statusintegerrequired
bodystringrequired
Example
{
  "status": 0,
  "body": "string"
}

ProviderOperationResultEnvelope

object
statusstringrequired
providerstringrequired
operationstringrequired
targetstringrequired
accessstringreadmutaterequired

The access the connector manifest declares for the executed operation.

resultanyrequired
readback_uristringrequired
operation_idstring
idempotency_keystring
Example
{
  "status": "success",
  "provider": "string",
  "operation": "string",
  "target": "string",
  "access": "read",
  "readback_uri": "string",
  "operation_id": "string",
  "idempotency_key": "string"
}

CreateConnectSessionRequest

object
providerstringrequired
scopesArray<string>
scope_familystring
authority_kindstringread_onlyconstructivedestructive
target_repostring
target_locatorstring
credential_grant_idstring

An active verified BYO grant whose retained credential material will be reused for this new, independently scoped grant. Mutually exclusive with binding_id.

Example
{
  "provider": "string",
  "scopes": [
    "string"
  ],
  "scope_family": "string",
  "authority_kind": "read_only",
  "target_repo": "string",
  "target_locator": "string",
  "credential_grant_id": "string"
}

ConnectSessionPendingEnvelope

object
statusstringrequired
session_idstringrequired
flow_idstringrequired
authorization_urlstring<uri>required
poll_after_msintegerrequired
expires_atstring<date-time>
Example
{
  "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

object
statusstringcreatedunchangedrequired
session_idstring
flow_idstring
grantConnectGrantrequired
Show child attributes
grant_idstringrequired
principal_idstringrequired
providerstringrequired

The provider namespace the grant and its authorization are keyed by, or a payment rail.

accountstring

The delegated account the grant holds, by name, when Connect recorded one.

connector_bindingConnectorBinding

An 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.

Show child attributes
connectorstringrequired
manifest_digeststringrequired
connector_digeststringrequired
scopesArray<string>required
scope_familystring
authority_kindstringread_onlyconstructivedestructive
target_repostring
target_locatorstring
auth_modestringoauthbyorequired
material_kindstringprovider_credentialbyo_credentialrequired
credential_material_boundbooleanrequired
verification_statusstringpendingverifiedfailed
verified_atstring<date-time>
expires_atstring<date-time>
grant_referenceobject
Show child attributes
grant_idstringrequired
scope_familystringrequired
authority_kindstringread_onlyconstructivedestructiverequired
target_repostring
target_locatorstring
statusstringactiveexpiredrevokedrequired
created_atstring<date-time>required
Example
{
  "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"
  }
}

ConnectSessionUnavailableEnvelope

object
statusstringconnect_unavailableunsupportedrequired
providerstringrequired
reasonstringnot_hostednot_enabledcredential_store_unconfiguredrequired
errorstringrequired
Example
{
  "status": "connect_unavailable",
  "provider": "string",
  "reason": "not_hosted",
  "error": "string"
}

ConnectSessionStatusEnvelope

object
One of
statusstringrequired
session_idstringrequired
flow_idstringrequired
poll_after_msintegerrequired
statusstringrequired
session_idstringrequired
flow_idstringrequired
errorstringrequired
statusstringrequired
session_idstringrequired
flow_idstringrequired
providerstringrequired
credential_material_boundbooleanrequired
verified_atstring<date-time>
statusstringcreatedunchangedrequired
session_idstringrequired
flow_idstringrequired
grantConnectGrantrequired
Show child attributes
grant_idstringrequired
principal_idstringrequired
providerstringrequired

The provider namespace the grant and its authorization are keyed by, or a payment rail.

accountstring

The delegated account the grant holds, by name, when Connect recorded one.

connector_bindingConnectorBinding

An 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.

Show child attributes
connectorstringrequired
manifest_digeststringrequired
connector_digeststringrequired
scopesArray<string>required
scope_familystring
authority_kindstringread_onlyconstructivedestructive
target_repostring
target_locatorstring
auth_modestringoauthbyorequired
material_kindstringprovider_credentialbyo_credentialrequired
credential_material_boundbooleanrequired
verification_statusstringpendingverifiedfailed
verified_atstring<date-time>
expires_atstring<date-time>
grant_referenceobject
Show child attributes
grant_idstringrequired
scope_familystringrequired
authority_kindstringread_onlyconstructivedestructiverequired
target_repostring
target_locatorstring
statusstringactiveexpiredrevokedrequired
created_atstring<date-time>required
Example
{
  "status": "pending",
  "session_id": "string",
  "flow_id": "string",
  "poll_after_ms": 0
}

GenericEnvelope

object
object
Example
{}

CategoryFacetEntry

object
valuestringrequired
countnumberrequired
labelstringrequired
surfacestring
Example
{
  "value": "string",
  "count": 0,
  "label": "string",
  "surface": "builder"
}

CopyableCommand

object
shellstringrequired
argvArray<string>required
copy_textstringrequired
Example
{
  "shell": "posix",
  "argv": [
    "string"
  ],
  "copy_text": "string"
}

EmbeddedOfferVersionBindingContract

object
input_schema_digeststringrequired
offer_idstringrequired
output_schema_digeststringrequired
profile_digeststringrequired
versionstringrequired
Example
{
  "input_schema_digest": "string",
  "offer_id": "string",
  "output_schema_digest": "string",
  "profile_digest": "string",
  "version": "string"
}

FacetEntry

object
valuestringrequired
countnumberrequired
Example
{
  "value": "string",
  "count": 0
}

JsonObject

object
object
Example
{}

JsonValue

object
Any of
null
boolean
number
string
Array<JsonValue>
object
Example
null

OperationVerb

string
PublicConnectorOperationVerbreadwritecommentreviewmergecreateupdatedeleteexecuterevoke
Example
"read"

PaidSkillActsOnContract

object
connectorstringrequired
credentialstringrequired
targetanyrequired
Example
{
  "connector": "string",
  "credential": "string"
}

PaidSkillListingContract

object
bundle_digeststringrequired
offersobjectrequired
profile_digeststringrequired
seller_refPrincipalReferenceContractrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindProofKindContracteffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
skill_digeststringrequired
skill_idstringrequired
versionstringrequired
Example
{
  "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

object
amount_minornumberrequired
whenArray<PriceChoiceContract>required
Example
{
  "amount_minor": 0,
  "when": [
    "string"
  ]
}

PaidSkillPriceContract

object
Any of
amount_minornumberrequired
modelstringrequired
casesArray<PaidSkillPriceCaseContract>required
Show child attributes
amount_minornumberrequired
whenArray<PriceChoiceContract>required
modelstringrequired
selectorsArray<string>required
artifact_inputstringrequired
base_amount_minornumberrequired
max_bytesnumberrequired
modelstringrequired
unit_amount_minornumberrequired
unit_bytesnumberrequired
Example
{
  "amount_minor": 0,
  "model": "fixed"
}

PaidSkillRunnerOfferContract

object
accepted_settlement_familiesArray<string>required
acts_onPaidSkillActsOnContract
Show child attributes
connectorstringrequired
credentialstringrequired
targetanyrequired
currencystringrequired
offer_versionEmbeddedOfferVersionBindingContractrequired
Show child attributes
input_schema_digeststringrequired
offer_idstringrequired
output_schema_digeststringrequired
profile_digeststringrequired
versionstringrequired
priceobject | object | objectrequired
Example
{
  "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"
  }
}

PriceChoiceContract

stringnumberboolean
PriceChoiceContract
Example
"string"

PrincipalReferenceContract

object
labelstring
locatorstring
observed_atstring
proof_kindProofKindContracteffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
Example
{
  "label": "string",
  "locator": "string",
  "observed_at": "string",
  "proof_kind": "effect_evidence",
  "provider": "string",
  "type": "principal",
  "uri": "string"
}

ProofKindContract

string
ProofKindContracteffect_evidenceeffect_finalitycredential_resolution
Example
"effect_evidence"

PublicBoundConnectorMark

object
digeststringrequired
urlstringrequired
sourcestringrequired
connectorstringrequired
Example
{
  "digest": "string",
  "url": "string",
  "source": "connector",
  "connector": "string"
}

PublicConnectorAuthMethod

string
PublicConnectorAuthMethoddelegatedcredentialssessionnone
Example
"delegated"

PublicConnectorCategory

object
idstringrequired
labelstringrequired
Example
{
  "id": "string",
  "label": "string"
}

PublicConnectorCredential

object
kindstringrequired
fieldsArray<object>required
Show child attributes
namestringrequired
labelstring
secretboolean
requiredboolean
audienceArray<string>
Example
{
  "kind": "string",
  "fields": [
    {
      "name": "string",
      "label": "string",
      "secret": true,
      "required": true
    }
  ],
  "audience": [
    "string"
  ]
}

PublicConnectorDetail

object
connectorstringrequired
publisherPublicPublisherrequired
Show child attributes
idstringrequired
slugstringrequired
handlestringrequired
display_namestringrequired
kindstringorguserteamrequired
verifiedbooleanrequired
imagePublicMark
Show child attributes
digeststringrequired
urlstringrequired
urlstringrequired
idstringrequired
versionstringrequired
namestringrequired
descriptionstringrequired
categoryPublicConnectorCategoryrequired
Show child attributes
idstringrequired
labelstringrequired
runtime_capabilitybooleanrequired
trust_tierstringfirst_partyverifiedcommunityrequired
auth_methodsArray<PublicConnectorAuthMethod>delegatedcredentialssessionnonerequired
placementsArray<PublicConnectorPlacement>required
Show child attributes
placementPublicConnectorPlacementNamehostedlocalrequired
authArray<PublicConnectorAuthMethod>delegatedcredentialssessionnonerequired
readybooleanrequired
ready_operationsnumberrequired
reasonsArray<PublicReadinessReason>required
Show child attributes
checkPublicReadinessCheckrequirementinstancecapabilitydelegationapprovalimplementationtolerancerequired
outcomePublicReadinessOutcomepassfailrequiredunknownrequired
detailstringrequired
manifest_digeststringrequired
content_digeststringrequired
connector_digeststringrequired
markPublicDeclaredMarkrequired
Show child attributes
digeststringrequired
urlstringrequired
sourcestringowncategoryrequired
operationsArray<PublicConnectorOperationDetail>required
Show child attributes
namestringrequired
verbPublicConnectorOperationVerbreadwritecommentreviewmergecreateupdatedeleteexecuterevokerequired
descriptionstringrequired
scopesArray<string>required
implementedbooleanrequired
operation_digeststringrequired
implementation_digeststring
placementsArray<PublicOperationPlacementReadiness>required
Show child attributes
placementPublicConnectorPlacementNamehostedlocalrequired
readybooleanrequired
reasonsArray<PublicReadinessReason>required
Show child attributes
checkPublicReadinessCheckrequirementinstancecapabilitydelegationapprovalimplementationtolerancerequired
outcomePublicReadinessOutcomepassfailrequiredunknownrequired
detailstringrequired
setupArray<PublicConnectorSetup>required
Show child attributes
placementPublicConnectorPlacementNamehostedlocalrequired
methodPublicConnectorAuthMethoddelegatedcredentialssessionnonerequired
credentialstring
commandsArray<Array<string>>required
manifestanyrequired
manifest_urlstringrequired
install_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
cli_releasestringrequired
Example
{
  "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

object
provider_idempotencyobject
Show child attributes
valuestringenforcedinherentrequired
meaningstringrequired
readbackobject
Show child attributes
valuestringrequired
meaningstringrequired
Example
{
  "provider_idempotency": {
    "value": "enforced",
    "meaning": "string"
  },
  "readback": {
    "value": "unavailable",
    "meaning": "string"
  }
}

PublicConnectorImplementation

object
Any of
httpobjectrequired
Show child attributes
allowed_hostsArray<string>required
mcpobjectrequired
Show child attributes
toolstringrequired
tool_digeststring
processobjectrequired
Show child attributes
toolstringrequired
runtime_scopesArray<string>
webobjectrequired
storeobjectrequired
artifactobjectrequired
Example
{
  "http": {
    "allowed_hosts": [
      "string"
    ]
  }
}

PublicConnectorManifest

object
schemastringrequired
idstringrequired
namestringrequired
descriptionstringrequired
authPublicConnectorManifestAuthrequired
Show child attributes
credentialsobject
delegatedobject
sessionobject
Show child attributes
kindstringcommandmanaged_commandhost_browserrequired
commandArray<string>
credentialstring
noneobject
parametersJsonObject
placementsPublicConnectorManifestPlacementsrequired
Show child attributes
hostedobject
Show child attributes
authstringdelegatedcredentialrequired
credentialstring
callersstringpublicruntime
localobject
Show child attributes
authArray<string>credentialssessionnonerequired
mcp_serverobject
Show child attributes
transportstringrequired
operationsobjectrequired
Example
{
  "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

object
credentialsobject
delegatedobject
sessionobject
Show child attributes
kindstringcommandmanaged_commandhost_browserrequired
commandArray<string>
credentialstring
noneobject
Example
{
  "credentials": {},
  "delegated": {},
  "session": {
    "kind": "command",
    "command": [
      "string"
    ],
    "credential": "string"
  },
  "none": {}
}

PublicConnectorManifestOperation

object
descriptionstringrequired
verbPublicConnectorOperationVerbreadwritecommentreviewmergecreateupdatedeleteexecuterevokerequired
scopesArray<string>required
credentialsArray<string>
targetobjectrequired
Show child attributes
templateJsonValuerequired
patternstring
approvalstringnonerequired
idempotency_key_formatstringrunxuuid
guaranteesPublicConnectorGuarantees
Show child attributes
provider_idempotencyobject
Show child attributes
valuestringenforcedinherentrequired
meaningstringrequired
readbackobject
Show child attributes
valuestringrequired
meaningstringrequired
amountstring | object
input_schemaJsonObject
result_fieldsArray<string>
effectobject
Show child attributes
kindReferenceKindthreadcommenteventtracking_itemchange_requestrepositoryexternal_urlrequired
locatorJsonValuerequired
eachJsonValue
hostedobject
Show child attributes
provider_scopesArray<string>
implementationobject | object | object | object | object | object
Example
{
  "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

object
hostedobject
Show child attributes
authstringdelegatedcredentialrequired
credentialstring
callersstringpublicruntime
localobject
Show child attributes
authArray<string>credentialssessionnonerequired
mcp_serverobject
Show child attributes
transportstringrequired
Example
{
  "hosted": {
    "auth": "delegated",
    "credential": "string",
    "callers": "public"
  },
  "local": {
    "auth": [
      "credentials"
    ],
    "mcp_server": {
      "transport": "string"
    }
  }
}

PublicConnectorOperationDetail

object
namestringrequired
verbPublicConnectorOperationVerbreadwritecommentreviewmergecreateupdatedeleteexecuterevokerequired
descriptionstringrequired
scopesArray<string>required
implementedbooleanrequired
operation_digeststringrequired
implementation_digeststring
placementsArray<PublicOperationPlacementReadiness>required
Show child attributes
placementPublicConnectorPlacementNamehostedlocalrequired
readybooleanrequired
reasonsArray<PublicReadinessReason>required
Show child attributes
checkPublicReadinessCheckrequirementinstancecapabilitydelegationapprovalimplementationtolerancerequired
outcomePublicReadinessOutcomepassfailrequiredunknownrequired
detailstringrequired
Example
{
  "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
PublicConnectorOperationVerbreadwritecommentreviewmergecreateupdatedeleteexecuterevoke
Example
"read"

PublicConnectorPackage

object
connectorstringrequired
versionstringrequired
trust_tierstringfirst_partyverifiedcommunityrequired
filesArray<PublicPackageFile>required
Show child attributes
pathstringrequired
contentstringrequired
signed_manifestRegistrySignedManifestrequired
Show child attributes
schemastringrequired
subjectRegistrySubjectrequired
Show child attributes
kindRegistrySubjectKindskillconnectorrequired
namestringrequired
versionstringrequired
content_digeststringrequired
signerobjectrequired
Show child attributes
idstringrequired
key_idstringrequired
signatureobjectrequired
Show child attributes
algstringrequired
valuestringrequired
Example
{
  "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

object
statusstringrequired
packagePublicConnectorPackage | PublicWithdrawnConnectorPackagerequired
Example
{
  "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

object
placementPublicConnectorPlacementNamehostedlocalrequired
authArray<PublicConnectorAuthMethod>delegatedcredentialssessionnonerequired
readybooleanrequired
ready_operationsnumberrequired
reasonsArray<PublicReadinessReason>required
Show child attributes
checkPublicReadinessCheckrequirementinstancecapabilitydelegationapprovalimplementationtolerancerequired
outcomePublicReadinessOutcomepassfailrequiredunknownrequired
detailstringrequired
Example
{
  "placement": "hosted",
  "auth": [
    "delegated"
  ],
  "ready": true,
  "ready_operations": 0,
  "reasons": [
    {
      "check": "requirement",
      "outcome": "pass",
      "detail": "string"
    }
  ]
}

PublicConnectorPlacementName

string
PublicConnectorPlacementNamehostedlocal
Example
"hosted"

PublicConnectorPublishRequest

object
versionstring
filesArray<PublicPackageFile>required
Show child attributes
pathstringrequired
contentstringrequired
Example
{
  "version": "string",
  "files": [
    {
      "path": "string",
      "content": "string"
    }
  ]
}

PublicConnectorPublishResponse

object
statusstringrequired
publishPublicConnectorPublishResultrequired
Show child attributes
statusstringpublishedunchangedrequired
connectorstringrequired
versionstringrequired
content_digeststringrequired
manifest_digeststringrequired
connector_digeststringrequired
trust_tierstringfirst_partyverifiedcommunityrequired
install_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
public_urlstringrequired
Example
{
  "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

object
statusstringpublishedunchangedrequired
connectorstringrequired
versionstringrequired
content_digeststringrequired
manifest_digeststringrequired
connector_digeststringrequired
trust_tierstringfirst_partyverifiedcommunityrequired
install_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
public_urlstringrequired
Example
{
  "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"
}

PublicConnectorResponse

object
statusstringrequired
connectoranyrequired
Example
{
  "status": "success"
}

PublicConnectorSetup

object
placementPublicConnectorPlacementNamehostedlocalrequired
methodPublicConnectorAuthMethoddelegatedcredentialssessionnonerequired
credentialstring
commandsArray<Array<string>>required
Example
{
  "placement": "hosted",
  "method": "delegated",
  "credential": "string",
  "commands": [
    [
      "string"
    ]
  ]
}

PublicConnectorSummary

object
connectorstringrequired
publisherPublicPublisherrequired
Show child attributes
idstringrequired
slugstringrequired
handlestringrequired
display_namestringrequired
kindstringorguserteamrequired
verifiedbooleanrequired
imagePublicMark
Show child attributes
digeststringrequired
urlstringrequired
urlstringrequired
idstringrequired
versionstringrequired
namestringrequired
descriptionstringrequired
categoryPublicConnectorCategoryrequired
Show child attributes
idstringrequired
labelstringrequired
runtime_capabilitybooleanrequired
trust_tierstringfirst_partyverifiedcommunityrequired
auth_methodsArray<PublicConnectorAuthMethod>delegatedcredentialssessionnonerequired
placementsArray<PublicConnectorPlacement>required
Show child attributes
placementPublicConnectorPlacementNamehostedlocalrequired
authArray<PublicConnectorAuthMethod>delegatedcredentialssessionnonerequired
readybooleanrequired
ready_operationsnumberrequired
reasonsArray<PublicReadinessReason>required
Show child attributes
checkPublicReadinessCheckrequirementinstancecapabilitydelegationapprovalimplementationtolerancerequired
outcomePublicReadinessOutcomepassfailrequiredunknownrequired
detailstringrequired
manifest_digeststringrequired
content_digeststringrequired
connector_digeststringrequired
markPublicDeclaredMarkrequired
Show child attributes
digeststringrequired
urlstringrequired
sourcestringowncategoryrequired
Example
{
  "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

object
versionstringrequired
created_atstringrequired
content_digeststringrequired
trust_tierstringfirst_partyverifiedcommunityrequired
Example
{
  "version": "string",
  "created_at": "string",
  "content_digest": "string",
  "trust_tier": "first_party"
}

PublicConnectorVersionsResponse

object
connectorstringrequired
versionsArray<PublicConnectorVersionSummary>required
Show child attributes
versionstringrequired
created_atstringrequired
content_digeststringrequired
trust_tierstringfirst_partyverifiedcommunityrequired
has_morebooleanrequired
next_cursorstring
statusstringrequired
Example
{
  "connector": "string",
  "versions": [
    {
      "version": "string",
      "created_at": "string",
      "content_digest": "string",
      "trust_tier": "first_party"
    }
  ],
  "has_more": true,
  "next_cursor": "string",
  "status": "success"
}

PublicConnectorVersionsResult

object
connectorstringrequired
versionsArray<PublicConnectorVersionSummary>required
Show child attributes
versionstringrequired
created_atstringrequired
content_digeststringrequired
trust_tierstringfirst_partyverifiedcommunityrequired
has_morebooleanrequired
next_cursorstring
Example
{
  "connector": "string",
  "versions": [
    {
      "version": "string",
      "created_at": "string",
      "content_digest": "string",
      "trust_tier": "first_party"
    }
  ],
  "has_more": true,
  "next_cursor": "string"
}

PublicConnectorsQuery

object
qstring
categorystring
trust_tierstringfirst_partyverifiedcommunity
placementPublicConnectorPlacementNamehostedlocal
publisherstring
Example
{
  "q": "string",
  "category": "string",
  "trust_tier": "first_party",
  "placement": "hosted",
  "publisher": "string"
}

PublicConnectorsResponse

object
statusstringrequired
queryPublicConnectorsQueryrequired
Show child attributes
qstring
categorystring
trust_tierstringfirst_partyverifiedcommunity
placementPublicConnectorPlacementNamehostedlocal
publisherstring
catalog_totalnumberrequired
totalnumberrequired
facetsobjectrequired
Show child attributes
categoriesArray<object>required
Show child attributes
countnumberrequired
idstringrequired
labelstringrequired
placementsArray<object>required
Show child attributes
placementPublicConnectorPlacementNamehostedlocalrequired
countnumberrequired
connectorsArray<PublicConnectorSummary>required
Show child attributes
connectorstringrequired
publisherPublicPublisherrequired
Show child attributes
idstringrequired
slugstringrequired
handlestringrequired
display_namestringrequired
kindstringorguserteamrequired
verifiedbooleanrequired
imagePublicMark
Show child attributes
digeststringrequired
urlstringrequired
urlstringrequired
idstringrequired
versionstringrequired
namestringrequired
descriptionstringrequired
categoryPublicConnectorCategoryrequired
Show child attributes
idstringrequired
labelstringrequired
runtime_capabilitybooleanrequired
trust_tierstringfirst_partyverifiedcommunityrequired
auth_methodsArray<PublicConnectorAuthMethod>delegatedcredentialssessionnonerequired
placementsArray<PublicConnectorPlacement>required
Show child attributes
placementPublicConnectorPlacementNamehostedlocalrequired
authArray<PublicConnectorAuthMethod>delegatedcredentialssessionnonerequired
readybooleanrequired
ready_operationsnumberrequired
reasonsArray<PublicReadinessReason>required
Show child attributes
checkPublicReadinessCheckrequirementinstancecapabilitydelegationapprovalimplementationtolerancerequired
outcomePublicReadinessOutcomepassfailrequiredunknownrequired
detailstringrequired
manifest_digeststringrequired
content_digeststringrequired
connector_digeststringrequired
markPublicDeclaredMarkrequired
Show child attributes
digeststringrequired
urlstringrequired
sourcestringowncategoryrequired
next_cursorstring
Example
{
  "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

object
digeststringrequired
urlstringrequired
sourcestringowncategoryrequired
Example
{
  "digest": "string",
  "url": "string",
  "source": "own"
}

PublicEvidenceEvent

object
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
Example
{
  "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

object
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
idstring
Example
{
  "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"
}

PublicEvidenceKind

string
PublicEvidenceKind
Example
"string"

PublicEvidenceStatus

string
PublicEvidenceStatussuccessfailurependingrunningwaitingcancelled
Example
"success"

PublicFeedItem

object
idstringrequired
sourcestringrunx-hostedpublic-evidencerequired
statusstringrequired
titlestringrequired
targetstringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
run_idstring
receipt_idstring
skill_idstring
actions_countnumber
urlstring
principalstring
principal_handlestring
signer_truststringverifiedcommunityunverified
scopesArray<string>
parent_receipt_idstring
graph_depthnumber
metadataobject
Example
{
  "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

object
statusstringrequired
as_ofstringrequired
feedArray<PublicFeedItem>required
Show child attributes
idstringrequired
sourcestringrunx-hostedpublic-evidencerequired
statusstringrequired
titlestringrequired
targetstringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
run_idstring
receipt_idstring
skill_idstring
actions_countnumber
urlstring
principalstring
principal_handlestring
signer_truststringverifiedcommunityunverified
scopesArray<string>
parent_receipt_idstring
graph_depthnumber
metadataobject
Example
{
  "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

object
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
Example
{
  "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

object
statusstringpassedfailednot_recordedolder_versionunavailablerequired
declared_case_countnumberrequired
declared_casesArray<object>required
Show child attributes
namestringrequired
runnerstring
expected_statusstring
case_countnumberrequired
checks_passednumber
checks_failednumber
receipt_idsArray<string>required
evidence_urlstring
latest_runPublicEvidenceEvent
Show child attributes
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
resultsArray<PublicEvidenceEvent>required
Show child attributes
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
recent_runsArray<PublicEvidenceEvent>required
Show child attributes
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
older_versionPublicEvidenceEvent
Show child attributes
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
Example
{
  "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"
    }
  }
}

PublicMark

object
digeststringrequired
urlstringrequired
Example
{
  "digest": "string",
  "url": "string"
}

PublicOperationPlacementReadiness

object
placementPublicConnectorPlacementNamehostedlocalrequired
readybooleanrequired
reasonsArray<PublicReadinessReason>required
Show child attributes
checkPublicReadinessCheckrequirementinstancecapabilitydelegationapprovalimplementationtolerancerequired
outcomePublicReadinessOutcomepassfailrequiredunknownrequired
detailstringrequired
Example
{
  "placement": "hosted",
  "ready": true,
  "reasons": [
    {
      "check": "requirement",
      "outcome": "pass",
      "detail": "string"
    }
  ]
}

PublicPackageFile

object
pathstringrequired
contentstringrequired
Example
{
  "path": "string",
  "content": "string"
}

PublicPublisher

object
idstringrequired
slugstringrequired
handlestringrequired
display_namestringrequired
kindstringorguserteamrequired
verifiedbooleanrequired
imagePublicMark
Show child attributes
digeststringrequired
urlstringrequired
urlstringrequired
Example
{
  "id": "string",
  "slug": "string",
  "handle": "string",
  "display_name": "string",
  "kind": "org",
  "verified": true,
  "image": {
    "digest": "string",
    "url": "string"
  },
  "url": "string"
}

PublicPublisherProfile

object
idstringrequired
slugstringrequired
handlestringrequired
display_namestringrequired
kindstringorguserteamrequired
verifiedbooleanrequired
imagePublicMark
Show child attributes
digeststringrequired
urlstringrequired
urlstringrequired
descriptionstring
linksArray<object>required
Show child attributes
labelstringrequired
urlstringrequired
skill_countnumber
install_countnumber
categoriesArray<CategoryFacetEntry>
Show child attributes
valuestringrequired
countnumberrequired
labelstringrequired
surfacestring
updated_atstring
Example
{
  "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

object
statusstringrequired
publisherPublicPublisherProfilerequired
Show child attributes
idstringrequired
slugstringrequired
handlestringrequired
display_namestringrequired
kindstringorguserteamrequired
verifiedbooleanrequired
imagePublicMark
Show child attributes
digeststringrequired
urlstringrequired
urlstringrequired
descriptionstring
linksArray<object>required
Show child attributes
labelstringrequired
urlstringrequired
skill_countnumber
install_countnumber
categoriesArray<CategoryFacetEntry>
Show child attributes
valuestringrequired
countnumberrequired
labelstringrequired
surfacestring
updated_atstring
Example
{
  "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
PublicReadinessCheckrequirementinstancecapabilitydelegationapprovalimplementationtolerance
Example
"requirement"

PublicReadinessOutcome

string
PublicReadinessOutcomepassfailrequiredunknown
Example
"pass"

PublicReadinessReason

object
checkPublicReadinessCheckrequirementinstancecapabilitydelegationapprovalimplementationtolerancerequired
outcomePublicReadinessOutcomepassfailrequiredunknownrequired
detailstringrequired
Example
{
  "check": "requirement",
  "outcome": "pass",
  "detail": "string"
}

PublicReceiptCheck

object
idstringrequired
labelstringrequired
resultobjectrequired
Show child attributes
kindPublicReceiptCheckKindpassfailcautionunavailablerecordedrequired
labelstringrequired
reasonstringrequired
Example
{
  "id": "string",
  "label": "string",
  "result": {
    "kind": "pass",
    "label": "string"
  },
  "reason": "string"
}

PublicReceiptCheckGroup

object
idstringintegrityissuernotarizationrequired
titlestringrequired
checksArray<PublicReceiptCheck>required
Show child attributes
idstringrequired
labelstringrequired
resultobjectrequired
Show child attributes
kindPublicReceiptCheckKindpassfailcautionunavailablerecordedrequired
labelstringrequired
reasonstringrequired
Example
{
  "id": "integrity",
  "title": "string",
  "checks": [
    {
      "id": "string",
      "label": "string",
      "result": {
        "kind": "pass",
        "label": "string"
      },
      "reason": "string"
    }
  ]
}

PublicReceiptCheckKind

string
PublicReceiptCheckKindpassfailcautionunavailablerecorded
Example
"pass"

PublicReceiptClaim

object
schemastringrequired
kindstringrequired
titlestringrequired
venueobjectrequired
Show child attributes
idstringrequired
namestring
urlstring
subjectobject
Show child attributes
typestringrequired
idstringrequired
labelstring
amountobject
Show child attributes
centsnumberrequired
currencystringrequired
source_urlstring
occurred_atstringrequired
Example
{
  "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

object
statusstringrequired
receiptPublicReceiptNotarizationRecordrequired
Show child attributes
notarization_statusstringrequired
digeststringrequired
modestringfulldigest_onlyrequired
mode_statementstringrequired
receipt_idstring
declared_receipt_idstring
verified_atstringrequired
sealed_atstringrequired
updated_atstringrequired
runx_versionstringrequired
issuerobject
Show child attributes
typestringrequired
labelstringrequired
edge_keyobjectrequired
Show child attributes
typestring
kidstring
public_key_digeststring
verdictobjectrequired
Show child attributes
validboolean
signature_issuer_typestring
signature_statusstring
signature_kidstring
digest_statusstring
content_address_statusstring
lineage_statusstring
findings_countnumberrequired
finding_codesArray<string>required
subjectobject
Show child attributes
kindstring
ref_typestring
public_claimPublicReceiptClaim
Show child attributes
schemastringrequired
kindstringrequired
titlestringrequired
venueobjectrequired
Show child attributes
idstringrequired
namestring
urlstring
subjectobject
Show child attributes
typestringrequired
idstringrequired
labelstring
amountobject
Show child attributes
centsnumberrequired
currencystringrequired
source_urlstring
occurred_atstringrequired
claim_statementstring
publisherobjectrequired
Show child attributes
principal_idstringrequired
checksArray<PublicReceiptCheckGroup>required
Show child attributes
idstringintegrityissuernotarizationrequired
titlestringrequired
checksArray<PublicReceiptCheck>required
Show child attributes
idstringrequired
labelstringrequired
resultobjectrequired
Show child attributes
kindPublicReceiptCheckKindpassfailcautionunavailablerecordedrequired
labelstringrequired
reasonstringrequired
alertobject
Show child attributes
kindstringfailcautionrequired
labelstringrequired
check_idstringrequired
notary_verificationobjectrequired
Show child attributes
counter_sealobjectrequired
Show child attributes
schemastring
issuerobject
Show child attributes
typestring
kidstring
payloadobject
payload_digeststring
digeststring
signatureobject
Show child attributes
algstring
valuestring
signer_public_keysArray<object>required
Show child attributes
kidstringrequired
public_key_digeststringrequired
public_key_pemstringrequired
verificationobjectrequired
Show child attributes
notary_key_urlstringrequired
notary_key_filenamestringrequired
seal_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
receipt_commandCopyableCommand
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
claimsArray<string>required
limitationsArray<string>required
Example
{
  "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

object
notarization_statusstringrequired
digeststringrequired
modestringfulldigest_onlyrequired
mode_statementstringrequired
receipt_idstring
declared_receipt_idstring
verified_atstringrequired
sealed_atstringrequired
updated_atstringrequired
runx_versionstringrequired
issuerobject
Show child attributes
typestringrequired
labelstringrequired
edge_keyobjectrequired
Show child attributes
typestring
kidstring
public_key_digeststring
verdictobjectrequired
Show child attributes
validboolean
signature_issuer_typestring
signature_statusstring
signature_kidstring
digest_statusstring
content_address_statusstring
lineage_statusstring
findings_countnumberrequired
finding_codesArray<string>required
subjectobject
Show child attributes
kindstring
ref_typestring
public_claimPublicReceiptClaim
Show child attributes
schemastringrequired
kindstringrequired
titlestringrequired
venueobjectrequired
Show child attributes
idstringrequired
namestring
urlstring
subjectobject
Show child attributes
typestringrequired
idstringrequired
labelstring
amountobject
Show child attributes
centsnumberrequired
currencystringrequired
source_urlstring
occurred_atstringrequired
claim_statementstring
publisherobjectrequired
Show child attributes
principal_idstringrequired
checksArray<PublicReceiptCheckGroup>required
Show child attributes
idstringintegrityissuernotarizationrequired
titlestringrequired
checksArray<PublicReceiptCheck>required
Show child attributes
idstringrequired
labelstringrequired
resultobjectrequired
Show child attributes
kindPublicReceiptCheckKindpassfailcautionunavailablerecordedrequired
labelstringrequired
reasonstringrequired
alertobject
Show child attributes
kindstringfailcautionrequired
labelstringrequired
check_idstringrequired
notary_verificationobjectrequired
Show child attributes
counter_sealobjectrequired
Show child attributes
schemastring
issuerobject
Show child attributes
typestring
kidstring
payloadobject
payload_digeststring
digeststring
signatureobject
Show child attributes
algstring
valuestring
signer_public_keysArray<object>required
Show child attributes
kidstringrequired
public_key_digeststringrequired
public_key_pemstringrequired
verificationobjectrequired
Show child attributes
notary_key_urlstringrequired
notary_key_filenamestringrequired
seal_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
receipt_commandCopyableCommand
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
claimsArray<string>required
limitationsArray<string>required
Example
{
  "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

object
kindstringsourcepublisherverificationrequired
idstringrequired
statusstringverifieddeclaredrequired
summarystringrequired
sourcestring
issued_atstring
metadataobject
Example
{
  "kind": "source",
  "id": "string",
  "status": "verified",
  "summary": "string",
  "source": "string",
  "issued_at": "string",
  "metadata": {}
}

PublicRegistryPublisher

object
kindstringorganizationuserteamservicepublisherrequired
idstringrequired
handlestring
display_namestring
Example
{
  "kind": "organization",
  "id": "string",
  "handle": "string",
  "display_name": "string"
}

PublicRegistrySource

object
providerstringrequired
repostringrequired
repo_urlstringrequired
skill_pathstringrequired
profile_pathstring
refstringrequired
shastringrequired
default_branchstringrequired
eventstringenrollmentpushtagtombstonerequired
immutablebooleanrequired
livebooleanrequired
tombstonedboolean
tagstring
publisher_handlestring
Example
{
  "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

object
connectorstringrequired
versionstringrequired
namestringrequired
runtime_capabilitybooleanrequired
trust_tierstringfirst_partyverifiedcommunity
markPublicDeclaredMarkrequired
Show child attributes
digeststringrequired
urlstringrequired
sourcestringowncategoryrequired
Example
{
  "connector": "string",
  "version": "string",
  "name": "string",
  "runtime_capability": true,
  "trust_tier": "first_party",
  "mark": {
    "digest": "string",
    "url": "string",
    "source": "own"
  }
}

PublicSkillDetail

object
skill_idstringrequired
publisherPublicPublisherrequired
Show child attributes
idstringrequired
slugstringrequired
handlestringrequired
display_namestringrequired
kindstringorguserteamrequired
verifiedbooleanrequired
imagePublicMark
Show child attributes
digeststringrequired
urlstringrequired
urlstringrequired
trust_tierstringfirst_partyverifiedcommunityrequired
maturitystringalphabetastablerequired
namestringrequired
titlestringrequired
summarystring
markPublicDeclaredMark | PublicBoundConnectorMarkrequired
discoverablebooleanrequired
relationshipsArray<PublicSkillRelationship>
Show child attributes
kindstringevidence_sourcehandoffecosystemrequired
idstringrequired
labelstringrequired
referencestring
connectorsArray<PublicSkillConnector>required
Show child attributes
connectorstringrequired
versionstringrequired
namestringrequired
runtime_capabilitybooleanrequired
trust_tierstringfirst_partyverifiedcommunity
markPublicDeclaredMarkrequired
Show child attributes
digeststringrequired
urlstringrequired
sourcestringowncategoryrequired
descriptionstring
catalog_kindstringskillgraphrequired
versionstringrequired
created_atstringrequired
updated_atstringrequired
profile_modestringprofiledportablerequired
runner_namesArray<string>required
paid_listingPaidSkillListingContract
Show child attributes
bundle_digeststringrequired
offersobjectrequired
profile_digeststringrequired
seller_refPrincipalReferenceContractrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindProofKindContracteffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
skill_digeststringrequired
skill_idstringrequired
versionstringrequired
required_scopesArray<string>required
tagsArray<string>required
categorystringrequired
category_labelstringrequired
install_countnumberrequired
verified_run_countnumberrequired
last_verified_run_atstring
page_urlstringrequired
install_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
run_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
catalog_visibilitystringpublicinternal
attestationsArray<PublicRegistryAttestation>required
Show child attributes
kindstringsourcepublisherverificationrequired
idstringrequired
statusstringverifieddeclaredrequired
summarystringrequired
sourcestring
issued_atstring
metadataobject
digeststringrequired
profile_digeststring
content_digeststringrequired
presentationPublicSkillPresentation
Show child attributes
titlestring
overviewstring
methodArray<object>
Show child attributes
titlestringrequired
descriptionstringrequired
skillstring
runnerstring
public_skillobject
Show child attributes
skill_idstringrequired
namestringrequired
page_urlstringrequired
inputsArray<object>
Show child attributes
labelstringrequired
descriptionstring
inputstring
outputsArray<object>
Show child attributes
labelstringrequired
descriptionstring
stopsobject
Show child attributes
titlestringrequired
descriptionstring
exampleobject
Show child attributes
titlestringrequired
pathstringrequired
urlstringrequired
relationshipsArray<PublicSkillRelationship>
Show child attributes
kindstringevidence_sourcehandoffecosystemrequired
idstringrequired
labelstringrequired
referencestring
filesPublicSkillFilesrequired
Show child attributes
manualstringrequired
profilestring
catalogstring
versions_urlstringrequired
markdownstringrequired
profile_documentstring
harnessPublicHarnessSummaryrequired
Show child attributes
statusstringpassedfailednot_recordedolder_versionunavailablerequired
declared_case_countnumberrequired
declared_casesArray<object>required
Show child attributes
namestringrequired
runnerstring
expected_statusstring
case_countnumberrequired
checks_passednumber
checks_failednumber
receipt_idsArray<string>required
evidence_urlstring
latest_runPublicEvidenceEvent
Show child attributes
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
resultsArray<PublicEvidenceEvent>required
Show child attributes
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
recent_runsArray<PublicEvidenceEvent>required
Show child attributes
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
older_versionPublicEvidenceEvent
Show child attributes
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
recent_activityArray<PublicFeedItem>required
Show child attributes
idstringrequired
sourcestringrunx-hostedpublic-evidencerequired
statusstringrequired
titlestringrequired
targetstringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
run_idstring
receipt_idstring
skill_idstring
actions_countnumber
urlstring
principalstring
principal_handlestring
signer_truststringverifiedcommunityunverified
scopesArray<string>
parent_receipt_idstring
graph_depthnumber
metadataobject
sourcePublicRegistrySource
Show child attributes
providerstringrequired
repostringrequired
repo_urlstringrequired
skill_pathstringrequired
profile_pathstring
refstringrequired
shastringrequired
default_branchstringrequired
eventstringenrollmentpushtagtombstonerequired
immutablebooleanrequired
livebooleanrequired
tombstonedboolean
tagstring
publisher_handlestring
Example
{
  "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

object
statusstringrequired
skillPublicSkillDetailrequired
Show child attributes
skill_idstringrequired
publisherPublicPublisherrequired
Show child attributes
idstringrequired
slugstringrequired
handlestringrequired
display_namestringrequired
kindstringorguserteamrequired
verifiedbooleanrequired
imagePublicMark
Show child attributes
digeststringrequired
urlstringrequired
urlstringrequired
trust_tierstringfirst_partyverifiedcommunityrequired
maturitystringalphabetastablerequired
namestringrequired
titlestringrequired
summarystring
markPublicDeclaredMark | PublicBoundConnectorMarkrequired
discoverablebooleanrequired
relationshipsArray<PublicSkillRelationship>
Show child attributes
kindstringevidence_sourcehandoffecosystemrequired
idstringrequired
labelstringrequired
referencestring
connectorsArray<PublicSkillConnector>required
Show child attributes
connectorstringrequired
versionstringrequired
namestringrequired
runtime_capabilitybooleanrequired
trust_tierstringfirst_partyverifiedcommunity
markPublicDeclaredMarkrequired
Show child attributes
digeststringrequired
urlstringrequired
sourcestringowncategoryrequired
descriptionstring
catalog_kindstringskillgraphrequired
versionstringrequired
created_atstringrequired
updated_atstringrequired
profile_modestringprofiledportablerequired
runner_namesArray<string>required
paid_listingPaidSkillListingContract
Show child attributes
bundle_digeststringrequired
offersobjectrequired
profile_digeststringrequired
seller_refPrincipalReferenceContractrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindProofKindContracteffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
skill_digeststringrequired
skill_idstringrequired
versionstringrequired
required_scopesArray<string>required
tagsArray<string>required
categorystringrequired
category_labelstringrequired
install_countnumberrequired
verified_run_countnumberrequired
last_verified_run_atstring
page_urlstringrequired
install_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
run_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
catalog_visibilitystringpublicinternal
attestationsArray<PublicRegistryAttestation>required
Show child attributes
kindstringsourcepublisherverificationrequired
idstringrequired
statusstringverifieddeclaredrequired
summarystringrequired
sourcestring
issued_atstring
metadataobject
digeststringrequired
profile_digeststring
content_digeststringrequired
presentationPublicSkillPresentation
Show child attributes
titlestring
overviewstring
methodArray<object>
Show child attributes
titlestringrequired
descriptionstringrequired
skillstring
runnerstring
public_skillobject
Show child attributes
skill_idstringrequired
namestringrequired
page_urlstringrequired
inputsArray<object>
Show child attributes
labelstringrequired
descriptionstring
inputstring
outputsArray<object>
Show child attributes
labelstringrequired
descriptionstring
stopsobject
Show child attributes
titlestringrequired
descriptionstring
exampleobject
Show child attributes
titlestringrequired
pathstringrequired
urlstringrequired
relationshipsArray<PublicSkillRelationship>
Show child attributes
kindstringevidence_sourcehandoffecosystemrequired
idstringrequired
labelstringrequired
referencestring
filesPublicSkillFilesrequired
Show child attributes
manualstringrequired
profilestring
catalogstring
versions_urlstringrequired
markdownstringrequired
profile_documentstring
harnessPublicHarnessSummaryrequired
Show child attributes
statusstringpassedfailednot_recordedolder_versionunavailablerequired
declared_case_countnumberrequired
declared_casesArray<object>required
Show child attributes
namestringrequired
runnerstring
expected_statusstring
case_countnumberrequired
checks_passednumber
checks_failednumber
receipt_idsArray<string>required
evidence_urlstring
latest_runPublicEvidenceEvent
Show child attributes
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
resultsArray<PublicEvidenceEvent>required
Show child attributes
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
recent_runsArray<PublicEvidenceEvent>required
Show child attributes
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
older_versionPublicEvidenceEvent
Show child attributes
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
recent_activityArray<PublicFeedItem>required
Show child attributes
idstringrequired
sourcestringrunx-hostedpublic-evidencerequired
statusstringrequired
titlestringrequired
targetstringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
run_idstring
receipt_idstring
skill_idstring
actions_countnumber
urlstring
principalstring
principal_handlestring
signer_truststringverifiedcommunityunverified
scopesArray<string>
parent_receipt_idstring
graph_depthnumber
metadataobject
sourcePublicRegistrySource
Show child attributes
providerstringrequired
repostringrequired
repo_urlstringrequired
skill_pathstringrequired
profile_pathstring
refstringrequired
shastringrequired
default_branchstringrequired
eventstringenrollmentpushtagtombstonerequired
immutablebooleanrequired
livebooleanrequired
tombstonedboolean
tagstring
publisher_handlestring
Example
{
  "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

object
manualstringrequired
profilestring
catalogstring
Example
{
  "manual": "string",
  "profile": "string",
  "catalog": "string"
}

PublicSkillHarnessResponse

object
statusstringrequired
skill_idstringrequired
harnessPublicHarnessSummaryrequired
Show child attributes
statusstringpassedfailednot_recordedolder_versionunavailablerequired
declared_case_countnumberrequired
declared_casesArray<object>required
Show child attributes
namestringrequired
runnerstring
expected_statusstring
case_countnumberrequired
checks_passednumber
checks_failednumber
receipt_idsArray<string>required
evidence_urlstring
latest_runPublicEvidenceEvent
Show child attributes
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
resultsArray<PublicEvidenceEvent>required
Show child attributes
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
recent_runsArray<PublicEvidenceEvent>required
Show child attributes
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
older_versionPublicEvidenceEvent
Show child attributes
idstringrequired
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
Example
{
  "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

object
titlestring
overviewstring
methodArray<object>
Show child attributes
titlestringrequired
descriptionstringrequired
skillstring
runnerstring
public_skillobject
Show child attributes
skill_idstringrequired
namestringrequired
page_urlstringrequired
inputsArray<object>
Show child attributes
labelstringrequired
descriptionstring
inputstring
outputsArray<object>
Show child attributes
labelstringrequired
descriptionstring
stopsobject
Show child attributes
titlestringrequired
descriptionstring
exampleobject
Show child attributes
titlestringrequired
pathstringrequired
urlstringrequired
relationshipsArray<PublicSkillRelationship>
Show child attributes
kindstringevidence_sourcehandoffecosystemrequired
idstringrequired
labelstringrequired
referencestring
Example
{
  "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

object
kindstringevidence_sourcehandoffecosystemrequired
idstringrequired
labelstringrequired
referencestring
Example
{
  "kind": "evidence_source",
  "id": "string",
  "label": "string",
  "reference": "string"
}

PublicSkillSummary

object
skill_idstringrequired
publisherPublicPublisherrequired
Show child attributes
idstringrequired
slugstringrequired
handlestringrequired
display_namestringrequired
kindstringorguserteamrequired
verifiedbooleanrequired
imagePublicMark
Show child attributes
digeststringrequired
urlstringrequired
urlstringrequired
trust_tierstringfirst_partyverifiedcommunityrequired
maturitystringalphabetastablerequired
namestringrequired
titlestringrequired
summarystring
markPublicDeclaredMark | PublicBoundConnectorMarkrequired
discoverablebooleanrequired
relationshipsArray<PublicSkillRelationship>
Show child attributes
kindstringevidence_sourcehandoffecosystemrequired
idstringrequired
labelstringrequired
referencestring
connectorsArray<PublicSkillConnector>required
Show child attributes
connectorstringrequired
versionstringrequired
namestringrequired
runtime_capabilitybooleanrequired
trust_tierstringfirst_partyverifiedcommunity
markPublicDeclaredMarkrequired
Show child attributes
digeststringrequired
urlstringrequired
sourcestringowncategoryrequired
descriptionstring
catalog_kindstringskillgraphrequired
versionstringrequired
created_atstringrequired
updated_atstringrequired
profile_modestringprofiledportablerequired
runner_namesArray<string>required
paid_listingPaidSkillListingContract
Show child attributes
bundle_digeststringrequired
offersobjectrequired
profile_digeststringrequired
seller_refPrincipalReferenceContractrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindProofKindContracteffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
skill_digeststringrequired
skill_idstringrequired
versionstringrequired
required_scopesArray<string>required
tagsArray<string>required
categorystringrequired
category_labelstringrequired
install_countnumberrequired
verified_run_countnumberrequired
last_verified_run_atstring
page_urlstringrequired
install_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
run_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
catalog_visibilitystringpublicinternal
Example
{
  "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

object
versionstringrequired
created_atstringrequired
content_digeststringrequired
trust_tierstringfirst_partyverifiedcommunityrequired
maturitystringalphabetastablerequired
immutablebooleanrequired
source_refstring
page_urlstringrequired
Example
{
  "version": "string",
  "created_at": "string",
  "content_digest": "string",
  "trust_tier": "first_party",
  "maturity": "alpha",
  "immutable": true,
  "source_ref": "string",
  "page_url": "string"
}

PublicSkillVersionsResponse

object
skill_idstringrequired
versionsArray<PublicSkillVersionSummary>required
Show child attributes
versionstringrequired
created_atstringrequired
content_digeststringrequired
trust_tierstringfirst_partyverifiedcommunityrequired
maturitystringalphabetastablerequired
immutablebooleanrequired
source_refstring
page_urlstringrequired
has_morebooleanrequired
next_cursorstring
statusstringrequired
Example
{
  "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

object
skill_idstringrequired
versionsArray<PublicSkillVersionSummary>required
Show child attributes
versionstringrequired
created_atstringrequired
content_digeststringrequired
trust_tierstringfirst_partyverifiedcommunityrequired
maturitystringalphabetastablerequired
immutablebooleanrequired
source_refstring
page_urlstringrequired
has_morebooleanrequired
next_cursorstring
Example
{
  "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

object
qstringrequired
publisherstring
tagstring
kindstringskillgraph
categorystring
profile_modestringprofiledportable
sortstringrecommendednewesta-zmost-installedrelevancerequired
includestring
trust_tierstringfirst_partyverifiedcommunity
featuredboolean
idsArray<string>
connectorstring
limitnumberrequired
cursorstring
Example
{
  "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

object
queryPublicSkillsQueryrequired
Show child attributes
qstringrequired
publisherstring
tagstring
kindstringskillgraph
categorystring
profile_modestringprofiledportable
sortstringrecommendednewesta-zmost-installedrelevancerequired
includestring
trust_tierstringfirst_partyverifiedcommunity
featuredboolean
idsArray<string>
connectorstring
limitnumberrequired
cursorstring
skillsArray<PublicSkillSummary>required
Show child attributes
skill_idstringrequired
publisherPublicPublisherrequired
Show child attributes
idstringrequired
slugstringrequired
handlestringrequired
display_namestringrequired
kindstringorguserteamrequired
verifiedbooleanrequired
imagePublicMark
Show child attributes
digeststringrequired
urlstringrequired
urlstringrequired
trust_tierstringfirst_partyverifiedcommunityrequired
maturitystringalphabetastablerequired
namestringrequired
titlestringrequired
summarystring
markPublicDeclaredMark | PublicBoundConnectorMarkrequired
discoverablebooleanrequired
relationshipsArray<PublicSkillRelationship>
Show child attributes
kindstringevidence_sourcehandoffecosystemrequired
idstringrequired
labelstringrequired
referencestring
connectorsArray<PublicSkillConnector>required
Show child attributes
connectorstringrequired
versionstringrequired
namestringrequired
runtime_capabilitybooleanrequired
trust_tierstringfirst_partyverifiedcommunity
markPublicDeclaredMarkrequired
Show child attributes
digeststringrequired
urlstringrequired
sourcestringowncategoryrequired
descriptionstring
catalog_kindstringskillgraphrequired
versionstringrequired
created_atstringrequired
updated_atstringrequired
profile_modestringprofiledportablerequired
runner_namesArray<string>required
paid_listingPaidSkillListingContract
Show child attributes
bundle_digeststringrequired
offersobjectrequired
profile_digeststringrequired
seller_refPrincipalReferenceContractrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindProofKindContracteffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
skill_digeststringrequired
skill_idstringrequired
versionstringrequired
required_scopesArray<string>required
tagsArray<string>required
categorystringrequired
category_labelstringrequired
install_countnumberrequired
verified_run_countnumberrequired
last_verified_run_atstring
page_urlstringrequired
install_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
run_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
catalog_visibilitystringpublicinternal
has_morebooleanrequired
next_cursorstring
totalnumber
catalog_totalnumber
connectorobject
Show child attributes
connectorstringrequired
namestringrequired
facetsobject
Show child attributes
publishersArray<FacetEntry>required
Show child attributes
valuestringrequired
countnumberrequired
tagsArray<FacetEntry>required
Show child attributes
valuestringrequired
countnumberrequired
kindsArray<FacetEntry>required
Show child attributes
valuestringrequired
countnumberrequired
categoriesArray<CategoryFacetEntry>required
Show child attributes
valuestringrequired
countnumberrequired
labelstringrequired
surfacestring
profile_modesArray<FacetEntry>required
Show child attributes
valuestringrequired
countnumberrequired
statusstringrequired
Example
{
  "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

object
queryPublicSkillsQueryrequired
Show child attributes
qstringrequired
publisherstring
tagstring
kindstringskillgraph
categorystring
profile_modestringprofiledportable
sortstringrecommendednewesta-zmost-installedrelevancerequired
includestring
trust_tierstringfirst_partyverifiedcommunity
featuredboolean
idsArray<string>
connectorstring
limitnumberrequired
cursorstring
skillsArray<PublicSkillSummary>required
Show child attributes
skill_idstringrequired
publisherPublicPublisherrequired
Show child attributes
idstringrequired
slugstringrequired
handlestringrequired
display_namestringrequired
kindstringorguserteamrequired
verifiedbooleanrequired
imagePublicMark
Show child attributes
digeststringrequired
urlstringrequired
urlstringrequired
trust_tierstringfirst_partyverifiedcommunityrequired
maturitystringalphabetastablerequired
namestringrequired
titlestringrequired
summarystring
markPublicDeclaredMark | PublicBoundConnectorMarkrequired
discoverablebooleanrequired
relationshipsArray<PublicSkillRelationship>
Show child attributes
kindstringevidence_sourcehandoffecosystemrequired
idstringrequired
labelstringrequired
referencestring
connectorsArray<PublicSkillConnector>required
Show child attributes
connectorstringrequired
versionstringrequired
namestringrequired
runtime_capabilitybooleanrequired
trust_tierstringfirst_partyverifiedcommunity
markPublicDeclaredMarkrequired
Show child attributes
digeststringrequired
urlstringrequired
sourcestringowncategoryrequired
descriptionstring
catalog_kindstringskillgraphrequired
versionstringrequired
created_atstringrequired
updated_atstringrequired
profile_modestringprofiledportablerequired
runner_namesArray<string>required
paid_listingPaidSkillListingContract
Show child attributes
bundle_digeststringrequired
offersobjectrequired
profile_digeststringrequired
seller_refPrincipalReferenceContractrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindProofKindContracteffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
skill_digeststringrequired
skill_idstringrequired
versionstringrequired
required_scopesArray<string>required
tagsArray<string>required
categorystringrequired
category_labelstringrequired
install_countnumberrequired
verified_run_countnumberrequired
last_verified_run_atstring
page_urlstringrequired
install_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
run_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
catalog_visibilitystringpublicinternal
has_morebooleanrequired
next_cursorstring
totalnumber
catalog_totalnumber
connectorobject
Show child attributes
connectorstringrequired
namestringrequired
facetsobject
Show child attributes
publishersArray<FacetEntry>required
Show child attributes
valuestringrequired
countnumberrequired
tagsArray<FacetEntry>required
Show child attributes
valuestringrequired
countnumberrequired
kindsArray<FacetEntry>required
Show child attributes
valuestringrequired
countnumberrequired
categoriesArray<CategoryFacetEntry>required
Show child attributes
valuestringrequired
countnumberrequired
labelstringrequired
surfacestring
profile_modesArray<FacetEntry>required
Show child attributes
valuestringrequired
countnumberrequired
Example
{
  "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

object
Any of
digeststringrequired
urlstringrequired
sourcestringowncategoryrequired
digeststringrequired
urlstringrequired
sourcestringrequired
connectorstringrequired
Example
{
  "digest": "string",
  "url": "string",
  "source": "own"
}

PublicSystemStatus

object
overallstringonlinedegradedrequired
checked_atstringrequired
summarystringrequired
checksArray<PublicSystemStatusCheck>required
Show child attributes
idstringrequired
labelstringrequired
statusstringoknot_readydisabledunknownrequired
detailstring
Example
{
  "overall": "online",
  "checked_at": "string",
  "summary": "string",
  "checks": [
    {
      "id": "string",
      "label": "string",
      "status": "ok",
      "detail": "string"
    }
  ]
}

PublicSystemStatusCheck

object
idstringrequired
labelstringrequired
statusstringoknot_readydisabledunknownrequired
detailstring
Example
{
  "id": "string",
  "label": "string",
  "status": "ok",
  "detail": "string"
}

PublicTrustRoot

object
schemastringrequired
keysArray<PublicTrustRootKey>required
Show child attributes
ktystringrequired
crvstringrequired
algstringrequired
usestringrequired
kidstringrequired
purposestringrequired
issuer_typestring
xstringrequired
public_key_digeststringrequired
Example
{
  "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

object
ktystringrequired
crvstringrequired
algstringrequired
usestringrequired
kidstringrequired
purposestringrequired
issuer_typestring
xstringrequired
public_key_digeststringrequired
Example
{
  "kty": "OKP",
  "crv": "Ed25519",
  "alg": "EdDSA",
  "use": "sig",
  "kid": "string",
  "purpose": "receipt_signature",
  "issuer_type": "string",
  "x": "string",
  "public_key_digest": "string"
}

PublicTrustSignal

object
idstringrequired
labelstringrequired
statusstringverifieddeclarednot_declaredplaceholderrequired
valuestringrequired
Example
{
  "id": "string",
  "label": "string",
  "status": "verified",
  "value": "string"
}

PublicWithdrawnConnectorPackage

object
connectorstringrequired
versionstringrequired
withdrawn_atstringrequired
filesArray<PublicPackageFile>required
Show child attributes
pathstringrequired
contentstringrequired
signed_manifestRegistrySignedManifestrequired
Show child attributes
schemastringrequired
subjectRegistrySubjectrequired
Show child attributes
kindRegistrySubjectKindskillconnectorrequired
namestringrequired
versionstringrequired
content_digeststringrequired
signerobjectrequired
Show child attributes
idstringrequired
key_idstringrequired
signatureobjectrequired
Show child attributes
algstringrequired
valuestringrequired
Example
{
  "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
ReferenceKindthreadcommenteventtracking_itemchange_requestrepositoryexternal_url
Example
"thread"

RegistrySignedManifest

object
schemastringrequired
subjectRegistrySubjectrequired
Show child attributes
kindRegistrySubjectKindskillconnectorrequired
namestringrequired
versionstringrequired
content_digeststringrequired
signerobjectrequired
Show child attributes
idstringrequired
key_idstringrequired
signatureobjectrequired
Show child attributes
algstringrequired
valuestringrequired
Example
{
  "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

object
kindRegistrySubjectKindskillconnectorrequired
namestringrequired
Example
{
  "kind": "skill",
  "name": "string"
}

RegistrySubjectKind

string
RegistrySubjectKindskillconnector
Example
"skill"

Template

object
JsonValue

SellerPurchaseList

object
schemastringrequired
itemsArray<SellerPurchaseSummary>required
Show child attributes
purchase_idpurchase_idrequired
offer_versionoffer_versionrequired
Show child attributes
input_schema_digeststringrequired
offer_idstringrequired
output_schema_digeststringrequired
profile_digeststringrequired

The digest of the profile that declares the offer at that version.

versionstringrequired

The package version the offer is sold at.

package_digestpackage_digestrequired

The 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_digestrequired
amount_minoramount_minor[1, 9007199254740991]required
currencycurrencyrequired
settlement_familysettlement_family
payment_statepayment_stateunpaidsettlingsettledrefundedrequired
execution_stateexecution_stateunstartedqueuedrunningwaiting_externalcancellingsucceededfailedcancelledrequired
outcome_gateoutcome_gateopenfulfilment_wonrefund_wonrequired
payment_refSellerPurchaseReference
Show child attributes
typetypethreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
created_atcreated_atrequired
updated_atupdated_atrequired
runobject
Show child attributes
run_refSellerPurchaseReference
Show child attributes
typetypethreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
attempt_countinteger>= 0required
next_attempt_atstring<date-time>required
blocked_atstring<date-time>
terminalobject
Show child attributes
outcomestringfulfilmentrefundrequired
delivery_statestringpendingdeliveredsuppressedrequired
delivered_atstring<date-time>
receipt_refSellerPurchaseReference
Show child attributes
typetypethreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
result_refSellerPurchaseReference
Show child attributes
typetypethreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
refund_refSellerPurchaseReference
Show child attributes
typetypethreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
failureobject
Show child attributes
codestringrequired
messagestringrequired
next_cursorstring
Example
{
  "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

object

Seller-facing HTTP contracts owned by purchases. OpenAPI is generated from these types; portable fields reference their canonical Runx schema.

cursorstring
limitinteger[1, 100]50
Example
{
  "cursor": "string",
  "limit": 50
}

SellerPurchaseMetricsContract

object
purchase_countinteger>= 0required
paid_countinteger>= 0required
successful_countinteger>= 0required
failed_countinteger>= 0required
in_progress_countinteger>= 0required
delivered_countinteger>= 0required
refunded_countinteger>= 0required
unique_buyer_countinteger>= 0required
repeat_buyer_countinteger>= 0required
moneyArray<object>required
Show child attributes
currencycurrencyrequired
gross_amount_minorinteger>= 0required
refunded_amount_minorinteger>= 0required
Example
{
  "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

object
schemastringrequired
generated_atstring<date-time>required
periodsArray<object>required
Show child attributes
periodstringlast_24_hourslast_7_dayslast_30_daysall_timerequired
metricsSellerPurchaseMetricsContractrequired
Show child attributes
purchase_countinteger>= 0required
paid_countinteger>= 0required
successful_countinteger>= 0required
failed_countinteger>= 0required
in_progress_countinteger>= 0required
delivered_countinteger>= 0required
refunded_countinteger>= 0required
unique_buyer_countinteger>= 0required
repeat_buyer_countinteger>= 0required
moneyArray<object>required
Show child attributes
currencycurrencyrequired
gross_amount_minorinteger>= 0required
refunded_amount_minorinteger>= 0required
toolsArray<object>required
Show child attributes
offer_idstringrequired
metricsSellerPurchaseMetricsContractrequired
Show child attributes
purchase_countinteger>= 0required
paid_countinteger>= 0required
successful_countinteger>= 0required
failed_countinteger>= 0required
in_progress_countinteger>= 0required
delivered_countinteger>= 0required
refunded_countinteger>= 0required
unique_buyer_countinteger>= 0required
repeat_buyer_countinteger>= 0required
moneyArray<object>required
Show child attributes
currencycurrencyrequired
gross_amount_minorinteger>= 0required
refunded_amount_minorinteger>= 0required
last_paid_atstring<date-time>
offers_truncatedbooleanrequired
dailyArray<object>required
Show child attributes
datestring<date>required
metricsSellerPurchaseMetricsContractrequired
Show child attributes
purchase_countinteger>= 0required
paid_countinteger>= 0required
successful_countinteger>= 0required
failed_countinteger>= 0required
in_progress_countinteger>= 0required
delivered_countinteger>= 0required
refunded_countinteger>= 0required
unique_buyer_countinteger>= 0required
repeat_buyer_countinteger>= 0required
moneyArray<object>required
Show child attributes
currencycurrencyrequired
gross_amount_minorinteger>= 0required
refunded_amount_minorinteger>= 0required
Example
{
  "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

object
typetypethreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
Example
{
  "type": "thread",
  "uri": "string"
}

SellerPurchaseSummary

object
purchase_idpurchase_idrequired
offer_versionoffer_versionrequired
Show child attributes
input_schema_digeststringrequired
offer_idstringrequired
output_schema_digeststringrequired
profile_digeststringrequired

The digest of the profile that declares the offer at that version.

versionstringrequired

The package version the offer is sold at.

package_digestpackage_digestrequired

The 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_digestrequired
amount_minoramount_minor[1, 9007199254740991]required
currencycurrencyrequired
settlement_familysettlement_family
payment_statepayment_stateunpaidsettlingsettledrefundedrequired
execution_stateexecution_stateunstartedqueuedrunningwaiting_externalcancellingsucceededfailedcancelledrequired
outcome_gateoutcome_gateopenfulfilment_wonrefund_wonrequired
payment_refSellerPurchaseReference
Show child attributes
typetypethreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
created_atcreated_atrequired
updated_atupdated_atrequired
runobject
Show child attributes
run_refSellerPurchaseReference
Show child attributes
typetypethreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
attempt_countinteger>= 0required
next_attempt_atstring<date-time>required
blocked_atstring<date-time>
terminalobject
Show child attributes
outcomestringfulfilmentrefundrequired
delivery_statestringpendingdeliveredsuppressedrequired
delivered_atstring<date-time>
receipt_refSellerPurchaseReference
Show child attributes
typetypethreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
result_refSellerPurchaseReference
Show child attributes
typetypethreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
refund_refSellerPurchaseReference
Show child attributes
typetypethreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
failureobject
Show child attributes
codestringrequired
messagestringrequired
Example
{
  "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

object
seqinteger>= 1required
eventstringpublishedunpublishedrequired
digeststringrequired
receipt_idstring
kidstring
schemastring
subject_kindstring
sealobject
lineage_urisArray<string>required
tombstone_reasonstring
published_atstring<date-time>required
Example
{
  "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

object
statusstringrequired
cursorinteger>= 0required
next_cursorinteger>= 1
receiptsArray<PublicReceiptProjection>required
Show child attributes
seqinteger>= 1required
eventstringpublishedunpublishedrequired
digeststringrequired
receipt_idstring
kidstring
schemastring
subject_kindstring
sealobject
lineage_urisArray<string>required
tombstone_reasonstring
published_atstring<date-time>required
Example
{
  "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"
    }
  ]
}

HostedSkillPublishRequest

object
markdownstringrequired

Complete SKILL.md document, including frontmatter.

profile_documentstring

Optional run.yaml profile document published with the skill.

versionstring

Optional version or content ref. If omitted, the registry derives one from content.

publisherstring

The 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.

Show child attributes
pathstringrequired

Relative allowlisted package path. Root SKILL.md and run.yaml use their dedicated fields.

contentstringrequired

UTF-8 file content.

Example
{
  "markdown": "string",
  "profile_document": "string",
  "version": "string",
  "publisher": "string",
  "package_files": [
    {
      "path": "string",
      "content": "string"
    }
  ]
}

HostedSkillPackageFile

object
pathstringrequired

Relative allowlisted package path. Root SKILL.md and run.yaml use their dedicated fields.

contentstringrequired

UTF-8 file content.

Example
{
  "path": "string",
  "content": "string"
}

HostedSkillPublishResult

object
statusstringpublishedunchangedrequired
skill_idstringrequired
publisherstringrequired
namestringrequired
versionstringrequired
digeststringrequired
profile_digeststring
paid_listingRunxPaidSkillListing

Immutable 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.

Show child attributes
bundle_digeststringrequired

The registry's digest of the published bundle's files.

offersobjectrequired
profile_digeststringrequired
seller_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
skill_digeststringrequired
skill_idstringrequired
versionstringrequired
trust_tierstringrequired
maturitystringalphabetastablerequired
install_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
run_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
public_urlstring<uri>required
harnessHarnessPublishSummary
Show child attributes
statusstringpassedfailednot_declaredrequired
case_countintegerrequired
assertion_error_countintegerrequired
assertion_errorsArray<string>required
case_namesArray<string>required
receipt_idsArray<string>required
graph_case_countinteger
evidence_idstring
evidence_urlstring<uri>
Example
{
  "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

object
statusstringrequired
publishHostedSkillPublishResultrequired
Show child attributes
statusstringpublishedunchangedrequired
skill_idstringrequired
publisherstringrequired
namestringrequired
versionstringrequired
digeststringrequired
profile_digeststring
paid_listingRunxPaidSkillListing

Immutable 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.

Show child attributes
bundle_digeststringrequired

The registry's digest of the published bundle's files.

offersobjectrequired
profile_digeststringrequired
seller_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
skill_digeststringrequired
skill_idstringrequired
versionstringrequired
trust_tierstringrequired
maturitystringalphabetastablerequired
install_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
run_commandCopyableCommandrequired
Show child attributes
shellstringrequired
argvArray<string>required
copy_textstringrequired
public_urlstring<uri>required
harnessHarnessPublishSummary
Show child attributes
statusstringpassedfailednot_declaredrequired
case_countintegerrequired
assertion_error_countintegerrequired
assertion_errorsArray<string>required
case_namesArray<string>required
receipt_idsArray<string>required
graph_case_countinteger
evidence_idstring
evidence_urlstring<uri>
Example
{
  "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

object
versionstring

Optional skill version to report. If omitted, the latest public version is reported.

reasonstringspammalwareunsafe_authoritymisleadingrightsotherrequired
detailstring

Optional reporter detail. Stored for moderation review, never used as trust evidence.

Example
{
  "version": "string",
  "reason": "spam",
  "detail": "string"
}

HostedSkillReportResult

object
statusstringrecordedalready_recordedrequired
idstringrequired
skill_idstringrequired
versionstringrequired
reasonstringspammalwareunsafe_authoritymisleadingrightsotherrequired
created_atstring<date-time>required
Example
{
  "status": "recorded",
  "id": "string",
  "skill_id": "string",
  "version": "string",
  "reason": "spam",
  "created_at": "2024-01-15T09:30:00Z"
}

HostedSkillReportEnvelope

object
statusstringrequired
reportHostedSkillReportResultrequired
Show child attributes
statusstringrecordedalready_recordedrequired
idstringrequired
skill_idstringrequired
versionstringrequired
reasonstringspammalwareunsafe_authoritymisleadingrightsotherrequired
created_atstring<date-time>required
Example
{
  "status": "success",
  "report": {
    "status": "recorded",
    "id": "string",
    "skill_id": "string",
    "version": "string",
    "reason": "spam",
    "created_at": "2024-01-15T09:30:00Z"
  }
}

AcquireSkillRequest

object
installation_idstringrequired
versionstring
channelstring
Example
{
  "installation_id": "string",
  "version": "string",
  "channel": "string"
}

SkillVersionRecordEnvelope

object

One version's signed registry record, as a registry closure holds it; the runtime verifies it against the registry's key.

statusstringrequired
recordobjectrequired
Show child attributes
skill_idstringrequired
versionstringrequired
Example
{
  "status": "success",
  "record": {
    "skill_id": "string",
    "version": "string"
  }
}

AcquireSkillResponse

object
statusstringrequired
install_countintegerrequired
acquisitionobjectrequired
Show child attributes
skill_idstringrequired
namestringrequired
versionstringrequired
digeststringrequired
signed_manifestRegistrySignedManifest
Show child attributes
schemastringrequired
subjectRegistrySubjectrequired
Show child attributes
kindRegistrySubjectKindskillconnectorrequired
namestringrequired
versionstringrequired
content_digeststringrequired
signerobjectrequired
Show child attributes
idstringrequired
key_idstringrequired
signatureobjectrequired
Show child attributes
algstringrequired
valuestringrequired
markdownstringrequired
profile_documentstring
profile_digeststring
package_filesArray<object>
Show child attributes
pathstringrequired
contentstringrequired
bundle_digeststring
paid_listingRunxPaidSkillListing

Immutable 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.

Show child attributes
bundle_digeststringrequired

The registry's digest of the published bundle's files.

offersobjectrequired
profile_digeststringrequired
seller_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
skill_digeststringrequired
skill_idstringrequired
versionstringrequired
trust_tierstringfirst_partyverifiedcommunityrequired
publisherPublicRegistryPublisherrequired
Show child attributes
kindstringorganizationuserteamservicepublisherrequired
idstringrequired
handlestring
display_namestring
source_metadataPublicRegistrySource
Show child attributes
providerstringrequired
repostringrequired
repo_urlstringrequired
skill_pathstringrequired
profile_pathstring
refstringrequired
shastringrequired
default_branchstringrequired
eventstringenrollmentpushtagtombstonerequired
immutablebooleanrequired
livebooleanrequired
tombstonedboolean
tagstring
publisher_handlestring
attestationsArray<PublicRegistryAttestation>required
Show child attributes
kindstringsourcepublisherverificationrequired
idstringrequired
statusstringverifieddeclaredrequired
summarystringrequired
sourcestring
issued_atstring
metadataobject
runner_namesArray<string>required
Example
{
  "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

object
statusstringrequired
updatedintegerrequired
Example
{
  "status": "accepted",
  "updated": 0
}

PublicEvidenceIngestRequest

object
eventsArray<PublicEvidenceInput>required
Show child attributes
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
idstring
Example
{
  "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

object
statusstringrequired
countintegerrequired
eventsArray<PublicEvidenceInput>required
Show child attributes
kindPublicEvidenceKindrequired
sourcestringrequired
statusPublicEvidenceStatussuccessfailurependingrunningwaitingcancelledrequired
titlestringrequired
timestampstringrequired
summarystring
repostring
workflowstring
branchstring
commitstring
skill_idstring
run_idstring
receipt_idstring
urlstring
metadataobject
harnessPublicHarnessResult
Show child attributes
producerstringrequired
verificationstringregistrypublisherrequired
suitestringrequired
attempt_idstringrequired
versionstringrequired
content_digeststringrequired
resultstringpassedfailedrequired
checks_totalnumberrequired
checks_passednumberrequired
checks_failednumberrequired
runtimestring
idstring
Example
{
  "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

object
statusstringpassedfailednot_declaredrequired
case_countintegerrequired
assertion_error_countintegerrequired
assertion_errorsArray<string>required
case_namesArray<string>required
receipt_idsArray<string>required
graph_case_countinteger
evidence_idstring
evidence_urlstring<uri>
Example
{
  "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

object
publisherstringrequired

An existing publisher's namespace; administrative publication never creates one.

versionstring
markdownstringrequired
profile_documentstring
package_filesArray<HostedSkillPackageFile>
Show child attributes
pathstringrequired

Relative allowlisted package path. Root SKILL.md and run.yaml use their dedicated fields.

contentstringrequired

UTF-8 file content.

trust_tierstringfirst_partyverifiedcommunity

The verification authority's admission for this version; community when absent.

harnessHarnessPublishSummaryrequired
Show child attributes
statusstringpassedfailednot_declaredrequired
case_countintegerrequired
assertion_error_countintegerrequired
assertion_errorsArray<string>required
case_namesArray<string>required
receipt_idsArray<string>required
graph_case_countinteger
evidence_idstring
evidence_urlstring<uri>
Example
{
  "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

object
slugstringrequired
kindstringorguserteamrequired
display_namestringrequired
verifiedboolean
principalsArray<string>required
Example
{
  "slug": "string",
  "kind": "org",
  "display_name": "string",
  "verified": true,
  "principals": [
    "string"
  ]
}

AdminRegistryPublisher

object
publisher_idstringrequired
slugstringrequired
kindstringorguserteamrequired
display_namestringrequired
descriptionstring
verifiedbooleanrequired
image_digeststring
linksArray<PublicPublisherProfileLink>required
Show child attributes
labelstringrequired
urlstring<uri>required
created_atstring<date-time>required
updated_atstring<date-time>required
Example
{
  "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

object
statusstringrequired
publisherAdminRegistryPublisherrequired
Show child attributes
publisher_idstringrequired
slugstringrequired
kindstringorguserteamrequired
display_namestringrequired
descriptionstring
verifiedbooleanrequired
image_digeststring
linksArray<PublicPublisherProfileLink>required
Show child attributes
labelstringrequired
urlstring<uri>required
created_atstring<date-time>required
updated_atstring<date-time>required
Example
{
  "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

object
statusstringrequired
publisherstringrequired
principal_idstringrequired
Example
{
  "status": "success",
  "publisher": "string",
  "principal_id": "string"
}

AdminRegistryPublisherPrincipalRequest

object
principal_idstringrequired
Example
{
  "principal_id": "string"
}

PublisherImageRequest

object
mark_digeststringrequired
Example
{
  "mark_digest": "string"
}

PublisherProfileRequest

object
display_namestring
descriptionstring | null
linksArray<PublicPublisherProfileLink>
Show child attributes
labelstringrequired
urlstring<uri>required
Example
{
  "display_name": "string",
  "description": "string",
  "links": [
    {
      "label": "string",
      "url": "https://example.com"
    }
  ]
}

AdminRegistryPublisherProfileRequest

object
display_namestring
descriptionstring | null
linksArray<PublicPublisherProfileLink>
Show child attributes
labelstringrequired
urlstring<uri>required
verifiedboolean
Example
{
  "display_name": "string",
  "description": "string",
  "links": [
    {
      "label": "string",
      "url": "https://example.com"
    }
  ],
  "verified": true
}

AdminRegistryPublishEnvelope

object
statusstringrequired
publishobjectrequired
harnessHarnessPublishSummaryrequired
Show child attributes
statusstringpassedfailednot_declaredrequired
case_countintegerrequired
assertion_error_countintegerrequired
assertion_errorsArray<string>required
case_namesArray<string>required
receipt_idsArray<string>required
graph_case_countinteger
evidence_idstring
evidence_urlstring<uri>
Example
{
  "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

object
enabledboolean
allowed_providersArray<string>
allowed_sourcesArray<string>
allowed_event_kindsArray<string>
Example
{
  "enabled": true,
  "allowed_providers": [
    "string"
  ],
  "allowed_sources": [
    "string"
  ],
  "allowed_event_kinds": [
    "string"
  ]
}

SourceObservationRequest

object
source_eventobjectrequired
Show child attributes
providerstringrequired
source_locatorstringrequired
source_policySourceAdmissionPolicyrequired
Show child attributes
enabledboolean
allowed_providersArray<string>
allowed_sourcesArray<string>
allowed_event_kindsArray<string>
Example
{
  "source_event": {
    "provider": "string",
    "source_locator": "string"
  },
  "source_policy": {
    "enabled": true,
    "allowed_providers": [
      "string"
    ],
    "allowed_sources": [
      "string"
    ],
    "allowed_event_kinds": [
      "string"
    ]
  }
}

SourceObservation

object
schemaanyrequired
observation_idstringrequired
content_digeststringrequired
source_policy_digeststringrequired
admitted_atstring<date-time>required
signalRunxSignalrequired
Show child attributes
authenticityobject
Show child attributes
evidence_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
host_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
principal_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
signature_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
trust_levelstringunverifiedobservedverified_deliveryverified_signatureoperator_attestedrequired
verified_atstring
verified_by_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
body_previewstring
digestobject

A content digest with how it was taken and what it was taken over.

Show child attributes
algorithmstringsha256required

The algorithm a content digest was taken with.

canonicalizationstringrequired
derived_fromArray<object>required
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
valuestringrequired
evidence_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
extensionsobject
linksobject
Show child attributes
duplicate_candidatesArray<object>
Show child attributes
candidate_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
confidencenumberrequired
evidence_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
observed_atstringrequired
reviewer_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
duplicate_ofobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
relatedArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
superseded_byArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
supersedesArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
observed_atstringrequired
schemastringrunx.signal.v1required
signal_idstringrequired
signal_typestringrequired

Open signal type identifier (e.g. issue_opened). Adapters can publish their own identifier without a contract edit.

source_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
titlestringrequired
Example
{
  "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

object
statusanyacceptedduplicaterequired
observationSourceObservationrequired
Show child attributes
schemaanyrequired
observation_idstringrequired
content_digeststringrequired
source_policy_digeststringrequired
admitted_atstring<date-time>required
signalRunxSignalrequired
Show child attributes
authenticityobject
Show child attributes
evidence_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
host_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
principal_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
signature_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
trust_levelstringunverifiedobservedverified_deliveryverified_signatureoperator_attestedrequired
verified_atstring
verified_by_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
body_previewstring
digestobject

A content digest with how it was taken and what it was taken over.

Show child attributes
algorithmstringsha256required

The algorithm a content digest was taken with.

canonicalizationstringrequired
derived_fromArray<object>required
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
valuestringrequired
evidence_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
extensionsobject
linksobject
Show child attributes
duplicate_candidatesArray<object>
Show child attributes
candidate_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
confidencenumberrequired
evidence_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
observed_atstringrequired
reviewer_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
duplicate_ofobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
relatedArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
superseded_byArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
supersedesArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
observed_atstringrequired
schemastringrunx.signal.v1required
signal_idstringrequired
signal_typestringrequired

Open signal type identifier (e.g. issue_opened). Adapters can publish their own identifier without a contract edit.

source_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
titlestringrequired
Example
{
  "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

object
statusanyrequired
observationsArray<SourceObservation>required
Show child attributes
schemaanyrequired
observation_idstringrequired
content_digeststringrequired
source_policy_digeststringrequired
admitted_atstring<date-time>required
signalRunxSignalrequired
Show child attributes
authenticityobject
Show child attributes
evidence_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
host_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
principal_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
signature_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
trust_levelstringunverifiedobservedverified_deliveryverified_signatureoperator_attestedrequired
verified_atstring
verified_by_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
body_previewstring
digestobject

A content digest with how it was taken and what it was taken over.

Show child attributes
algorithmstringsha256required

The algorithm a content digest was taken with.

canonicalizationstringrequired
derived_fromArray<object>required
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
valuestringrequired
evidence_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
extensionsobject
linksobject
Show child attributes
duplicate_candidatesArray<object>
Show child attributes
candidate_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
confidencenumberrequired
evidence_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
observed_atstringrequired
reviewer_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
duplicate_ofobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
relatedArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
superseded_byArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
supersedesArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
observed_atstringrequired
schemastringrunx.signal.v1required
signal_idstringrequired
signal_typestringrequired

Open signal type identifier (e.g. issue_opened). Adapters can publish their own identifier without a contract edit.

source_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
titlestringrequired
next_cursorstring
Example
{
  "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

object
statusanyacceptedduplicatefoundrequired
receiptobjectrequired
duplicate_ofstring
Example
{
  "status": "accepted",
  "receipt": {},
  "duplicate_of": "string"
}

TenantReceiptSummaryList

object
statusanyrequired
receiptsArray<object>required
next_cursorstring
Example
{
  "status": "success",
  "receipts": [
    {}
  ],
  "next_cursor": "string"
}

ArtifactAllocationRequest

object
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
idempotency_keystringrequired
data_base64stringrequired
content_digeststringrequired
media_typestringrequired
Example
{
  "operation": "artifact.allocate",
  "run_id": "string",
  "input": {
    "idempotency_key": "string",
    "data_base64": "string",
    "content_digest": "string",
    "media_type": "string"
  }
}

ArtifactInspectionRequest

object
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
artifact_uristringrequired
Example
{
  "operation": "artifact.inspect",
  "run_id": "string",
  "input": {
    "artifact_uri": "string"
  }
}

ArtifactHandoffRequest

object
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
source_artifact_uristringrequired
target_principal_idstringrequired
idempotency_keystringrequired
Example
{
  "operation": "artifact.handoff",
  "run_id": "string",
  "input": {
    "source_artifact_uri": "string",
    "target_principal_id": "string",
    "idempotency_key": "string"
  }
}

ArtifactDownloadRequest

object
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
artifact_uristringrequired
maximum_bytesinteger>= 1
Example
{
  "operation": "artifact.download",
  "run_id": "string",
  "input": {
    "artifact_uri": "string",
    "maximum_bytes": 1
  }
}

ArtifactAccessRequest

object
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
artifact_uristringrequired
expires_in_secondsinteger[1, 300]
Example
{
  "operation": "artifact.access",
  "run_id": "string",
  "input": {
    "artifact_uri": "string",
    "expires_in_seconds": 1
  }
}

ArtifactOperationRequest

object
One of
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
idempotency_keystringrequired
data_base64stringrequired
content_digeststringrequired
media_typestringrequired
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
artifact_uristringrequired
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
source_artifact_uristringrequired
target_principal_idstringrequired
idempotency_keystringrequired
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
artifact_uristringrequired
maximum_bytesinteger>= 1
operationstringrequired
run_idstringrequired
inputobjectrequired
Show child attributes
artifact_uristringrequired
expires_in_secondsinteger[1, 300]
Example
{
  "operation": "artifact.allocate",
  "run_id": "string",
  "input": {
    "idempotency_key": "string",
    "data_base64": "string",
    "content_digest": "string",
    "media_type": "string"
  }
}

ArtifactOperationEnvelope

object
One of
operationany
accessany
resultHostedArtifactEvidence
Show child attributes
artifact_uristringrequired
content_digeststringrequired
media_typestringrequired
size_bytesinteger>= 1required
created_atstring<date-time>required
operationany
accessany
resultHostedArtifactEvidence
Show child attributes
artifact_uristringrequired
content_digeststringrequired
media_typestringrequired
size_bytesinteger>= 1required
created_atstring<date-time>required
operationany
accessany
resultHostedArtifactHandoffEvidence
Show child attributes
source_artifact_uristringrequired
target_principal_uristringrequired
artifactHostedArtifactEvidencerequired
Show child attributes
artifact_uristringrequired
content_digeststringrequired
media_typestringrequired
size_bytesinteger>= 1required
created_atstring<date-time>required
operationany
accessany
resultHostedArtifactDownloadEvidence
Show child attributes
artifact_uristringrequired
content_digeststringrequired
media_typestringrequired
size_bytesinteger>= 1required
created_atstring<date-time>required
data_base64stringrequired
operationany
accessany
resultHostedArtifactAccessEvidence
Show child attributes
artifact_uristringrequired
content_digeststringrequired
media_typestringrequired
size_bytesinteger>= 1required
created_atstring<date-time>required
urlstring<uri>required
expires_atstring<date-time>required
Example
{
  "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

object
artifact_uristringrequired
content_digeststringrequired
media_typestringrequired
size_bytesinteger>= 1required
created_atstring<date-time>required
data_base64stringrequired
Example
{
  "artifact_uri": "string",
  "content_digest": "string",
  "media_type": "string",
  "size_bytes": 1,
  "created_at": "2024-01-15T09:30:00Z",
  "data_base64": "string"
}

HostedArtifactAccessEvidence

object
artifact_uristringrequired
content_digeststringrequired
media_typestringrequired
size_bytesinteger>= 1required
created_atstring<date-time>required
urlstring<uri>required
expires_atstring<date-time>required
Example
{
  "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

object
artifact_uristringrequired
content_digeststringrequired
media_typestringrequired
size_bytesinteger>= 1required
created_atstring<date-time>required
Example
{
  "artifact_uri": "string",
  "content_digest": "string",
  "media_type": "string",
  "size_bytes": 1,
  "created_at": "2024-01-15T09:30:00Z"
}

HostedArtifactHandoffEvidence

object
source_artifact_uristringrequired
target_principal_uristringrequired
artifactHostedArtifactEvidencerequired
Show child attributes
artifact_uristringrequired
content_digeststringrequired
media_typestringrequired
size_bytesinteger>= 1required
created_atstring<date-time>required
Example
{
  "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

object
One of
publishboolean
public_claimReceiptPublicClaim
Show child attributes
schemastringrequired
kindstringpayoutfundingjudgmentprofile_updatedeliverysignuprequired
titlestringrequired
venueobjectrequired
Show child attributes
idstringrequired
namestring
urlstring<uri>
subjectobject
Show child attributes
typestringrequired
idstringrequired
labelstring
amountobject
Show child attributes
centsinteger>= 0required
currencystringrequired
source_urlstring<uri>
occurred_atstring<date-time>required
receiptobjectrequired
publishboolean
public_claimReceiptPublicClaim
Show child attributes
schemastringrequired
kindstringpayoutfundingjudgmentprofile_updatedeliverysignuprequired
titlestringrequired
venueobjectrequired
Show child attributes
idstringrequired
namestring
urlstring<uri>
subjectobject
Show child attributes
typestringrequired
idstringrequired
labelstring
amountobject
Show child attributes
centsinteger>= 0required
currencystringrequired
source_urlstring<uri>
occurred_atstring<date-time>required
receipt_rawstringrequired
modestringrequired
publishboolean
public_claimReceiptPublicClaim
Show child attributes
schemastringrequired
kindstringpayoutfundingjudgmentprofile_updatedeliverysignuprequired
titlestringrequired
venueobjectrequired
Show child attributes
idstringrequired
namestring
urlstring<uri>
subjectobject
Show child attributes
typestringrequired
idstringrequired
labelstring
amountobject
Show child attributes
centsinteger>= 0required
currencystringrequired
source_urlstring<uri>
occurred_atstring<date-time>required
digeststringrequired
receipt_idstring
Example
{
  "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

object
schemastringrequired
kindstringpayoutfundingjudgmentprofile_updatedeliverysignuprequired
titlestringrequired
venueobjectrequired
Show child attributes
idstringrequired
namestring
urlstring<uri>
subjectobject
Show child attributes
typestringrequired
idstringrequired
labelstring
amountobject
Show child attributes
centsinteger>= 0required
currencystringrequired
source_urlstring<uri>
occurred_atstring<date-time>required
Example
{
  "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

object
statusstringrequired
replay_statusstringcreatedexistingrequired
digeststringrequired
modestringfulldigest_onlyrequired
publishedbooleanrequired
receipt_idstring
public_claimReceiptPublicClaim
Show child attributes
schemastringrequired
kindstringpayoutfundingjudgmentprofile_updatedeliverysignuprequired
titlestringrequired
venueobjectrequired
Show child attributes
idstringrequired
namestring
urlstring<uri>
subjectobject
Show child attributes
typestringrequired
idstringrequired
labelstring
amountobject
Show child attributes
centsinteger>= 0required
currencystringrequired
source_urlstring<uri>
occurred_atstring<date-time>required
public_urlstring<uri>
edge_issuerobject
runx_versionstringrequired
verified_atstring<date-time>required
verdictobjectrequired
counter_sealobjectrequired
Example
{
  "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

object
errorstringrequired
codestringrequired
verdictobjectrequired
Example
{
  "error": "string",
  "code": "receipt_verification_failed",
  "verdict": {}
}

CreateAccountRequest

object
display_namestring
Example
{
  "display_name": "string"
}

AccountCreatedEnvelope

object
statusanyrequired
principalobjectrequired
credentialobjectrequired
Show child attributes
credential_idstringrequired
tokenstringrequired
Example
{
  "status": "created",
  "principal": {},
  "credential": {
    "credential_id": "string",
    "token": "string"
  }
}

StripeSetupIntentRequest

object
idempotency_keystring
Example
{
  "idempotency_key": "string"
}

StripeSetupIntentEnvelope

object
statusanyrequired
stripe_setupobjectrequired
Show child attributes
customerstringrequired
setup_intent_idstringrequired
client_secretstringrequired
Example
{
  "status": "created",
  "stripe_setup": {
    "customer": "string",
    "setup_intent_id": "string",
    "client_secret": "string"
  }
}

StripePaymentMethodEnvelope

object
statusanyrequired
stripe_payment_methodobjectrequired
Show child attributes
principal_idstringrequired
customerstring
paymentMethodstringrequired
created_atstringrequired
updated_atstringrequired
Example
{
  "status": "success",
  "stripe_payment_method": {
    "principal_id": "string",
    "customer": "string",
    "paymentMethod": "string",
    "created_at": "string",
    "updated_at": "string"
  }
}

BillingTopupRequest

object
amountinteger>= 1required
idempotency_keystring
Example
{
  "amount": 1,
  "idempotency_key": "string"
}

BillingTopupEnvelope

object
statusanyappliedalready_appliedrequired
balanceintegerrequired
creditedintegerrequired
debitedintegerrequired
receipt_idstringrequired
Example
{
  "status": "applied",
  "balance": 0,
  "credited": 0,
  "debited": 0,
  "receipt_id": "string"
}

BillingBalanceEnvelope

object
statusanyrequired
balanceintegerrequired
creditedintegerrequired
debitedintegerrequired
Example
{
  "status": "success",
  "balance": 0,
  "credited": 0,
  "debited": 0
}

EntitlementEnvelope

object
statusanyrequired
entitlementobjectrequired
Example
{
  "status": "success",
  "entitlement": {}
}

EntitlementListEnvelope

object
statusanyrequired
entitlementsArray<object>required
Example
{
  "status": "success",
  "entitlements": [
    {}
  ]
}

PutEntitlementRequest

object
principal_idstring
subscription_referencestringrequired
Example
{
  "principal_id": "string",
  "subscription_reference": "string"
}

StripeConnectOnboardingStartRequest

object
refresh_urlstring<uri>required
return_urlstring<uri>required
seller_principal_idstring
emailstring
countrystring
Example
{
  "refresh_url": "https://example.com",
  "return_url": "https://example.com",
  "seller_principal_id": "string",
  "email": "string",
  "country": "string"
}

StripeConnectSeller

object
principal_idstringrequired
stripe_account_idstringrequired
charges_enabledbooleanrequired
payouts_enabledbooleanrequired
details_submittedbooleanrequired
statusstringpendingenabledrestrictedrequired
registered_atstring<date-time>required
updated_atstring<date-time>required
Example
{
  "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

object
okanyrequired
onboarding_urlstring<uri>required
expires_atinteger | stringrequired
sellerStripeConnectSellerrequired
Show child attributes
principal_idstringrequired
stripe_account_idstringrequired
charges_enabledbooleanrequired
payouts_enabledbooleanrequired
details_submittedbooleanrequired
statusstringpendingenabledrestrictedrequired
registered_atstring<date-time>required
updated_atstring<date-time>required
Example
{
  "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

object
okanyrequired
sellerStripeConnectSeller | nullrequired
Example
{
  "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

object
principal_idstring
idempotency_keystringrequired
posting_idstringrequired
payer_refstringrequired
payee_refstringrequired
currencystringrequired
price_centsinteger>= 1required
fee_centsinteger>= 0required
claim_limitinteger>= 1required
funded_claim_slotsinteger>= 1required
quote_digeststring
quote_expires_atstring<date-time>
refund_policy_refstring
Example
{
  "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

object
principal_idstring
idempotency_keystringrequired
posting_idstringrequired
payer_refstringrequired
payee_refstringrequired
currencystringrequired
price_centsinteger>= 1required
fee_centsinteger>= 0required
claim_limitinteger>= 1required
funded_claim_slotsinteger>= 1required
quote_digeststring
quote_expires_atstring<date-time>
refund_policy_refstring
return_urlstring<uri>
cancel_urlstring<uri>
Example
{
  "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

object
principal_idstring
idempotency_keystringrequired
posting_idstringrequired
payer_refstringrequired
payee_refstringrequired
currencystringrequired
price_centsinteger>= 1required
fee_centsinteger>= 0required
claim_limitinteger>= 1required
funded_claim_slotsinteger>= 1required
quote_digeststring
quote_expires_atstring<date-time>
refund_policy_refstring
order_idstringrequired
Example
{
  "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

object
okanyrequired
order_idstringrequired
statusstringrequired
approval_urlstring<uri>
amount_centsinteger>= 1required
currencystringrequired
Example
{
  "ok": true,
  "order_id": "string",
  "status": "string",
  "approval_url": "https://example.com",
  "amount_cents": 1,
  "currency": "string"
}

X402MarketplaceFundingRequest

object
principal_idstring
idempotency_keystringrequired
posting_idstringrequired
payer_refstringrequired
payee_refstringrequired
currencystringrequired
price_centsinteger>= 1required
fee_centsinteger>= 0required
claim_limitinteger>= 1required
funded_claim_slotsinteger>= 1required
quote_digeststring
quote_expires_atstring<date-time>
refund_policy_refstring
payment_payloadX402V2PaymentPayloadrequired
Show child attributes
acceptedobjectrequired
Show child attributes
amountstringrequired
assetstringrequired
extraobject | null
maxTimeoutSecondsnumberrequired
networkstringrequired
payTostringrequired
schemestringrequired
extensionsobject | null
payloadobjectrequired
resourceobject | null
x402Versionintegerrequired
payment_requirementsX402V2PaymentRequirementsrequired
Show child attributes
amountstringrequired
assetstringrequired
extraobject | null
maxTimeoutSecondsnumberrequired
networkstringrequired
payTostringrequired
schemestringrequired
Example
{
  "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

object
funding_receipt_idstringrequired
idempotency_keystringrequired
amount_centsinteger>= 1required
refund_basisstringrequired
reasonstringrequired
worker_slots_refundedinteger>= 0required
worker_refunded_centsinteger>= 0required
fee_refunded_centsinteger>= 0required
policy_decision_refstring
Example
{
  "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

object
okanyrequired
statusanyrequired
codeanyrequired
messagestringrequired
retryableanyrequired
Example
{
  "ok": true,
  "status": "pending",
  "code": "settlement_pending",
  "message": "string",
  "retryable": true
}

X402MarketplacePayoutRequest

object
idempotency_keystringrequired
posting_idstringrequired
claim_idstringrequired
worker_principal_idstringrequired
railstringrequired
payout_identity_hashstringrequired
payee_refstringrequired
payer_refstring
currencystringrequired
amount_centsinteger>= 1required
source_funding_intent_idstringrequired
payout_basis_refstring
settled_atstring<date-time>required
Example
{
  "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

object
idempotency_keystringrequired
posting_idstringrequired
claim_idstringrequired
worker_principal_idstringrequired
railstringrequired
payout_identity_hashstringrequired
payee_refstringrequired
payer_refstring
currencystringrequired
amount_centsinteger>= 1required
source_funding_intent_idstring
payout_basis_refstring
settled_atstring<date-time>required
Example
{
  "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

object
worker_principal_idstringrequired
railstringrequired
addressstringrequired
Example
{
  "worker_principal_id": "string",
  "rail": "string",
  "address": "string"
}

X402WorkerWalletEnvelope

object
okanyrequired
Example
{
  "ok": true
}

MarketplacePayoutRequest

object
principal_idstring
idempotency_keystringrequired
posting_idstringrequired
claim_idstringrequired
destination_account_idstringrequired
payee_refstringrequired
payer_refstring
currencystringrequired
amount_centsinteger>= 1required
source_funding_intent_idstringrequired
settled_atstring<date-time>required
Example
{
  "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"
}

MarketplaceRefundRequest

object
One of
any
any

PayPalMarketplaceRefundRequest

object
funding_receipt_idstringrequired
idempotency_keystringrequired
amount_centsinteger>= 1required
refund_basisstringrequired
reasonstringrequired
worker_slots_refundedinteger>= 0required
worker_refunded_centsinteger>= 0required
fee_refunded_centsinteger>= 0required
policy_decision_refstring
Example
{
  "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

object
okanyrequired
receiptobjectrequired
idempotent_replaybooleanrequired
Example
{
  "ok": true,
  "receipt": {},
  "idempotent_replay": true
}

X402MarketplaceQuoteRequest

object
resourcestringrequired
descriptionstring
price_centsinteger>= 1required
fee_centsinteger>= 0required
funded_claim_slotsinteger>= 1required
max_timeout_secondsinteger>= 1
Example
{
  "resource": "string",
  "description": "string",
  "price_cents": 1,
  "fee_cents": 0,
  "funded_claim_slots": 1,
  "max_timeout_seconds": 1
}

X402SettlementTarget

object
networkstringbase-sepoliabaserequired
assetstringrequired
pay_tostringrequired
asset_decimalsinteger>= 0required
eip712_domainobject

Present 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.

Show child attributes
namestringrequired
versionstringrequired
recommendedboolean
Example
{
  "network": "base-sepolia",
  "asset": "string",
  "pay_to": "string",
  "asset_decimals": 0,
  "eip712_domain": {
    "name": "string",
    "version": "string"
  },
  "recommended": true
}

X402SettlementTargetsRequest

object
targetsArray<X402SettlementTarget>required
Show child attributes
networkstringbase-sepoliabaserequired
assetstringrequired
pay_tostringrequired
asset_decimalsinteger>= 0required
eip712_domainobject

Present 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.

Show child attributes
namestringrequired
versionstringrequired
recommendedboolean
Example
{
  "targets": [
    {
      "network": "base-sepolia",
      "asset": "string",
      "pay_to": "string",
      "asset_decimals": 0,
      "eip712_domain": {
        "name": "string",
        "version": "string"
      },
      "recommended": true
    }
  ]
}

X402SettlementTargetsEnvelope

object
okanyrequired
grant_idstring
outbound_configuredbooleanrequired
targetsArray<X402SettlementTarget>required
Show child attributes
networkstringbase-sepoliabaserequired
assetstringrequired
pay_tostringrequired
asset_decimalsinteger>= 0required
eip712_domainobject

Present 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.

Show child attributes
namestringrequired
versionstringrequired
recommendedboolean
Example
{
  "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

object
okanyrequired
acceptsArray<X402V2PaymentRequirements>required
Show child attributes
amountstringrequired
assetstringrequired
extraobject | null
maxTimeoutSecondsnumberrequired
networkstringrequired
payTostringrequired
schemestringrequired
payment_requirementsX402V2PaymentRequirementsrequired
Show child attributes
amountstringrequired
assetstringrequired
extraobject | null
maxTimeoutSecondsnumberrequired
networkstringrequired
payTostringrequired
schemestringrequired
Example
{
  "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

object
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typetypethreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
Example
{
  "label": "string",
  "locator": "string",
  "observed_at": "string",
  "proof_kind": "effect_evidence",
  "provider": "string",
  "type": "thread",
  "uri": "string"
}

RunxPaidSkillListing

object

Immutable 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_digeststringrequired

The registry's digest of the published bundle's files.

offersobjectrequired
profile_digeststringrequired
seller_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
skill_digeststringrequired
skill_idstringrequired
versionstringrequired
Example
{
  "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

object
input_schema_digeststringrequired
offer_idstringrequired
output_schema_digeststringrequired
profile_digeststringrequired

The digest of the profile that declares the offer at that version.

versionstringrequired

The package version the offer is sold at.

Example
{
  "input_schema_digest": "string",
  "offer_id": "string",
  "output_schema_digest": "string",
  "profile_digest": "string",
  "version": "string"
}

RunxPurchase

object
accepted_settlement_familiesArray<string>required
act_refobject

The purchase's act, fixed before any run: what the seller's run performs and capacity reserves.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
amount_minoramount_minor[1, 9007199254740991]required
buyer_keystring

The key the buyer claims with; runx's purchase receipt binds it.

buyer_refobjectrequired

The buyer: the principal that pays.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
canonicalizer_versionstringrunx.receipt.c14n.v1required

The sole V1 canonicalization identifier for digest-bound inputs.

created_atcreated_atrequired
currencycurrencyrequired
execution_stateexecution_stateunstartedqueuedrunningwaiting_externalcancellingsucceededfailedcancelledrequired
expires_atstringrequired
external_job_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
idempotencyobjectrequired
Show child attributes
binding_digeststringrequired
keystringrequired
input_digestinput_digestrequired
offer_versionoffer_versionrequired
Show child attributes
input_schema_digeststringrequired
offer_idstringrequired
output_schema_digeststringrequired
profile_digeststringrequired

The digest of the profile that declares the offer at that version.

versionstringrequired

The package version the offer is sold at.

outcome_gateoutcome_gateopenfulfilment_wonrefund_wonrequired
package_digestpackage_digestrequired

The 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_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
payment_statepayment_stateunpaidsettlingsettledrefundedrequired
purchase_idpurchase_idrequired
seller_refobjectrequired

The seller: the publisher's principal enrolled to sell the skill.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
settlement_familysettlement_family
skill_refobjectrequired

What is bought: the skill runner binding the seller's run performs.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
updated_atupdated_atrequired
Example
{
  "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

object
Any of
statusstringrequired
valueobjectrequired
Show child attributes
payment_optionsArray<PurchasePaymentChallenge>required
Show child attributes
media_typestringrequired
payloadanyrequired
payload_digeststringrequired
payment_methodobject

Protocol-owned discovery and display terms. These do not authorize a payment: the settlement executor verifies the complete challenge itself.

Show child attributes
assetstring
methodstringrequired
networkstring
pay_tostring
protocol_versionstring

Present only when the payment protocol carries a version.

quote_expires_atstringrequired
quote_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
settlement_familystringrequired
purchaseobjectrequired
Show child attributes
accepted_settlement_familiesArray<string>required
act_refobject

The purchase's act, fixed before any run: what the seller's run performs and capacity reserves.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
amount_minorinteger[1, 9007199254740991]required
buyer_keystring

The key the buyer claims with; runx's purchase receipt binds it.

buyer_refobjectrequired

The buyer: the principal that pays.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
canonicalizer_versionstringrunx.receipt.c14n.v1required

The sole V1 canonicalization identifier for digest-bound inputs.

created_atstringrequired
currencystringrequired
execution_statestringunstartedqueuedrunningwaiting_externalcancellingsucceededfailedcancelledrequired
expires_atstringrequired
external_job_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
idempotencyobjectrequired
Show child attributes
binding_digeststringrequired
keystringrequired
input_digeststringrequired
offer_versionobjectrequired
Show child attributes
input_schema_digeststringrequired
offer_idstringrequired
output_schema_digeststringrequired
profile_digeststringrequired

The digest of the profile that declares the offer at that version.

versionstringrequired

The package version the offer is sold at.

outcome_gatestringopenfulfilment_wonrefund_wonrequired
package_digeststringrequired

The 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_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
payment_statestringunpaidsettlingsettledrefundedrequired
purchase_idstringrequired
seller_refobjectrequired

The seller: the publisher's principal enrolled to sell the skill.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
settlement_familystring
skill_refobjectrequired

What is bought: the skill runner binding the seller's run performs.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
updated_atstringrequired
codestringoffer_unavailablequote_expiredterms_changedreplay_conflictpayment_not_authorizedcapacity_unavailablenot_foundcancellation_not_availablerequired
reasonstringrequired
statusstringrequired
Example
{
  "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

object
idempotencyobjectrequired
Show child attributes
binding_digeststringrequired
keystringrequired
payment_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
purchase_idstringrequired
settlement_familystringrequired
Example
{
  "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

object
Any of
statusstringrequired
valueobjectrequired
Show child attributes
purchaseobjectrequired
Show child attributes
accepted_settlement_familiesArray<string>required
act_refobject

The purchase's act, fixed before any run: what the seller's run performs and capacity reserves.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
amount_minorinteger[1, 9007199254740991]required
buyer_keystring

The key the buyer claims with; runx's purchase receipt binds it.

buyer_refobjectrequired

The buyer: the principal that pays.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
canonicalizer_versionstringrunx.receipt.c14n.v1required

The sole V1 canonicalization identifier for digest-bound inputs.

created_atstringrequired
currencystringrequired
execution_statestringunstartedqueuedrunningwaiting_externalcancellingsucceededfailedcancelledrequired
expires_atstringrequired
external_job_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
idempotencyobjectrequired
Show child attributes
binding_digeststringrequired
keystringrequired
input_digeststringrequired
offer_versionobjectrequired
Show child attributes
input_schema_digeststringrequired
offer_idstringrequired
output_schema_digeststringrequired
profile_digeststringrequired

The digest of the profile that declares the offer at that version.

versionstringrequired

The package version the offer is sold at.

outcome_gatestringopenfulfilment_wonrefund_wonrequired
package_digeststringrequired

The 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_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
payment_statestringunpaidsettlingsettledrefundedrequired
purchase_idstringrequired
seller_refobjectrequired

The seller: the publisher's principal enrolled to sell the skill.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
settlement_familystring
skill_refobjectrequired

What is bought: the skill runner binding the seller's run performs.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
updated_atstringrequired
codestringoffer_unavailablequote_expiredterms_changedreplay_conflictpayment_not_authorizedcapacity_unavailablenot_foundcancellation_not_availablerequired
reasonstringrequired
statusstringrequired
Example
{
  "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"
    }
  }
}

RunxGetPurchaseRequest

object
purchase_idstringrequired
Example
{
  "purchase_id": "string"
}

RunxGetPurchaseResult

object
Any of
statusstringrequired
valueobjectrequired
Show child attributes
failureobject

Why a refund won. Present only after refund won.

Show child attributes
codestringrequired
messagestringrequired
purchaseobjectrequired
Show child attributes
accepted_settlement_familiesArray<string>required
act_refobject

The purchase's act, fixed before any run: what the seller's run performs and capacity reserves.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
amount_minorinteger[1, 9007199254740991]required
buyer_keystring

The key the buyer claims with; runx's purchase receipt binds it.

buyer_refobjectrequired

The buyer: the principal that pays.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
canonicalizer_versionstringrunx.receipt.c14n.v1required

The sole V1 canonicalization identifier for digest-bound inputs.

created_atstringrequired
currencystringrequired
execution_statestringunstartedqueuedrunningwaiting_externalcancellingsucceededfailedcancelledrequired
expires_atstringrequired
external_job_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
idempotencyobjectrequired
Show child attributes
binding_digeststringrequired
keystringrequired
input_digeststringrequired
offer_versionobjectrequired
Show child attributes
input_schema_digeststringrequired
offer_idstringrequired
output_schema_digeststringrequired
profile_digeststringrequired

The digest of the profile that declares the offer at that version.

versionstringrequired

The package version the offer is sold at.

outcome_gatestringopenfulfilment_wonrefund_wonrequired
package_digeststringrequired

The 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_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
payment_statestringunpaidsettlingsettledrefundedrequired
purchase_idstringrequired
seller_refobjectrequired

The seller: the publisher's principal enrolled to sell the skill.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
settlement_familystring
skill_refobjectrequired

What is bought: the skill runner binding the seller's run performs.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
updated_atstringrequired
receipt_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
result_refobject

What fulfilled the purchase: the source run (act) or the durable continuation's result (artifact). Present only after fulfilment won.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
run_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
codestringoffer_unavailablequote_expiredterms_changedreplay_conflictpayment_not_authorizedcapacity_unavailablenot_foundcancellation_not_availablerequired
reasonstringrequired
statusstringrequired
Example
{
  "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

object

What 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>= 0

What 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.

failureobject

Why a refund won. Present only after refund won.

Show child attributes
codestringrequired
messagestringrequired
holdsArray<object>

Each resource runx holds for the purchase's buyer, once fulfilment won.

Show child attributes
connectorstringrequired
credentialstringrequired
expires_atstringrequired
targetstringrequired
value_digeststringrequired
purchaseobjectrequired
Show child attributes
accepted_settlement_familiesArray<string>required
act_refobject

The purchase's act, fixed before any run: what the seller's run performs and capacity reserves.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
amount_minorinteger[1, 9007199254740991]required
buyer_keystring

The key the buyer claims with; runx's purchase receipt binds it.

buyer_refobjectrequired

The buyer: the principal that pays.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
canonicalizer_versionstringrunx.receipt.c14n.v1required

The sole V1 canonicalization identifier for digest-bound inputs.

created_atstringrequired
currencystringrequired
execution_statestringunstartedqueuedrunningwaiting_externalcancellingsucceededfailedcancelledrequired
expires_atstringrequired
external_job_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
idempotencyobjectrequired
Show child attributes
binding_digeststringrequired
keystringrequired
input_digeststringrequired
offer_versionobjectrequired
Show child attributes
input_schema_digeststringrequired
offer_idstringrequired
output_schema_digeststringrequired
profile_digeststringrequired

The digest of the profile that declares the offer at that version.

versionstringrequired

The package version the offer is sold at.

outcome_gatestringopenfulfilment_wonrefund_wonrequired
package_digeststringrequired

The 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_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
payment_statestringunpaidsettlingsettledrefundedrequired
purchase_idstringrequired
seller_refobjectrequired

The seller: the publisher's principal enrolled to sell the skill.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
settlement_familystring
skill_refobjectrequired

What is bought: the skill runner binding the seller's run performs.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
updated_atstringrequired
receiptobject

runx's signed purchase receipt, once sealed: what a claim presents.

resultany
Example
{
  "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

object

What a buyer sends runx's claim route for a held value (runx.payment.purchase_claim.v1).

claim_urlstringrequired

The endpoint this claim is sent to: a claim is good for one endpoint.

issued_atstringrequired

When the buyer signed; runx refuses a stale claim.

receipt_digeststringrequired

The digest of runx's receipt for the fulfilled purchase, as the purchase gave it: a purchase has none until it is fulfilled.

signaturestringrequired

The buyer's signature over the claim schema, the endpoint, the time and the receipt digest, as stable JSON.

Example
{
  "claim_url": "string",
  "issued_at": "string",
  "receipt_digest": "string",
  "signature": "string"
}

RunxCancelPurchaseRequest

object
idempotencyobjectrequired
Show child attributes
binding_digeststringrequired
keystringrequired
purchase_idstringrequired
Example
{
  "idempotency": {
    "binding_digest": "string",
    "key": "string"
  },
  "purchase_id": "string"
}

RunxCancelPurchaseResult

object
Any of
statusstringrequired
valueobjectrequired
Show child attributes
purchaseobjectrequired
Show child attributes
accepted_settlement_familiesArray<string>required
act_refobject

The purchase's act, fixed before any run: what the seller's run performs and capacity reserves.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
amount_minorinteger[1, 9007199254740991]required
buyer_keystring

The key the buyer claims with; runx's purchase receipt binds it.

buyer_refobjectrequired

The buyer: the principal that pays.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
canonicalizer_versionstringrunx.receipt.c14n.v1required

The sole V1 canonicalization identifier for digest-bound inputs.

created_atstringrequired
currencystringrequired
execution_statestringunstartedqueuedrunningwaiting_externalcancellingsucceededfailedcancelledrequired
expires_atstringrequired
external_job_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
idempotencyobjectrequired
Show child attributes
binding_digeststringrequired
keystringrequired
input_digeststringrequired
offer_versionobjectrequired
Show child attributes
input_schema_digeststringrequired
offer_idstringrequired
output_schema_digeststringrequired
profile_digeststringrequired

The digest of the profile that declares the offer at that version.

versionstringrequired

The package version the offer is sold at.

outcome_gatestringopenfulfilment_wonrefund_wonrequired
package_digeststringrequired

The 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_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
payment_statestringunpaidsettlingsettledrefundedrequired
purchase_idstringrequired
seller_refobjectrequired

The seller: the publisher's principal enrolled to sell the skill.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringrequired
uristringrequired
settlement_familystring
skill_refobjectrequired

What is bought: the skill runner binding the seller's run performs.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
updated_atstringrequired
codestringoffer_unavailablequote_expiredterms_changedreplay_conflictpayment_not_authorizedcapacity_unavailablenot_foundcancellation_not_availablerequired
reasonstringrequired
statusstringrequired
Example
{
  "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

object
authenticityobject
Show child attributes
evidence_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
host_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
principal_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
signature_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
trust_levelstringunverifiedobservedverified_deliveryverified_signatureoperator_attestedrequired
verified_atstring
verified_by_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
body_previewstring
digestobject

A content digest with how it was taken and what it was taken over.

Show child attributes
algorithmstringsha256required

The algorithm a content digest was taken with.

canonicalizationstringrequired
derived_fromArray<object>required
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
valuestringrequired
evidence_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
extensionsobject
linksobject
Show child attributes
duplicate_candidatesArray<object>
Show child attributes
candidate_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
confidencenumberrequired
evidence_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
observed_atstringrequired
reviewer_refsArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
duplicate_ofobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
relatedArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
superseded_byArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
supersedesArray<object>
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
observed_atstringrequired
schemastringrunx.signal.v1required
signal_idstringrequired
signal_typestringrequired

Open signal type identifier (e.g. issue_opened). Adapters can publish their own identifier without a contract edit.

source_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
titlestringrequired
Example
{
  "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

object

The 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>required
Show child attributes
artifact_refsArray<object>required
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
context_refobject

The agent-context envelope (instructions/inputs/output/tool-calls) is referenced here and hydrated by the inspection projections.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
criterion_bindingsArray<object>required
Show child attributes
criterion_idstringstep_outcomeoutput_contract_verifiedvoice_profile_appliedpacket_schemas_verifiedrequired

A check the runtime runs and binds to a receipt. The runtime is the only writer of criteria, so they are its own closed vocabulary: each names what was checked, and its binding states the result and the evidence.

evidence_refsArray<object>required
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
statusstringverifiedfailedrequired
verification_refsArray<object>required
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
formstringobservationreplyreviewrequired

What kind of act a governed call is.

idstringrequired
intentobjectrequired

Why an act was done and under what it was legitimate.

Show child attributes
legitimacystringrequired

The execution term the act was admitted under.

purposestringrequired
operationobject

The connector operation the act ran, exactly as admission bound it: its qualified connector, manifest and connector digests, and the operation, instance and target it was admitted for.

Show child attributes
act_digeststring

Digest of the act the call performs, when its caller states one.

amountobject

Present when the operation requires an amount.

Show child attributes
unitstringrequired
unitsinteger>= 0required
approval_digeststring

Digest of the approval text a person is shown, when the call is gated.

connectorstringrequired
connector_digeststringrequired
instance_idstringrequired

The instance fixes the placement, principal and account.

manifest_digeststringrequired
operationstringrequired
operation_digeststringrequired

What the operation means: its verb, scopes, target and floors.

payload_digeststringrequired
request_key_digeststring

Digest of the caller's request key; present for mutations.

targetstringrequired
previousobject

The receipt the caller states this act follows. It is the caller's statement, recorded as given: runx does not check it.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
reasonstring

What the caller told a reader about this particular call, when it said anything.

target_refsArray<object>required
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
authorityobjectrequired
Show child attributes
actor_refobject

The principal an act was admitted for, when the run was given one. A receipt with no admitted actor states none.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
derivationsArray<object>required

How each derived execution term in terms was proven.

Show child attributes
derived_atstringrequired
evidenceArray<object>required
Show child attributes
kindstringcapabilitydelegationapprovalrequired

The three kinds of evidence admission proves. Each has one job.

referenceobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
termobject

The capability or delegation term, sealed so the subset proofs can be re-checked offline. Approvals carry no term.

Show child attributes
approvalsArray<object>
Show child attributes
approval_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
approved_atstring
approved_by_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
boundsobjectrequired
Show child attributes
operationsArray<string>

Connector operations, as <connector>/<operation> or <connector>/*.

scopesArray<string>

Provider grant scopes.

targetsArray<string>

Provider targets: exact values, <prefix>*, or *.

usesobject

How many times a term may be used. An execution term is single use. Usage is reserved atomically with each effect attempt, never counted from receipts.

Show child attributes
per_dayinteger>= 0
totalinteger>= 0
credential_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
expires_atstring
issued_by_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
principal_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
resource_familystringconnectorrequired
resource_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
term_idstringrequired
verbsArray<string>readwritecommentreviewmergecreateupdatedeleteexecuterevokerequired
intent_digeststringrequired
proofsArray<object>required
Show child attributes
checked_atstringrequired
compared_termsArray<object>required
Show child attributes
child_term_idstringrequired
parent_term_idstringrequired
relationstringequalsubsetrequired
comparison_algorithmstringrequired
parent_authority_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
proof_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
resultstringsubsetrequired
term_idstringrequired
enforcementobjectrequired

What the runtime enforced around the subject.

Show child attributes
execution_boundaryobject

Where the subject ran, when the runtime observed it.

Show child attributes
kindstringtrusted_host_processdeterministic_workernative_capabilityremote_providerrequired
grant_refsArray<object>required

The capability evidence that admitted the receipt's effects: a runx Connect grant, or the local connector instance the operator confirmed.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
mandate_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
scope_refsArray<object>required
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
termsArray<object>required
Show child attributes
approvalsArray<object>
Show child attributes
approval_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
approved_atstring
approved_by_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
boundsobjectrequired
Show child attributes
operationsArray<string>

Connector operations, as <connector>/<operation> or <connector>/*.

scopesArray<string>

Provider grant scopes.

targetsArray<string>

Provider targets: exact values, <prefix>*, or *.

usesobject

How many times a term may be used. An execution term is single use. Usage is reserved atomically with each effect attempt, never counted from receipts.

Show child attributes
per_dayinteger>= 0
totalinteger>= 0
credential_refobject
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
expires_atstring
issued_by_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
principal_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
resource_familystringconnectorrequired
resource_refobjectrequired
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
term_idstringrequired
verbsArray<string>readwritecommentreviewmergecreateupdatedeleteexecuterevokerequired
canonicalizationstringrunx.receipt.c14n.v1required

The canonicalization byte contract a receipt's id and digest commit under. v1 has one.

created_atstringrequired
decisionsArray<object>required
Show child attributes
choicestringcontinueescalatedeferclosedeclinemonitorrequired

The decisions a governed call can carry out.

decision_idstringrequired
selected_act_idstringrequired

The act the decision is carried out by. Its intent, target and artifacts are that act's.

digeststringrequired
idstringrequired
issuerobjectrequired
Show child attributes
kidstringrequired
public_key_digeststringrequired
runx_versionstringrequired

The runx release that issued the receipt.

typestringlocalhostedcirequired
lineageobjectrequired

What runx committed of a receipt's place among others.

Show child attributes
childrenArray<object>required

The receipts of the subject's direct children, each committed by its id and signed-body digest.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
schemastringrunx.receipt.v1required
sealobjectrequired

Exactly 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.

Show child attributes
criteriaArray<object>required
Show child attributes
criterion_idstringstep_outcomeoutput_contract_verifiedvoice_profile_appliedpacket_schemas_verifiedrequired

A check the runtime runs and binds to a receipt. The runtime is the only writer of criteria, so they are its own closed vocabulary: each names what was checked, and its binding states the result and the evidence.

evidence_refsArray<object>required
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
statusstringverifiedfailedrequired
verification_refsArray<object>required
Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
outcomestringcompleteddeferredsupersededdeclinedblockedfailedkilledtimed_outrequired

How a run, or a receipt's subject, ended.

reasonstringpreflight_refusedinput_contract_invalidgraph_step_failedgraph_blockedauthority_deniedcost_limit_exceededresolution_pendingmanaged_agent_provider_failedmanaged_agent_resolution_failedmanaged_agent_empty_turn_budget_exhaustedmanaged_agent_tool_execution_failedmanaged_agent_round_budget_exhaustedhost_closed

Why it ended so, where the outcome alone does not say.

signatureobjectrequired
Show child attributes
algstringEd25519required
valuestringrequired
subjectobjectrequired
Show child attributes
kindstringstepgraphrequired

What a receipt seals: one step's attempt, or the whole graph a run ran.

outcome_digeststringrequired

The digest of how the subject ended: its seal's outcome, the outputs it declared, and its direct children's receipt ids. The receipt commits to that; the produced content beyond its declared outputs is not part of it.

refobjectrequired

What ran.

Show child attributes
labelstring
locatorstring
observed_atstring
proof_kindstringeffect_evidenceeffect_finalitycredential_resolution
providerstring
typestringthreadcommenteventtracking_itemchange_requestrepositorysignalrunactreceiptartifactverificationharnesshostsurfacetargetskill_bindingprincipalscope_admissiongrantmandatecredentialwebhook_deliveryredaction_policyexternal_urlconnector_instanceconnector_operationrequired

What 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
Example
{
  "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

object
descriptionstring | null
iconUrlstring | null
mimeTypestring | null
serviceNamestring | null
tagsArray<string> | null
urlstringrequired
Example
{
  "description": "string",
  "iconUrl": "string",
  "mimeType": "string",
  "serviceName": "string",
  "tags": [
    "string"
  ],
  "url": "string"
}

X402V2PaymentRequirements

object
amountstringrequired
assetstringrequired
extraobject | null
maxTimeoutSecondsnumberrequired
networkstringrequired
payTostringrequired
schemestringrequired
Example
{
  "amount": "string",
  "asset": "string",
  "extra": {},
  "maxTimeoutSeconds": 0,
  "network": "string",
  "payTo": "string",
  "scheme": "string"
}

X402V2PaymentRequired

object
acceptsArray<object>required
Show child attributes
amountstringrequired
assetstringrequired
extraobject | null
maxTimeoutSecondsnumberrequired
networkstringrequired
payTostringrequired
schemestringrequired
errorstring | null
extensionsobject | null
resourceobjectrequired
Show child attributes
descriptionstring | null
iconUrlstring | null
mimeTypestring | null
serviceNamestring | null
tagsArray<string> | null
urlstringrequired
x402Versionintegerrequired
Example
{
  "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

object
acceptedobjectrequired
Show child attributes
amountstringrequired
assetstringrequired
extraobject | null
maxTimeoutSecondsnumberrequired
networkstringrequired
payTostringrequired
schemestringrequired
extensionsobject | null
payloadobjectrequired
resourceobject | null
x402Versionintegerrequired
Example
{
  "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

object
amountstring | null
errorMessagestring | null
errorReasonstring | null
extensionsobject | null
extraobject | null
networkstringrequired
payerstring | null
successbooleanrequired
transactionstringrequired
Example
{
  "amount": "string",
  "errorMessage": "string",
  "errorReason": "string",
  "extensions": {},
  "extra": {},
  "network": "string",
  "payer": "string",
  "success": true,
  "transaction": "string"
}