curl --request POST \
--url https://api.verlon.ai/v1/owned-models \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"slug": "<string>",
"displayName": "<string>",
"upstreamModelId": "<string>",
"credential": "<string>",
"baseUrl": "<string>",
"pricingInput": 5000,
"pricingOutput": 5000,
"pricingCachedInput": 5000
}
'import requests
url = "https://api.verlon.ai/v1/owned-models"
payload = {
"slug": "<string>",
"displayName": "<string>",
"upstreamModelId": "<string>",
"credential": "<string>",
"baseUrl": "<string>",
"pricingInput": 5000,
"pricingOutput": 5000,
"pricingCachedInput": 5000
}
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({
slug: '<string>',
displayName: '<string>',
upstreamModelId: '<string>',
credential: '<string>',
baseUrl: '<string>',
pricingInput: 5000,
pricingOutput: 5000,
pricingCachedInput: 5000
})
};
fetch('https://api.verlon.ai/v1/owned-models', 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.verlon.ai/v1/owned-models",
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([
'slug' => '<string>',
'displayName' => '<string>',
'upstreamModelId' => '<string>',
'credential' => '<string>',
'baseUrl' => '<string>',
'pricingInput' => 5000,
'pricingOutput' => 5000,
'pricingCachedInput' => 5000
]),
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.verlon.ai/v1/owned-models"
payload := strings.NewReader("{\n \"slug\": \"<string>\",\n \"displayName\": \"<string>\",\n \"upstreamModelId\": \"<string>\",\n \"credential\": \"<string>\",\n \"baseUrl\": \"<string>\",\n \"pricingInput\": 5000,\n \"pricingOutput\": 5000,\n \"pricingCachedInput\": 5000\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.verlon.ai/v1/owned-models")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"slug\": \"<string>\",\n \"displayName\": \"<string>\",\n \"upstreamModelId\": \"<string>\",\n \"credential\": \"<string>\",\n \"baseUrl\": \"<string>\",\n \"pricingInput\": 5000,\n \"pricingOutput\": 5000,\n \"pricingCachedInput\": 5000\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.verlon.ai/v1/owned-models")
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 \"slug\": \"<string>\",\n \"displayName\": \"<string>\",\n \"upstreamModelId\": \"<string>\",\n \"credential\": \"<string>\",\n \"baseUrl\": \"<string>\",\n \"pricingInput\": 5000,\n \"pricingOutput\": 5000,\n \"pricingCachedInput\": 5000\n}"
response = http.request(request)
puts response.read_body{
"error": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"message": "<string>",
"details": "<unknown>"
}Register a model the caller owns
Use when: caller registers a fine-tune or custom deployment as an owned model, with its own credential and declared pricing
Creates an owned-model registration. Admits host kinds fireworks (hosted fine-tunes; credential required) and custom-url (any OpenAI-compatible server you operate; base URL required, credential optional, private/loopback/localhost URLs are refused outright). Other kinds are rejected until their adapters land, never accepted-and-mis-billed. The credential is stored encrypted, scoped to this registration (separate from any BYOK channel key). A reachability probe runs on save but never blocks: unreachable registrations save with an amber status (self-hosted boxes are allowed to be asleep). Pricing is owner-declared; absent rates record cost as $0 with “owned” semantics.
curl --request POST \
--url https://api.verlon.ai/v1/owned-models \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"slug": "<string>",
"displayName": "<string>",
"upstreamModelId": "<string>",
"credential": "<string>",
"baseUrl": "<string>",
"pricingInput": 5000,
"pricingOutput": 5000,
"pricingCachedInput": 5000
}
'import requests
url = "https://api.verlon.ai/v1/owned-models"
payload = {
"slug": "<string>",
"displayName": "<string>",
"upstreamModelId": "<string>",
"credential": "<string>",
"baseUrl": "<string>",
"pricingInput": 5000,
"pricingOutput": 5000,
"pricingCachedInput": 5000
}
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({
slug: '<string>',
displayName: '<string>',
upstreamModelId: '<string>',
credential: '<string>',
baseUrl: '<string>',
pricingInput: 5000,
pricingOutput: 5000,
pricingCachedInput: 5000
})
};
fetch('https://api.verlon.ai/v1/owned-models', 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.verlon.ai/v1/owned-models",
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([
'slug' => '<string>',
'displayName' => '<string>',
'upstreamModelId' => '<string>',
'credential' => '<string>',
'baseUrl' => '<string>',
'pricingInput' => 5000,
'pricingOutput' => 5000,
'pricingCachedInput' => 5000
]),
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.verlon.ai/v1/owned-models"
payload := strings.NewReader("{\n \"slug\": \"<string>\",\n \"displayName\": \"<string>\",\n \"upstreamModelId\": \"<string>\",\n \"credential\": \"<string>\",\n \"baseUrl\": \"<string>\",\n \"pricingInput\": 5000,\n \"pricingOutput\": 5000,\n \"pricingCachedInput\": 5000\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.verlon.ai/v1/owned-models")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"slug\": \"<string>\",\n \"displayName\": \"<string>\",\n \"upstreamModelId\": \"<string>\",\n \"credential\": \"<string>\",\n \"baseUrl\": \"<string>\",\n \"pricingInput\": 5000,\n \"pricingOutput\": 5000,\n \"pricingCachedInput\": 5000\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.verlon.ai/v1/owned-models")
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 \"slug\": \"<string>\",\n \"displayName\": \"<string>\",\n \"upstreamModelId\": \"<string>\",\n \"credential\": \"<string>\",\n \"baseUrl\": \"<string>\",\n \"pricingInput\": 5000,\n \"pricingOutput\": 5000,\n \"pricingCachedInput\": 5000\n}"
response = http.request(request)
puts response.read_body{
"error": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"message": "<string>",
"details": "<unknown>"
}Authorizations
Verlon API key (newly minted keys are prefixed sk-vrln-; legacy verlon_* and layer_* keys from prior prefix migrations continue to validate). Generated from the dashboard under Settings → API Keys, or via verlon key create in the CLI.
Body
^[a-z0-9](?:[a-z0-9-]{0,58}[a-z0-9])?$1 - 120fireworks, custom-url 1 - 2001 - 5001 - 5000 <= x <= 100000 <= x <= 100000 <= x <= 10000Response
Registration created (probe status included).

