---
title: "Validates the proposed inputs for an entrypoint"
method: POST
path: "/api/v1/workflows/validateEntrypoint"
tags: ["Workflows"]
---

# Validates the proposed inputs for an entrypoint

`POST /api/v1/workflows/validateEntrypoint`

## Headers

- `X-Fields` string, mask

## Request body

- ValidateEntrypointRequest
  - `group` integer, required — ID of the Group validating the Entrypoint resource.
  - `taskGraph` string, required — Proposed task graph for the Entrypoint resource.
  - `artifactGraph` string — Proposed artifact graph for the Entrypoint resource.
  - `pluginSnapshots` integer[] — A list of IDs for the Plugin Snapshots that will be attached to the Entrypoint resource.
  - `parameters` EntrypointParameter[]
    - `name` string, required — Name of the Entrypoint parameter resource.
    - `defaultValue` string — Default value of the Entrypoint parameter.
    - `parameterType` string, required — Data type of the Entrypoint parameter.
  - `artifacts` EntrypointArtifact[]
    - `name` string, required — Name of the Entrypoint artifact resource.
    - `outputParams` ArtifactOutputParameterLoad[]
      - `name` string, required — Name of the PluginTaskParameter.
      - `parameterType` integer, required — The ID of the assigned PluginParameterType resource

## Response `200`

Success

- ValidateEntrypointResponse
  - `schemaValid` boolean — Indicates whether the proposed inputs for the Entrypoint resource are valid. If False, the schemaIssues field will contain a list of validation issues.
  - `schemaIssues` ValidateEntrypointIssue[]
    - `type` string — The validation issue type.
    - `severity` string — The severity of the validation issue.
    - `message` string — A message describing the validation issue.

---

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