API ReferenceJobs

Get job results in various formats

Returns job results in the requested format. Supported formats via Accept header or ?format= query parameter: - **application/json** (default): JSON array of results - **application/x-ndjson**: Newline-delimited JSON (one result per line) - **application/yaml**: YAML formatted results Query parameters: - **merge=true**: Merge all page results into a single array - **format=json|jsonl|yaml**: Override content type Example: ```bash # JSON format (default) curl -H "Authorization: Bearer rf_your_key" \ https://api.refyne.dev/api/v1/jobs/{id}/results # JSONL format with merge curl -H "Authorization: Bearer rf_your_key" \ "https://api.refyne.dev/api/v1/jobs/{id}/results?format=jsonl&merge=true" ```

GET
/api/v1/jobs/{id}/results

Returns job results in the requested format.

Supported formats via Accept header or ?format= query parameter:

  • application/json (default): JSON array of results
  • application/x-ndjson: Newline-delimited JSON (one result per line)
  • application/yaml: YAML formatted results

Query parameters:

  • merge=true: Merge all page results into a single array
  • format=json|jsonl|yaml: Override content type

Example:

# JSON format (default)
curl -H "Authorization: Bearer rf_your_key" \
     https://api.refyne.dev/api/v1/jobs/{id}/results

# JSONL format with merge
curl -H "Authorization: Bearer rf_your_key" \
     "https://api.refyne.dev/api/v1/jobs/{id}/results?format=jsonl&merge=true"

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

Query Parameters

merge?boolean

Merge all page results into single array

Defaultfalse
format?string

Output format override

Value in"json" | "jsonl" | "yaml"

Response Body

curl -X GET "http://localhost:8080/api/v1/jobs/string/results"
[
  {
    "data": {},
    "id": "string",
    "status": "string",
    "url": "string"
  }
]
Empty
Empty