Create a job
Create or replace a named job.
curl -X POST "https://api.avflow.dev/v1/jobs" \ -H "Authorization: Bearer ${AVFLOW_API_KEY}" \ -H "Content-Type: application/json" \ -d @job.jsonAuthentication
Section titled “Authentication”Pass your API key as a Bearer token:
Authorization: Bearer <api-key>Request body
Section titled “Request body”A full Job object. The name field identifies the job for later GET/DELETE calls.
Response
Section titled “Response”200 or 201 with the job including server fields (id, status, createdAt, …).
Errors
Section titled “Errors”| HTTP | Meaning |
|---|---|
400 | Invalid JSON, DAG violation, or unknown component type |
401 | Missing or invalid API key |
429 | Rate or quota limit |
Example
Section titled “Example”See Mix LiveKit to RTMP for a complete walkthrough.