Execute marketplace enrichment without entity
curl --request POST \
--url http://api.gu1.ai/integration-execution/execute-without-entity \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"integrationCode": "<string>",
"country": "<string>",
"type": "<string>",
"taxId": "<string>",
"name": "<string>",
"parameters": {}
}
'import requests
url = "http://api.gu1.ai/integration-execution/execute-without-entity"
payload = {
"integrationCode": "<string>",
"country": "<string>",
"type": "<string>",
"taxId": "<string>",
"name": "<string>",
"parameters": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
integrationCode: '<string>',
country: '<string>',
type: '<string>',
taxId: '<string>',
name: '<string>',
parameters: {}
})
};
fetch('http://api.gu1.ai/integration-execution/execute-without-entity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://api.gu1.ai/integration-execution/execute-without-entity",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'integrationCode' => '<string>',
'country' => '<string>',
'type' => '<string>',
'taxId' => '<string>',
'name' => '<string>',
'parameters' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://api.gu1.ai/integration-execution/execute-without-entity"
payload := strings.NewReader("{\n \"integrationCode\": \"<string>\",\n \"country\": \"<string>\",\n \"type\": \"<string>\",\n \"taxId\": \"<string>\",\n \"name\": \"<string>\",\n \"parameters\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("http://api.gu1.ai/integration-execution/execute-without-entity")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"integrationCode\": \"<string>\",\n \"country\": \"<string>\",\n \"type\": \"<string>\",\n \"taxId\": \"<string>\",\n \"name\": \"<string>\",\n \"parameters\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.gu1.ai/integration-execution/execute-without-entity")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"integrationCode\": \"<string>\",\n \"country\": \"<string>\",\n \"type\": \"<string>\",\n \"taxId\": \"<string>\",\n \"name\": \"<string>\",\n \"parameters\": {}\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"cached": true,
"integrationCode": "<string>",
"country": "<string>",
"type": "<string>",
"enrichmentSuccess": true,
"result": {},
"errors": [
{}
],
"totalCostCents": 123,
"executionTimeMs": 123,
"probeEntityId": "<string>",
"billing": {}
}API Reference
Execute marketplace enrichment without entity
Run a single marketplace enrichment from tax ID and/or name without persisting an entity; optional cache-only mode. See request schema, response codes.
POST
/
integration-execution
/
execute-without-entity
Execute marketplace enrichment without entity
curl --request POST \
--url http://api.gu1.ai/integration-execution/execute-without-entity \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"integrationCode": "<string>",
"country": "<string>",
"type": "<string>",
"taxId": "<string>",
"name": "<string>",
"parameters": {}
}
'import requests
url = "http://api.gu1.ai/integration-execution/execute-without-entity"
payload = {
"integrationCode": "<string>",
"country": "<string>",
"type": "<string>",
"taxId": "<string>",
"name": "<string>",
"parameters": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
integrationCode: '<string>',
country: '<string>',
type: '<string>',
taxId: '<string>',
name: '<string>',
parameters: {}
})
};
fetch('http://api.gu1.ai/integration-execution/execute-without-entity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://api.gu1.ai/integration-execution/execute-without-entity",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'integrationCode' => '<string>',
'country' => '<string>',
'type' => '<string>',
'taxId' => '<string>',
'name' => '<string>',
'parameters' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://api.gu1.ai/integration-execution/execute-without-entity"
payload := strings.NewReader("{\n \"integrationCode\": \"<string>\",\n \"country\": \"<string>\",\n \"type\": \"<string>\",\n \"taxId\": \"<string>\",\n \"name\": \"<string>\",\n \"parameters\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("http://api.gu1.ai/integration-execution/execute-without-entity")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"integrationCode\": \"<string>\",\n \"country\": \"<string>\",\n \"type\": \"<string>\",\n \"taxId\": \"<string>\",\n \"name\": \"<string>\",\n \"parameters\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.gu1.ai/integration-execution/execute-without-entity")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"integrationCode\": \"<string>\",\n \"country\": \"<string>\",\n \"type\": \"<string>\",\n \"taxId\": \"<string>\",\n \"name\": \"<string>\",\n \"parameters\": {}\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"cached": true,
"integrationCode": "<string>",
"country": "<string>",
"type": "<string>",
"enrichmentSuccess": true,
"result": {},
"errors": [
{}
],
"totalCostCents": 123,
"executionTimeMs": 123,
"probeEntityId": "<string>",
"billing": {}
}This route lives under
Execution requires permission to run enrichments (same family as
/integration-execution. It uses the same integration codes as the rest of the Marketplace (see Shared provider codes, Person provider codes, and Company provider codes).Execution requires permission to run enrichments (same family as
POST /integration-execution/marketplace/enrichment).Headless runs do not create or update rows in
entities, normalized_enrichment, or entity-scoped enrichment audit tables. They append read-only audit (headless_enrichment_execution_audit) and may write optional cache (headless_enrichment_cache) for successful responses.Overview
Use this endpoint when you need one enrichment resolved from tax ID and/or name plus country and entity type, without registering a Person or Company in Gu1 first. Related read-only endpoints: List headless executions and Get headless execution by id. Runs the universal provider for the givenintegrationCode, normalizes the result in memory, applies billing when applicable, and records one audit row.
URL
POST https://api.gu1.ai/integration-execution/execute-without-entity
Query Parameters
If
true or 1, the API only returns a previously cached successful payload for the same inputs (same org, integration, country, type, tax/name, parameters hash). No provider call and no token spend. If there is no cache hit, responds with 404 (CACHE_MISS).Request Body
Either
person or company. Must match what the integration expects for the country (wrong type can yield no matching provider).Optional. When provided, it is validated and normalized for the given
country and type. At least one of taxId or name (after trim) is required.Success response (HTTP 200)
WhenenrichmentSuccess is true, the body includes:
Present when normalization succeeded. Contains
raw and mapped: each is an object keyed by integration code (provider raw branch and canonical mapped fields; same family as entity-scoped marketplace enrichments).tokensSpent and balanceRemainingCents only. costCents is not returned inside billing (it remains for internal use and is stored on the audit row). Use root totalCostCents when you need the charged amount for the attempt in cents.Failure responses
WhenenrichmentSuccess is false but the HTTP request is still accepted, the API returns 400 if no provider matches the context (e.g. wrong type for the integration), or 422 for provider execution / normalization failures. The JSON body still includes errors, billing (same public billing shape), totalCostCents, etc.
Other errors: 403 (integration not enabled), 404 (CACHE_MISS when cached=true), 402 insufficient balance, 4xx validation from Zod.
Example
curl -sS -X POST 'https://api.gu1.ai/integration-execution/execute-without-entity' \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"integrationCode": "br_bdc_basic_data_enrichment",
"country": "BR",
"type": "person",
"taxId": "12345678909",
"parameters": {}
}'
Was this page helpful?