API
FFmpeg Commands

Get list of commands sent

Changed on

Get the statuses of a previously submitted FFmpeg commands, ordered by creation time - descending.

get/v1/commands

Request

  • Base URL
    https://api.rendi.dev
  • URL
    https://api.rendi.dev/v1/commands
  • Auth
    API key in header X-API-KEY

Query parameters

limitinteger

Maximum number of commands to return

offsetinteger

Number of commands to skip before starting to collect the result set

Response

Successful Response

command_idstring required

Unique identifier for the submitted command

environment_namestring nullable

The environment this command was created in (e.g., 'main', 'test', 'dev').

storage_quota_usednumber nullable

Amount of storage quota used in MB

processing_quota_usednumber nullable

Amount of processing quota used in MB

output_file_countinteger nullable

Number of output files generated by the command

error_statusstring nullable

Status of any error that occurred during command execution

error_messagestring nullable

Error details if the command failed

status'QUEUED' | 'PROCESSING' | 'PREPARED_FFMPEG_COMMAND' | 'FAILED' | 'SUCCESS' required
created_atstring date-time

Time when the command was created, in UTC

ffmpeg_command_run_secondsnumber nullable

The exact time the specific FFMPEG command took on our servers, in seconds

processing_secondsnumber nullable

Total processing time from queue to finish, in seconds (finished_at - queued_at)

queued_secondsnumber nullable

Time, in seconds, the command waited in the queue before a server started processing it. While the command is still queued, this is the time waited so far. Includes time spent waiting for free vCPUs while your account's other commands are using its vCPU limit.

Example response

[
  {
    "command_id": "123e4567-e89b-12d3-a456-426614174000",
    "created_at": "2024-01-01T00:00:00Z",
    "environment_name": "main",
    "ffmpeg_command_run_seconds": 19.58,
    "output_file_count": 2,
    "processing_quota_used": 2.4,
    "processing_seconds": 24.96,
    "queued_seconds": 0.42,
    "status": "SUCCESS",
    "storage_quota_used": 0.85
  }
]

Changes