Skip to main content
POST
/
validations
/
{validationId}
/
tasks
cURL
curl --request POST \
  --url https://api.lucidtech.ai/{basePath}/validations/{validationId}/tasks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "input": {},
  "metadata": {},
  "name": "<string>",
  "description": "<string>",
  "agentRunId": "<string>"
}
'
{
  "updatedTime": "<string>",
  "metadata": {},
  "validationId": "<string>",
  "updatedBy": "<string>",
  "description": "<string>",
  "input": {},
  "createdBy": "<string>",
  "name": "<string>",
  "createdTime": "<string>",
  "taskId": "<string>",
  "warnings": [
    "<string>"
  ],
  "history": [
    {}
  ],
  "agentRunId": "<string>",
  "enabled": true,
  "output": {},
  "logId": "<string>",
  "id": "<string>",
  "errors": [
    "<string>"
  ],
  "status": "ready"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

Content-Type
string
required

Path Parameters

validationId
string
required

Body

application/json
input
object
metadata
object
name
string | null
Maximum string length: 4096
description
string | null
Maximum string length: 4096
agentRunId
string

Response

200 response

updatedTime
string | null
required
metadata
object
required
validationId
string
required
updatedBy
string | null
required
Maximum string length: 4096
description
string | null
required
Maximum string length: 4096
input
object
required
createdBy
string
required
Maximum string length: 4096
name
string | null
required
Maximum string length: 4096
createdTime
string
required
taskId
string
required
warnings
string[] | null
history
object[]
agentRunId
string | null
enabled
boolean
output
object
logId
string | null
id
string
errors
string[] | null
status
enum<string>
Available options:
ready,
in-progress,
succeeded,
failed,
cancelled