---
title: "Add tests to a Codeless suite"
method: POST
path: "/v1/labsuites/{id}/tests"
tags: ["Codeless suites"]
---

# Add tests to a Codeless suite

`POST /v1/labsuites/{id}/tests`

Attaches one or more existing Codeless tests to a suite. Pass `test_ids` as a comma-separated list.

## Path parameters

- `id` integer, required

## Request body

- PostV1LabsuitesIdTests — Add tests to a Codeless suite
  - `test_ids` string, required — Comma-separated list of Codeless test IDs to attach.

## Response `201`

Add tests to a Codeless suite

- TestingbotEntitiesAck — Testingbot_Entities_Ack model
  - `success` boolean, required — Whether the operation succeeded.
  - `errors` object, required — Validation errors keyed by field name. Only present when `success` is false.
  - `error` string, required — Single human-readable reason, used by the older endpoints in place of `errors`. Only present when `success` is false.

## Other responses

- `400` — Missing test_ids
- `401` — Authentication required
- `403` — Account is read-only
- `404` — Suite not found

---

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