---
title: "Submit an automation task"
method: POST
path: "/api/v1/inference"
tags: ["inference"]
---

# Submit an automation task

`POST /api/v1/inference`

Queue a browser automation task for asynchronous execution. Returns immediately with a `task_id`; the automation runs in the background. Use `priority` to control queue position within your login group — lower numbers run first, `null`/omitted runs last.

## Headers

- `x-callback-url` string, nullable
- `x-api-key` string, required

## Request body

- InferenceRequest
  - `endpoint_name` string, required
  - `input_parameters` object, required
  - `unique_parameter_names` string[]
  - `secure_parameters` object
  - `rdp_parameter` RDPParameter
    - `host` string, required
    - `username` string, nullable
    - `password` string, nullable
  - `max_timeout_in_minutes` integer
  - `use_proxy` boolean
  - `is_dedicated` boolean
  - `task_callback_url` string, nullable
  - `task_callback_api_key` string, nullable
  - `max_parallelism` integer
  - `per_login_parallelism` integer
  - `priority` integer, nullable

## Response `202`

Successful Response

- InferenceResponse
  - `success` boolean, required
  - `message` string, required
  - `task_id` string, required

## Other responses

- `422` — Validation Error

## Changes

> 11 revisions in range; 3 could not be searched.

- **2026-07-26** `653b9ca575a8` — 1 breaking, 2 info
  - removed the success response with the status `200`
  - added the new optional request property `priority`
  - added the success response with the status `202`

[Change history](https://skmtc.dev/optexity/apis/dashboard-backend-api/changes/api/v1/inference/post.md)

---

[API](https://skmtc.dev/optexity/apis/dashboard-backend-api.md) · [All operations](https://skmtc.dev/optexity/apis/dashboard-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/optexity/dashboard-backend-api/revisions/2e974096944a/schema)
