WorkerInternal

Mark a knowledge document ingestion as failed

POST
/internal/knowledge/documents/{id}/fail

Authorization

WorkerApiKey
AuthorizationBearer <token>

Shared WORKER_API_KEY secret for worker internal routes

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/internal/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/fail" \  -H "Content-Type: application/json" \  -d '{    "organizationId": "string",    "errorMessage": "string"  }'
{}
{  "message": "string"}
Empty
{  "message": "string"}