> ## Documentation Index
> Fetch the complete documentation index at: https://oxy.tech/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# API Enhancements and YAML Retrieval Support

> New API endpoint for non-streaming responses:

<Icon icon="calendar" iconType="regular" size={16} /> **September 26, 2025**

### New Features

#### Synchronous Ask API

New API endpoint for non-streaming responses:

* **Ask-Sync API** - Agents can now return responses synchronously without streaming for integration scenarios requiring immediate complete responses
  <img src="https://mintcdn.com/oxy-internal/qygWo0nXJD2A89_J/changelog/images/2025-09-26/19456.png?fit=max&auto=format&n=qygWo0nXJD2A89_J&q=85&s=5f4dca752265f63f0383ce92ef93de18" alt="Image" width="3014" height="1920" data-path="changelog/images/2025-09-26/19456.png" />

#### YAML File Retrieval

Enhanced retrieval system for semantic files:

* **Arbitrary YAML Retrieval** - Support for retrieving any YAML files and injecting them into system instructions via `tools.retrieval`
* **Simple Configuration** - YAML files just need to have a `description` or standard retrieval syntax to be used

Example YAML file with retrieval configuration:

```yaml theme={null}
# data/dim_ax_stage_history.sem.yml
retrieval:
  include:
    - "how many hiring workflow stages does the average applicant go through?"
    - "what are the top 3 slowest stages for applicants?"
```

Example agent configuration:

```yaml theme={null}
system_instructions: |
  You are a data analyst. Your task is to answer questions by writing and executing SQL queries.
  ALWAYS execute the SQL query.

  # Relevant context
  {{ tools.retrieval }}

tools:
  - name: retrieval
    type: retrieval
    src:
      - "data/dim_ax_stage_history.sem.yml"
      - "extra_workflow_stages_context.yml"
```

With this configuration, the content of the YAML files is automatically injected into the system instructions where `{{ tools.retrieval }}` appears

### Platform Improvements

Fixed background worker initialization issues with database connections and upgraded to Rust 1.90 (latest version) as well as other dependencies to latest versions for enhanced performance and security
