Data Pools
API key passed in the Authorization header. Format: <api-key>
Filter results by name.
Filter results by id.
Filter results by ,.
Comma-separated list of relationships to include. Available: name, description
Sort field. Prefix with - for descending. Available: created_at
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/data-pool HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": 1,
"name": "My Example",
"description": "A description of the resource",
"data_pool_template_id": 1,
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z"
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://api.example.com/api/v1/data-pool",
"per_page": 25,
"to": 1,
"total": 1
},
"links": {
"first": "https://api.example.com/api/v1/data-pool?page=1",
"last": "https://api.example.com/api/v1/data-pool?page=1",
"prev": null,
"next": null
}
}API key passed in the Authorization header. Format: <api-key>
Successful response
Unauthenticated
Unauthorized
Validation Error
POST /api/v1/data-pool HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"description": "A description of the resource",
"name": "My Example"
}{
"data": {
"id": 1,
"name": "My Example",
"description": "A description of the resource",
"data_pool_template_id": 1,
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z"
}
}API key passed in the Authorization header. Format: <api-key>
The data pool identifier.
Filter results by name.
Filter results by id.
Filter results by ,.
Comma-separated list of relationships to include. Available: name, description
Sort field. Prefix with - for descending. Available: created_at
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/data-pool/{data_pool} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": {
"id": 1,
"name": "My Example",
"description": "A description of the resource",
"data_pool_template_id": 1,
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z"
}
}API key passed in the Authorization header. Format: <api-key>
The data pool identifier.
Successful response
Unauthenticated
Unauthorized
Validation Error
PUT /api/v1/data-pool/{data_pool} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"description": "A description of the resource",
"name": "My Example"
}{
"data": {
"id": 1,
"name": "My Example",
"description": "A description of the resource",
"data_pool_template_id": 1,
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z"
}
}API key passed in the Authorization header. Format: <api-key>
The data pool identifier.
Successful response
Unauthenticated
Unauthorized
DELETE /api/v1/data-pool/{data_pool} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"message": "Action completed successfully."
}API key passed in the Authorization header. Format: <api-key>
The data pool identifier.
Filter results by flow_id.
Filter results by flow_run_id.
Filter results by step_id.
Filter results by entity_type_id.
Filter results by value.
Filter results by created_before.
Filter results by created_after.
Comma-separated list of relationships to include. Available: flow, flowRun, flowStep, entityType, dataPool
Sort field. Prefix with - for descending. Available: created_at, id
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/data-pool/{data_pool}/deduped-data HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": 1,
"name": "My Example",
"description": "A description of the resource",
"data_pool_template_id": 1,
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z"
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://api.example.com/api/v1/data-pool/{data_pool}/deduped-data",
"per_page": 25,
"to": 1,
"total": 1
},
"links": {
"first": "https://api.example.com/api/v1/data-pool/{data_pool}/deduped-data?page=1",
"last": "https://api.example.com/api/v1/data-pool/{data_pool}/deduped-data?page=1",
"prev": null,
"next": null
}
}API key passed in the Authorization header. Format: <api-key>
The data pool identifier.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/data-pool/{data_pool}/deduped-data/download HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{}API key passed in the Authorization header. Format: <api-key>
The data pool identifier.
Successful response
Unauthenticated
Unauthorized
Validation Error
POST /api/v1/data-pool/{data_pool}/deduped-data/import HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 49
{
"deduped_data_file": "example_deduped_data_file"
}{}API key passed in the Authorization header. Format: <api-key>
The unique identifier of the id.
Successful response
Unauthenticated
Unauthorized
DELETE /api/v1/data-pool/{id}/deduped-data/delete-records HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"message": "Action completed successfully."
}Last updated
Was this helpful?