{
  "x402Version": 2,
  "id": 71379,
  "slug": "repository-build-and-test-verification",
  "resource": "https://saylorinnovations.com/api/code/verify",
  "description": "Run a public GitHub repo's test, lint or build script in a disposable microVM and return structured logs and the commit",
  "type": "http",
  "serviceName": "Saylor Code Verifier",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "250000",
      "amountUsd": 0.25,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "250000",
      "amountUsd": 0.25,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "250000",
      "amountUsd": 0.25,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "250000",
      "amountUsd": 0.25,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "250000",
      "amountUsd": 0.25,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "2396007",
      "amountUsd": 0.25,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "required": [
      "verificationId",
      "verdict",
      "repository",
      "task",
      "steps",
      "startedAt",
      "finishedAt"
    ],
    "properties": {
      "verificationId": {
        "type": "string",
        "description": "Verification id identifier"
      },
      "verdict": {
        "type": "string",
        "enum": [
          "pass",
          "fail",
          "error"
        ],
        "description": "Overall assessment derived from the listed reasons"
      },
      "repository": {
        "type": "string",
        "format": "uri",
        "description": "Source repository URL"
      },
      "resolvedCommit": {
        "type": [
          "string",
          "null"
        ],
        "description": "Resolved commit"
      },
      "task": {
        "type": "string"
      },
      "packageManager": {
        "type": [
          "string",
          "null"
        ],
        "description": "Package manager"
      },
      "steps": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "name",
            "exitCode",
            "durationMs"
          ],
          "properties": {
            "name": {
              "type": "string",
              "description": "Name"
            },
            "exitCode": {
              "type": [
                "integer",
                "null"
              ],
              "description": "Exit code"
            },
            "durationMs": {
              "type": "integer",
              "description": "Duration, in milliseconds"
            },
            "stdout": {
              "type": "string"
            },
            "stderr": {
              "type": "string"
            },
            "truncated": {
              "type": "boolean",
              "description": "True when the list was cut at the limit"
            }
          }
        }
      },
      "startedAt": {
        "type": "string",
        "format": "date-time",
        "description": "Started at (UTC unless a time zone is given)"
      },
      "finishedAt": {
        "type": "string",
        "format": "date-time",
        "description": "Finished at (UTC unless a time zone is given)"
      },
      "isolation": {
        "type": "string"
      },
      "limitations": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Known limits of this result"
      }
    }
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "POST",
          "bodyType": "json",
          "body": {
            "repository": "https://github.com/octocat/Hello-World",
            "ref": "master",
            "task": "test",
            "packageManager": "auto",
            "timeoutSeconds": 60
          }
        },
        "output": {
          "type": "json",
          "example": {
            "verificationId": "vrf_example",
            "verdict": "pass",
            "repository": "https://github.com/octocat/Hello-World",
            "resolvedCommit": "7fd1a60b01f91b314f59955a4e4d92f11bf82b32",
            "task": "test",
            "packageManager": "npm",
            "steps": [],
            "startedAt": "2026-09-24T00:00:00.000Z",
            "finishedAt": "2026-09-24T00:00:01.000Z",
            "isolation": "Disposable Vercel Sandbox microVM",
            "limitations": [
              "Example only; use the paid endpoint for a live run."
            ]
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "POST"
                ]
              },
              "bodyType": {
                "type": "string",
                "const": "json"
              },
              "body": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "repository",
                  "task"
                ],
                "properties": {
                  "repository": {
                    "type": "string",
                    "format": "uri",
                    "description": "Public GitHub HTTPS repository URL."
                  },
                  "ref": {
                    "type": "string",
                    "description": "Optional branch or tag to verify."
                  },
                  "task": {
                    "type": "string",
                    "enum": [
                      "test",
                      "lint",
                      "build"
                    ],
                    "description": "Bounded package script to run."
                  },
                  "packageManager": {
                    "type": "string",
                    "enum": [
                      "auto",
                      "npm"
                    ],
                    "default": "auto",
                    "description": "Version 0.1 supports npm projects; auto selects npm."
                  },
                  "timeoutSeconds": {
                    "type": "integer",
                    "minimum": 15,
                    "maximum": 120,
                    "default": 60
                  }
                }
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "required": [
                  "verificationId",
                  "verdict",
                  "repository",
                  "task",
                  "steps",
                  "startedAt",
                  "finishedAt"
                ],
                "properties": {
                  "verificationId": {
                    "type": "string",
                    "description": "Verification id identifier"
                  },
                  "verdict": {
                    "type": "string",
                    "enum": [
                      "pass",
                      "fail",
                      "error"
                    ],
                    "description": "Overall assessment derived from the listed reasons"
                  },
                  "repository": {
                    "type": "string",
                    "format": "uri",
                    "description": "Source repository URL"
                  },
                  "resolvedCommit": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Resolved commit"
                  },
                  "task": {
                    "type": "string"
                  },
                  "packageManager": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Package manager"
                  },
                  "steps": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "exitCode",
                        "durationMs"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "Name"
                        },
                        "exitCode": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "Exit code"
                        },
                        "durationMs": {
                          "type": "integer",
                          "description": "Duration, in milliseconds"
                        },
                        "stdout": {
                          "type": "string"
                        },
                        "stderr": {
                          "type": "string"
                        },
                        "truncated": {
                          "type": "boolean",
                          "description": "True when the list was cut at the limit"
                        }
                      }
                    }
                  },
                  "startedAt": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Started at (UTC unless a time zone is given)"
                  },
                  "finishedAt": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Finished at (UTC unless a time zone is given)"
                  },
                  "isolation": {
                    "type": "string"
                  },
                  "limitations": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Known limits of this result"
                  }
                }
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "code-verification",
    "testing",
    "build",
    "sandbox",
    "github"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:02.009Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Code Verifier",
    "method": "POST",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "repository",
        "task"
      ],
      "properties": {
        "repository": {
          "type": "string",
          "format": "uri",
          "description": "Public GitHub HTTPS repository URL."
        },
        "ref": {
          "type": "string",
          "description": "Optional branch or tag to verify."
        },
        "task": {
          "type": "string",
          "enum": [
            "test",
            "lint",
            "build"
          ],
          "description": "Bounded package script to run."
        },
        "packageManager": {
          "type": "string",
          "enum": [
            "auto",
            "npm"
          ],
          "default": "auto",
          "description": "Version 0.1 supports npm projects; auto selects npm."
        },
        "timeoutSeconds": {
          "type": "integer",
          "minimum": 15,
          "maximum": 120,
          "default": 60
        }
      }
    },
    "inputExample": {
      "repository": "https://github.com/octocat/Hello-World",
      "ref": "master",
      "task": "test",
      "packageManager": "auto",
      "timeoutSeconds": 60
    },
    "exampleResponse": {
      "verificationId": "vrf_example",
      "verdict": "pass",
      "repository": "https://github.com/octocat/Hello-World",
      "resolvedCommit": "7fd1a60b01f91b314f59955a4e4d92f11bf82b32",
      "task": "test",
      "packageManager": "npm",
      "steps": [],
      "startedAt": "2026-09-24T00:00:00.000Z",
      "finishedAt": "2026-09-24T00:00:01.000Z",
      "isolation": "Disposable Vercel Sandbox microVM",
      "limitations": [
        "Example only; use the paid endpoint for a live run."
      ]
    },
    "parameterLocation": "body",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "POST",
            "bodyType": "json",
            "body": {
              "repository": "https://github.com/octocat/Hello-World",
              "ref": "master",
              "task": "test",
              "packageManager": "auto",
              "timeoutSeconds": 60
            }
          },
          "output": {
            "type": "json",
            "example": {
              "verificationId": "vrf_example",
              "verdict": "pass",
              "repository": "https://github.com/octocat/Hello-World",
              "resolvedCommit": "7fd1a60b01f91b314f59955a4e4d92f11bf82b32",
              "task": "test",
              "packageManager": "npm",
              "steps": [],
              "startedAt": "2026-09-24T00:00:00.000Z",
              "finishedAt": "2026-09-24T00:00:01.000Z",
              "isolation": "Disposable Vercel Sandbox microVM",
              "limitations": [
                "Example only; use the paid endpoint for a live run."
              ]
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "POST"
                  ]
                },
                "bodyType": {
                  "type": "string",
                  "const": "json"
                },
                "body": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "repository",
                    "task"
                  ],
                  "properties": {
                    "repository": {
                      "type": "string",
                      "format": "uri",
                      "description": "Public GitHub HTTPS repository URL."
                    },
                    "ref": {
                      "type": "string",
                      "description": "Optional branch or tag to verify."
                    },
                    "task": {
                      "type": "string",
                      "enum": [
                        "test",
                        "lint",
                        "build"
                      ],
                      "description": "Bounded package script to run."
                    },
                    "packageManager": {
                      "type": "string",
                      "enum": [
                        "auto",
                        "npm"
                      ],
                      "default": "auto",
                      "description": "Version 0.1 supports npm projects; auto selects npm."
                    },
                    "timeoutSeconds": {
                      "type": "integer",
                      "minimum": 15,
                      "maximum": 120,
                      "default": 60
                    }
                  }
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "required": [
                    "verificationId",
                    "verdict",
                    "repository",
                    "task",
                    "steps",
                    "startedAt",
                    "finishedAt"
                  ],
                  "properties": {
                    "verificationId": {
                      "type": "string",
                      "description": "Verification id identifier"
                    },
                    "verdict": {
                      "type": "string",
                      "enum": [
                        "pass",
                        "fail",
                        "error"
                      ],
                      "description": "Overall assessment derived from the listed reasons"
                    },
                    "repository": {
                      "type": "string",
                      "format": "uri",
                      "description": "Source repository URL"
                    },
                    "resolvedCommit": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Resolved commit"
                    },
                    "task": {
                      "type": "string"
                    },
                    "packageManager": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Package manager"
                    },
                    "steps": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "name",
                          "exitCode",
                          "durationMs"
                        ],
                        "properties": {
                          "name": {
                            "type": "string",
                            "description": "Name"
                          },
                          "exitCode": {
                            "type": [
                              "integer",
                              "null"
                            ],
                            "description": "Exit code"
                          },
                          "durationMs": {
                            "type": "integer",
                            "description": "Duration, in milliseconds"
                          },
                          "stdout": {
                            "type": "string"
                          },
                          "stderr": {
                            "type": "string"
                          },
                          "truncated": {
                            "type": "boolean",
                            "description": "True when the list was cut at the limit"
                          }
                        }
                      }
                    },
                    "startedAt": {
                      "type": "string",
                      "format": "date-time",
                      "description": "Started at (UTC unless a time zone is given)"
                    },
                    "finishedAt": {
                      "type": "string",
                      "format": "date-time",
                      "description": "Finished at (UTC unless a time zone is given)"
                    },
                    "isolation": {
                      "type": "string"
                    },
                    "limitations": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Known limits of this result"
                    }
                  }
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "POST",
        "url": "https://saylorinnovations.com/api/code/verify",
        "body": {
          "repository": "https://github.com/octocat/Hello-World",
          "ref": "master",
          "task": "test",
          "packageManager": "auto",
          "timeoutSeconds": 60
        },
        "expectedStatus": 402
      }
    ],
    "dataFreshness": "A new disposable microVM is created for every paid attempt.",
    "cacheTtlSeconds": 0,
    "capabilities": [
      "verify a code change",
      "run repository tests in isolation",
      "produce build evidence"
    ],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "verificationId": "string",
    "verdict": "pass",
    "repository": "https://example.com",
    "resolvedCommit": "string",
    "task": "string",
    "packageManager": "string",
    "steps": [
      {
        "name": "string",
        "exitCode": 0,
        "durationMs": 0,
        "stdout": "string",
        "stderr": "string",
        "truncated": true
      }
    ],
    "startedAt": "2026-01-01T00:00:00Z",
    "finishedAt": "2026-01-01T00:00:00Z",
    "isolation": "string",
    "limitations": [
      "string"
    ]
  }
}