Skip to content

Developer onboarding

From API key to first artifact.

A practical first-run path for developers building around DocuZeus jobs, public samples, and repeatable processing.

First run shell

export DOCUZEUS_API="http://localhost:8000"
export DOCUZEUS_API_KEY="docz_dev_key"

curl -X POST "$DOCUZEUS_API/v1/documents/upload" \
  -H "Authorization: Bearer $DOCUZEUS_API_KEY" \
  -F "[email protected]"

curl -X POST "$DOCUZEUS_API/v1/processing/compress" \
  -H "Authorization: Bearer $DOCUZEUS_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: first-run-DOC_ID" \
  -d '{"document_id":"DOC_ID","quality":"medium"}'

curl "$DOCUZEUS_API/v1/jobs/JOB_ID/status?wait=10" \
  -H "Authorization: Bearer $DOCUZEUS_API_KEY"

Happy path

Start, build, verify, evaluate

Integration readiness

Keys

Scoped key and CSRF path confirmed.

Jobs

Submit, poll, retry, and timeout states wired.

Artifacts

Download URLs and manifests checked.

Alerts

Queued, failed, and complete feedback visible.

First-run checklist

Use this tighter loop for the first command-line pass, then graduate the same route sequence into the broader workflow path above.

Next run

After the first artifact works, move the same sequence into a saved or ad hoc pipeline, then use language recipes for retry, polling, and artifact download code.