---
title: "Clone a public GitHub repository into a disposable Firecracker microVM, install dependencies, run one declared test, lint, or build script, and return structured logs plus the resolved commit. The service verifies execution, not semantic correctness; private repositories and arbitrary shell commands are not accepted. $0.25 per attempt via x402."
method: POST
path: "/api/code/verify"
tags: ["developer-tools"]
---

# Clone a public GitHub repository into a disposable Firecracker microVM, install dependencies, run one declared test, lint, or build script, and return structured logs plus the resolved commit. The service verifies execution, not semantic correctness; private repositories and arbitrary shell commands are not accepted. $0.25 per attempt via x402.

`POST /api/code/verify`

## Request

- Base URL: `https://saylorinnovations.com`
- URL: `https://saylorinnovations.com/api/code/verify`
- Auth: none declared

## Headers

- `PAYMENT-SIGNATURE` string

## Request body

- object
  - `repository` string, uri, required: Public GitHub HTTPS repository URL.
  - `ref` string: Optional branch or tag to verify.
  - `task` 'test' | 'lint' | 'build', required: Bounded package script to run.
  - `packageManager` 'auto' | 'npm': Version 0.1 supports npm projects; auto selects npm.
  - `timeoutSeconds` integer

## Response `200`

Paid structured verification result.

- object
  - `verificationId` string, required
  - `verdict` 'pass' | 'fail' | 'error', required
  - `repository` string, uri, required
  - `resolvedCommit` string, nullable
  - `task` string, required
  - `packageManager` string, nullable
  - `steps` object[], required
    - `name` string, required
    - `exitCode` integer, nullable, required
    - `durationMs` integer, required
    - `stdout` string
    - `stderr` string
    - `truncated` boolean
  - `startedAt` string, date-time, required
  - `finishedAt` string, date-time, required
  - `isolation` string
  - `limitations` string[]

## Other responses

- `400`: Invalid input; no payment settled.
- `402`: Payment required or rejected; read PAYMENT-REQUIRED.
- `503`: Execution worker is not configured; no payment settled.

---

[API](https://skmtc.dev/saylorinnovations/apis/saylor-innovations-agent-api.md) · [All operations](https://skmtc.dev/saylorinnovations/apis/saylor-innovations-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/saylorinnovations/apis/saylor-innovations-agent-api/revisions/3df21c3a7629?raw)
