Discover and validate
Inspect health, capabilities, pricing, limits, and the OpenAPI contract before submission.
FARPY PUBLIC API V1
Submit bounded GPU work, inspect canonical state, retrieve the artifact, and retain the receipt and proof. The live machine contract is authoritative.
$ curl -fsS https://farpy.com/v1/health
{"ok":true}
$ curl -fsS https://farpy.com/v1/capabilities \
-H "Authorization: Bearer $FARPY_API_KEY"
$ python3 farpy_client.py render scene.blend
uploading
queued
running
complete
artifact downloaded
receipt verified01 / DISCOVERY
02 / CONTRACT
Inspect health, capabilities, pricing, limits, and the OpenAPI contract before submission.
Authenticate with a bearer key and use idempotency keys for deliberate retry behavior.
Completed work exposes artifact delivery, a receipt, and execution proof tied to canonical state.
03 / GUIDES
04 / MCP
Agents can discover and invoke FARPY's 10 MCP tools for verified compute workflows.
Authenticate MCP requests with the FARPY_API_KEY environment variable.
Use the live API references for supported capabilities, pricing rules, and workload limits.
04 / AUTH
farpy_… secret is displayed once after creation.Authorization: Bearer farpy_<secret>Authorization: Bearer farpy_<secret>
POST /v1/api-keys
{"name":"production-agent"}DELETE /v1/api-keys/{key_id}05 / CLIENT
export FARPY_API_KEY="farpy_..." python3 farpy_client.py render scene.blend # individual operations python3 farpy_client.py upload scene.blend python3 farpy_client.py submit JOB_ID python3 farpy_client.py status JOB_ID
06 / SUBMIT
#!/usr/bin/env bash
set -euo pipefail
: "${FARPY_API_KEY:?Set FARPY_API_KEY first}"
: "${1:?Usage: ./submit-render.sh scene.blend}"
BASE="https://farpy.com/v1"
FILE="$1"
AUTH="Authorization: Bearer $FARPY_API_KEY"
UPLOAD_KEY="upload-$(sha256sum "$FILE" | awk '{print $1}')"
SUBMIT_KEY="submit-$UPLOAD_KEY"
curl -fsS "$BASE/health"
curl -fsS "$BASE/capabilities" -H "$AUTH"
curl -fsS "$BASE/pricing" -H "$AUTH"
curl -fsS "$BASE/limits" -H "$AUTH"
UPLOAD="$(
curl -fsS "$BASE/uploads" -H "$AUTH" -H "Idempotency-Key: $UPLOAD_KEY" -F "file=@$FILE"
)"
UPLOAD_ID="$(printf "%s" "$UPLOAD" | jq -r ".upload_id")"
curl -fsS "$BASE/renders" -H "$AUTH" -H "Content-Type: application/json" -H "Idempotency-Key: $SUBMIT_KEY" --data "$(jq -nc --arg upload_id "$UPLOAD_ID" '{upload_id:$upload_id}')"
07 / RETRIES
Send a stable Idempotency-Key for upload and render creation. A repeated request with the same key can resolve to the original operation instead of silently producing duplicate billable work.
Idempotency-Key: upload-<input-sha256>
Idempotency-Key: submit-<request-id>
X-Farpy-Request-Fingerprint: <sha256>
08 / ROUTES
https://farpy.com/v1./healthCheck service availability before sending credentials or work./capabilitiesRead currently accepted renderers, formats, queue state, and availability./pricingRead the active machine-readable pricing contract./limitsRead upload, frame, rate, and workload constraints./openapi.jsonDownload the OpenAPI 3.1 contract./uploadsUpload a supported workload file./rendersCreate an idempotent render job./renders/{job_id}Read canonical job state and progress./renders/{job_id}/cancelCancel before worker claim when the live contract permits it./renders/{job_id}/downloadRetrieve completed artifact delivery information./renders/{job_id}/receiptRetrieve the economic completion receipt./renders/{job_id}/proofRetrieve execution evidence and artifact hashes.STATUS · RECEIPT · DOWNLOAD