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) |
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) |
{- "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",
- "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) |
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": {
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "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": {
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "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": {
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "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": {
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "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": {
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "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": {
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "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": {
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "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": {
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "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": {
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "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 | object (RunConfigProperties) A configuration for running a task. This includes everything needed to run a task, except the input and task ID. Running the same RunConfig with the same input should make identical calls to the model (output may vary as models are non-deterministic). |
Plaintext Input (string) or Plaintext Input (null) (Plaintext Input) | |
Structured Input (object) or Structured Input (null) (Structured Input) | |
Array of Tags (strings) or Tags (null) (Tags) |
{- "run_config_properties": {
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "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": {
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "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": {
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "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": {
- "model_name": "string",
- "model_provider_name": "openai",
- "prompt_id": "string",
- "top_p": 1,
- "temperature": 1,
- "structured_output_mode": "default",
- "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) |
{- "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"
]
}
[- {
- "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) |
{- "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 |
object (Properties) |
{- "name": "string",
- "description": "string",
- "model_provider_name": "openai",
- "model_name": "string",
- "output_format": "text/plain",
- "passthrough_mimetypes": [
- "text/plain"
], - "properties": {
- "property1": "string",
- "property2": "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": {
- "property1": "string",
- "property2": "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": {
- "property1": "string",
- "property2": "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": {
- "property1": "string",
- "property2": "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"
}
}
]
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"
}
}
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": {
- "property1": "string",
- "property2": "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) Value: "fixed_window" The type of the chunker |
object (Properties) |
{- "name": "string",
- "description": "string",
- "chunker_type": "fixed_window",
- "properties": {
- "property1": "string",
- "property2": "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": {
- "property1": "string",
- "property2": "string"
}, - "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": {
- "property1": "string",
- "property2": "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 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 (EmbeddingModelName) Enum: "openai_text_embedding_3_small" "openai_text_embedding_3_large" "gemini_text_embedding_004" "gemini_embedding_001" "embedding_gemma_300m" "nomic_text_embedding_v1_5" "qwen_3_embedding_0p6b" "qwen_3_embedding_4b" "qwen_3_embedding_8b" "baai_bge_small_1_5" "baai_bge_base_1_5" "baai_bge_large_1_5" "m2_bert_retrieval_32k" "gte_modernbert_base" "multilingual_e5_large_instruct" "thenlper_gte_large" "thenlper_gte_base" "where_is_ai_uae_large_v1" "mixedbread_ai_mxbai_embed_large_v1" "netease_youdao_bce_embedding_base_v1" The name of the embedding model |
object (Properties) |
{- "name": "string",
- "description": "string",
- "model_provider_name": "openai",
- "model_name": "openai_text_embedding_3_small",
- "properties": {
- "property1": "string",
- "property2": "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": {
- "property1": "string",
- "property2": "string"
}, - "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": {
- "property1": "string",
- "property2": "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 vector store config | |
store_type required | string (VectorStoreType) Enum: "lancedb_fts" "lancedb_hybrid" "lancedb_vector" The type of vector store to use |
object (Properties) |
{- "name": "string",
- "description": "string",
- "store_type": "lancedb_fts",
- "properties": {
- "property1": "string",
- "property2": "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": {
- "property1": "string",
- "property2": "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": {
- "property1": "string",
- "property2": "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",
- "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": {
- "property1": "string",
- "property2": "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": {
- "property1": "string",
- "property2": "string"
}, - "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": {
- "property1": "string",
- "property2": "string"
}, - "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": {
- "property1": "string",
- "property2": "string"
}, - "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. |
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",
- "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",
- "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": {
- "property1": "string",
- "property2": "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": {
- "property1": "string",
- "property2": "string"
}, - "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": {
- "property1": "string",
- "property2": "string"
}, - "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": {
- "property1": "string",
- "property2": "string"
}, - "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
}
]
}