Persist jobId
Connect Tenzarch execution with your own application request.
A production integration treats submission as the beginning of execution tracking—not as a synchronous AI result call.
POST /api/marketplace/services/code-gen/execute
x-api-key: dev_...
Idempotency-Key: execution-<unique-id>
Content-Type: application/json
{
"input": {
"prompt": "Generate a TypeScript utility for validating execution payloads.",
"language": "typescript"
}
}Persist the returned Job reference and Workflow Run reference. Status and progress describe execution state; they do not replace the final result.
Reuse the same idempotency key when retrying the same logical submission after a transport interruption. Generate a new key only for a genuinely new execution intent.
GET /api/developers/jobs
GET /api/developers/jobs/:jobId
GET /api/developers/jobs/:jobId/logs
GET /api/developers/jobs/:jobId/telemetryConnect Tenzarch execution with your own application request.
Handle queued, routing, assigned, running, retrying, completed, and failed states.
Use logs and telemetry for investigation.
Consume the result on completion or handle failure explicitly.