> For the complete documentation index, see [llms.txt](https://serving.konduit.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://serving.konduit.ai/references/cli-commands/predict-command.md).

# Predict Command

```
$ konduit predict  [-d] [-it <value>] [-ot <value>] [-p <value>] [-r
       <value>]  server-id data
```

**OPTIONS**

| Command Flags     | Description                                                                                                |
| ----------------- | ---------------------------------------------------------------------------------------------------------- |
| -d,--debug        | Debug with additional output.                                                                              |
| -it,--input-type  | Input type. Choices are: \[`json`, `json-file`, `binary`, `binary-file`, `multipart`]. Default is: `json`. |
| -ot,--output-type | Output type. Choices are: \[`json`, `binary`]. Default is: `json`.                                         |
| -p,--protocol     | Server Protocol. Choices are: \[`HTTP`, `GRPC`, `MQTT`]. Default is: `HTTP`.                               |
| -r,--repeat       | Repeat requests the given number of times.                                                                 |

&#x20;**ARGUMENTS**

| Argument Position | Name       | Description                                    |
| ----------------- | ---------- | ---------------------------------------------- |
| 1                 | server\_id | Konduit server id  Data to send to the server. |
| 2                 | data       | Accepts JSON/Binary data string as the input.  |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://serving.konduit.ai/references/cli-commands/predict-command.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
