[{"data":1,"prerenderedAt":711,"buildId":712},["ShallowReactive",2],{"developers:\u002Fdevelopers\u002Freference-assistants":3},{"doc":4,"lang":41,"nav":53,"alternatePath":211,"policy":212,"specVersion":256,"reference":257,"layout":48,"toc":700,"prev":706,"next":707,"operations":708,"overview":43,"heroExample":43},{"id":5,"title":6,"apiTag":7,"body":8,"description":38,"draft":39,"extension":40,"lang":41,"meta":42,"navTitle":43,"navigation":44,"order":45,"path":46,"rawbody":47,"section":48,"seo":49,"stem":50,"translationKey":51,"version":43,"__hash__":52},"developers_en\u002Fdevelopers\u002Freference-assistants.md","Published assistants","assistants",{"type":9,"value":10,"toc":32},"minimark",[11,16,29],[12,13,15],"h2",{"id":14},"run-a-published-assistant","Run a published assistant",[17,18,19,20,24,25,28],"p",{},"Use ",[21,22,23],"code",{},"POST \u002Fv1\u002Fassistants\u002Foptions"," to obtain current enabled selections. Pass the returned opaque reference and a user message to ",[21,26,27],{},"POST \u002Fv1\u002Fassistants\u002Fruns",". A later publication invalidates an earlier selection. These operations never author, enable or publish an assistant.",[17,30,31],{},"The API returns an asynchronous operation. Observe it until completion; admission alone does not mean a reply exists. Read the completed conversation through the separately authorized conversation-content endpoint. An API message does not establish ownership of a phone number or grant permission to contact someone.",{"title":33,"searchDepth":34,"depth":34,"links":35},"",3,[36],{"id":14,"depth":37,"text":15},2,"Discover and run current published assistants without exporting their instructions.",false,"md","en",{},null,true,"89","\u002Fdevelopers\u002Freference-assistants","---\ntitle: Published assistants\ndescription: Discover and run current published assistants without exporting their instructions.\nsection: reference\norder: 89\ntranslationKey: reference-assistants\nlang: en\ndraft: false\napiTag: assistants\n---\n\n## Run a published assistant\n\nUse `POST \u002Fv1\u002Fassistants\u002Foptions` to obtain current enabled selections. Pass the returned opaque reference and a user message to `POST \u002Fv1\u002Fassistants\u002Fruns`. A later publication invalidates an earlier selection. These operations never author, enable or publish an assistant.\n\nThe API returns an asynchronous operation. Observe it until completion; admission alone does not mean a reply exists. Read the completed conversation through the separately authorized conversation-content endpoint. An API message does not establish ownership of a phone number or grant permission to contact someone.\n","reference",{"title":6,"description":38},"developers\u002Freference-assistants","reference-assistants","e6oaOUbX6OvuMnJ9TcfWa_uz3e84ZlIDGI8QHVT2DnQ",[54,69,108,192],{"section":55,"items":56},"start",[57,61,65],{"path":58,"title":59,"description":60},"\u002Fdevelopers","Overview","Read CRM data and run authorized Totem actions with explicit permissions, private-content grants and observable operation results.",{"path":62,"title":63,"description":64},"\u002Fdevelopers\u002Fquickstart","Quickstart","Make your first requests to the Totem API in a few minutes. Check your key, find your team, list leads and start a sync.",{"path":66,"title":67,"description":68},"\u002Fdevelopers\u002Fauthentication","Authentication","Secret keys and where they may live, the Totem-Team header for keys with several teams, IP allowlists, and how to roll or revoke a key.",{"section":70,"items":71},"guides",[72,76,80,84,88,92,96,100,104],{"path":73,"title":74,"description":75},"\u002Fdevelopers\u002Ftypescript","TypeScript SDK","Use the official server-side TypeScript client for typed Totem requests, explicit business actions, pagination and safe outcome handling.",{"path":77,"title":78,"description":79},"\u002Fdevelopers\u002Fsync","Keep a copy in sync","Copy a team with the changes feed and keep the copy current. Apply pages safely, recover from errors, and start from a reference client that Totem tests.",{"path":81,"title":82,"description":83},"\u002Fdevelopers\u002Fpagination","Lists and pagination","How list endpoints return records a page at a time, how to read every page, and what order and filters a list supports.",{"path":85,"title":86,"description":87},"\u002Fdevelopers\u002Fcrm-writes","CRM writes and notes","Import and update CRM leads, record opt-outs, archive leads and synchronize notes with explicit permissions, conditional versions and safe retries.",{"path":89,"title":90,"description":91},"\u002Fdevelopers\u002Fn8n","n8n","Connect a self-hosted n8n workflow to the Totem API with the public Totem Studio node and a saved API credential.",{"path":93,"title":94,"description":95},"\u002Fdevelopers\u002Fhighlevel","HighLevel connection","Connect CRM and use authorized Totem workflow actions and events in HighLevel, with separate permissions and clear release status.",{"path":97,"title":98,"description":99},"\u002Fdevelopers\u002Fcoverage","Data coverage","What Totem records, since when, and how to tell an empty value from a fact that was never recorded.",{"path":101,"title":102,"description":103},"\u002Fdevelopers\u002Ftesting","Testing and go-live","How to build and test an integration safely while the API has no test environment, and what to check before you go live.",{"path":105,"title":106,"description":107},"\u002Fdevelopers\u002Fsecurity","Security and personal data","How Totem protects API keys and the data the API serves, what it records about each key, where the API runs, and what to do with the personal data you copy.",{"section":48,"items":109},[110,114,118,122,127,132,137,142,147,152,157,162,167,172,173,178,183,188],{"path":111,"title":112,"description":113},"\u002Fdevelopers\u002Fconventions","Conventions","The notation these docs use, and the rules every response follows: ids, timestamps, empty values, amounts, enums, versions, stability, errors and untrusted text.",{"path":115,"title":116,"description":117},"\u002Fdevelopers\u002Ferrors","Errors","The error format, how your integration should handle each kind of error, and every error code with when it happens and what to do.",{"path":119,"title":120,"description":121},"\u002Fdevelopers\u002Frate-limits","Rate limits","How much a key can read per minute and per day, what counts toward each limit, how to retry after a 429, and how long an initial sync takes.",{"path":123,"title":124,"description":125,"apiTag":126},"\u002Fdevelopers\u002Freference-account","Account, teams and members","Check that a key works and what it can read, list its teams with their time zones, list each team's members, and check that the API is up.","account",{"path":128,"title":129,"description":130,"apiTag":131},"\u002Fdevelopers\u002Freference-leads","Leads, boards and activities","List, fetch and search a team's leads and clients, read each lead's activities, and list the boards and stages they move through.","leads",{"path":133,"title":134,"description":135,"apiTag":136},"\u002Fdevelopers\u002Freference-calls","Calls","List and fetch a team's calls, with their direction, timing and a normalized outcome. Separate permissions control transcripts, recordings and outgoing calls.","calls",{"path":138,"title":139,"description":140,"apiTag":141},"\u002Fdevelopers\u002Freference-conversations","Conversations","List and fetch a team's conversations on every channel, with their status, assignee, whether a person has taken them over and when the last messages came and went. Separate permissions control message content and delivery.","conversations",{"path":143,"title":144,"description":145,"apiTag":146},"\u002Fdevelopers\u002Freference-bookings","Bookings and services","List and fetch a team's bookings, and list the services its customers can book.","bookings",{"path":148,"title":149,"description":150,"apiTag":151},"\u002Fdevelopers\u002Freference-decisions","Decision requests","Ask named people on the team to approve something or take a job, with a deadline, and react to the outcome.","decision_requests",{"path":153,"title":154,"description":155,"apiTag":156},"\u002Fdevelopers\u002Freference-notifications","Notifications","Read your team's business alerts, including requests to call a lead, and keep them in sync with your CRM.","notifications",{"path":158,"title":159,"description":160,"apiTag":161},"\u002Fdevelopers\u002Freference-tasks","Tasks","Create and complete team tasks with explicit write permission.","tasks",{"path":163,"title":164,"description":165,"apiTag":166},"\u002Fdevelopers\u002Freference-operations","Operations","Observe an accepted asynchronous action and request cancellation safely.","operations",{"path":168,"title":169,"description":170,"apiTag":171},"\u002Fdevelopers\u002Freference-knowledge","Knowledge","Retrieve bounded passages from the selected team's indexed knowledge with explicit content access.","knowledge",{"path":46,"title":6,"description":38,"apiTag":7},{"path":174,"title":175,"description":176,"apiTag":177},"\u002Fdevelopers\u002Freference-sync","Changes feed","One endpoint that copies a team and then returns every change, page by page.","sync",{"path":179,"title":180,"description":181,"apiTag":182},"\u002Fdevelopers\u002Freference-library","Library and attachments","Discover permitted Library entries, review their revisions and deliver them through current channels.","library",{"path":184,"title":185,"description":186,"apiTag":187},"\u002Fdevelopers\u002Freference-catalog","Catalog","Search published products and send reviewed variants with current availability and prices.","catalog",{"path":189,"title":190,"description":191},"\u002Fdevelopers\u002Fobjects","All objects","Every object the API returns, field by field, with an example of each.",{"section":193,"items":194},"resources",[195,199,203,207],{"path":196,"title":197,"description":198},"\u002Fdevelopers\u002Fchangelog","Changelog","Changes to the Totem API, newest first, each under the date it shipped.",{"path":200,"title":201,"description":202},"\u002Fdevelopers\u002Fsupport","Support","How to get help with the Totem API, what to include in a request, and what to do if a key leaks.",{"path":204,"title":205,"description":206},"\u002Fdevelopers\u002Fglossary","Glossary","The terms these docs use, defined in one place, each with a link to the page that explains it.",{"path":208,"title":209,"description":210},"\u002Fdevelopers\u002Ffaq","FAQ","Short answers to the questions developers ask most about the Totem API, with links to the details.","\u002Fdevelopers\u002Fes\u002Freference-assistants",{"ACTIVATION_MARGIN_MS":213,"ADMIN_ACCESS_DISCLOSURE_VERSION":214,"AUDIT_RETENTION_DAYS":215,"AUTH_FAILURE_LIMITS":216,"CAPTURE_LAG_FLOOR_MS":220,"CAPTURE_LAG_P99_MS":43,"CURSOR_MAX_AGE_DAYS":221,"DIRTY_TTL_DAYS":221,"FAMILY_TEAM_SCOPE":222,"FAMILY_TEAM_SCOPE_OPTIONS":223,"FEED_SETTLE_LAG_MS":225,"GATE_REFRESH_MS":213,"INTEGRATION_NAME_LENGTH":226,"INTEGRATION_PURPOSE_LENGTH":228,"KEY_CACHE_TTL_MS":231,"KEY_STATS_RETENTION_DAYS":232,"LEAD_RESPONSE_READ_BUDGET":233,"LIST_SCAN_MAX":236,"MAX_FAMILY_INTEGRATION_TEAMS":221,"MAX_INTEGRATIONS_PER_FAMILY":237,"MAX_IP_ALLOWLIST":218,"PAGE_LIMIT":238,"PLATFORM_CONFIG_TTL_MS":241,"REMOVAL_RETENTION_DAYS":242,"REQUEST_BODY_MAX_BYTES":243,"ROLL_GRACE_DEFAULT_HOURS":244,"ROLL_GRACE_HOURS":245,"SEARCH_MAX_RESULTS":237,"SENSITIVE_SECTOR_POLICY":248,"SENSITIVE_SECTOR_POLICY_OPTIONS":249,"SYNC_DAILY_BUDGET":251,"SYNC_VELOCITY":253,"TEAM_CACHE_TTL_MS":255},60000,"2026-10-17",365,{"perIpPerMinute":217,"perLookupIdPerMinute":218,"banMs":219},60,20,600000,300000,30,"explicit_list",[222,224],"all_family_teams",10000,{"min":37,"max":227},80,{"min":229,"max":230},1,280,5000,90,{"conversations":218,"messageReads":234,"calls":235},200,50,1000,10,{"default":239,"max":240},25,100,15000,45,131072,24,[246,229,244,247],0,168,"exclude",[248,250],"allow",{"floor":252,"recordsMultiplier":34},250000,{"perMinute":254,"burst":225},2000,30000,"1.0.0",{"operations":258,"schemas":502,"errors":543,"commonErrors":696,"defaultStability":265,"policy":212,"problemExample":697},[259,342],{"id":260,"method":261,"path":262,"summary":263,"description":264,"stability":265,"scopes":266,"rateClass":268,"tenantBinding":269,"authenticated":44,"parameters":270,"parametersByLocation":279,"body":283,"bodyDescription":284,"responseFields":285,"responseComponent":316,"listOf":43,"example":317,"successStatus":234,"pathExamples":322,"errors":323,"tag":7},"assistants.options","POST","\u002Fv1\u002Fassistants\u002Foptions","Discover currently published chat assistants","Returns bounded published assistant names and exact serving versions, bound to this integration and team. Drafts, disabled assistants, private instructions, tool configuration and workflow\u002Fprovider identifiers are excluded. This read changes no configuration; a newer publication invalidates the selection.","stable",[267],"assistants:run","read","team_header",[271],{"name":272,"type":273,"required":39,"description":274,"nullable":39,"typeLabel":273,"constraints":275,"conditional":44,"location":278},"Totem-Team","string","The team to read, as a `team_…` id. Omit it when the key reads one team; it is required when the key reads several (`400 team_required`). When you send it, it must name a team the key reads: a malformed id gets `400 invalid_request`, and a team outside the key gets `404 team_not_accessible`, as does a request without it once the key reads no team at all.",{"prefixes":276},[277],"team_","header",{"path":280,"query":281,"header":282},[],[],[271],[],"Discover currently enabled published chat assistants available to this integration. This read never seeds, authors or publishes configuration.",[286,292,297,303,307,312],{"name":287,"type":288,"required":44,"description":289,"nullable":39,"typeLabel":273,"enumValues":290,"constant":44},"object","\"assistant_options\"","Always assistant_options.",[291],"assistant_options",{"name":293,"type":294,"required":44,"description":295,"nullable":39,"typeLabel":294,"constraints":296},"data","Array\u003Cobject>","Bounded current published selections. Draft and disabled assistants are omitted.",{"maxItems":235},{"name":298,"type":273,"required":44,"description":299,"nullable":39,"typeLabel":273,"constraints":300},"data[].reference","Short-lived opaque selection bound to this integration and the exact currently published assistant version; never a provider or workflow identifier.",{"pattern":301,"maxLength":302},"^tast1\\.[A-Za-z0-9_-]+$",16384,{"name":304,"type":273,"required":44,"description":305,"nullable":39,"typeLabel":273,"constraints":306},"data[].name","Published assistant display name, without its private instructions.",{"minLength":229,"maxLength":234},{"name":308,"type":309,"required":44,"description":310,"nullable":39,"typeLabel":309,"constraints":311},"data[].version","integer","Exact current published version. A later publication invalidates this selection.",{"exclusiveMinimum":246},{"name":313,"type":314,"required":44,"description":315,"nullable":39,"typeLabel":314},"complete","boolean","Whether this bounded discovery inspected every current assistant definition.","AssistantOptions",{"object":291,"data":318,"complete":44},[319],{"reference":320,"name":321,"version":229},"tast1.dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd","Example assistant",{},[324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341],"invalid_request","secret_key_in_browser","invalid_credentials","key_expired","insufficient_scope","plan_not_entitled","ip_not_allowed","capability_disabled","rate_limited","internal_error","api_disabled","service_unavailable","team_required","team_not_accessible","team_state_restricted","sector_restricted","capture_not_ready","resource_missing",{"id":343,"method":261,"path":344,"summary":345,"description":346,"stability":265,"scopes":347,"rateClass":348,"tenantBinding":269,"authenticated":44,"parameters":349,"parametersByLocation":359,"body":363,"bodyDescription":377,"responseFields":378,"responseComponent":491,"listOf":43,"example":492,"successStatus":495,"pathExamples":496,"errors":497,"tag":7},"assistants.run","\u002Fv1\u002Fassistants\u002Fruns","Run a currently published chat assistant","Admits a real API-origin turn through the published assistant gateway and existing execution, prepaid and contact rules; an existing conversation must belong to this integration and assistant. Current caller authority is checked before execution and every delegated effect; only an actual retained completed reply produces a completed-run receipt. Read reply text separately through conversations.messages with its independent content grant, reuse Idempotency-Key and never redispatch outcome_unknown.",[267],"write",[350,353],{"name":272,"type":273,"required":39,"description":274,"nullable":39,"typeLabel":273,"constraints":351,"conditional":44,"location":278},{"prefixes":352},[277],{"name":354,"type":273,"required":44,"description":355,"nullable":39,"typeLabel":273,"constraints":356,"location":278},"Idempotency-Key","One unique visible-ASCII key per logical write; reuse exactly on retries and never retry outcome_unknown automatically.",{"pattern":357,"minLength":229,"maxLength":358},"^[\\x21-\\x7e]+$",255,{"path":360,"query":361,"header":362},[],[],[350,353],[364,366,371],{"name":48,"type":273,"required":44,"description":299,"nullable":39,"typeLabel":273,"constraints":365},{"pattern":301,"maxLength":302},{"name":367,"type":273,"required":44,"description":368,"nullable":39,"typeLabel":273,"constraints":369},"message","User message for this real API-origin chat turn; it never proves a phone, transport identity or consent.",{"minLength":229,"maxLength":370},4000,{"name":372,"type":273,"required":39,"description":373,"nullable":39,"typeLabel":273,"constraints":374},"conversation_id","Optional retained API-origin conversation owned by this same integration and selected assistant. Omit to begin a new session.",{"prefixes":375},[376],"conv_","Execute the current published chat assistant through its canonical gateway. Admission is asynchronous; queued or pending does not mean an assistant reply completed.",[379,384,390,401,422,428,432,477,481],{"name":287,"type":380,"required":44,"description":381,"nullable":39,"typeLabel":273,"enumValues":382,"constant":44},"\"operation\"","Always operation.",[383],"operation",{"name":385,"type":273,"required":44,"description":386,"nullable":39,"typeLabel":273,"constraints":387},"id","Opaque durable operation id.",{"prefixes":388},[389],"op_",{"name":391,"type":392,"required":44,"description":393,"nullable":39,"typeLabel":273,"enumValues":394},"status","\"queued\" | \"running\" | \"succeeded\" | \"failed\" | \"cancelled\" | \"outcome_unknown\"","Durable operation state; outcome_unknown must be reconciled before repeating the effect.",[395,396,397,398,399,400],"queued","running","succeeded","failed","cancelled","outcome_unknown",{"name":402,"type":403,"required":44,"description":404,"nullable":39,"typeLabel":273,"enumValues":405},"endpoint","\"tasks.create\" | \"tasks.complete\" | \"notifications.create\" | \"decision_requests.create\" | \"decision_requests.cancel\" | \"bookings.create\" | \"bookings.cancel\" | \"bookings.reschedule\" | \"bookingPayments.sendLink\" | \"messages.send\" | \"messages.requestInfo\" | \"messages.prepareReply\" | \"calls.start\" | \"library.send\" | \"catalog.send\" | \"quotes.recordOutcome\" | \"assistants.run\"","The original endpoint executed by this operation.",[406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,343],"tasks.create","tasks.complete","notifications.create","decision_requests.create","decision_requests.cancel","bookings.create","bookings.cancel","bookings.reschedule","bookingPayments.sendLink","messages.send","messages.requestInfo","messages.prepareReply","calls.start","library.send","catalog.send","quotes.recordOutcome",{"name":423,"type":424,"required":44,"description":425,"nullable":39,"typeLabel":273,"constraints":426},"created_at","string (date-time)","When this operation was accepted, in UTC.",{"format":427},"date-time",{"name":429,"type":424,"required":44,"description":430,"nullable":39,"typeLabel":273,"constraints":431},"updated_at","When its current state was recorded, in UTC.",{"format":427},{"name":433,"type":434,"required":44,"description":435,"nullable":44,"typeLabel":436,"typeTokens":437},"result","TaskReceipt | NotificationReceipt | DecisionRequestReceipt | BookingReceipt | BookingPaymentReceipt | MessageReceipt | RequestedInfoReceipt | FirstReplyReceipt | CallStartReceipt | QuoteOutcomeReceipt | AssistantRunReceipt | LibraryDeliveryReceipt | CatalogSendReceipt | null","Minimal public resource receipt after success, otherwise null.","TaskReceipt | NotificationReceipt | DecisionRequestReceipt | BookingReceipt | BookingPaymentReceipt | MessageReceipt | RequestedInfoReceipt | FirstReplyReceipt | CallStartReceipt | QuoteOutcomeReceipt | AssistantRunReceipt | LibraryDeliveryReceipt | CatalogSendReceipt",[438,440,442,444,445,447,448,450,451,453,454,456,457,459,460,462,463,465,466,468,469,471,472,474,475],{"text":439,"ref":439},"TaskReceipt",{"text":441}," | ",{"text":443,"ref":443},"NotificationReceipt",{"text":441},{"text":446,"ref":446},"DecisionRequestReceipt",{"text":441},{"text":449,"ref":449},"BookingReceipt",{"text":441},{"text":452,"ref":452},"BookingPaymentReceipt",{"text":441},{"text":455,"ref":455},"MessageReceipt",{"text":441},{"text":458,"ref":458},"RequestedInfoReceipt",{"text":441},{"text":461,"ref":461},"FirstReplyReceipt",{"text":441},{"text":464,"ref":464},"CallStartReceipt",{"text":441},{"text":467,"ref":467},"QuoteOutcomeReceipt",{"text":441},{"text":470,"ref":470},"AssistantRunReceipt",{"text":441},{"text":473,"ref":473},"LibraryDeliveryReceipt",{"text":441},{"text":476,"ref":476},"CatalogSendReceipt",{"name":478,"type":479,"required":44,"description":480,"nullable":44,"typeLabel":287},"error","object | null","Safe failure information, or null.",{"name":482,"type":483,"required":44,"description":484,"nullable":39,"typeLabel":273,"enumValues":485},"error.code","\"authorization_failed\" | \"configuration_missing\" | \"input_expired\" | \"invalid_input\" | \"resource_missing\" | \"execution_failed\" | \"outcome_unknown\"","Closed failure code without provider text, task content or credentials.",[486,487,488,489,341,490,400],"authorization_failed","configuration_missing","input_expired","invalid_input","execution_failed","Operation",{"object":383,"id":493,"status":395,"endpoint":343,"created_at":494,"updated_at":494,"result":43,"error":43},"op_m3yGe1tkVy6hn3m9LH9m7e640wg0O","2026-10-01T09:30:00.000Z",202,{},[324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,498,499,500,400,501,341],"idempotency_key_required","idempotency_key_reused","idempotency_in_progress","quota_exceeded",[503,522],{"name":316,"description":504,"fields":505,"example":517,"variants":520,"sharedFields":521},"Metadata-only published assistant discovery; no prompts, tool configuration or provider selectors.",[506,508,510,512,514,516],{"name":287,"type":288,"required":44,"description":289,"nullable":39,"typeLabel":273,"enumValues":507,"constant":44},[291],{"name":293,"type":294,"required":44,"description":295,"nullable":39,"typeLabel":294,"constraints":509},{"maxItems":235},{"name":298,"type":273,"required":44,"description":299,"nullable":39,"typeLabel":273,"constraints":511},{"pattern":301,"maxLength":302},{"name":304,"type":273,"required":44,"description":305,"nullable":39,"typeLabel":273,"constraints":513},{"minLength":229,"maxLength":234},{"name":308,"type":309,"required":44,"description":310,"nullable":39,"typeLabel":309,"constraints":515},{"exclusiveMinimum":246},{"name":313,"type":314,"required":44,"description":315,"nullable":39,"typeLabel":314},{"object":291,"data":518,"complete":44},[519],{"reference":320,"name":321,"version":229},[],[],{"name":470,"description":523,"fields":524,"example":539,"variants":541,"sharedFields":542},"Content-free completed-run metadata. It never exports the reply, prompt, private source or provider identifiers.",[525,530,535],{"name":287,"type":526,"required":44,"description":527,"nullable":39,"typeLabel":273,"enumValues":528,"constant":44},"\"assistant_run_receipt\"","Always assistant_run_receipt.",[529],"assistant_run_receipt",{"name":391,"type":531,"required":44,"description":532,"nullable":39,"typeLabel":273,"enumValues":533,"constant":44},"\"completed\"","The original canonical turn completed with an actual retained assistant reply, not merely queue admission.",[534],"completed",{"name":372,"type":273,"required":44,"description":536,"nullable":39,"typeLabel":273,"constraints":537},"Opaque current conversation. Read reply bodies through conversations.messages with its separate current content grant.",{"prefixes":538},[376],{"object":529,"status":534,"conversation_id":540},"conv_m3GhGjRHmFbww1g10oqOp7j3gWqPJ",[],[],[544,552,557,561,567,572,578,583,590,595,599,603,607,612,616,620,626,630,634,639,643,648,654,660,666,672,677,681,687,692],{"code":545,"status":546,"title":547,"wireTitle":547,"action":548,"description":549,"fix":550,"retryable":39,"retry":551},"custom_values_review_required",409,"Custom values require review","fix_request","Stored custom values contain duplicate names or ambiguous legacy rows.","Reconcile duplicate names and label-only legacy rows in Totem, then read a fresh custom-values ETag before retrying.","no",{"code":498,"status":553,"title":554,"wireTitle":554,"action":548,"description":555,"fix":556,"retryable":39,"retry":551},400,"Idempotency key required","This write requires an Idempotency-Key header before it can have an effect.","Send one unique key per logical write and reuse that same key for every retry.",{"code":499,"status":546,"title":558,"wireTitle":558,"action":548,"description":559,"fix":560,"retryable":39,"retry":551},"Idempotency key reused","This key was already used with a different body, resource or selected team.","Keep the original key for retries of its original request; use a new key for a new logical write.",{"code":500,"status":546,"title":562,"wireTitle":562,"action":563,"description":564,"fix":565,"retryable":44,"retry":566},"Write in progress","retry_after","An identical write with this idempotency key is still being processed.","Wait for Retry-After, then retry with the same key and exactly the same request.","after",{"code":400,"status":546,"title":568,"wireTitle":568,"action":569,"description":570,"fix":571,"retryable":39,"retry":551},"Write outcome unknown","contact_support","An earlier attempt may have committed its effect, but Totem cannot safely prove its outcome.","Do not retry automatically or generate a new key; reconcile the resource and contact support with Totem-Request-Id.",{"code":573,"status":574,"title":575,"wireTitle":575,"action":548,"description":576,"fix":577,"retryable":39,"retry":551},"version_conflict",412,"Lead version conflict","The strong If-Match validator no longer names the current public version of this lead.","Read the lead again, reconcile your intended changes, then send its new ETag in If-Match.",{"code":579,"status":546,"title":580,"wireTitle":580,"action":548,"description":581,"fix":582,"retryable":39,"retry":551},"ambiguous_identity","Ambiguous lead identity","The supplied phone, email or integration external id resolves to conflicting lead identities.","Resolve the conflicting identities explicitly in the CRM; this endpoint never silently merges them.",{"code":584,"status":585,"title":586,"wireTitle":586,"action":587,"description":588,"fix":589,"retryable":39,"retry":551},"inbound_not_enabled",403,"Inbound intake not enabled","check_credentials","The principal does not hold the separate inbound intake capability requested by this write.","Use origin import for inert CRM synchronization or ask an administrator to explicitly enable inbound intake.",{"code":591,"status":585,"title":592,"wireTitle":592,"action":548,"description":593,"fix":594,"retryable":39,"retry":551},"consent_required","Consent required","This effect requires explicit consent evidence that this request does not provide.","Collect the person’s explicit consent with its notice and capture evidence before requesting this effect.",{"code":324,"status":553,"title":596,"wireTitle":596,"action":548,"description":597,"fix":598,"retryable":39,"retry":551},"Invalid request","Something in the request is not valid: an unknown, repeated or out-of-range query parameter, a query string or body on an endpoint that takes none, a cursor issued for another endpoint, filter or team, a malformed `Totem-Team` header, or a body that is not the JSON this endpoint expects. `param` names the parameter, header or field at fault. A conversations cursor is also refused once the conversation it points at has been erased.","Correct what `param` names before you retry: the same request fails the same way. For a cursor, send the `next_cursor` you received from the same endpoint, with the same filters and team. If a conversations cursor you did not change is refused, start that list again from the first page.",{"code":336,"status":553,"title":600,"wireTitle":600,"action":548,"description":601,"fix":602,"retryable":39,"retry":551},"Team required","The key reads more than one team and this endpoint reads one team's data, but the request does not say which team.","Send the team's id (`team_…`, as listed by `GET \u002Fv1\u002Fteams`) in the `Totem-Team` header.",{"code":325,"status":553,"title":604,"wireTitle":604,"action":548,"description":605,"fix":606,"retryable":39,"retry":551},"Secret key sent from a browser","The request carried a secret key together with an `Origin` header, which means it came from a browser. Totem refuses it before reading anything.","Call the API only from your server. If the key has been in a web page, a mobile app or a browser extension, treat it as leaked: roll it and mark it as compromised, so the old key stops working at once.",{"code":326,"status":608,"title":609,"wireTitle":609,"action":587,"description":610,"fix":611,"retryable":39,"retry":551},401,"Invalid credentials","The `Authorization` header is missing or malformed, or the key is unknown, wrong or revoked, or its integration is no longer active.","Send `Authorization: Bearer \u003Ckey>` with a current secret key. Do not retry in a loop: repeated failures from one IP address, or against one key, lock it out for a while with `429 rate_limited`.",{"code":327,"status":608,"title":613,"wireTitle":613,"action":587,"description":614,"fix":615,"retryable":39,"retry":551},"Key expired","The key was rolled and its grace period is over.","Deploy the key that replaced it: the old key is past its grace period and will not work again. If there is no replacement, create a new key in Settings → Developers.",{"code":328,"status":585,"title":617,"wireTitle":617,"action":587,"description":618,"fix":619,"retryable":39,"retry":551},"Insufficient scope","The key lacks a permission this endpoint needs; CRM writes and note-content reads require separate explicit grants.","Use an explicitly authorized integration profile or ask an administrator to review its grants; never broaden an old read key implicitly.",{"code":329,"status":585,"title":621,"wireTitle":621,"action":622,"description":623,"fix":624,"retryable":44,"retry":625},"Plan not entitled","keep_and_retry","The organization's plan does not include the Totem API at the moment.","Keep your data and cursors, and pause calls until the customer has a plan with API access again; then continue where you left off. While access is refused, the feed delivers nothing for the key's teams, removals included: if the refusal lasts longer than your retention policy allows, delete your copy.","restored",{"code":330,"status":585,"title":627,"wireTitle":627,"action":587,"description":628,"fix":629,"retryable":39,"retry":551},"IP address not allowed","The key is valid, but the request came from an IP address outside the integration's allowlist.","Call from an allowed address, or ask an administrator to add yours to the allowlist in Settings → Developers.",{"code":338,"status":585,"title":631,"wireTitle":631,"action":622,"description":632,"fix":633,"retryable":44,"retry":625},"Team restricted","The team is restricted for now: it is disabled (for example, suspended for non-payment), archived or billing-only, or its API access is paused. `GET \u002Fv1\u002Fteams` still lists it.","Keep the team's data and cursor, skip it for this run and try again later. The key's other teams are not affected. While the team is restricted, the feed delivers nothing for it, removals included: if the restriction lasts longer than your retention policy allows, delete the team's copy.",{"code":339,"status":585,"title":635,"wireTitle":635,"action":622,"description":636,"fix":637,"retryable":39,"retry":638},"Sector restricted","Totem does not export this team's data through the API because the team works in a sensitive sector, such as health care, where its records can reveal health information.","Skip the team: waiting does not change this. The feed delivers nothing for it, removals included, so keep what you already have only as long as your retention policy allows, then delete the team's copy. Talk to the customer or to Totem if you need its data.","blocked",{"code":331,"status":585,"title":640,"wireTitle":640,"action":622,"description":641,"fix":642,"retryable":44,"retry":625},"Capability disabled","Totem has temporarily switched this endpoint off for every key.","Keep your data and cursors and try again later; the other endpoints keep working.",{"code":341,"status":644,"title":645,"wireTitle":645,"action":548,"description":646,"fix":647,"retryable":39,"retry":551},404,"Resource not found","The record does not exist, was removed, belongs to a team this key does not read, or was created so recently that Totem has not prepared it yet. A `GET` or `POST` under `\u002Fv1\u002F` that matches no endpoint also gets this code. Any other method, and any path outside `\u002Fv1\u002F`, gets a plain `404` from the firewall in front of the API, with no problem body and no `Totem-Request-Id`.","Check the id and the path. If the record was created moments ago, do not retry in a loop: the changes feed delivers it as soon as it is ready.",{"code":337,"status":644,"title":649,"wireTitle":649,"action":650,"description":651,"fix":652,"retryable":39,"retry":653},"Team not accessible","drop_team","The `Totem-Team` header names a team this key does not read: one it never covered, one removed from the key or from the organization, or one that was deleted. Without the header, it means the key no longer reads any team.","Re-read `GET \u002Fv1\u002Fteams` before you act. If the team is no longer listed, delete its copy and its cursor; if it is still listed, keep everything and try again on the next run.","confirm",{"code":655,"status":546,"title":656,"wireTitle":656,"action":657,"description":658,"fix":659,"retryable":39,"retry":551},"resync_required","Resync required","resync","Totem cannot continue the feed from this cursor: the data was restored from a backup, or a gap was found in the team's changes.","Run a full resync: forget the versions you stored for the team, read the feed again without a cursor, and once it has caught up delete every local record of the team it did not deliver. Keep using your current copy until then.",{"code":340,"status":546,"title":661,"wireTitle":661,"action":662,"description":663,"fix":664,"retryable":44,"retry":665},"Team data is still being prepared","wait_capture","Totem is still preparing this team's data for the API. This happens once per team, after it is first added to any key; adding it to another key later does not repeat it.","Keep whatever you hold for the team and try again in a few minutes; the key's other teams keep syncing meanwhile.","later",{"code":667,"status":668,"title":669,"wireTitle":669,"action":657,"description":670,"fix":671,"retryable":39,"retry":551},"sync_cursor_expired",410,"Sync cursor expired","The cursor is more than 30 days old, counted from the point in the feed it reached (or, while an initial sync is still running, from when that sync started).","Run a full resync, as for `resync_required`. To prevent it, save the `next_cursor` of every page, empty pages included: the cursor of a team you poll regularly never ages out.",{"code":332,"status":673,"title":674,"wireTitle":674,"action":563,"description":675,"fix":676,"retryable":44,"retry":566},429,"Rate limited","The key went over its rate limit (items per minute), or too many failed authentication attempts from this IP address or against this key have locked it out for a while.","Wait the seconds in `Retry-After`, then retry the same request. Each request sets aside its full `limit` up front and gives back what it does not use, so a smaller `limit` keeps a nearly spent allowance moving.",{"code":501,"status":673,"title":678,"wireTitle":678,"action":563,"description":679,"fix":680,"retryable":44,"retry":566},"Daily quota exceeded","The key has spent its daily quota of items. Every item returned by the changes feed and by every list counts toward it, including `GET \u002Fv1\u002Fteams`, `GET \u002Fv1\u002Fmembers`, `GET \u002Fv1\u002Fbooking_services` and a lead's activities. The quota resets at 00:00 UTC.","Stop syncing until 00:00 UTC (`Retry-After` counts the seconds) and resume then with the same cursor: nothing is lost. Requests for one record, such as `GET \u002Fv1\u002Fleads\u002F{id}`, search and `GET \u002Fv1\u002Fme` do not count toward the quota and keep working.",{"code":333,"status":682,"title":683,"wireTitle":683,"action":684,"description":685,"fix":686,"retryable":44,"retry":684},500,"Internal error","backoff","Something went wrong inside Totem while answering this request.","Retry with exponential backoff. If it keeps failing, contact support and quote the `Totem-Request-Id`.",{"code":334,"status":688,"title":689,"wireTitle":689,"action":684,"description":690,"fix":691,"retryable":44,"retry":684},503,"API disabled","Totem has temporarily switched the API off for every key.","Keep your data and cursors and retry later with exponential backoff.",{"code":335,"status":688,"title":693,"wireTitle":693,"action":684,"description":694,"fix":695,"retryable":44,"retry":684},"Service unavailable","Reserved: the API itself does not return this code today. A `503` from the load balancer or the hosting platform in front of the API arrives without a problem body; treat it like this code.","Retry with exponential backoff; your data and cursors stay valid.",[324,325,326,327,328,329,330,331,332,333,334,335],{"type":698,"title":645,"status":644,"code":341,"request_id":699,"doc_url":698},"https:\u002F\u002Ftotemstudio.ai\u002Fdevelopers\u002Ferrors#resource_missing","req_0f6b2c1e-8d4a-4b7e-9c3f-5a2d1e7b9c40",[701,702,703,704,705],{"id":14,"text":15,"depth":37},{"id":260,"text":263,"depth":37},{"id":343,"text":345,"depth":37},{"id":316,"text":316,"depth":37},{"id":470,"text":470,"depth":37},{"path":168,"title":169,"section":48},{"path":174,"title":175,"section":48},[709,710],{"id":260,"method":261,"path":262,"summary":263},{"id":343,"method":261,"path":344,"summary":345},1796395410629,"6ece8729-dc31-4887-85ce-5a18e6f853a8"]