Skip to content

Get retained partnership activity

GET
/v1/integration-runs/{runId}
curl --request GET \
--url https://api.infiniteaudience.ai/v1/integration-runs/example \
--header 'Authorization: Bearer <token>'

Returns one safe partnership-run projection without private artifact or manifest references. Requires ‘discovery’ scope.

runId
required
string
/^ir_[A-Za-z0-9_-]{40}$/

Partnership activity detail

Media typeapplication/json
object
run_id
required
string
provider
required
string
connection_id
required
string
connection_display_name
required
string | null
kind
required
string
Allowed values: batch_enrichment file_enrichment ingest activation export
data_flow
required
string
Allowed values: provider_to_platform platform_to_provider round_trip
purpose
required
string
Allowed values: enrichment ingest activation export
status
required
string
Allowed values: created processing awaiting_boundary settling completed failed cancelled
billing_source
required
string
Allowed values: native shopify
customer_boundary
required
string
Allowed values: api_response file_available destination_handoff provider_writeback
counts
required
object
input
required
integer
matched
required
integer
delivered
required
integer
applied
required
integer
unchanged
required
integer
skipped
required
integer
failed
required
integer
selected_fields
required
Array<string>
boundary_at
required
string | null format: date-time
failure_code
required
string | null
failure_message
required
string | null
created_at
required
string format: date-time
updated_at
required
string format: date-time
completed_at
required
string | null format: date-time
Example
{
"kind": "batch_enrichment",
"data_flow": "provider_to_platform",
"purpose": "enrichment",
"status": "created",
"billing_source": "native",
"customer_boundary": "api_response"
}

Missing or invalid Bearer token. Obtain one via POST /v1/auth/token. When a token was supplied but rejected, code distinguishes TOKEN_EXPIRED (the token’s lifetime has passed — request a new one via POST /v1/auth/token and retry) from TOKEN_INVALID (malformed or revoked — re-authenticate).

Media typeapplication/json
object
error
required

Stable machine-readable error code (e.g. INVALID_STATUS_TRANSITION, BILLING_INSUFFICIENT_BALANCE). Always present.

string
message

Human-readable explanation of the error.

string
code

Alternate machine-readable code — present on some endpoints as an alias for error for backward compatibility.

string
request_id

Opaque support/debug identifier when available.

string
key
additional properties
any
Examples
{
"error": "Unauthorized: Missing or invalid Authorization header"
}

Token is valid but lacks the required scope for this endpoint. Check the endpoint description for the required scope (discovery, purchase, or account).

Media typeapplication/json
object
error
required

Stable machine-readable error code (e.g. INVALID_STATUS_TRANSITION, BILLING_INSUFFICIENT_BALANCE). Always present.

string
message

Human-readable explanation of the error.

string
code

Alternate machine-readable code — present on some endpoints as an alias for error for backward compatibility.

string
request_id

Opaque support/debug identifier when available.

string
key
additional properties
any
Examples
Examplemissing_scope
{
"error": "SCOPE_REQUIRED",
"message": "This endpoint requires the purchase scope."
}

Resource not found or not accessible to the calling org.

Media typeapplication/json
object
error
required

Stable machine-readable error code (e.g. INVALID_STATUS_TRANSITION, BILLING_INSUFFICIENT_BALANCE). Always present.

string
message

Human-readable explanation of the error.

string
code

Alternate machine-readable code — present on some endpoints as an alias for error for backward compatibility.

string
request_id

Opaque support/debug identifier when available.

string
key
additional properties
any
Examples
Examplenot_found
{
"error": "Audience not found"
}