Denkwerk
finetune jsonl validate
Parses every line and checks the documented structure: OpenAI chat format with the checks of the OpenAI cookbook "Chat fine-tuning data prep" (data_type, missing_messages_list, message_missing_key, message_unrecognized_key, unrecognized_role, missing_content, example_missing_assistant_message) plus weight 0/1 on assistant messages, tool_calls with JSON-string arguments and tool messages bound to a tool_call_id; OpenAI preference (DPO) records; Anthropic Messages-style records (top-level.
POST https://denk.halowerk.com/v1/finetune-jsonl-validateInputs
| Field | Type | Required | Description |
|---|---|---|---|
| jsonl | string | Yes | The JSONL file content. |
| format | string | No | |
| encoding | string | No | Tokenizer for counting (o200k_base for GPT-4o/4.1 family, cl100k_base for GPT-3.5/4). |
| max_tokens_per_example | integer | No | Flag examples above this size (e.g. 16385 for gpt-3.5-turbo per the cookbook). |
| min_examples | integer | No | Minimum number of examples (OpenAI requires at least 10). |
| max_issues | integer | No |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"jsonl"
],
"properties": {
"jsonl": {
"type": "string",
"minLength": 1,
"maxLength": 20000000,
"description": "The JSONL file content."
},
"format": {
"type": "string",
"enum": [
"auto",
"openai_chat",
"openai_preference",
"anthropic_messages",
"hf_messages",
"sharegpt"
],
"default": "auto"
},
"encoding": {
"type": "string",
"enum": [
"o200k_base",
"cl100k_base"
],
"default": "o200k_base",
"description": "Tokenizer for counting (o200k_base for GPT-4o/4.1 family, cl100k_base for GPT-3.5/4)."
},
"max_tokens_per_example": {
"type": "integer",
"minimum": 16,
"maximum": 2000000,
"description": "Flag examples above this size (e.g. 16385 for gpt-3.5-turbo per the cookbook)."
},
"min_examples": {
"type": "integer",
"minimum": 1,
"maximum": 100000,
"default": 10,
"description": "Minimum number of examples (OpenAI requires at least 10)."
},
"max_issues": {
"type": "integer",
"minimum": 1,
"maximum": 5000,
"default": 200
}
}
}Published input example
{
"jsonl": "{\"messages\":[{\"role\":\"system\",\"content\":\"You are terse.\"},{\"role\":\"user\",\"content\":\"Capital of France?\"},{\"role\":\"assistant\",\"content\":\"Paris.\"}]}",
"min_examples": 1
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Denkwerk0.003 USDC
agent card generate
POSThttps://denk.halowerk.com/v1/agent-card-generateBuilds an Agent2Agent protocol Agent Card with protocolVersion, name, description, url, version, capabilities, default input/output modes and skills. Skills come from the supplied list or are derived from OpenAPI operations (operationId, su
- Denkwerk0.003 USDC
agent permission diff
POSThttps://denk.halowerk.com/v1/agent-permission-diffTakes the tool names (with optional descriptions) and permission scopes of an agent before and after a change and reports added and removed tools and scopes, classifies new capabilities by risk (payments, sending messages, deleting or writi
- Denkwerk0.003 USDC
annotation guide draft
POSThttps://denk.halowerk.com/v1/annotation-guide-draftTakes example texts per label and derives, without a language model, the most distinguishing terms per label (TF-IDF contrast against the other labels), representative examples, cross-label example pairs with high similarity that need a wri