CAIN-42 CAIN Studio

API reference · schema

ArtifactPinRequest

10 fields · used by 0 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
artifact_id requiredstringmax length 128
kindstringmax length 32 · default "TOOL"
version requiredstringmax length 64
content_sha256 requiredstringmin length 64 · max length 64
publisher_id requiredstringmax length 128
capabilitiesarray of string
toolsarray of string
issued_atnumber or null
expires_atnumber or null
signature_b64 requiredstringmin length 1

Smallest valid example

{
  "artifact_id": "artifact-id",
  "kind": "TOOL",
  "version": "version",
  "content_sha256": "content-sha256",
  "publisher_id": "publisher-id",
  "signature_b64": "signature-b64"
}

JSON Schema

Show the raw definition
{
  "properties": {
    "artifact_id": {
      "type": "string",
      "maxLength": 128,
      "title": "Artifact Id"
    },
    "kind": {
      "type": "string",
      "maxLength": 32,
      "title": "Kind",
      "default": "TOOL"
    },
    "version": {
      "type": "string",
      "maxLength": 64,
      "title": "Version"
    },
    "content_sha256": {
      "type": "string",
      "maxLength": 64,
      "minLength": 64,
      "title": "Content Sha256"
    },
    "publisher_id": {
      "type": "string",
      "maxLength": 128,
      "title": "Publisher Id"
    },
    "capabilities": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Capabilities"
    },
    "tools": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Tools"
    },
    "issued_at": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Issued At"
    },
    "expires_at": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expires At"
    },
    "signature_b64": {
      "type": "string",
      "minLength": 1,
      "title": "Signature B64"
    }
  },
  "type": "object",
  "required": [
    "artifact_id",
    "version",
    "content_sha256",
    "publisher_id",
    "signature_b64"
  ],
  "title": "ArtifactPinRequest"
}

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.

Create a free account →  ·  Try the sandbox  ·  See the whole ecosystem