POST /v1/agents/batch
Changed onExecute WSA Batch Endpoint
Request
- Base URLhttps://sdk.nimbleway.com
- URLhttps://sdk.nimbleway.com/v1/agents/batch
- AuthHTTP bearer
Request body
Example request
{
"inputs": [
{
"formats": [
"html",
"markdown"
]
}
],
"shared_inputs": {
"formats": [
"html",
"markdown"
]
}
}Response
Batch Created
Example response
{
"tasks": [
{
"batch_id": "4b0a90bf-c951-42e4-95b3-a95a65ba69fc",
"created_at": "2024-01-15T10:30:00Z",
"download_url": "https://api.webit.live/api/v2/tasks/123e4567-e89b-12d3-a456-426614174000/results",
"error": "Connection timeout",
"error_type": "timeout_error",
"id": "123e4567-e89b-12d3-a456-426614174000",
"modified_at": "2024-01-15T10:35:00Z",
"state": "pending",
"status_code": 200,
"status_url": "https://api.webit.live/api/v2/tasks/123e4567-e89b-12d3-a456-426614174000"
}
]
}Changes
- breaking
response property
tasks/items/batch_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
tasks/items/download_urllist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
tasks/items/errorlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
tasks/items/error_typelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
tasks/items/output_urllist-of-types was widened by adding typesnullto media typeapplication/jsonof response200
- breaking
- warning
added the new
in_progressenum value to the//response property for the response status - warning
added the new
labsenum value to the//response property for the response status - warning
added the new
queuedenum value to the//response property for the response status - info
added the optional property
//to the response with the status
- warning