Retrieve a model
const url = 'https://api.staging.katara.com/v1/models/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.staging.katara.com/v1/models/examplekatara/cortex-genius and katara/cortex-smart return their row from the model list, with
their x402 price and minimum_charge, or 404 model_not_found where they are not sold. Any
other name is served by Katara Cortex and returns katara/cortex. With an
anthropic-version header the answer is in the Anthropic shape.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Any model name, written as it is, slash included.
Responses
Section titled “Responses”The model.
object
katara/cortex, or an x402-only model: katara/cortex-genius or katara/cortex-smart.
object
True on a row Katara Cortex serves.
routed on a Cortex row: whichever provider or vendor Cortex picks answers.
Context window in tokens.
object
Reads image_url parts.
Reads input_audio parts.
Reads file parts carrying a video.
Reads file parts carrying a PDF.
Serves /v1/images/generations.
Serves /v1/images/edits.
Present when tools is true.
object
Accepted tool_choice values.
The longest tool name a candidate takes.
Cortex’s price ceiling (ceiling), or the price of an x402-only model’s own model (model), in USDC base units (6 decimals) per million tokens.
object
The token’s decimals, as a string.
One image at the default size.
For a model priced by size, the price of one image at each image_size.
object
Each picture sent to an edit.
The most pictures one edit takes.
Present on the x402-only models: they are sold only per request with x402.
The least one paid request to an x402-only model costs, in USDC base units.
object
Example
{ "object": "model", "katara": { "capabilities": { "workload": "chat", "tool_contract": { "tool_choice": [ "auto" ] } }, "pricing": { "basis": "ceiling", "input_price_per_mtok": "100000", "output_price_per_mtok": "300000", "currency": "USDC", "decimals": "6", "default_image_size": "1K" }, "billing_methods": [ "x402" ] }}An x402-only model that is not sold here (model_not_found).
object
object
Example
{ "type": "error"}