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" ```
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 API key authentication. Include your API key in the Authorization header as Bearer rf_your_key.
In: header
Path Parameters
Job ID
Query Parameters
Merge all page results into single array
falseOutput format override
"json" | "jsonl" | "yaml"Response Body
curl -X GET "http://localhost:8080/api/v1/jobs/string/results"[
{
"data": {},
"id": "string",
"status": "string",
"url": "string"
}
]