Get an extractor
const url = 'http://127.0.0.1:8000/v1/extractors/example';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/extractors/exampleRetrieve an extractor by immutable ID or stable name.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Extractor ID or stable name.
Extractor ID or stable name.
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"}The requested ParseHawk resource does not exist.
Error returned by request validation or a ParseHawk domain service.
object
object
Examplegenerated
{ "detail": [ {} ]}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}Unexpected server error.
Error returned by request validation or a ParseHawk domain service.
object
object
Examplegenerated
{ "detail": [ {} ]}