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" }
Create Validation Task
The access token received from the authorization server in the OAuth 2.0 flow.
4096
200 response
ready
in-progress
succeeded
failed
cancelled