Skip to main content
POST
/
connectors
/
{connectorId}
/
test
Test a connector with sample data
curl --request POST \
  --url https://api.artosai.com/connectors/{connectorId}/test \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "testData": {},
  "expectedOutput": {}
}
'
{
  "testId": "<string>",
  "status": "<string>",
  "results": {},
  "details": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

connectorId
string
required

Body

application/json
testData
object
required

Test dataset to feed into the connector

expectedOutput
object

Expected results for validation

Response

200 - application/json

Test results

testId
string
status
string
results
object
details
object