Post-Processors
Post-Processors
GET /api/v1/datasets/{dataset_id}/post-processors
Get Post Processors
getPostProcessors returns all post-processors for a dataset
Parameters
| Name | In | Type | Required |
|---|---|---|---|
dataset_id | path | string | true |
Response
Type: []PostProcessorWithModel
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
dataset_id | uuid.UUID | |
name | string | |
description | string | |
enabled | bool | |
order | int | |
model_id | string | Internal model reference (use either this OR external provider) (optional) |
model_version | string | (optional) |
external_provider | string | “openai”, “anthropic” (optional) |
external_model | string | “whisper-1”, “gpt-4”, etc. (optional) |
external_config | string | JSON config (API key ref, params) (optional) |
model_type | string | “stt”, “classification”, etc. |
output_target | string | “text”, “annotations”, “both” |
auto_create_labels | bool | |
confidence_threshold | float64 | |
prompt | string | Custom prompt for LLM processing (optional) |
user_id | string | |
model_name | string | (optional) |
model_kind | string | (optional) |
is_external | bool | |
provider_name | string | (optional) |
Example
curl -X GET \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/datasets/{dataset_id}/post-processorsPOST /api/v1/datasets/{dataset_id}/post-processors
Create Processor
postPostProcessor creates a new post-processor
Parameters
| Name | In | Type | Required |
|---|---|---|---|
dataset_id | path | string | true |
Request Body
Type: CreatePostProcessorRequest
| Field | Type | Description |
|---|---|---|
name | string | |
description | string | |
enabled | bool | |
order | int | |
model_id | string | (optional) |
model_version | string | (optional) |
external_provider | string | (optional) |
external_model | string | (optional) |
external_config | string | (optional) |
model_type | string | |
output_target | string | |
auto_create_labels | bool | |
confidence_threshold | float64 | |
prompt | string | (optional) |
Response
Type: DatasetPostProcessor
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
dataset_id | uuid.UUID | |
name | string | |
description | string | |
enabled | bool | |
order | int | |
model_id | string | Internal model reference (use either this OR external provider) (optional) |
model_version | string | (optional) |
external_provider | string | “openai”, “anthropic” (optional) |
external_model | string | “whisper-1”, “gpt-4”, etc. (optional) |
external_config | string | JSON config (API key ref, params) (optional) |
model_type | string | “stt”, “classification”, etc. |
output_target | string | “text”, “annotations”, “both” |
auto_create_labels | bool | |
confidence_threshold | float64 | |
prompt | string | Custom prompt for LLM processing (optional) |
user_id | string |
Example
curl -X POST \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}' \
https://api.seeme.ai/api/v1/datasets/{dataset_id}/post-processorsGET /api/v1/datasets/{dataset_id}/post-processors/jobs
Get Dataset Post Processor Jobs
getDatasetPostProcessorJobs returns all jobs for a dataset with optional status filter
Parameters
| Name | In | Type | Required |
|---|---|---|---|
dataset_id | path | string | true |
Response
Type: []PostProcessorJob
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
post_processor_id | uuid.UUID | |
dataset_item_id | uuid.UUID | |
dataset_id | uuid.UUID | |
status | string | pending, processing, completed, failed |
attempts | int | |
max_attempts | int | |
error | string | (optional) |
result | string | JSON string of raw model output (optional) |
started_at | time.Time | (optional) |
completed_at | time.Time | (optional) |
user_id | string |
Example
curl -X GET \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/datasets/{dataset_id}/post-processors/jobsGET /api/v1/datasets/{dataset_id}/post-processors/{id}
Get Post Processor
getPostProcessor returns a single post-processor
Parameters
| Name | In | Type | Required |
|---|---|---|---|
dataset_id | path | string | true |
id | path | string | true |
Response
Type: DatasetPostProcessor
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
dataset_id | uuid.UUID | |
name | string | |
description | string | |
enabled | bool | |
order | int | |
model_id | string | Internal model reference (use either this OR external provider) (optional) |
model_version | string | (optional) |
external_provider | string | “openai”, “anthropic” (optional) |
external_model | string | “whisper-1”, “gpt-4”, etc. (optional) |
external_config | string | JSON config (API key ref, params) (optional) |
model_type | string | “stt”, “classification”, etc. |
output_target | string | “text”, “annotations”, “both” |
auto_create_labels | bool | |
confidence_threshold | float64 | |
prompt | string | Custom prompt for LLM processing (optional) |
user_id | string |
Example
curl -X GET \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/datasets/{dataset_id}/post-processors/{id}PUT /api/v1/datasets/{dataset_id}/post-processors/{id}
Update Post Processor
putPostProcessor updates a post-processor
Parameters
| Name | In | Type | Required |
|---|---|---|---|
dataset_id | path | string | true |
id | path | string | true |
Request Body
Type: UpdatePostProcessorRequest
| Field | Type | Description |
|---|---|---|
name | string | (optional) |
description | string | (optional) |
enabled | bool | (optional) |
order | int | (optional) |
model_id | string | (optional) |
model_version | string | (optional) |
external_provider | string | (optional) |
external_model | string | (optional) |
external_config | string | (optional) |
model_type | string | (optional) |
output_target | string | (optional) |
auto_create_labels | bool | (optional) |
confidence_threshold | float64 | (optional) |
prompt | string | (optional) |
Response
Type: DatasetPostProcessor
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
dataset_id | uuid.UUID | |
name | string | |
description | string | |
enabled | bool | |
order | int | |
model_id | string | Internal model reference (use either this OR external provider) (optional) |
model_version | string | (optional) |
external_provider | string | “openai”, “anthropic” (optional) |
external_model | string | “whisper-1”, “gpt-4”, etc. (optional) |
external_config | string | JSON config (API key ref, params) (optional) |
model_type | string | “stt”, “classification”, etc. |
output_target | string | “text”, “annotations”, “both” |
auto_create_labels | bool | |
confidence_threshold | float64 | |
prompt | string | Custom prompt for LLM processing (optional) |
user_id | string |
Example
curl -X PUT \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}' \
https://api.seeme.ai/api/v1/datasets/{dataset_id}/post-processors/{id}DELETE /api/v1/datasets/{dataset_id}/post-processors/{id}
Delete Post Processor
deletePostProcessor deletes a post-processor
Parameters
| Name | In | Type | Required |
|---|---|---|---|
dataset_id | path | string | true |
id | path | string | true |
Example
curl -X DELETE \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/datasets/{dataset_id}/post-processors/{id}