/api/orgs/{org_id}/retention/override-targetsList override targets
Targets an override can name: recent projects and request tags, or the organization's trace tags.
Authentication: Bearer API key in the Authorization header
Path parameters
org_idstringrequiredYour organization id (uuid).
GET /api/whoamireturns it.
Query parameters
scopeenumrequiredproject,request_tagortrace_tag.qstringOnly targets containing this text.
Responses
200Targets.
Response
targetsarray<object>
401Missing, unknown or revoked API key.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
404The resource does not exist or belongs to another organization.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
Request
curl 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/retention/override-targets?scope=request_tag&q=env' \
-H "Authorization: Bearer <YOUR_API_KEY>"Response
{
"targets": [
{
"target": "env:staging",
"label": "env:staging"
}
]
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/retention/override-targets?scope=request_tag&q=env