---
title: "Launch agent"
method: POST
path: "/agents/launch"
tags: ["agents"]
---

# Launch agent

`POST /agents/launch`

Launches a background AI agent run

## Query parameters

- `workspaceId` integer

## Request body

- LaunchAgentRequest
  - `agentConfigId` string, nullable
  - `instructions` string
  - `triggerContext` object, nullable

## Response `200`

OK

- LaunchAgentResponse
  - `agentRunId` string
  - `status` string

## Other responses

- `400` — Bad request
- `403` — Operation not allowed

## Changes

> 14 revisions in range; 1 not diffed.

- **2026-08-25** `f1b3206690c9` — 1 warning, 1 info
  - removed the optional property `agentId` from the response with the `200` status
  - added the optional property `agentRunId` to the response with the `200` status
- **2026-07-24** `13316c9fe5ff` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/seqeralabs/apis/seqera-api/changes/agents/launch/post.md)

---

[API](https://skmtc.dev/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.dev/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/revisions/97f7655d105a/schema)
