Skip to content

Delete Job Endpoint

DELETE
/api/agents/youtube/jobs/{job_id}

Delete a transcription job and all of its stored data.

Removes the job from the in-memory registry, its SQLite row, and all ChromaDB chunks keyed by job_id metadata — no orphaned vectors.

Args: job_id: The job identifier.

Returns: {"status": "deleted"} on success.

Raises: HTTPException(404): No job exists with the given id.

job_id
required
Job Id
string

Successful Response

Response Delete Job Endpoint Api Agents Youtube Jobs Job Id Delete
object
key
additional properties
string

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object