---
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
  - `agentId` string
  - `status` string

## Other responses

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

---

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