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

# Akta: Translate Query

> Translating a natural-language company description into reusable Akta list filters. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Translating a natural-language company description into reusable Akta list filters.

<Info>
  Tool ID: `akta_translate_query`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'akta_translate_query',
  {
    "query": "software companies hiring engineers"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={null}
deepline tools execute akta_translate_query --input '{
  "query": "software companies hiring engineers"
}' --json
```

## Example response

The static output schema is not detailed enough to generate a reliable example. Use `deepline tools get akta_translate_query --json` for the complete live contract.

## Input reference

Converts natural language queries into structured filter conditions for the List Generation API.

| Name            | Type     | Required | Default | Details                                                                                                         |
| --------------- | -------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------- |
| `payload.query` | `string` | Yes      | —       | Natural language description of target companies (e.g. 'series a companies in mumbai working in climate tech'). |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Converts natural language queries into structured filter conditions for the List Generation API.",
    "properties": {
      "query": {
        "type": "string",
        "description": "Natural language description of target companies (e.g. 'series a companies in mumbai working in climate tech')."
      }
    },
    "required": [
      "query"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                       | Type     | Required | Default | Details                                                                                 |
| -------------------------- | -------- | -------- | ------- | --------------------------------------------------------------------------------------- |
| `result.data`              | `object` | Yes      | —       | Provider response payload.                                                              |
| `result.data.data`         | `object` | No       | —       | —                                                                                       |
| `result.data.data.filters` | `record` | No       | —       | Structured filters object equivalent to the input query, using dotted-path filter keys. |
| `result.meta`              | `object` | No       | —       | Additional response metadata (status, paging).                                          |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "filters": {
                "type": "object",
                "description": "Structured filters object equivalent to the input query, using dotted-path filter keys."
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `provider_usage` (provider usage).
* Estimated Deepline credits: `0.03` per pricing unit.

## Related documentation

* [Akta provider guide](/docs/providers/akta/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
