Purpose:
Runs an advanced extraction test using inline content or a file identifier.
POST /noCo/api/v2/workspaces/{workspaceId}/extraction/advanced/test
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspaceId | UUID | ✅ Yes | Identifier of the workspace |
Requires authentication using:
Authorization: Bearer <token>
| Header | Required |
|---|---|
| Authorization | ✅ Yes |
| Content-Type: application/json | ✅ Yes |
{
"content": "string",
"advancedSchema": {},
"elementId": "string"
}
| Field | Type | Required | Description |
|---|---|---|---|
| content | string | ✅ Yes | Inline content to test extraction |
| advancedSchema | object | ✅ Yes | JSON schema for advanced extraction |
| elementId | string | ❌ No | File ID for testing instead of content |
curl -X POST https://{base_url}/noCo/api/v2/workspaces/{workspaceId}/extraction/advanced/test \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"content": "Sample invoice text",
"advancedSchema": {
"fields": []
}
}'
Performs an advanced extraction test using either inline content or a file reference.