# Quickstart

## Authentication

Obtain your API key from the Geolava team. For each request, include:

```
x-api-key: YOUR_API_KEY
```

in the header. Using the wrong key or omitting the header will lead to a 401/403 error.

## Sandbox vs. Production

* **Sandbox**
  * Base URL: `https://sandbox.geolava.com/v1`
  * Ideal for testing lower-volume or experimental integrations
* **Production**
  * Base URL: `https://api.geolava.com/v1`
  * Designed for higher request rates and enterprise SLAs

#### Simple “Hello World” Example

If you already have a property ID or address, you can test the **Condition Agent**:

```bash
curl -X POST "https://api.geolava.com/v1/agent/condition" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "address": "ADDRESS_OF_INTEREST"
  }'
```

The response includes condition attributes (roof integrity, foundation, etc.). This verifies your integration is working.


---

# 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://docs.geolava.com/getting-started/quickstart.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.
