post https://api.explorium.ai/v1/custom_signals//enrich
Enrich a business using a custom signal.
Returns enriched data with the results from the custom signal.
Consuming Custom Enrichment with the AgentSource API
After creating your custom enrichment, you can consume it through the AgentSource API. Here's how:
Endpoint: POST api.explorium.ai/v1/custom_signals/<custom_signal_id>/enrich
POST api.explorium.ai/v1/custom_signals/<custom_signal_id>/enrich
Description
Consume a custom enrichment by enriching a single business.
Parameters:
- data_context: DataFrame DICT - Rows of data that will be used for evaluation. Must include a business_id field and can optionally include other user features.
Request Example:
`POST api.explorium.ai/v1/custom_signals/<custom_signal_id>/enrich`{
"business_id": "340c8040bd50cbab9c7df718bbe51cc9",
"request_context": {
"request_id": "ds7fdjhn293hsd8f9yu"
}
}
Response Example:
{
"response_context": {
"correlation_id": "9a42f448ef9443dd83dd0581ce1d518a",
"request_status": "success",
"time_took_in_seconds": 6.214
},
"data": [
{
"business_id": "340c8040bd50cbab9c7df718bbe51cc9",
"data": {
"business_id": "340c8040bd50cbab9c7df718bbe51cc9",
"data": {
"Business Type": "B2B",
"Reasoning": "Explorium primarily targets businesses by providing data infrastructure and solutions for sales, marketing, and AI agent development, as evidenced by their focus on B2B applications in industries like manufacturing and consumer packaged goods. Their services are designed to enhance business operations, indicating a clear B2B orientation.",
"business_id": "340c8040bd50cbab9c7df718bbe51cc9"
}
}
}
],
"total_results": 1
}