Logo
Functions

validateExtractionSchemaApiV1ExtractionExtractionAgentsSchemaValidationPost

validateExtractionSchemaApiV1ExtractionExtractionAgentsSchemaValidationPost<ThrowOnError>(options): RequestResult<ExtractSchemaValidateResponse, HttpValidationError, ThrowOnError>

Defined in: packages/cloud/src/client/sdk.gen.ts:5368

Validate Extraction Schema Validates an extraction agent's schema definition. Returns the normalized and validated schema if valid, otherwise raises an HTTP 400.

Type Parameters

ThrowOnError

ThrowOnError extends boolean = false

Parameters

options

Options<ValidateExtractionSchemaApiV1ExtractionExtractionAgentsSchemaValidationPostData, ThrowOnError>

Returns

RequestResult<ExtractSchemaValidateResponse, HttpValidationError, ThrowOnError>