List Package Configs
List matching package configs for your organization with cursor-based pagination, newest first by default.
List the matching package configs that belong to your organization. Results are cursor-paginated and ordered newest first by default. Each entry is the same shape returned when the config was created, including its document-type slots, pass criteria, and resource links.
Pagination is cursor-based. The response carries a pagination block with total, limit, has_more, and next_cursor. To fetch the next page, pass the next_cursor value back as the cursor query parameter. When has_more is false, you have reached the last page.
Use this endpoint to enumerate the package configs available before triggering a run, or to drive a selection UI. Every config is tenant-scoped, so you only ever see configs created under your own organization.
/v1/matching/packages/configsResponse
Response fields
Response
{
"data": [
{
"id": "pkg_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Shipment bundle",
"document_type_configs": [
{ "document_type": "invoice", "matching_config_id": "mc_uuid_1", "presence": "required" },
{ "document_type": "delivery_note", "matching_config_id": "mc_uuid_2", "presence": "expected" }
],
"pass_criteria": {
"all_required_matched": true,
"min_confidence": 0.8,
"allow_review_on_expected": true
},
"created_at": "2024-09-14T10:32:00.000Z",
"updated_at": "2024-09-14T10:32:00.000Z",
"links": {
"self": "/v1/matching/packages/configs/pkg_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"runs": "/v1/matching/packages/runs?package_config_id=pkg_a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}
],
"pagination": {
"total": 3,
"limit": 20,
"has_more": false,
"next_cursor": null
}
}Errors
Error responses