Cancel Alignment Job
curl --request POST \
--url https://flow.seekr.com/v1/flow/alignment/{alignment_job_id}/cancel \
--header 'Authorization: <api-key>'import requests
url = "https://flow.seekr.com/v1/flow/alignment/{alignment_job_id}/cancel"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://flow.seekr.com/v1/flow/alignment/{alignment_job_id}/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://flow.seekr.com/v1/flow/alignment/{alignment_job_id}/cancel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://flow.seekr.com/v1/flow/alignment/{alignment_job_id}/cancel"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://flow.seekr.com/v1/flow/alignment/{alignment_job_id}/cancel")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://flow.seekr.com/v1/flow/alignment/{alignment_job_id}/cancel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"status": "pending",
"updated_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"stopped_at": "2023-11-07T05:31:56Z",
"current_step": "<string>",
"step_progress": 123,
"progress": 123,
"estimated_completion_at": "2023-11-07T05:31:56Z",
"eta_minutes": 123,
"status_message": "<string>",
"output_files": [
{
"id": "<string>",
"filename": "<string>",
"bytes": 123,
"created_at": "2023-11-07T05:31:56Z",
"file_type": "jsonl",
"purpose": "reinforcement-fine-tune"
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Cancel alignment job
deprecated
Cancel an alignment job that is queued or in progress.
POST
/
v1
/
flow
/
alignment
/
{alignment_job_id}
/
cancel
Cancel Alignment Job
curl --request POST \
--url https://flow.seekr.com/v1/flow/alignment/{alignment_job_id}/cancel \
--header 'Authorization: <api-key>'import requests
url = "https://flow.seekr.com/v1/flow/alignment/{alignment_job_id}/cancel"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://flow.seekr.com/v1/flow/alignment/{alignment_job_id}/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://flow.seekr.com/v1/flow/alignment/{alignment_job_id}/cancel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://flow.seekr.com/v1/flow/alignment/{alignment_job_id}/cancel"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://flow.seekr.com/v1/flow/alignment/{alignment_job_id}/cancel")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://flow.seekr.com/v1/flow/alignment/{alignment_job_id}/cancel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"status": "pending",
"updated_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"stopped_at": "2023-11-07T05:31:56Z",
"current_step": "<string>",
"step_progress": 123,
"progress": 123,
"estimated_completion_at": "2023-11-07T05:31:56Z",
"eta_minutes": 123,
"status_message": "<string>",
"output_files": [
{
"id": "<string>",
"filename": "<string>",
"bytes": 123,
"created_at": "2023-11-07T05:31:56Z",
"file_type": "jsonl",
"purpose": "reinforcement-fine-tune"
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}The alignment endpoints are deprecated and will be removed on September 30, 2026. Use the data jobs endpoints instead.
Authorizations
Your Seekr API key, sent in the Authorization header with no 'Bearer' prefix.
Path Parameters
Response
Success
Available options:
pending, queued, running, cancelled, failed, completed, stopped The processing step the job is currently working on. null until the job starts running.
Progress through the current step. null when no step is in progress.
Overall completion of the job across all steps. null until progress can be calculated.
Projected completion timestamp (UTC). null until enough progress data is available to produce an estimate.
Estimated number of minutes remaining until the job completes. null until an estimate is available.
Human-readable description of the job's current state, suitable for display to end users.
Show child attributes
Show child attributes
Last modified on August 19, 2026
Was this page helpful?
⌘I