List extractors
const url = 'http://127.0.0.1:8000/v1/extractors';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://127.0.0.1:8000/v1/extractorsList custom and built-in extraction definitions.
Responses
Section titled “Responses”Successful Response
Public representation of a reusable extractor.
object
Immutable extractor identifier.
Stable URL-safe extractor name.
Human-readable extractor label.
Natural-language extraction instructions.
Explicit reasoning effort for an extractor’s model.
The values mirror OpenAI’s reasoning_effort parameter. Extractors store
None by default, which means “send no reasoning parameter and use the
model’s own default” — the only setting that is safe for every model.
Which explicit values a model accepts is the provider’s call; incompatible
pairs surface the provider’s error at extraction time.
The fixed set of model providers ParseHawk ships.
Providers are preconfigured and configurable, not user-creatable, so the name doubles as the stable identifier extractors reference and as the discriminator the engine factory switches on.
Extraction result JSON Schema.
object
Configured few-shot examples.
object
How the extractor was created.
Whether ParseHawk ships this extractor.
UTC creation time.
UTC last-update time.
Example
[ { "name": "invoice", "reasoning_effort": "none", "provider_name": "openai", "source": "user" }]Unexpected server error.
Error returned by request validation or a ParseHawk domain service.
object
object
Examplegenerated
{ "detail": [ {} ]}