API ReferenceLLM Chain
Get LLM fallback chain
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication. Include your API key in the Authorization header as Bearer rf_your_key.
In: header
Response Body
application/json
application/problem+json
curl -X GET "http://localhost:8080/api/v1/llm/chain"{
"chain": [
{
"created_at": "string",
"id": "string",
"is_enabled": true,
"max_tokens": 0,
"model": "string",
"position": 0,
"provider": "string",
"temperature": 0.1,
"updated_at": "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"
}Stream job results via SSE GET
Server-Sent Events stream for real-time job results. Events sent: - **status**: Initial job status and progress updates - **result**: Each extracted result as it completes - **complete**: Final status when job finishes - **error**: Error notifications The stream sends heartbeat comments every 15 seconds to keep connections alive through proxies. Example usage with curl: ```bash curl -H "Authorization: Bearer rf_your_key" \ -H "Accept: text/event-stream" \ https://api.refyne.dev/api/v1/jobs/{id}/stream ```
Set LLM fallback chain PUT
Next Page