---
title: "POST /v1/ai-agents/{id}/test"
method: POST
path: "/v1/ai-agents/{id}/test"
tags: ["AiAgents"]
---

# POST /v1/ai-agents/{id}/test

`POST /v1/ai-agents/{id}/test`

## Request

- Base URL: `https://api.pinlyx.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pinlyx.com/v1/ai-agents/{id}/test`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Request body

- TestAgentRequest
  - `IncomingText` string, nullable
  - `History` HistoryItem[], nullable
    - `IsOutgoing` boolean
    - `Text` string, nullable

## Response `200`

OK

---

[API](https://skmtc.dev/pinlyx/apis/pinlyx-public-api.md) · [All operations](https://skmtc.dev/pinlyx/apis/pinlyx-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pinlyx/apis/pinlyx-public-api/revisions/e45e0df8a1cd?raw)
