Process a source record that needs attention again (product Owners)
The record goes back to received with a full new set of attempts at the step that failed (failedStage): splitting it into insights, or linking them to features, keeping its insights. A record still received is answered unchanged; a processed record is refused (conflict). Processing runs in the background: check get_source_record every 30 seconds; it is done when its status is processed or needs_attention. A record too long for one answer answers its first part (part) unless whole is true.
AuthorizationBearer <token>An OAuth access token for the person who allowed your tool: register a client, then the authorization code flow with PKCE (S256). Send it as Authorization: Bearer <token> on every route that needs a signed-in person. Calls with a token are limited per person, across all their apps, to 120 calls a minute and 10,000 a UTC day; calls that start AI runs or knowledge base reads (creating an organization, starting a knowledge base read, rebuilding categories, retrying topics or rechecking) also to 10 a minute and 200 a UTC day. Over a limit a call answers 429 rate_limited with Retry-After and details.retryAfter in seconds, and changes nothing.
productId*stringA Heuristic id: a uuid, in any case (it is read in lower case). Anything else answers 400 validation_error.
uuidrecordId*stringA Heuristic id: a uuid, in any case (it is read in lower case). Anything else answers 400 validation_error.
uuidwhole?stringtrue: the whole retried record in one answer, however long; it can go over what fits.
"true""false"The record
application/json- response
data*meta*curl -X POST 'https://staging.heuristic.app/v1/products/497f6eca-6276-4993-bfeb-53cbbbba6f08/source-records/497f6eca-6276-4993-bfeb-53cbbbba6f08/retry' \ -H 'Authorization: Bearer <access token>'{ "data": { "id": "string", "text": "string", "sourceUrl": "string", "saidAt": "string", "receivedAt": "string", "status": "received", "externalId": "string", "source": "string", "sentBy": { "app": { "clientId": "string", "name": "string" }, "person": { "id": "string", "name": "string" } }, "company": { "id": "string", "name": "string", "domain": "string", "customerStatus": "customer", "arr": { "amount": 0, "currency": "string" } }, "contact": { "id": "string", "name": "string", "email": "string" }, "customerStatus": "customer", "arr": { "amount": 0, "currency": "string" }, "customFields": { "property1": "string", "property2": "string" }, "insightsCapped": true, "waitingFor": "knowledge_base", "failedStage": "split", "failureReason": "too_long", "insights": [ { "id": "string", "statement": "string", "quote": "string", "quoteStart": 0, "type": "feature_request", "sentiment": "positive", "linked": true, "feature": { "id": "string", "title": "string" }, "topic": { "id": "string", "name": "string" }, "edited": true } ], "part": { "textFrom": 0, "textTo": 0, "textLength": 0, "insightsFrom": 0, "insightsTo": 0, "insightsTotal": 0, "next": { "textFrom": 0, "insightsFrom": 0 } } }, "meta": { "property1": null, "property2": null }}