Browse documentationRequest History

GET /api/v1/inference/history

API version: v1.2.4

Get the user's video generation job history.

Endpoint

Plain text
GET /api/v1/inference/history

Authentication

Required. Include your API key in the request header:

Plain text
X-API-Key: your-api-key-here

Query Parameters

ParameterTypeRequiredDescription
limitintegerNoNumber of jobs to return (default: 50)

Response

History and request details return the prompt exactly as you submitted it:

FieldMeaning
promptYour original input, including whitespace
original_promptSame as prompt
original_prompt_unavailablePresent and true only on older requests whose original input was not saved; prompt is then null

Older records are not backfilled.

Success (200 OK)

JSON
{
  "jobs": [
    {
      "request_id": "550e8400-e29b-41d4-a716-446655440000",
      "status": "completed",
      "prompt": "A sunset over mountains",
      "original_prompt": "A sunset over mountains",
      "model": "wan/v2.2-a14b/text-to-video",
      "width": 848,
      "height": 480,
      "num_frames": 81,
      "frames_per_second": 16,
      "lora_id": null,
      "result_url": "https://...",
      "created_at": "2025-01-15T10:30:00Z",
      "completed_at": "2025-01-15T10:35:00Z"
    }
  ],
  "total": 42
}

Examples

curl "https://phosor.ai/api/v1/inference/history?limit=10" \
  -H "X-API-Key: your-api-key"