# Design Advisor

A design advisor is a professional who provides guidance and advice on design-related matters. They may work in various fields such as interior design, fashion design, graphic design, industrial design, and more.

## ENDPOINT&#x20;

<mark style="color:green;">**`POST`**</mark>  <mark style="color:purple;">**`/design_advisor`**</mark>

An API URL would be like <mark style="color:blue;"><https://homedesigns.ai/api/v2/design\\_advisor></mark>

{% hint style="info" %} <mark style="color:blue;">Design advisors help clients make informed decisions about aesthetics, functionality, and overall design choices to achieve their desired outcomes.</mark>
{% endhint %}

{% tabs %}
{% tab title="Request" %}
{% hint style="info" %} <mark style="color:blue;">An API request must be in the</mark> <mark style="color:orange;">**`form-data`**</mark> <mark style="color:blue;">format.</mark>
{% endhint %}

### Request

<table><thead><tr><th width="195">Parameters &#x26; Data Type</th><th width="181">Value</th><th>Description</th></tr></thead><tbody><tr><td><p><mark style="color:red;"><strong><code>custom_message</code></strong></mark><strong> </strong> </p><p> <mark style="color:green;"><code>string</code></mark></p></td><td>-</td><td>The Design Advisor provides expert suggestions, tailored recommendations, and insights to enhance your design and refine your project. <strong>(Required Parameter)</strong></td></tr></tbody></table>
{% endtab %}

{% tab title="Errors" %}

### Parameters & Errors

<mark style="color:red;">**`custom_message`**</mark>

<table><thead><tr><th width="327">Error Messages</th><th>Reason</th></tr></thead><tbody><tr><td>custom_message field is required.</td><td>You need to enter your query. Blank fields are not accepted.</td></tr></tbody></table>
{% endtab %}

{% tab title="Response" %}

<pre class="language-json"><code class="lang-json"><strong>//Output should be in list of array depends on no of designs as shown below:
</strong>
{
    "success": true,
    "data": "Hello! How can I assist you with designing or redesigning your sofa area today?"
}

    
</code></pre>

{% endtab %}
{% endtabs %}


---

# 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://api.homedesigns.ai/homedesignsai-api-documentation/core-apis/design-advisor.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.
