Download OpenAPI specification:
Learn more about Kiln AI at https://github.com/kiln-ai/kiln
| v | integer (V) Default: 1 |
Id (string) or Id (null) (Id) | |
Path (string) or Path (null) (Path) | |
| created_at | string <date-time> (Created At) |
| created_by | string (Created By) |
| name required | string (Name) The name of the project. |
Description (string) or Description (null) (Description) A description of the project for you and your team. Will not be used in prompts/training/validation. |
{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string"
}{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "model_type": "string"
}| project_id required | string (Project Id) |
| property name* additional property | any |
{ }{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "model_type": "string"
}| project_id required | string (Project Id) |
| property name* additional property | any |
{ }{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "instruction": "string",
- "requirements": [ ],
- "output_json_schema": "string",
- "input_json_schema": "string",
- "thinking_instruction": "string",
- "default_run_config_id": "string",
- "model_type": "string"
}| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
| property name* additional property | any |
{ }{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "instruction": "string",
- "requirements": [ ],
- "output_json_schema": "string",
- "input_json_schema": "string",
- "thinking_instruction": "string",
- "default_run_config_id": "string",
- "model_type": "string"
}[- {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "instruction": "string",
- "requirements": [ ],
- "output_json_schema": "string",
- "input_json_schema": "string",
- "thinking_instruction": "string",
- "default_run_config_id": "string",
- "model_type": "string"
}
]| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "instruction": "string",
- "requirements": [ ],
- "output_json_schema": "string",
- "input_json_schema": "string",
- "thinking_instruction": "string",
- "default_run_config_id": "string",
- "model_type": "string"
}Generates an object which determines which rating options should be shown for a given dataset item.
| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
{- "options": [
- {
- "requirement": {
- "id": "string",
- "name": "string",
- "description": "string",
- "instruction": "string",
- "priority": 0,
- "type": "five_star"
}, - "show_for_all": true,
- "show_for_tags": [
- "string"
]
}
]
}| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
Generator Id (string) or Generator Id (null) (Generator Id) | |
| name required | string (Name) |
Description (string) or Description (null) (Description) | |
| prompt required | string (Prompt) |
Chain Of Thought Instructions (string) or Chain Of Thought Instructions (null) (Chain Of Thought Instructions) |
{- "generator_id": "string",
- "name": "string",
- "description": "string",
- "prompt": "string",
- "chain_of_thought_instructions": "string"
}{- "name": "string",
- "description": "string",
- "generator_id": "string",
- "prompt": "string",
- "chain_of_thought_instructions": "string",
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "model_type": "string"
}| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
{- "generators": [
- {
- "id": "string",
- "short_description": "string",
- "description": "string",
- "name": "string",
- "chain_of_thought": true
}
], - "prompts": [
- {
- "name": "string",
- "description": "string",
- "generator_id": "string",
- "prompt": "string",
- "chain_of_thought_instructions": "string",
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string"
}
]
}| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
| prompt_id required | string (Prompt Id) |
| name required | string (Name) |
Description (string) or Description (null) (Description) |
{- "name": "string",
- "description": "string"
}{- "name": "string",
- "description": "string",
- "generator_id": "string",
- "prompt": "string",
- "chain_of_thought_instructions": "string",
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string"
}Build a prompt with task instruction, requirements, and optional custom examples.
Uses the same formatting as the FewShotPromptBuilder but with user-provided examples.
| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
Array of objects (Examples) Default: [] |
{- "examples": [ ]
}{- "prompt": "string"
}| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
| name required | string (Name) |
| definition required | string (Definition) |
required | any (Properties) |
| priority | integer (Priority) Default: 1 Enum: 0 1 2 3 Priority levels, where P0 is highest priority. |
| status | string (SpecStatus) Default: "active" Enum: "active" "future" "deprecated" "archived" Defines the status of a spec. |
| tags | Array of strings (Tags) |
| evaluate_full_trace | boolean (Evaluate Full Trace) Default: false |
TaskSample (object) or null |
{- "name": "string",
- "definition": "string",
- "properties": {
- "spec_type": "desired_behaviour",
- "desired_behaviour_description": "string",
- "correct_behaviour_examples": "string",
- "incorrect_behaviour_examples": "string"
}, - "priority": 0,
- "status": "active",
- "tags": [
- "string"
], - "evaluate_full_trace": false,
- "task_sample": {
- "input": "string",
- "output": "string"
}
}{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "definition": "string",
- "properties": {
- "spec_type": "desired_behaviour",
- "desired_behaviour_description": "string",
- "correct_behaviour_examples": "string",
- "incorrect_behaviour_examples": "string"
}, - "priority": 0,
- "status": "active",
- "tags": [ ],
- "eval_id": "string",
- "task_sample": {
- "input": "string",
- "output": "string"
}, - "synthetic_data_generation_session_config": {
- "topic_generation_config": {
- "model_name": "string",
- "provider_name": "string",
- "prompt": "string"
}, - "input_generation_config": {
- "model_name": "string",
- "provider_name": "string",
- "prompt": "string"
}, - "output_generation_config": {
- "model_name": "string",
- "provider_name": "string",
- "prompt": "string"
}
}, - "model_type": "string"
}| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
[- {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "definition": "string",
- "properties": {
- "spec_type": "desired_behaviour",
- "desired_behaviour_description": "string",
- "correct_behaviour_examples": "string",
- "incorrect_behaviour_examples": "string"
}, - "priority": 0,
- "status": "active",
- "tags": [ ],
- "eval_id": "string",
- "task_sample": {
- "input": "string",
- "output": "string"
}, - "synthetic_data_generation_session_config": {
- "topic_generation_config": {
- "model_name": "string",
- "provider_name": "string",
- "prompt": "string"
}, - "input_generation_config": {
- "model_name": "string",
- "provider_name": "string",
- "prompt": "string"
}, - "output_generation_config": {
- "model_name": "string",
- "provider_name": "string",
- "prompt": "string"
}
}, - "model_type": "string"
}
]| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
| spec_id required | string (Spec Id) |
{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "definition": "string",
- "properties": {
- "spec_type": "desired_behaviour",
- "desired_behaviour_description": "string",
- "correct_behaviour_examples": "string",
- "incorrect_behaviour_examples": "string"
}, - "priority": 0,
- "status": "active",
- "tags": [ ],
- "eval_id": "string",
- "task_sample": {
- "input": "string",
- "output": "string"
}, - "synthetic_data_generation_session_config": {
- "topic_generation_config": {
- "model_name": "string",
- "provider_name": "string",
- "prompt": "string"
}, - "input_generation_config": {
- "model_name": "string",
- "provider_name": "string",
- "prompt": "string"
}, - "output_generation_config": {
- "model_name": "string",
- "provider_name": "string",
- "prompt": "string"
}
}, - "model_type": "string"
}| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
| spec_id required | string (Spec Id) |
Name (string) or Name (null) (Name) | |
Definition (string) or Definition (null) (Definition) | |
Properties (any) or Properties (null) (Properties) | |
Priority (integer) or null | |
SpecStatus (string) or null | |
Array of Tags (strings) or Tags (null) (Tags) |
{- "name": "string",
- "definition": "string",
- "properties": {
- "spec_type": "desired_behaviour",
- "desired_behaviour_description": "string",
- "correct_behaviour_examples": "string",
- "incorrect_behaviour_examples": "string"
}, - "priority": 0,
- "status": "active",
- "tags": [
- "string"
]
}{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "definition": "string",
- "properties": {
- "spec_type": "desired_behaviour",
- "desired_behaviour_description": "string",
- "correct_behaviour_examples": "string",
- "incorrect_behaviour_examples": "string"
}, - "priority": 0,
- "status": "active",
- "tags": [ ],
- "eval_id": "string",
- "task_sample": {
- "input": "string",
- "output": "string"
}, - "synthetic_data_generation_session_config": {
- "topic_generation_config": {
- "model_name": "string",
- "provider_name": "string",
- "prompt": "string"
}, - "input_generation_config": {
- "model_name": "string",
- "provider_name": "string",
- "prompt": "string"
}, - "output_generation_config": {
- "model_name": "string",
- "provider_name": "string",
- "prompt": "string"
}
}, - "model_type": "string"
}| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
| run_id required | string (Run Id) |
{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "input": "string",
- "input_source": {
- "type": "human",
- "properties": { },
- "run_config": {
- "type": "kiln_agent",
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "thinking_level": "string",
- "tools_config": {
- "tools": [
- "string"
]
}
}
}, - "output": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "output": "string",
- "source": {
- "type": "human",
- "properties": { },
- "run_config": {
- "type": "kiln_agent",
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "thinking_level": "string",
- "tools_config": {
- "tools": [
- "string"
]
}
}
}, - "rating": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "type": "five_star",
- "value": 0,
- "requirement_ratings": { },
- "model_type": "string"
}, - "model_type": "string"
}, - "repair_instructions": "string",
- "repaired_output": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "output": "string",
- "source": {
- "type": "human",
- "properties": { },
- "run_config": {
- "type": "kiln_agent",
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "thinking_level": "string",
- "tools_config": {
- "tools": [
- "string"
]
}
}
}, - "rating": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "type": "five_star",
- "value": 0,
- "requirement_ratings": { },
- "model_type": "string"
}, - "model_type": "string"
}, - "intermediate_outputs": {
- "property1": "string",
- "property2": "string"
}, - "tags": [ ],
- "usage": {
- "input_tokens": 0,
- "output_tokens": 0,
- "total_tokens": 0,
- "cost": 0
}, - "trace": [
- {
- "content": "string",
- "role": "developer",
- "name": "string"
}
], - "model_type": "string"
}| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
| run_id required | string (Run Id) |
| property name* additional property | any |
{ }{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "input": "string",
- "input_source": {
- "type": "human",
- "properties": { },
- "run_config": {
- "type": "kiln_agent",
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "thinking_level": "string",
- "tools_config": {
- "tools": [
- "string"
]
}
}
}, - "output": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "output": "string",
- "source": {
- "type": "human",
- "properties": { },
- "run_config": {
- "type": "kiln_agent",
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "thinking_level": "string",
- "tools_config": {
- "tools": [
- "string"
]
}
}
}, - "rating": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "type": "five_star",
- "value": 0,
- "requirement_ratings": { },
- "model_type": "string"
}, - "model_type": "string"
}, - "repair_instructions": "string",
- "repaired_output": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "output": "string",
- "source": {
- "type": "human",
- "properties": { },
- "run_config": {
- "type": "kiln_agent",
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "thinking_level": "string",
- "tools_config": {
- "tools": [
- "string"
]
}
}
}, - "rating": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "type": "five_star",
- "value": 0,
- "requirement_ratings": { },
- "model_type": "string"
}, - "model_type": "string"
}, - "intermediate_outputs": {
- "property1": "string",
- "property2": "string"
}, - "tags": [ ],
- "usage": {
- "input_tokens": 0,
- "output_tokens": 0,
- "total_tokens": 0,
- "cost": 0
}, - "trace": [
- {
- "content": "string",
- "role": "developer",
- "name": "string"
}
], - "model_type": "string"
}| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
[- {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "input": "string",
- "input_source": {
- "type": "human",
- "properties": { },
- "run_config": {
- "type": "kiln_agent",
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "thinking_level": "string",
- "tools_config": {
- "tools": [
- "string"
]
}
}
}, - "output": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "output": "string",
- "source": {
- "type": "human",
- "properties": { },
- "run_config": {
- "type": "kiln_agent",
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "thinking_level": "string",
- "tools_config": {
- "tools": [
- "string"
]
}
}
}, - "rating": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "type": "five_star",
- "value": 0,
- "requirement_ratings": { },
- "model_type": "string"
}, - "model_type": "string"
}, - "repair_instructions": "string",
- "repaired_output": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "output": "string",
- "source": {
- "type": "human",
- "properties": { },
- "run_config": {
- "type": "kiln_agent",
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "thinking_level": "string",
- "tools_config": {
- "tools": [
- "string"
]
}
}
}, - "rating": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "type": "five_star",
- "value": 0,
- "requirement_ratings": { },
- "model_type": "string"
}, - "model_type": "string"
}, - "intermediate_outputs": {
- "property1": "string",
- "property2": "string"
}, - "tags": [ ],
- "usage": {
- "input_tokens": 0,
- "output_tokens": 0,
- "total_tokens": 0,
- "cost": 0
}, - "trace": [
- {
- "content": "string",
- "role": "developer",
- "name": "string"
}
], - "model_type": "string"
}
]Create a TaskRun directly without running a model.
| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
| input required | string (Input) The input for the task run |
| output required | string (Output) The output for the task run |
| tags | Array of strings (Tags) Default: [] Tags to apply to the task run |
TaskOutputRating (object) or null Optional rating for the output | |
| model_name required | string (Model Name) The name of the model used to generate the data |
| model_provider required | string (Model Provider) The provider of the model used to generate the data |
| adapter_name required | string (Adapter Name) The name of the adapter used to generate the data |
{- "input": "string",
- "output": "string",
- "tags": [ ],
- "rating": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "type": "five_star",
- "value": 0,
- "requirement_ratings": { }
}, - "model_name": "string",
- "model_provider": "string",
- "adapter_name": "string"
}{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "input": "string",
- "input_source": {
- "type": "human",
- "properties": { },
- "run_config": {
- "type": "kiln_agent",
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "thinking_level": "string",
- "tools_config": {
- "tools": [
- "string"
]
}
}
}, - "output": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "output": "string",
- "source": {
- "type": "human",
- "properties": { },
- "run_config": {
- "type": "kiln_agent",
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "thinking_level": "string",
- "tools_config": {
- "tools": [
- "string"
]
}
}
}, - "rating": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "type": "five_star",
- "value": 0,
- "requirement_ratings": { },
- "model_type": "string"
}, - "model_type": "string"
}, - "repair_instructions": "string",
- "repaired_output": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "output": "string",
- "source": {
- "type": "human",
- "properties": { },
- "run_config": {
- "type": "kiln_agent",
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "thinking_level": "string",
- "tools_config": {
- "tools": [
- "string"
]
}
}
}, - "rating": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "type": "five_star",
- "value": 0,
- "requirement_ratings": { },
- "model_type": "string"
}, - "model_type": "string"
}, - "intermediate_outputs": {
- "property1": "string",
- "property2": "string"
}, - "tags": [ ],
- "usage": {
- "input_tokens": 0,
- "output_tokens": 0,
- "total_tokens": 0,
- "cost": 0
}, - "trace": [
- {
- "content": "string",
- "role": "developer",
- "name": "string"
}
], - "model_type": "string"
}| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
[- {
- "id": "string",
- "rating": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "type": "five_star",
- "value": 0,
- "requirement_ratings": { },
- "model_type": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "input_preview": "string",
- "output_preview": "string",
- "repair_state": "string",
- "model_name": "string",
- "input_source": "string",
- "tags": [
- "string"
]
}
]| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
required | KilnAgentRunConfigProperties (object) or McpRunConfigProperties (object) (Run Config Properties) |
Plaintext Input (string) or Plaintext Input (null) (Plaintext Input) | |
Structured Input (object) or Array of Structured Input (any) or Structured Input (null) (Structured Input) | |
Array of Tags (strings) or Tags (null) (Tags) |
{- "run_config_properties": {
- "type": "kiln_agent",
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "thinking_level": "string",
- "tools_config": {
- "tools": [
- "string"
]
}
}, - "plaintext_input": "string",
- "structured_input": { },
- "tags": [
- "string"
]
}{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "input": "string",
- "input_source": {
- "type": "human",
- "properties": { },
- "run_config": {
- "type": "kiln_agent",
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "thinking_level": "string",
- "tools_config": {
- "tools": [
- "string"
]
}
}
}, - "output": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "output": "string",
- "source": {
- "type": "human",
- "properties": { },
- "run_config": {
- "type": "kiln_agent",
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "thinking_level": "string",
- "tools_config": {
- "tools": [
- "string"
]
}
}
}, - "rating": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "type": "five_star",
- "value": 0,
- "requirement_ratings": { },
- "model_type": "string"
}, - "model_type": "string"
}, - "repair_instructions": "string",
- "repaired_output": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "output": "string",
- "source": {
- "type": "human",
- "properties": { },
- "run_config": {
- "type": "kiln_agent",
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "thinking_level": "string",
- "tools_config": {
- "tools": [
- "string"
]
}
}
}, - "rating": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "type": "five_star",
- "value": 0,
- "requirement_ratings": { },
- "model_type": "string"
}, - "model_type": "string"
}, - "intermediate_outputs": {
- "property1": "string",
- "property2": "string"
}, - "tags": [ ],
- "usage": {
- "input_tokens": 0,
- "output_tokens": 0,
- "total_tokens": 0,
- "cost": 0
}, - "trace": [
- {
- "content": "string",
- "role": "developer",
- "name": "string"
}
], - "model_type": "string"
}| project_id required | string (Project Id) |
| task_id required | string (Task Id) |
| file required | string <binary> (File) |
Splits (string) or Splits (null) (Splits) |
{- "success": true,
- "filename": "string",
- "imported_count": 0
}| project_id required | string (Project Id) |
Array of Files (strings) or Files (null) (Files) | |
Array of Names (strings) or Names (null) (Names) | |
Array of Tags (strings) or Tags (null) (Tags) |
{- "created_documents": [
- {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "name_override": "string",
- "description": "string",
- "original_file": {
- "filename": "string",
- "size": 0,
- "mime_type": "string",
- "attachment": { }
}, - "kind": "document",
- "tags": [
- "string"
], - "model_type": "string",
- "friendly_name": "string"
}
], - "failed_files": [
- "string"
]
}| project_id required | string (Project Id) |
Tags (string) or Tags (null) (Tags) |
[- {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "name_override": "string",
- "description": "string",
- "original_file": {
- "filename": "string",
- "size": 0,
- "mime_type": "string",
- "attachment": { }
}, - "kind": "document",
- "tags": [
- "string"
], - "model_type": "string",
- "friendly_name": "string"
}
]Return mapping of document id to list of extractions for the given extractor config id.
| project_id required | string (Project Id) |
| extractor_config_id required | string (Extractor Config Id) |
{- "property1": [
- {
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "source": "string",
- "output_content": "string",
- "extractor": {
- "id": "string",
- "name": "string",
- "description": "string",
- "output_format": "text/plain",
- "passthrough_mimetypes": [
- "text/plain"
], - "extractor_type": "litellm"
}, - "output_content_truncated": true
}
], - "property2": [
- {
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "source": "string",
- "output_content": "string",
- "extractor": {
- "id": "string",
- "name": "string",
- "description": "string",
- "output_format": "text/plain",
- "passthrough_mimetypes": [
- "text/plain"
], - "extractor_type": "litellm"
}, - "output_content_truncated": true
}
]
}| project_id required | string (Project Id) |
| document_id required | string (Document Id) |
{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "name_override": "string",
- "description": "string",
- "original_file": {
- "filename": "string",
- "size": 0,
- "mime_type": "string",
- "attachment": { }
}, - "kind": "document",
- "tags": [
- "string"
], - "model_type": "string",
- "friendly_name": "string"
}| project_id required | string (Project Id) |
| document_id required | string (Document Id) |
Name Override (string) or Name Override (null) (Name Override) A name for this document. | |
Description (string) or Description (null) (Description) The description of the document | |
Array of Tags (strings) or Tags (null) (Tags) Tags for the document |
{- "name_override": "string",
- "description": "string",
- "tags": [
- "string"
]
}{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "name_override": "string",
- "description": "string",
- "original_file": {
- "filename": "string",
- "size": 0,
- "mime_type": "string",
- "attachment": { }
}, - "kind": "document",
- "tags": [
- "string"
], - "model_type": "string",
- "friendly_name": "string"
}| project_id required | string (Project Id) |
Name (string) or Name (null) (Name) A name for this entity. | |
Description (string) or Description (null) (Description) The description of the extractor config | |
| model_provider_name required | string (ModelProviderName) Enum: "openai" "groq" "amazon_bedrock" "ollama" "openrouter" "fireworks_ai" "kiln_fine_tune" "kiln_custom_registry" "openai_compatible" "anthropic" "gemini_api" "azure_openai" "huggingface" "vertex" "together_ai" "siliconflow_cn" "cerebras" "docker_model_runner" The name of the model provider to use for the extractor config. |
| model_name required | string (Model Name) The name of the model to use for the extractor config. |
| output_format required | string (OutputFormat) Enum: "text/plain" "text/markdown" The output format of the extractor config |
| passthrough_mimetypes | Array of strings (Passthrough Mimetypes) Items Enum: "text/plain" "text/markdown" The mimetypes to pass through to the extractor |
required | object (LitellmExtractorConfigProperties) The properties of the extractor config, specific to the selected extractor_type. |
{- "name": "string",
- "description": "string",
- "model_provider_name": "openai",
- "model_name": "string",
- "output_format": "text/plain",
- "passthrough_mimetypes": [
- "text/plain"
], - "properties": {
- "extractor_type": "litellm",
- "prompt_document": "string",
- "prompt_image": "string",
- "prompt_video": "string",
- "prompt_audio": "string"
}
}{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "is_archived": false,
- "description": "string",
- "model_provider_name": "string",
- "model_name": "string",
- "output_format": "text/plain",
- "passthrough_mimetypes": [
- "text/plain"
], - "extractor_type": "litellm",
- "properties": {
- "extractor_type": "litellm",
- "prompt_document": "string",
- "prompt_image": "string",
- "prompt_video": "string",
- "prompt_audio": "string"
}, - "model_type": "string"
}[- {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "is_archived": false,
- "description": "string",
- "model_provider_name": "string",
- "model_name": "string",
- "output_format": "text/plain",
- "passthrough_mimetypes": [
- "text/plain"
], - "extractor_type": "litellm",
- "properties": {
- "extractor_type": "litellm",
- "prompt_document": "string",
- "prompt_image": "string",
- "prompt_video": "string",
- "prompt_audio": "string"
}, - "model_type": "string"
}
]| project_id required | string (Project Id) |
| extractor_config_id required | string (Extractor Config Id) |
{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "is_archived": false,
- "description": "string",
- "model_provider_name": "string",
- "model_name": "string",
- "output_format": "text/plain",
- "passthrough_mimetypes": [
- "text/plain"
], - "extractor_type": "litellm",
- "properties": {
- "extractor_type": "litellm",
- "prompt_document": "string",
- "prompt_image": "string",
- "prompt_video": "string",
- "prompt_audio": "string"
}, - "model_type": "string"
}| project_id required | string (Project Id) |
| extractor_config_id required | string (Extractor Config Id) |
Name (string) or Name (null) (Name) A name for this entity. | |
Description (string) or Description (null) (Description) The description of the extractor config | |
Is Archived (boolean) or Is Archived (null) (Is Archived) Whether the extractor config is archived |
{- "name": "string",
- "description": "string",
- "is_archived": true
}{ }| project_id required | string (Project Id) |
| document_id required | string (Document Id) |
[- {
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "source": "string",
- "output_content": "string",
- "extractor": {
- "id": "string",
- "name": "string",
- "description": "string",
- "output_format": "text/plain",
- "passthrough_mimetypes": [
- "text/plain"
], - "extractor_type": "litellm"
}, - "output_content_truncated": true
}
]| project_id required | string (Project Id) |
| document_id required | string (Document Id) |
| extraction_id required | string (Extraction Id) |
{- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "source": "string",
- "output_content": "string",
- "extractor": {
- "id": "string",
- "name": "string",
- "description": "string",
- "output_format": "text/plain",
- "passthrough_mimetypes": [
- "text/plain"
], - "extractor_type": "litellm"
}, - "output_content_truncated": true
}| project_id required | string (Project Id) |
| extractor_config_id required | string (Extractor Config Id) |
{- "document_count_total": 0,
- "document_count_successful": 0,
- "extractor_config": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "is_archived": false,
- "description": "string",
- "model_provider_name": "string",
- "model_name": "string",
- "output_format": "text/plain",
- "passthrough_mimetypes": [
- "text/plain"
], - "extractor_type": "litellm",
- "properties": {
- "extractor_type": "litellm",
- "prompt_document": "string",
- "prompt_image": "string",
- "prompt_video": "string",
- "prompt_audio": "string"
}, - "model_type": "string"
}
}| project_id required | string (Project Id) |
Name (string) or Name (null) (Name) A name for this entity. | |
Description (string) or Description (null) (Description) The description of the chunker config | |
| chunker_type required | string (ChunkerType) Enum: "fixed_window" "semantic" The type of the chunker |
required | any (Properties) |
{- "name": "string",
- "description": "string",
- "chunker_type": "fixed_window",
- "properties": {
- "chunker_type": "semantic",
- "embedding_config_id": "string",
- "buffer_size": 0,
- "breakpoint_percentile_threshold": 0
}
}{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "chunker_type": "fixed_window",
- "properties": {
- "chunker_type": "semantic",
- "embedding_config_id": "string",
- "buffer_size": 0,
- "breakpoint_percentile_threshold": 0,
- "include_metadata": true,
- "include_prev_next_rel": true
}, - "model_type": "string"
}[- {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "chunker_type": "fixed_window",
- "properties": {
- "chunker_type": "semantic",
- "embedding_config_id": "string",
- "buffer_size": 0,
- "breakpoint_percentile_threshold": 0,
- "include_metadata": true,
- "include_prev_next_rel": true
}, - "model_type": "string"
}
]| project_id required | string (Project Id) |
Name (string) or Name (null) (Name) A name for this entity. | |
Description (string) or Description (null) (Description) The description of the embedding config | |
| model_provider_name required | string (ModelProviderName) Enum: "openai" "groq" "amazon_bedrock" "ollama" "openrouter" "fireworks_ai" "kiln_fine_tune" "kiln_custom_registry" "openai_compatible" "anthropic" "gemini_api" "azure_openai" "huggingface" "vertex" "together_ai" "siliconflow_cn" "cerebras" "docker_model_runner" The provider of the embedding model |
| model_name required | string (Model Name) The name of the embedding model |
object (EmbeddingProperties) Properties to be used to execute the embedding config. |
{- "name": "string",
- "description": "string",
- "model_provider_name": "openai",
- "model_name": "string",
- "properties": {
- "dimensions": 0
}
}{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "model_provider_name": "openai",
- "model_name": "string",
- "properties": {
- "dimensions": 0
}, - "model_type": "string"
}[- {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "model_provider_name": "openai",
- "model_name": "string",
- "properties": {
- "dimensions": 0
}, - "model_type": "string"
}
]| project_id required | string (Project Id) |
Name (string) or Name (null) (Name) A name for this entity. | |
Description (string) or Description (null) (Description) The description of the reranker config | |
| top_n required | integer (Top N) > 0 Number of results to return from the reranker |
| model_provider_name required | string (ModelProviderName) Enum: "openai" "groq" "amazon_bedrock" "ollama" "openrouter" "fireworks_ai" "kiln_fine_tune" "kiln_custom_registry" "openai_compatible" "anthropic" "gemini_api" "azure_openai" "huggingface" "vertex" "together_ai" "siliconflow_cn" "cerebras" "docker_model_runner" The name of the model provider to use for the reranker config. |
| model_name required | string (Model Name) The name of the model to use for the reranker config. |
object (CohereCompatibleProperties) Default: {"type":"cohere_compatible"} The properties of the reranker config. |
{- "name": "string",
- "description": "string",
- "top_n": 0,
- "model_provider_name": "openai",
- "model_name": "string",
- "properties": {
- "type": "cohere_compatible"
}
}{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "top_n": 0,
- "model_provider_name": "string",
- "model_name": "string",
- "properties": {
- "type": "cohere_compatible"
}, - "model_type": "string"
}[- {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "top_n": 0,
- "model_provider_name": "string",
- "model_name": "string",
- "properties": {
- "type": "cohere_compatible"
}, - "model_type": "string"
}
]| project_id required | string (Project Id) |
| embedding_config_id required | string (Embedding Config Id) |
{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "model_provider_name": "openai",
- "model_name": "string",
- "properties": {
- "dimensions": 0
}, - "model_type": "string"
}| project_id required | string (Project Id) |
Name (string) or Name (null) (Name) A name for this entity. | |
Description (string) or Description (null) (Description) The description of the vector store config | |
| store_type required | string (VectorStoreType) Enum: "lancedb_fts" "lancedb_hybrid" "lancedb_vector" The type of vector store to use |
required | LanceDBConfigFTSPropertiesPublic (object) or LanceDBConfigVectorPropertiesPublic (object) or LanceDBConfigHybridPropertiesPublic (object) (Properties) The properties of the vector store config, specific to the selected store_type. |
{- "name": "string",
- "description": "string",
- "store_type": "lancedb_fts",
- "properties": {
- "similarity_top_k": 0
}
}{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "store_type": "lancedb_fts",
- "properties": {
- "store_type": "lancedb_fts",
- "similarity_top_k": 0,
- "overfetch_factor": 0,
- "vector_column_name": "string",
- "text_key": "string",
- "doc_id_key": "string"
}, - "model_type": "string"
}[- {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "store_type": "lancedb_fts",
- "properties": {
- "store_type": "lancedb_fts",
- "similarity_top_k": 0,
- "overfetch_factor": 0,
- "vector_column_name": "string",
- "text_key": "string",
- "doc_id_key": "string"
}, - "model_type": "string"
}
]| project_id required | string (Project Id) |
| rag_config_id required | string (Rag Config Id) |
Name (string) or Name (null) (Name) | |
Description (string) or Description (null) (Description) | |
Is Archived (boolean) or Is Archived (null) (Is Archived) |
{- "name": "string",
- "description": "string",
- "is_archived": true
}{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "is_archived": false,
- "description": "string",
- "tool_name": "string",
- "tool_description": "string",
- "extractor_config_id": "string",
- "chunker_config_id": "string",
- "embedding_config_id": "string",
- "vector_store_config_id": "string",
- "reranker_config_id": "string",
- "tags": [
- "string"
], - "model_type": "string"
}| project_id required | string (Project Id) |
| rag_config_id required | string (Rag Config Id) |
{- "id": "string",
- "name": "string",
- "description": "string",
- "tool_name": "string",
- "tool_description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "is_archived": true,
- "extractor_config": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "is_archived": false,
- "description": "string",
- "model_provider_name": "string",
- "model_name": "string",
- "output_format": "text/plain",
- "passthrough_mimetypes": [
- "text/plain"
], - "extractor_type": "litellm",
- "properties": {
- "extractor_type": "litellm",
- "prompt_document": "string",
- "prompt_image": "string",
- "prompt_video": "string",
- "prompt_audio": "string"
}, - "model_type": "string"
}, - "chunker_config": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "chunker_type": "fixed_window",
- "properties": {
- "chunker_type": "semantic",
- "embedding_config_id": "string",
- "buffer_size": 0,
- "breakpoint_percentile_threshold": 0,
- "include_metadata": true,
- "include_prev_next_rel": true
}, - "model_type": "string"
}, - "embedding_config": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "model_provider_name": "openai",
- "model_name": "string",
- "properties": {
- "dimensions": 0
}, - "model_type": "string"
}, - "vector_store_config": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "store_type": "lancedb_fts",
- "properties": {
- "store_type": "lancedb_fts",
- "similarity_top_k": 0,
- "overfetch_factor": 0,
- "vector_column_name": "string",
- "text_key": "string",
- "doc_id_key": "string"
}, - "model_type": "string"
}, - "reranker_config": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "top_n": 0,
- "model_provider_name": "string",
- "model_name": "string",
- "properties": {
- "type": "cohere_compatible"
}, - "model_type": "string"
}, - "tags": [
- "string"
]
}| project_id required | string (Project Id) |
Name (string) or Name (null) (Name) A name for this entity. | |
Description (string) or Description (null) (Description) A description for your own reference. | |
| tool_name required | string (Tool Name) A name for the model to identify the Search Tool in conversations. |
| tool_description required | string (Tool Description) A description of the purpose of the tool. The model will use this description to understand the tool's capabilities. |
required | Extractor Config Id (string) or Extractor Config Id (null) (Extractor Config Id) The extractor config to use for the RAG workflow |
required | Chunker Config Id (string) or Chunker Config Id (null) (Chunker Config Id) The chunker config to use for the RAG workflow. |
required | Embedding Config Id (string) or Embedding Config Id (null) (Embedding Config Id) The embedding config to use for the RAG workflow. |
required | Vector Store Config Id (string) or Vector Store Config Id (null) (Vector Store Config Id) The vector store config to use for the RAG workflow. |
Reranker Config Id (string) or Reranker Config Id (null) (Reranker Config Id) The reranker config to use for the RAG workflow. | |
Array of Tags (strings) or Tags (null) (Tags) List of document tags to filter by. If None, all documents in the project are used. |
{- "name": "string",
- "description": "string",
- "tool_name": "string",
- "tool_description": "string",
- "extractor_config_id": "string",
- "chunker_config_id": "string",
- "embedding_config_id": "string",
- "vector_store_config_id": "string",
- "reranker_config_id": "string",
- "tags": [
- "string"
]
}{- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "is_archived": false,
- "description": "string",
- "tool_name": "string",
- "tool_description": "string",
- "extractor_config_id": "string",
- "chunker_config_id": "string",
- "embedding_config_id": "string",
- "vector_store_config_id": "string",
- "reranker_config_id": "string",
- "tags": [
- "string"
], - "model_type": "string"
}[- {
- "id": "string",
- "name": "string",
- "description": "string",
- "tool_name": "string",
- "tool_description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "is_archived": true,
- "extractor_config": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "is_archived": false,
- "description": "string",
- "model_provider_name": "string",
- "model_name": "string",
- "output_format": "text/plain",
- "passthrough_mimetypes": [
- "text/plain"
], - "extractor_type": "litellm",
- "properties": {
- "extractor_type": "litellm",
- "prompt_document": "string",
- "prompt_image": "string",
- "prompt_video": "string",
- "prompt_audio": "string"
}, - "model_type": "string"
}, - "chunker_config": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "chunker_type": "fixed_window",
- "properties": {
- "chunker_type": "semantic",
- "embedding_config_id": "string",
- "buffer_size": 0,
- "breakpoint_percentile_threshold": 0,
- "include_metadata": true,
- "include_prev_next_rel": true
}, - "model_type": "string"
}, - "embedding_config": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "model_provider_name": "openai",
- "model_name": "string",
- "properties": {
- "dimensions": 0
}, - "model_type": "string"
}, - "vector_store_config": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "store_type": "lancedb_fts",
- "properties": {
- "store_type": "lancedb_fts",
- "similarity_top_k": 0,
- "overfetch_factor": 0,
- "vector_column_name": "string",
- "text_key": "string",
- "doc_id_key": "string"
}, - "model_type": "string"
}, - "reranker_config": {
- "v": 1,
- "id": "string",
- "path": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "name": "string",
- "description": "string",
- "top_n": 0,
- "model_provider_name": "string",
- "model_name": "string",
- "properties": {
- "type": "cohere_compatible"
}, - "model_type": "string"
}, - "tags": [
- "string"
]
}
]| project_id required | string (Project Id) |
Array of Rag Config Ids (strings) or Rag Config Ids (null) (Rag Config Ids) The RAG config ids to get progress for, if left empty, progress for all RAG configs in the project will be returned |
{- "rag_config_ids": [
- "string"
]
}{- "property1": {
- "total_document_count": 0,
- "total_document_completed_count": 0,
- "total_chunk_count": 0,
- "total_chunk_completed_count": 0,
- "total_document_extracted_count": 0,
- "total_document_extracted_error_count": 0,
- "total_document_chunked_count": 0,
- "total_document_chunked_error_count": 0,
- "total_document_embedded_count": 0,
- "total_document_embedded_error_count": 0,
- "total_chunks_indexed_count": 0,
- "total_chunks_indexed_error_count": 0,
- "logs": [
- {
- "level": "info",
- "message": "string"
}
]
}, - "property2": {
- "total_document_count": 0,
- "total_document_completed_count": 0,
- "total_chunk_count": 0,
- "total_chunk_completed_count": 0,
- "total_document_extracted_count": 0,
- "total_document_extracted_error_count": 0,
- "total_document_chunked_count": 0,
- "total_document_chunked_error_count": 0,
- "total_document_embedded_count": 0,
- "total_document_embedded_error_count": 0,
- "total_chunks_indexed_count": 0,
- "total_chunks_indexed_error_count": 0,
- "logs": [
- {
- "level": "info",
- "message": "string"
}
]
}
}Search the vector store associated with a RAG config.
| project_id required | string (Project Id) |
| rag_config_id required | string (Rag Config Id) |
| query required | string (Query) The search query text |
{- "query": "string"
}{- "results": [
- {
- "document_id": "string",
- "chunk_idx": 0,
- "chunk_text": "string",
- "similarity": 0
}
]
}Return chunks for a document extraction using FixedWindowChunker without persisting.
If chunk_size is None, return a single chunk with the full extraction output. chunk_overlap defaults to 0 when not provided.
| project_id required | string (Project Id) |
| extractor_config_id required | string (Extractor Config Id) |
| document_id required | string (Document Id) |
Chunk Size (integer) or Chunk Size (null) (Chunk Size) The size of each chunk in tokens. If None, return a single chunk with the full extraction output. | |
Chunk Overlap (integer) or Chunk Overlap (null) (Chunk Overlap) The overlap between chunks in tokens. If None, use the default overlap for the chunker. |
{- "chunk_size": 0,
- "chunk_overlap": 0
}{- "chunks": [
- {
- "id": "string",
- "text": "string"
}
]
}