API ReferenceJobs

Get job debug captures

Returns captured LLM prompts and metadata for debugging extraction issues

GET
/api/v1/jobs/{id}/debug-capture

Returns captured LLM prompts and metadata for debugging extraction issues

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication. Include your API key in the Authorization header as Bearer rf_your_key.

In: header

Path Parameters

id*string

Job ID

Response Body

application/json

application/problem+json

curl -X GET "https://api.refyne.uk/api/v1/jobs/string/debug-capture"
{
  "captures": [
    {
      "hints_applied": {
        "property1": "string",
        "property2": "string"
      },
      "id": "string",
      "job_type": "string",
      "prompt": "string",
      "raw_content": "string",
      "request": {
        "content_size": 0,
        "fetch_mode": "string",
        "model": "string",
        "prompt_size": 0,
        "provider": "string"
      },
      "response": {
        "duration_ms": 0,
        "error": "string",
        "input_tokens": 0,
        "output_tokens": 0,
        "success": true
      },
      "schema": "string",
      "timestamp": "string",
      "url": "string"
    }
  ],
  "enabled": true,
  "job_id": "string"
}
{
  "detail": "Property foo is required but is missing.",
  "errors": [
    {
      "location": "string",
      "message": "string",
      "value": null
    }
  ],
  "instance": "https://example.com/error-log/abc123",
  "status": 400,
  "title": "Bad Request",
  "type": "https://example.com/errors/example"
}