---
title: "Validate an Agent configuration without saving it"
method: POST
path: "/agents/validate"
tags: ["agents"]
---

# Validate an Agent configuration without saving it

`POST /agents/validate`

## Request body

- AgentCreateReqSchema
  - `name` string, required — A unique name label
  - `orb_tags` object — User defined key/values that will define the members of the group by matching against Agent tags

## Response `200`

Agent validation object

- AgentValidateObjSchema
  - `name` string — A unique name label
  - `orb_tags` object — Orb tags field sent in by the agent when it connects group by matching against Agent tags

## Other responses

- `400` — Failed due to malformed JSON.
- `401` — Missing or invalid access token provided.
- `415` — Missing or invalid content type.
- `500` — Unexpected server-side error occurred.

---

[API](https://skmtc.net/orb-community/apis/orb-fleet.md) · [All operations](https://skmtc.net/orb-community/apis/orb-fleet/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/orb-community/orb-fleet/revisions/53154347a3c8/schema)
