curl --request POST \
--url https://api.example.com/v1/jobs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"job_type": "humanization",
"variant_id": "11112222-3333-4444-5555-666677778888"
}
'import requests
url = "https://api.example.com/v1/jobs"
payload = {
"job_type": "humanization",
"variant_id": "11112222-3333-4444-5555-666677778888"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({job_type: 'humanization', variant_id: '11112222-3333-4444-5555-666677778888'})
};
fetch('https://api.example.com/v1/jobs', 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://api.example.com/v1/jobs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'job_type' => 'humanization',
'variant_id' => '11112222-3333-4444-5555-666677778888'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/jobs"
payload := strings.NewReader("{\n \"job_type\": \"humanization\",\n \"variant_id\": \"11112222-3333-4444-5555-666677778888\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/v1/jobs")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"job_type\": \"humanization\",\n \"variant_id\": \"11112222-3333-4444-5555-666677778888\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/jobs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"job_type\": \"humanization\",\n \"variant_id\": \"11112222-3333-4444-5555-666677778888\"\n}"
response = http.request(request)
puts response.read_body{
"created_at": "2026-04-21T14:15:00+00:00",
"id": "dddd1111-eeee-2222-ffff-333344445555",
"job_type": "humanization",
"status": "pending",
"variant_id": "11112222-3333-4444-5555-666677778888"
}{
"code": "insufficient_credits",
"credit_balance": 0,
"credit_cost": 1,
"detail": "Humanization costs 1 credit; balance is 0.",
"instance": "/v1/jobs",
"request_id": "req_01JBX6Y6ZK6N8Q7YJ0F5VX2C3D",
"status": 402,
"title": "Insufficient credits",
"type": "https://docs.kallima.bio/errors/insufficient_credits"
}{
"code": "insufficient_credits",
"credit_balance": 0,
"credit_cost": 1,
"detail": "Humanization costs 1 credit; balance is 0.",
"instance": "/v1/jobs",
"request_id": "req_01JBX6Y6ZK6N8Q7YJ0F5VX2C3D",
"status": 402,
"title": "Insufficient credits",
"type": "https://docs.kallima.bio/errors/insufficient_credits"
}{
"code": "insufficient_credits",
"credit_balance": 0,
"credit_cost": 1,
"detail": "Humanization costs 1 credit; balance is 0.",
"instance": "/v1/jobs",
"request_id": "req_01JBX6Y6ZK6N8Q7YJ0F5VX2C3D",
"status": 402,
"title": "Insufficient credits",
"type": "https://docs.kallima.bio/errors/insufficient_credits"
}{
"code": "insufficient_credits",
"credit_balance": 0,
"credit_cost": 1,
"detail": "Humanization costs 1 credit; balance is 0.",
"instance": "/v1/jobs",
"request_id": "req_01JBX6Y6ZK6N8Q7YJ0F5VX2C3D",
"status": 402,
"title": "Insufficient credits",
"type": "https://docs.kallima.bio/errors/insufficient_credits"
}{
"code": "insufficient_credits",
"credit_balance": 0,
"credit_cost": 1,
"detail": "Humanization costs 1 credit; balance is 0.",
"instance": "/v1/jobs",
"request_id": "req_01JBX6Y6ZK6N8Q7YJ0F5VX2C3D",
"status": 402,
"title": "Insufficient credits",
"type": "https://docs.kallima.bio/errors/insufficient_credits"
}{
"code": "insufficient_credits",
"credit_balance": 0,
"credit_cost": 1,
"detail": "Humanization costs 1 credit; balance is 0.",
"instance": "/v1/jobs",
"request_id": "req_01JBX6Y6ZK6N8Q7YJ0F5VX2C3D",
"status": 402,
"title": "Insufficient credits",
"type": "https://docs.kallima.bio/errors/insufficient_credits"
}Submit a pipeline job
Submit a pipeline job against a variant. Returns 202 Accepted
immediately with status=pending; poll GET /v1/jobs/{id} for
progress and GET /v1/jobs/{id}/results once status=completed.
Idempotency. Send a unique Idempotency-Key per submission —
a replayed request returns the cached 202 without enqueuing a second
job or re-spending credits. A replay with a different body returns
409 idempotency_mismatch.
Credit cost. Each heavy-compute job debits credits from the
caller’s organization at submission. A successful submit returns
202 even if credits run out mid-run; insufficient credits at submit
time surface as 402 insufficient_credits with credit_cost /
credit_balance fields in the problem+json body.
Cost: write — burns rate + quota, and debits credits per the per-pipeline schedule.
.. deprecated::
Use POST /v1/humanizations, POST /v1/structure-predictions,
POST /v1/stability-analyses, or POST /v1/immunogenicity-analyses
instead. This endpoint will be removed in /v2.
curl --request POST \
--url https://api.example.com/v1/jobs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"job_type": "humanization",
"variant_id": "11112222-3333-4444-5555-666677778888"
}
'import requests
url = "https://api.example.com/v1/jobs"
payload = {
"job_type": "humanization",
"variant_id": "11112222-3333-4444-5555-666677778888"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({job_type: 'humanization', variant_id: '11112222-3333-4444-5555-666677778888'})
};
fetch('https://api.example.com/v1/jobs', 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://api.example.com/v1/jobs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'job_type' => 'humanization',
'variant_id' => '11112222-3333-4444-5555-666677778888'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/jobs"
payload := strings.NewReader("{\n \"job_type\": \"humanization\",\n \"variant_id\": \"11112222-3333-4444-5555-666677778888\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/v1/jobs")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"job_type\": \"humanization\",\n \"variant_id\": \"11112222-3333-4444-5555-666677778888\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/jobs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"job_type\": \"humanization\",\n \"variant_id\": \"11112222-3333-4444-5555-666677778888\"\n}"
response = http.request(request)
puts response.read_body{
"created_at": "2026-04-21T14:15:00+00:00",
"id": "dddd1111-eeee-2222-ffff-333344445555",
"job_type": "humanization",
"status": "pending",
"variant_id": "11112222-3333-4444-5555-666677778888"
}{
"code": "insufficient_credits",
"credit_balance": 0,
"credit_cost": 1,
"detail": "Humanization costs 1 credit; balance is 0.",
"instance": "/v1/jobs",
"request_id": "req_01JBX6Y6ZK6N8Q7YJ0F5VX2C3D",
"status": 402,
"title": "Insufficient credits",
"type": "https://docs.kallima.bio/errors/insufficient_credits"
}{
"code": "insufficient_credits",
"credit_balance": 0,
"credit_cost": 1,
"detail": "Humanization costs 1 credit; balance is 0.",
"instance": "/v1/jobs",
"request_id": "req_01JBX6Y6ZK6N8Q7YJ0F5VX2C3D",
"status": 402,
"title": "Insufficient credits",
"type": "https://docs.kallima.bio/errors/insufficient_credits"
}{
"code": "insufficient_credits",
"credit_balance": 0,
"credit_cost": 1,
"detail": "Humanization costs 1 credit; balance is 0.",
"instance": "/v1/jobs",
"request_id": "req_01JBX6Y6ZK6N8Q7YJ0F5VX2C3D",
"status": 402,
"title": "Insufficient credits",
"type": "https://docs.kallima.bio/errors/insufficient_credits"
}{
"code": "insufficient_credits",
"credit_balance": 0,
"credit_cost": 1,
"detail": "Humanization costs 1 credit; balance is 0.",
"instance": "/v1/jobs",
"request_id": "req_01JBX6Y6ZK6N8Q7YJ0F5VX2C3D",
"status": 402,
"title": "Insufficient credits",
"type": "https://docs.kallima.bio/errors/insufficient_credits"
}{
"code": "insufficient_credits",
"credit_balance": 0,
"credit_cost": 1,
"detail": "Humanization costs 1 credit; balance is 0.",
"instance": "/v1/jobs",
"request_id": "req_01JBX6Y6ZK6N8Q7YJ0F5VX2C3D",
"status": 402,
"title": "Insufficient credits",
"type": "https://docs.kallima.bio/errors/insufficient_credits"
}{
"code": "insufficient_credits",
"credit_balance": 0,
"credit_cost": 1,
"detail": "Humanization costs 1 credit; balance is 0.",
"instance": "/v1/jobs",
"request_id": "req_01JBX6Y6ZK6N8Q7YJ0F5VX2C3D",
"status": 402,
"title": "Insufficient credits",
"type": "https://docs.kallima.bio/errors/insufficient_credits"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Body for POST /v1/jobs.
UUID of the variant to run the job against. Must belong to the caller's org.
"11112222-3333-4444-5555-666677778888"
Pipeline to run. One of: humanization, structure, stability, immunogenicity. Complex prediction and codon export are not exposed on this endpoint — they ship with Phase 3 resource-per-job-type endpoints.
"humanization"
Response
Successful Response
A pipeline job's status envelope.
Opaque job identifier (UUID).
"dddd1111-eeee-2222-ffff-333344445555"
Variant this job is running against.
"11112222-3333-4444-5555-666677778888"
One of: humanization, structure, stability, immunogenicity.
"humanization"
One of: pending, running, completed, failed.
"pending"
ISO-8601 timestamp when the job was submitted.
"2026-04-21T14:15:00+00:00"
ISO-8601 timestamp when execution started. null while pending.
"2026-04-21T14:15:02+00:00"
ISO-8601 timestamp when execution finished. null until completed or failed.
null
Human-readable failure reason. Populated only when status=failed.
null