# Jarvis AI API

## Jarvis AI Documentation

#### Jarvis is a helpful and informative AI assistant, trained by Google. It can generate text, translate languages, write different kinds of creative content, and answer your questions in a comprehensive and informative way. Think of it as your digital helper for information and creative tasks!

## Base URL

```
https://santechapi.vercel.app
```

### Authentication

```
headers : {
"token" : {YOUR API KEY}
}
```

**Endpoint:** `/jarvis/chat/{:q}`

### Parameters:

* {q}: Random input text from the user

*HTTP Method: Get*

**Example request**

```
GET /jarvis/chat/hello
```

*The User can ask any random question and get reply from AI*

Example Response

```
"Hi there! How can I assist you today?"
```

### Error Handling

In case of an error, the API will respond with an appropriate HTTP status code and an error message in the response body.

```
 {
message: "Parameter required for Ai Communication."
}
```


---

# Agent Instructions: 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://santech.gitbook.io/docs/jarvis-ai-api.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.
